Difference between revisions of "Managing the security training sites"
From PDP/Grid Wiki
Jump to navigationJump to search (Add jeep to the list) |
(re-installation, log files and daemons) |
||
Line 70: | Line 70: | ||
=== re-installation === | === re-installation === | ||
− | It may be necessary to start from scratch with a machine. This is easier than a new installation, as the definition already exists in XCP and cobbler. The only thing that needs to be reset is the bootloader. The script [[Media:Vm- | + | It may be necessary to start from scratch with a machine. This is easier than a new installation, as the definition already exists in XCP and cobbler. The only thing that needs to be reset is the bootloader. The script [[Media:Vm-reinstall1.sh]] does just that. It also reboots the machine, so it will go into installing right away. |
− | |||
− | |||
− | + | The previous ssh and salt keys are preserved during the installation, so it should not be necessary to re-initialize. Should this fail, check the following: | |
− | salt- | + | |
− | + | * Does the minion ping from the salt master? | |
+ | cobbler# salt 'ce.vogsphere' test.ping | ||
+ | * If so, everything is ok. | ||
+ | * If not, check the logfile of the master to see if a different key was presented | ||
+ | /var/log/salt/master | ||
+ | * Log on to the console of the VM and restart the minion: | ||
+ | pool-bl0b# xe console name-label=ce.vogsphere | ||
+ | * Restart the minion. Check the minion logfile. If the key is rejected because it changed, the minion will halt again. | ||
+ | * In that case, make sure to remove the minion key from cobbler | ||
+ | salt-key -d ce.vogsphere | ||
== Darknet CA == | == Darknet CA == |