Este contenido no está disponible en el idioma seleccionado.
Chapter 6. Basic Operations
Some basic operations are required for many administrative and troubleshooting tasks. This section covers how to safely perform basic tasks like shutting down and starting up the hyperconverged cluster.
6.1. Shutting down a hyperconverged cluster Copiar enlaceEnlace copiado en el portapapeles!
Shutting down a hyperconverged cluster is more complex than shutting down a traditional compute or storage cluster. Follow these instructions to shut down your hyperconverged cluster safely.
- Log in to the Administration Portal.
Place the hosted engine node into Global Maintenance mode.
-
Click Compute
Hosts and select the hosted engine node. -
Click ⋮
Enable Global HA Maintenance.
-
Click Compute
Shut down all virtual machines except the hosted engine virtual machine.
-
Click Compute
Virtual Machines. - Select all virtual machines on hyperconverged hosts, except the hosted engine virtual machine.
Click Shut Down. This shuts the virtual machine down gracefully.
If your virtual machine is not responding, click the dropdown arrow beside Shut Down and click Force Shut Down instead.
-
Click Compute
Shut down the hosted engine virtual machine.
- Log in to the hosted engine node.
Run the following command on the hosted engine node to shut down the hosted engine virtual machine.
hosted-engine --vm-shutdown
# hosted-engine --vm-shutdownCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Shut down all hosts by running the following command on each host.
shutdown -h now
# shutdown -h nowCopy to Clipboard Copied! Toggle word wrap Toggle overflow
6.2. Starting up a hyperconverged cluster Copiar enlaceEnlace copiado en el portapapeles!
Starting up a hyperconverged cluster is more complex than starting up a traditional compute or storage cluster. Follow these instructions to start up your hyperconverged cluster safely.
- Power on all hosts in the cluster.
Ensure that the required services are available.
Verify that the
glusterdservice started correctly on all hosts.Copy to Clipboard Copied! Toggle word wrap Toggle overflow If glusterd is not started, start it.
systemctl start glusterd
# systemctl start glusterdCopy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that host networks are available and hosts have IP addresses assigned to the required interfaces.
ip addr show
# ip addr showCopy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that all hosts are part of the storage cluster (listed as Peer in Cluster (Connected)).
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that all bricks are shown as online.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Start the hosted engine virtual machine.
Run the following command on the host that you want to be the hosted engine node.
hosted-engine --vm-start
# hosted-engine --vm-startCopy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that the hosted engine virtual machine has started correctly.
hosted-engine --vm-status
# hosted-engine --vm-statusCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Take the hosted engine virtual machine out of Global Maintenance mode.
- Log in to the Administration Portal.
-
Click Compute
Hosts and select the hosted engine node. -
Click ⋮
Disable Global HA Maintenance.
Start any other virtual machines using Cockpit.
-
Click Compute
Virtualization. - Select any virtual machines you want to start and click Run.
-
Click Compute