12.6. Booting the Manager Virtual Machine in Rescue Mode
This topic describes how to boot the Manager virtual machine into rescue mode when it does not start. For more information, see Booting to Rescue Mode in the Red Hat Enterprise Linux System Administrator’s Guide.
Connect to one of the hosted-engine nodes:
$ ssh root@host_address
Put the self-hosted engine in global maintenance mode:
# hosted-engine --set-maintenance --mode=global
Check if there is already a running instance of the Manager virtual machine:
# hosted-engine --vm-status
If a Manager virtual machine instance is running, connect to its host:
# ssh root@host_address
Shut down the virtual machine:
# hosted-engine --vm-shutdownNote
If the virtual machine does not shut down, execute the following command:
# hosted-engine --vm-poweroff
Start the Manager virtual machine in pause mode:
Set a temporary VNC password:
The command outputs the necessary information you need to log in to the Manger virtual machine with VNC.
- Log in to the Manager virtual machine with VNC. The Manager virtual machine is still paused, so it appears to be frozen.
Resume the Manager virtual machine with the following command on its host:Warning
After running the following command, the boot loader menu appears. You need to enter into rescue mode before the boot loader proceeds with the normal boot process. Read the next step about entering into rescue mode before proceeding with this command.
# /usr/bin/virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf resume HostedEngine
- Boot the Manager virtual machine in rescue mode.
Disable global maintenance mode
# hosted-engine --set-maintenance --mode=none
You can now run rescue tasks on the Manager virtual machine.