You might have situations in which you want to power off the environment and power it back on. In such situations, you must use a specific sequence to power off the virtual machines, ESXi hosts, and switches and subsequently power them on.
Before you begin
Ensure you have the root account credentials to log in to the ESXi hosts and to the switches' operating systems for those hardware components in your environment. For the steps to look up the credentials, see Look Up Account Credentials Using the Lookup-Password Command.
Ensure you have the FQDNs for the ESXi hosts in each rack. Each ESXi host has an FQDN that starts with the rack identifier, followed by the subdomain and root DNS domain used by the environment, such as rack-1-n0.subdomain.root-domain, rack-1-n1.subdomain.root-domain, rack-2-n0.subdomain.root-domain, and so on:
rack-1-n0.subdomain.root-domain is the ESXi host N0 in the primary rack
rack-1-n1.subdomain.root-domain is the ESXi host N1 in the primary rack
rack-2-n0.subdomain.root-domain is the ESXi host N0 in the secondary rack
rack-2-n1.subdomain.root-domain is the ESXi host N1 in the secondary rack
Ensure you know which ESXi hosts are the ones used by each rack's management domain. You can see the hosts that are used by a management domain by navigating to its domain details page in the SDDC Manager client. Write down the FQDNs of the hosts used by the primary rack's management domain and the FQDNs used by the second rack's management domain. You will use this information to locate the management domain's VMs in the powering-on procedures.
About this task
You power off the VMs in the secondary racks management domain first, in a prescribed sequence, and then power off the rack's ESXi hosts. You then power off the VMs in the primary rack's management domain, in a prescribed sequence, and ESXi hosts in the primary rack. Then the ToR switches, followed by the spine switches. You power down the management switches last.
When powering the environment back on, you power on the switches in the primary rack first, followed by the primary rack's ESXi hosts and VMs, and then power on the switches in the secondary rack, followed by its ESXi hosts and VMs.
What to do next
After both rack's management domain's VMs are up and running, you can power on the VMs for the VI and VDI workload domains in the environment.