Shut Down the Management Domain
You shut down the components of the management domain in
VMware
Cloud Foundation
in a specific order to keep components operational by maintaining the necessary infrastructure, networking, and management services as long as possible before shutdown.After you shut down the components in all VI workload domains, you begin shutting down the management domain.
You can shut down the management domain in two ways - by using the user interface in a manner specific to each product, described below, or by using PowerShell.
Shutdown Order for the Management Domain
If your
VMware
Cloud Foundation
instance is deployed with the consolidated architecture, shut down any customer workloads or additional virtual machines in the management domain before you proceed with the shutdown order of the management components.You shut down Site Recovery Manager and vSphere Replication after you shut down the management components that can be failed over between the
VMware
Cloud Foundation
instances. You also shut Site Recovery Manager and vSphere Replication down as late as possible to have the management virtual machines protected as long as possible if a disaster event occurs. The virtual machines in the paired VMware
Cloud Foundation
instance become unprotected after you shut down Site Recovery Manager and vSphere Replication in the current VMware
Cloud Foundation
instance.You shut down vRealize Log Insight as late as possible to collect as much as log data for potential troubleshooting. You shut down the Workspace ONE Access instances after the management components they provide identity and access management services for.
Shutdown Order | SDDC Component |
---|---|
3 | Clustered Workspace ONE® Access™ * |
4 | VMware vRealize® Suite Lifecycle Manager ™* |
5 | Site Recovery Manager for the management domain |
6 | vSphere Replication for the management domain |
7 | vRealize Log Insight cluster |
8 | NSX Edge nodes for the management domain * |
9 | NSX Manager nodes for the management domain * |
10 | SDDC Manager * |
11 | VxRail Manager * |
12 | vSphere Cluster Services virtual machines in the management domain * |
13 | vCenter Server for the management domain * |
14 | Management ESXi hosts and vSAN * |
15 |
|
* For information on the shutdown steps, see below.
Save the Credentials for the ESXi Hosts and vCenter Server for the Management Domain
Before you shut down the management domain, get the credentials for the management domain hosts and vCenter Server from SDDC Manager and save them. You need these credentials to shut down the ESXi hosts and then to start them and vCenter Server back up. Because SDDC Manager is down during each of these operations, you must save the credentials in advance.
To get the credentials, log in to the SDDC Manager appliance by using a Secure Shell (SSH) client as
vcf
and run the lookup_passwords
command.Shutting Down a Management Domain with Infrastructure Services VMs
If the management domain contains virtual machines that are running infrastructure services like Active Directory, NTP, DNS and DHCP servers, follow
https://docs.vmware.com/en/VMware-Cloud-Foundation/4.4/vcf-operations/GUID-6D67DF2F-0DA1-4690-82B4-24C0496D72F3.html
.Shut Down the Clustered Workspace ONE Access Virtual Machines
Use the vRealize Suite Lifecycle Manager user interface to shut down the Workspace ONE Access three-node cluster that provides identity and access management services to management components that are available across
VMware
Cloud Foundation
instances .- Log in to vRealize Suite Lifecycle Manager athttps://<asvrealize_suite_lifecycle_manager_fqdn>vcfadmin@local.
- On theMy servicespage, clickLifecycle operations.
- In the navigation pane, clickEnvironments.
- On theEnvironmentspage, on theglobalenvironmentcard, clickView details.
- In theVMware Identity Managersection, click the horizontal ellipsis icon and selectPower off.
- In thePower off VMware Identity Managerdialog box, clickSubmit.
- On theRequestspage, ensure that the request completes successfully.
Shut Down the vRealize Suite Lifecycle Manager Virtual Machine
Shut down the vRealize Suite Lifecycle Manager virtual machine in the management domain of
VMware
Cloud Foundation
from the vSphere Client.- Log in to the management domain vCenter Server athttps://<vcenter_server_fqdn>/uiasadministrator@vsphere.local.
- In theVMs and templatesinventory, expand the management domain vCenter Server tree and expand the management domain data center.
- Right-click the vRealize Suite Lifecycle Manager virtual machine and select.
- In the confirmation dialog box, clickYes.
Shut Down the NSX Edge Nodes
You begin shutting down the VMware NSX-T™ Data Center infrastructure in the management domain or in a VI workload domain in
VMware
Cloud Foundation
by shutting down the NSX Edge nodes that provide north-south traffic connectivity between the physical data center networks and the NSX SDN networks- Log in to vCenter Server for the management or VI workload domain athttps://<vcenter_server_fqdn>/uiasadministrator@vsphere.local.
- In theVMs and templatesinventory, expand the tree of workload domain vCenter Server and expand data center for the workload domain.
- Right-click an NSX Edge virtual machine for the management domain or VI workload domain and select.
- In the confirmation dialog box, clickYes.This operation takes several minutes to complete.
- Repeat the steps for the remaining NSX Edge nodes for the domain.
Shut Down the NSX Manager Nodes
You continue shutting down the NSX-T Data Center infrastructure in the management domain and a VI workload domain by shutting down the three-node NSX Manager cluster by using the vSphere Client.
- Log in to the management domain vCenter Server athttps://<vcenter_server_fqdn>/uiasadministrator@vsphere.local.
- In theVMs and templatesinventory, expand the management domain vCenter Server tree and expand the management domain data center.
- Right-click the primary NSX manager virtual machine and select.
- In the confirmation dialog box, clickYes.This operation takes several minutes to complete.
- Repeat the steps for the remaining NSX Manager virtual machines.
Shut Down the SDDC Manager Virtual
Machine
Shut down the SDDC Manager virtual machine in the management domain by using the vSphere
Client.
- Log in to the management domain vCenter Server athttps://<vcenter_server_fqdn>/uiasadministrator@vsphere.local.
- In theVMs and templatesinventory, expand the management domain vCenter Server tree and expand the management domain data center.
- Expand theManagement VMsfolder.
- Right-click the SDDC Manager virtual machine and click.
- In the confirmation dialog box, clickYes.This operation takes several minutes to complete.
Shut Down the VxRail Manager Virtual
Machine in the Management Domain
Shut down the VxRail Manager
virtual machine in the management domain by using the vSphere Client.
- Log in to the management domain vCenter Server athttps://<vcenter_server_fqdn>/uiasadministrator@vsphere.local.
- In theVMs and templatesinventory, expand the management domain vCenter Server tree and expand the management domain data center.
- Expand theManagement VMsfolder.
- Right-click the VxRail Manager virtual machine and click.
- In the confirmation dialog box, clickYes.This operation takes several minutes to complete.
Shut Down the vSphere Cluster Services Virtual Machines
To shut down the vSphere Cluster Services (vCLS) virtual machines in a cluster in a VI
workload domain in
VMware
Cloud Foundation
,
you put the cluster in retreat mode. The retreat mode triggers clean-up of the vCLS virtual
machines.- Log in to vCenter Server for the management or VI workload domain athttps://<vcenter_server_fqdn>/uiasadministrator@vsphere.local.
- In theHosts and clustersinventory, expand the tree of the VI workload domain vCenter Server and expand the data center for the VI workload domain.
- Select the cluster on which vCLS must be shut down.
- Copy the cluster domain IDdomain-c(from the URL of the browser.cluster_domain_id)When you navigate to a cluster in the vSphere client, the URL is similar to this one:https://<fqdn-of-vCenter-server>/ui/app/cluster;nav=h/urn:vmomi:ClusterComputeResource:domain-c8:eef257af-fa50-455a-af7a-6899324fabe6/summaryYou copy onlydomain-c8.
- In theHost and Clustersinventory, select the vCenter Server instance for the VI workload domain and click theConfiguretab.
- UnderAdvanced Settings, click theEdit Settingsbutton.
- Locate theconfig.vcls.clusters.domain-c(property for the domain cluster ID from 4 and set it tonumber).enabledfalse.If the property is not present, add it. The entry for the cluster cannot be deleted from the vSphere Client then. However, keeping this entry is not an issue.
- ClickSave.
The vCLS monitoring service initiates the clean-up
of vCLS VMs. If vSphere DRS is activated for the cluster, it stops working and you
see an additional warning in the cluster summary. vSphere DRS remains deactivated
until vCLS is re-activated on this cluster.
Shut Down vSphere and vSAN for the Management
Domain
After you check the vSAN cluster health, you use the vSAN shutdown cluster wizard in the
vSphere Client. The wizard shuts down vSphere Cluster Services, vCenter Server, the vSAN
storage, and the ESXi hosts added to the default management cluster in
VMware
Cloud Foundation
.- Log in to the management domain vCenter Server athttps://<vcenter_server_fqdn>/uiasadministrator@vsphere.local.
- In theHosts and clustersinventory, expand the management domain vCenter Server tree and expand the management domain data center.
- If the management domain vCenter Server is not running on the first ESXi host in the default management cluster, migrate it there.
- Verify the vSAN health and resynchronization status.
- Select the default management cluster and click theMonitortab.
- In the left pane, under, verify that all synchronization tasks are complete.
- Under, verify that the status of each vSAN health check category is healthy.
- If any member host is in lockdown mode, add the host'srootaccount to the Exception Users list.
- Select the host in the inventory and click theConfiguretab.
- In the left pane, select.
- In theLockdown Modepane, click theEditbutton.
- On theException Userspage, enterrootand clickAdd User.
- ClickOK.
- Shut down the vSAN cluster.
- In the inventory, right-click the vSAN cluster and select.
- In theShutdown Clusterwizard, verify that all pre-checks are green and clickNext.
- Enter a reason for performing the shutdown, and clickShutdown.
Connection to vCenter Server is lost
because the vSAN shutdown cluster wizard shuts down vCenter Server.
The shutdown operation is complete after
all ESXi hosts are stopped.
Shut Down vSAN and the ESXi Hosts in a Virtual Infrastructure Workload Domain with vSphere with Tanzu
You shut down vSAN and the ESXi hosts in a VI workload domain with vSphere with Tanzu by preparing the vSAN cluster for shutdown, placing each ESXi host in maintenance mode to prevent any virtual machines being deployed to or starting up on the host, and shutting down the host.
In a VI workload domain with vSphere with Tanzu, the vCenter Server instance for the domain is already down. Hence, you perform the shutdown operation on the ESXi hosts by using the VMware Host Client.
- Turn on SSH on the ESXi hosts in the workload domain by using the SoS utility of the SDDC Manager appliance.
- Log in to the SDDC Manager appliance by using a Secure Shell (SSH) client asvcf.
- Switch to therootuser by running thesucommand and entering the root password.
- Run this command./opt/vmware/sddc-support/sos --enable-ssh-esxi --domaindomain-name
- Log in to the first ESXi host in the workload domain cluster by using a Secure Shell (SSH) client asroot.
- For a vSAN cluster, deactivate vSAN cluster member updates by running the command.esxcfg-advcfg -s 1 /VSAN/IgnoreClusterMemberListUpdatesThe command returnsValue of IgnoreClusterMemberListUpdates is 1
- On the first ESXi host per vSAN cluster, prepare the vSAN cluster for shutdown by running the command.python /usr/lib/vmware/vsan/bin/reboot_helper.py prepareThe command returnsCluster preparation is done!
- Place the ESXi host in maintenance mode by running the command.esxcli system maintenanceMode set -e true -m noActionEnsure the prompt comes back after the command is complete.
- Verify that the host is in maintenance mode.esxcli system maintenanceMode get
- Shut down the ESXi hosts in the workload domain cluster.
- Log in to the first ESXi host for the cluster athttps://<asesxi_host_fqdn>/uiroot.
- In the navigation pane, right-clickHostand, from the drop-down menu, selectShut down.
- In the confirmation dialog box, clickShut down.
- Repeat the steps for the remaining hosts in the cluster.