Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
15.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
$ ssh root@host_addressCopy to Clipboard Copied! Toggle word wrap Toggle overflow Put the self-hosted engine in global maintenance mode:
hosted-engine --set-maintenance --mode=global
# hosted-engine --set-maintenance --mode=globalCopy to Clipboard Copied! Toggle word wrap Toggle overflow Check if there is already a running instance of the Manager virtual machine:
hosted-engine --vm-status
# hosted-engine --vm-statusCopy to Clipboard Copied! Toggle word wrap Toggle overflow If a Manager virtual machine instance is running, connect to its host:
ssh root@host_address
# ssh root@host_addressCopy to Clipboard Copied! Toggle word wrap Toggle overflow Shut down the virtual machine:
hosted-engine --vm-shutdown
# hosted-engine --vm-shutdownCopy to Clipboard Copied! Toggle word wrap Toggle overflow NoteIf the virtual machine does not shut down, execute the following command:
hosted-engine --vm-poweroff
# hosted-engine --vm-poweroffCopy to Clipboard Copied! Toggle word wrap Toggle overflow Start the Manager virtual machine in pause mode:
hosted-engine --vm-start-paused
hosted-engine --vm-start-pausedCopy to Clipboard Copied! Toggle word wrap Toggle overflow Set a temporary VNC password:
hosted-engine --add-console-password
hosted-engine --add-console-passwordCopy to Clipboard Copied! Toggle word wrap Toggle overflow 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:
WarningAfter 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
# /usr/bin/virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf resume HostedEngineCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Boot the Manager virtual machine in rescue mode.
Disable global maintenance mode
hosted-engine --set-maintenance --mode=none
# hosted-engine --set-maintenance --mode=noneCopy to Clipboard Copied! Toggle word wrap Toggle overflow
You can now run rescue tasks on the Manager virtual machine.