VCF Docoooo
VCF Docoooo
Operations Guide
23 JUL 2024
VMware Cloud Foundation 5.2
VMware Cloud Foundation Operations Guide
You can find the most up-to-date technical documentation on the VMware by Broadcom website at:
https://docs.vmware.com/
VMware by Broadcom
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
            ©
Copyright       2021-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc.
and/or its subsidiaries. For more information, go to https://www.broadcom.com. All trademarks, trade
names, service marks, and logos referenced herein belong to their respective companies.
VMware by Broadcom                                                                                     2
        Contents
VMware by Broadcom                                                                                                 3
VMware Cloud Foundation Operations Guide
VMware by Broadcom                                                                                           4
VMware Cloud Foundation Operations Guide
VMware by Broadcom                                                                             5
About VMware Cloud Foundation
Operations Guide
The VMware Cloud Foundation Operations Guide provides best practices and step-by-step
instructions about operating VMware Cloud Foundation™ including full-stack shutdown and
startup and verifying whether the state of VMware Cloud Foundation is intact after a
maintenance operation.
This guide covers all software products and workload domain types that are supported by
                                                     ®                    ®
VMware Cloud Foundation including VMware vSphere with VMware Tanzu and VMware Aria
Suite Lifecycle™.
You can follow industry best practices when performing operations in a VMware Cloud
Foundation deployment. See Chapter 1 Best Practices for Operating VMware Cloud Foundation.
To maintain component integration and avoid operation faults, you follow the specified order
and steps to shut down and then start up the management components in VMware Cloud
Foundation. See Chapter 2 Shutdown and Startup of VMware Cloud Foundation.
To meet the requirements of your organization for security and compliance for your VMware
Cloud Foundation environment including industry compliance standards, you configure manually
the password policies of the individual management components in the environment. See
Chapter 3 Password Policy Configuration for VMware Cloud Foundation.
Intended Audience
The information in VMware Cloud Foundation Operations Guide is intended for data center cloud
administrators and operators who are familiar with:
n   Hardware components such as top-of-rack (ToR) switches, inter-rack switches, servers with
    direct attached storage, cables, and power supplies
VMware by Broadcom                                                                              6
VMware Cloud Foundation Operations Guide
 PowerShell based interaction with the     PowerVCF                       PowerVCF open-source project in Github
 VMware Cloud Foundation API
 Automation for SDDC Manager bundle        PowerShell Script for VMware   Knowledge Base article 94760
 management                                Cloud Foundation Bundle
                                           Management
You can open these documents from the VMware Cloud Foundation Documentation main page:
n   The VMware Cloud Foundation Planning and Preparation Workbook contains the
    environment specification of your VMware Cloud Foundation deployment. It also provides
    dynamic sizing guidance.
n   The VMware Cloud Foundation Design Guides explains the design principles of and provides
    best practices for the management component configuration in a VMware Cloud Foundation
    environment.
n   The VMware Cloud Foundation Deployment Guide is intended for data center cloud
    administrators who deploy a VMware Cloud Foundation system in their organization's data
    center.
VMware by Broadcom                                                                                                 7
VMware Cloud Foundation Operations Guide
n   The VMware Cloud Foundation Administration Guide contains detailed information about how
    to administer and operate a VMware Cloud Foundation system in your data center.
n   The VMware Cloud Foundation Lifecycle Management document describes how to manage
    the life cycle of a VMware Cloud Foundation environment.
n   VMware Validated Solutions provide technical reference for designing and implementing add-
    on configurations on top of VMware Cloud Foundation that solve a business use case, such
    as, central identity management, workload provisioning, vSphere with Tanzu configuration,
    and others.
Your VMware Cloud Foundation system includes a stack of VMware software products and
components. You can find the documentation for those software products at VMware Docs.
VMware by Broadcom                                                                           8
Best Practices for Operating
VMware Cloud Foundation                                                                            1
For flawless and non-disruptive operations, such as password management, backup and restore,
certificate management, and license management, and for optimal performance of your VMware
Cloud Foundation environment, you can follow certain best practices based on industry expertise
and previous successful experiences.
n Password Operations
n License Operations
n Certificate Operations
n Backup Operations
Table 1-1. Example Security Considerations When Operating VMware Cloud Foundation
VMware by Broadcom                                                                                     9
VMware Cloud Foundation Operations Guide
Table 1-1. Example Security Considerations When Operating VMware Cloud Foundation
(continued)
 Users and roles                            n   Implement role-based access             See Managing Users and Groups
                                                control.                                in VMware Cloud Foundation in
                                            n   Limit the use of local accounts for     the VMware Cloud Foundation
                                                both interactive or API access, or      Administration Guide.
                                                for solution integration.
                                            n   Limit the scope and privileges
                                                for accounts used for both
                                                interactive or API access, or for
                                                solution integration.
                                            n   Assign Active Directory security
                                                groups to default or custom
                                                roles, as applicable, for interactive
                                                or API access to solution
                                                components based on your
                                                organization's business and
                                                security requirements.
Choose one or more monitoring solutions according to the setup of your environment.
Solution Description
 Intelligent Operations       Use VMware Aria Operations for proactive management of system failures by reviewing
 Management for VMware        and acting on events and alerts. Information is collected in the form of structured data
 Cloud Foundation             (metrics).
VMware by Broadcom                                                                                                            10
VMware Cloud Foundation Operations Guide
Solution Description
 Health Reporting and         Generate reports in HTML format, and use custom dashboards, alerts, and notifications in
 Monitoring for VMware        VMware Aria Operations to monitor the health of your environment.
 Cloud Foundation
 Intelligent Network          Use VMware Aria Operations for Networks for network visibility and analytics to improve
 Visibility for VMware        micro-segmentation security, minimize risk during application migration, optimize network
 Cloud Foundation             performance and manage and scale NSX and Kubernetes deployments.
Password Operations
Certain measures enhance the security setup of your VMware Cloud Foundation environment.
n   Monitoring passwords ensures compliance, access control, and risk mitigation in your
    VMware Cloud Foundation environment.
n   Password policies, including complexity, expiration, and account lockout, enforce secure
    practices.
Table 1-2. Best Practices for Password Operations in VMware Cloud Foundation
 Set or update password        n   After management domain                  Configure password policies of the
 policies.                         deployment.                              management components of VMware Cloud
                               n   After VI workload domain deployment.     Foundation manually for each component
                                                                            or in an automated way by using the
                               n   After adding a vSphere cluster.
                                                                            VMware.CloudFoundation.PasswordMana
                               n   After expanding a vSphere cluster.
                                                                            gement PowerShell module. See Chapter 3
                               n   If the password policies of your
                                                                            Password Policy Configuration for VMware
                                   organization are updated.
                                                                            Cloud Foundation.
                                                                            For password policy configuration of
                                                                            products that are not part of the VMware
                                                                            Cloud Foundation automation, follow their
                                                                            product documentation.
 Monitor account password      Once a week or according to the policy of    The SDDC Manager UI shows a notification
 expiration.                   your organization.                           for account passwords managed by SDDC
                                                                            Manager that are expiring in the next 14
                                                                            days.
VMware by Broadcom                                                                                                        11
VMware Cloud Foundation Operations Guide
Table 1-2. Best Practices for Password Operations in VMware Cloud Foundation (continued)
 Enable account password       n   After management domain                 To enable password auto-rotation for an
 auto-rotation (schedule           deployment.                             account in a management component,
 rotation).                    n   After VI workload domain deployment.    use the SDDC Manager UI. See Rotate
                                                                           Passwords in theVMware Cloud Foundation
                                                                           Administration Guide.
 Rotate or update an           n   Before the account password expires.    The following options for password rotation
 account password.             n   Over a regular interval.                exist:
VMware by Broadcom                                                                                                      12
VMware Cloud Foundation Operations Guide
Table 1-2. Best Practices for Password Operations in VMware Cloud Foundation (continued)
 Remediate an account          If a password has expired.            To remediate a password, use the SDDC
 password.                                                           Manager UI. See Remediate Passwords
                                                                     in the VMware Cloud Foundation
                                                                     Administration Guide.
 Look up account               If you must log in using an account   To look up account credentials manually,
 credentials.                  managed by SDDC Manager.              use the lookup_passwords command in the
                                                                     SDDC Manager appliance. See Look Up
                                                                     Account Credentials in the VMware Cloud
                                                                     Foundation Administration Guide.
VMware by Broadcom                                                                                              13
VMware Cloud Foundation Operations Guide
Table 1-2. Best Practices for Password Operations in VMware Cloud Foundation (continued)
 Reset a password.             If a lost account password cannot be   See the following documentation:
                               retrieved from SDDC Manager or other   n   Resetting SDDC Manager root
                               secure storage.                            Password
                                                                      n   Resetting vCenter Server Appliance
                                                                          root Password
Caution If a password management operation in SDDC Manager fails, you see a message on the
Security > Password Management page. Such a failed operation might have a lock that impacts
other operations in SDDC Manager. To release the lock, click Cancel in the message dialog box,
or resolve the issue and click Retry.
License Operations
When deploying management components, VMware Cloud Foundation requires access to valid
license keys. You add license keys to the SDDC Manager inventory so that they can be
consumed at deployment time, but they are not synchronized between SDDC Manager and the
underlying components.
VMware by Broadcom                                                                                                14
VMware Cloud Foundation Operations Guide
Table 1-3. Best Practices for License Operations in VMware Cloud Foundation
 Add licenses.                             Insufficient license capacity for        To add license keys manually, use
                                           expanding an environment.                the SDDC Manager UI. See Managing
                                                                                    License Keys in the VMware Cloud
                                                                                    Foundation Administration Guide.
 Replace expired licenses.                 А licenses has expired or is expiring.   You must update or delete the
                                                                                    license key. You have the same
                                                                                    management options as when adding
                                                                                    licenses.
 Replace existing licenses.                You upgrade product licenses to a        You must update the license keys.
                                           higher edition.                          You have the same management
                                                                                    options as when adding licenses.
Certificate Operations
By actively managing certificates in VMware Cloud Foundation, organizations can maintain
secure communication, establish trust, protect sensitive data, meet compliance requirements,
and respond effectively to certificate-related incidents or vulnerabilities.
VMware by Broadcom                                                                                                            15
VMware Cloud Foundation Operations Guide
Table 1-4. Best Practices for Certificate Operations in VMware Cloud Foundation
                                                                              Note
                                                                              n   If you have deployed the management
                                                                                  domain on ESXi hosts with external
                                                                                  certificates, use ESXi hosts with custom
                                                                                  certificates for the whole environment.
                                                                              n   If you have switched to using ESXi
                                                                                  hosts with external certificates in the
                                                                                  management domain, all ESXi hosts
                                                                                  in new workload domains must use
                                                                                  external certificates.
                                                                              n   If you replaced the certificate for a
                                                                                  VMware Cloud Foundation component
                                                                                  outside of SDDC Manager, add the
                                                                                  certificate to the SDDC Manager
                                                                                  trust store. See Managing Certificates
                                                                                  in the VMware Cloud Foundation
                                                                                  Administration Guide.
 Replace signed certificates   n   After management domain                    Follow the same guidelines as when
 from a trusted certificate        deployment.                                replacing self-signed certificates.
 authority.                    n   After VI workload domain deployment.
                               n   The key length must be modified.
                               n   A certificate has expired or its
                                   expiration date is close.
                               n   The certificate authority or the private
                                   key has been compromised.
                               n   A certificate has been revoked by the
                                   issuing certificate authority.
VMware by Broadcom                                                                                                           16
VMware Cloud Foundation Operations Guide
Table 1-4. Best Practices for Certificate Operations in VMware Cloud Foundation (continued)
    Identify expiring          At least once a month.              The SDDC Manager UI shows an alert if a
    certificates.                                                  certificate is expiring.
Skip installing CA-signed certificates for NSX Manager by using SDDC Manager.
Skip installing a CA-signed certificate for vCenter Server by using SDDC Manager.
3      If you are replacing expired certificates in the management domain, Replace an Expired
       SDDC Manager Certificate.
4      After you have all temporary certificates ready to be replaced with CA-signed ones, use
       SDDC Manager UI to replace the certificates for NSX Manager and vCenter Server with
       CA-signed ones.
VMware by Broadcom                                                                                             17
VMware Cloud Foundation Operations Guide
    Add a certificate exception to your Web browser if the certificate of the NSX Manager cluster
    FQDN has expired.
3   Generate self-signed certificates for the NSX Manager entities with expired certificates.
    a    On the Certificates tab, select Generate > Self Signed Certificate.
Option Description
         Common Name                                  Enter the fully qualified domain name (FQDN) of the node.
                                                      For example, nsx-wld-01.vrack.vsphere.local.
         Key Size                                     Set the key bits size of the encryption algorithm.
                                                      For example, 2048.
VMware by Broadcom                                                                                                 18
VMware Cloud Foundation Operations Guide
Option Description
Number of days Enter the validity of the certificate starting from today.
c Click Save.
d Repeat the steps for all remaining NSX Manager entities whose certificates have expired.
    a    On the Certificates tab, locate and copy the ID of the certificate for the NSX Manager
         entity.
    b    From a system that supports the curl command and has access to the NSX Manager
         nodes, such as the vCenter Server or SDDC Manager appliance, run the following
         command to install the self-signed certificate on the NSX Manager cluster or an NSX
         Manager node.
Use the certificate ID you copied from the NSX Manager UI.
          NSX Manager
          Entity with
          Expired
          Certificate        Certificate Replacement Command
c Repeat the steps for all remaining NSX Manager nodes with expired certificate.
5 Add the self-signed NSX Manager certificates to the trust store of SDDC Manager.
    c    On the Workload Domains page, click the workload domain the NSX Manager cluster or
         nodes are part of.
VMware by Broadcom                                                                                                      19
VMware Cloud Foundation Operations Guide
          You see a status message that the certificates of the NSX Manager nodes and cluster are
          not trusted.
    e     For a self-signed certificate, click review in the status message, review the certificate
          details and verify that the thumbprint matches the thumbprint of the self-signed
          certificate for the node.
g Review and mark as trusted the remaining self-signed NSX Manager certificates.
6   After all certificates for NSX Manager become active, install CA-signed certificates for all
    FQDNs related to NSX Manager.
7   (Optional) Remove the self-signed certificates from the trust store of SDDC Manager after
    you replace them with а CA-signed one.
    See Remove Old or Unused Certificates from SDDC Manager in the VMware Cloud
    Foundation Administration Guide.
8   Remove the expired and self-signed certificates from NSX Manager after you applied CA-
    signed ones.
/usr/lib/vmware-vmca/bin/certificate-manager
6   If you are replacing the vCenter Server certificate with a new VMCA-signed certificate for
    the first time, enter the properties of the VMCA-signed certificate and confirm continuing the
    operation.
n Company name
n Organization name
n Organization unit
VMware by Broadcom                                                                                    20
VMware Cloud Foundation Operations Guide
n State
n Locality
n IP address (optional)
n Email address
    n    Host name, that is, the fully qualified domain name of the vCenter Server machine on
         which you want to replace the certificate. If the host name does not match the FQDN,
         certificate replacement does not complete correctly and your workload domain might
         end up in an unstable state.
    n    VMCA name, that is, the fully qualified domain name of the vCenter Server machine on
         which the certificate configuration is running.
7   If you have previously generated a VMCA-signed certificate on this workload domain vCenter
    Server and a certool.cfg file is available, do not reconfigure the certool.cfg file and
    confirm continuing the operation.
    c    On the Workload Domains page, click the workload domain that the vCenter Server
         instance is part of.
    Add a certificate exception to your Web browser because the certificate of the SDDC
    Manager has expired.
VMware by Broadcom                                                                              21
VMware Cloud Foundation Operations Guide
Backup Operations
Managing backups of the management components of VMware Cloud Foundation regularly
provides data protection, facilitates disaster recovery, enhances security and compliance, and
supports system updates.
Table 1-5. Best Practices for Backup Operations in VMware Cloud Foundation
 Configure a location and      n   After management domain                See the following information in the
 a schedule of an external         deployment.                            VMware Cloud Foundation Administration
 backup.                       n   After VI workload domain deployment.   Guide:
                                                                          n   After you deploy the management
                                                                              domain of VMware Cloud Foundation,
                                                                              Reconfigure SFTP Backups for SDDC
                                                                              Manager and NSX Manager .
                                                                          n   After you deploy the management
                                                                              domain or a VI workload domain,
                                                                              Configure a Backup Schedule for
                                                                              vCenter Server
                                                                          For NSX Manager backups, see NSX
                                                                          Manager Backup Configuration.
VMware by Broadcom                                                                                                  22
VMware Cloud Foundation Operations Guide
Table 1-5. Best Practices for Backup Operations in VMware Cloud Foundation (continued)
 Configure NSX Manager         n   After management domain                   NSX does not support a native option to
 backup retention.                 deployment.                               configure a backup retention policy. To
                               n   If the backup retention policy of your    manage retention of the backups with a
                                   organization has changed.                 script, see Remove Old Backups in the NSX
                                                                             Administration Guide.
                                                                             The retention of the backups is for
                                                                             the backup location configured in SDDC
                                                                             Manager. You configure the script only
                                                                             once per VMware Cloud Foundation
                                                                             environment. It is then applied to all NSX
                                                                             Manager backups.
 Run an on-demand              n   After a successful recovery operation.    See Running On-Demand Backups.
 backup.                       n   After resolving asynchronously
                                                                             You can automate an on-demand backup
                                   reported errors in SDDC components.
                                                                             of SDDC Manager by using the VMware
                               n   After resolving an incomplete
                                                                             Cloud Foundation API. See Backup and
                                   workflow in SDDC Manager.
                                                                             Restore in the VMware Cloud Foundation
                               n   After noting the failure of a scheduled   API reference documentation.
                                   backup of an SDDC component.
                               n   Before performing a system upgrade.       To automate an on-demand backup of
                                                                             SDDC Manager by using PowerShell, use
                                                                             the Start-VCFBackup cmdlet in the open-
                                                                             source PowerShell Module for VMware
                                                                             Cloud Foundation. See PowerShell Module
                                                                             for VMware Cloud Foundation `.
VMware by Broadcom                                                                                                        23
VMware Cloud Foundation Operations Guide
Table 1-5. Best Practices for Backup Operations in VMware Cloud Foundation (continued)
n Request-VcenterBackupStatus
n Request-NsxtManagerBackupStatus
n   NSX does not offer an option to configure a backup retention policy. To manage retention of
    the backups with a script, see Remove Old Backups in the NSX Administration Guide.
n   NSX Global Managers are not managed by SDDC Manager. You must configure the backup
    for the NSX Global Manager manually. See to Configure Backups in theNSX Administration
    Guide.
    To reuse the same backup retention policy, configure the backups to use the same SFTP
    destination as in SDDC Manager .
n   When the backup settings are configured in SDDC Manager, all NSX Local Managers are
    configured to back up in a common location.
n   When the backup settings are configured in SDDC Manager, the NSX Local Managers that
    might be deployed when a workload domain is created are configured to back up data in the
    location and with the schedule defined in SDDC Manager.
n   In the NSX Manager UI, you see backups from different NSX Manager nodes in the Backup
    History. This is expected.
VMware by Broadcom                                                                                     24
VMware Cloud Foundation Operations Guide
n   By default, SDDC Manager configures the NSX Local Managers to back up once every
    hour. If you want to change the backup schedule or enable automatic backups when the
    configuration changes, perform these steps:
b On the System tab, click Backup & Restore and click Edit in Schedule section.
    d    Optional. Turn on Detect NSX configuration change and set the Update Interval to to
         check for configuration changes every hour.
e Click Save.
 vCenter Server      n   For full vCenter Server backup, see Manually Back Up vCenter Server in the VMware Cloud
                         Foundation Administration Guide.
                     n   A vCenter Server backup includes the configuration of the entire vCenter Server instance. To
                         back up only the configuration of a vSphere Distributed Switch and its distributed port groups,
                         you export a configuration file that includes the validated network configurations. If you want
                         to recover only the vSphere Distributed Switch, you can import this configuration file in to the
                         vCenter Server instance. See Export the Configuration of the vSphere Distributed Switches in
                         the VMware Cloud Foundation Administration Guide.
 NSX Manager         1   Log in to the NSX Local Manager cluster at https://<nsx_manager_cluster_fqdn> with a
                         user assigned the Enterprise Administrator role.
                     2   On the System tab, click Backup & Restore and click Start Backup
VMware by Broadcom                                                                                                          25
VMware Cloud Foundation Operations Guide
Table 1-6. Best Practices for Life Cycle Operations in VMware Cloud Foundation
 Upgrade or update             n   The later version contains important    As a best practice, you run the latest
                                   issue fixes.                            software version to get latest bug fixes and
                               n   The later version introduces a new      security patches or more features.
                                   feature that you want to explore.       Before upgrading, check if all third-party
                               n   The version that you are running will   integrations are compatible with the Bill
                                   be out of support soon.                 of Materials (BoM) of the target version.
                                                                           For more information about upgrading
                                                                           VMware Cloud Foundation, see VMware
                                                                           Cloud Foundation Lifecycle Management .
                                                                           You can use the following options for
                                                                           managing upgrade bundles:
                                                                           n   To manage upgrade bundles for
                                                                               VMware Cloud Foundation step-by-
                                                                               step, use the SDDC Manager UI. See
                                                                               Managing Installation and Upgrade
                                                                               Bundles in VMware Cloud Foundation
                                                                               in the VMware Cloud Foundation
                                                                               Administration Guide.
                                                                           n   You can automate upgrade bundle
                                                                               management by using the VMware
                                                                               Cloud Foundation API. See Bundles
                                                                           n   To automate bundle management by
                                                                               using a PowerShell-based script, see
                                                                               VMware knowledge base article 94760.
                                                                           n   To delete bundles that are obsolete or
                                                                               that you do not need anymore, use
                                                                               the Bundle Cleanup Utility. See VMware
                                                                               knowledge base aritcle 75050.
VMware by Broadcom                                                                                                      26
Shutdown and Startup of VMware
Cloud Foundation                                                                         2
Shutting down VMware Cloud Foundation, for example, during hardware or power maintenance,
and then starting it up must be done in a way that prevents data loss or appliance malfunction,
and supports collection of troubleshooting data.
You follow a strict order and steps for shutdown and startup of the VMware Cloud Foundation
management components.
To shut down or start up the management domain or a VI workload domain, you run sample
PowerShell scripts that come with the VMware.CloudFoundation.PowerManagement module in
PowerShell Gallery. The scripts follow the order for manual shutdown and startup of VMware
Cloud Foundation. You can complete the workflow manually at any point. You can also run the
scripts multiple times.
You shut down the customer workloads and the management components for the VI workload
domains before you shut down the components for the management domain.
VMware by Broadcom                                                                            27
VMware Cloud Foundation Operations Guide
                        ®                                ®
If the VMware NSX Manager™ cluster and VMware NSX Edge™ cluster are shared with other
VI workload domains, shut down the NSX Manager and NSX Edge clusters as part of the
shutdown of the first VI workload domain.
Prerequisites
n Verify that the management virtual machines are not running on snapshots.
n   If a vSphere Storage APIs for Data Protection (VADP) based backup solution is running on
    the management clusters, verify that the solution is properly shut down by following the
    vendor guidance.
n   To reduce the startup time before you shut down the management virtual machines, migrate
                               ®
    the VMware vCenter Server instance for the management domain to the first VMware
    ESXi™ host in the default management cluster in the management domain.
n   Shut Down a Virtual Infrastructure Workload Domain with vSphere with Tanzu
    You shut down the components of a VI workload domain that runs containerized workloads
    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.
You shut down the management components for the VI workload domains before you shut down
the components for the management domain.
VMware by Broadcom                                                                             28
VMware Cloud Foundation Operations Guide
If the NSX Manager cluster and NSX Edge cluster are shared with other VI workload domains,
follow this general order:
1       Shut down the customer workloads in all VI workload domains that share the VMware
             ®
        NSX instance. Otherwise, all NSX networking services in the customer workloads will be
        interrupted when you shut down NSX.
2 Shut down the VI workload domain that runs the shared NSX Edge nodes.
Procedure
2       In the VMs and templates inventory, expand the tree of workload domain vCenter Server and
        expand data center for the workload domain.
3       Right-click an NSX Edge virtual machine for the management domain or VI workload domain
        and select Power > Shut down Guest OS.
VMware by Broadcom                                                                                        29
VMware Cloud Foundation Operations Guide
5 Repeat the steps for the remaining NSX Edge nodes for the domain.
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
3   Right-click the primary NSX manager virtual machine and select Power > Shut down Guest
    OS.
5 Repeat the steps for the remaining NSX Manager virtual machines.
Procedure
2   In the Hosts and clusters inventory, expand the tree of the VI workload domain vCenter
    Server and expand the data center for the VI workload domain.
4 Copy the cluster domain ID domain-c(cluster_domain_id) from the URL of the browser.
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/summary
VMware by Broadcom                                                                                30
VMware Cloud Foundation Operations Guide
5   In the Host and Clusters inventory, select the vCenter Server instance and click the Configure
    tab.
    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.
8 Click Save.
Results
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 vSAN and the ESXi Hosts in a Virtual Infrastructure Workload
Domain
You use the vSAN shutdown cluster wizard in the vSphere Client to shut down gracefully the
vSAN clusters in a VI workload domain in VMware Cloud Foundation. The wizard shuts down the
vSAN storage and the ESXi hosts added to the cluster.
You perform this operation on all vSAN clusters in all VI workload domains.
Procedure
2   In the Hosts and clusters inventory, expand the tree of the VI workload domain vCenter
    Server and expand the data center for the VI workload domain.
3 For a vSAN cluster, verify the vSAN health and resynchronization status.
    b     In the left pane, navigate to vSAN > Skyline health and verify the status of each vSAN
          health check category.
    c     In the left pane, under vSAN > Resyncing objects, verify that all synchronization tasks are
          complete.
4   If any member host is in lockdown mode, add the host's root account to the Exception Users
    list.
a Select the host in the inventory and click the Configure tab.
VMware by Broadcom                                                                                  31
VMware Cloud Foundation Operations Guide
d On the Exception Users page, enter root and click Add User.
e Click OK.
a In the inventory, right-click the vSAN cluster and select vSAN > Shutdown cluster.
b In the Shutdown Cluster wizard, verify that all pre-checks are green and click Next.
6 Repeat Step 3 to Step 5 for other vSAN clusters in the workload domain.
Prerequisites
n Verify that all ESXi hosts in all clusters are stopped and are disconnected.
n Verify that a Perform cluster power off action task is not running in vCenter Server.
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
a Locate the vCenter Server virtual machine for the VI workload domain.
b Right-click the virtual machine and select Power > Shut down Guest OS.
You shut down the management components for the VI workload domains that run vSphere with
Tanzu and containers or that run virtualized workloads before you shut down the components for
the management domain.
VMware by Broadcom                                                                              32
VMware Cloud Foundation Operations Guide
If the NSX Manager cluster and NSX Edge cluster are shared with other VI workload domains,
follow this general order:
1        Shut down the customer workloads in all VI workload domains that share the NSX instance.
         Otherwise, all NSX networking services in the customer workloads will be interrupted when
         you shut down NSX.
2 Shut down the VI workload domain that runs the shared NSX Edge nodes.
Find Out the Location of the vSphere with Tanzu Virtual Machines on the ESXi
Hosts
Before you begin shutting down a VI workload domain with vSphere with Tanzu, you get a
mapping between virtual machines in the workload domain and the ESXi hosts on which they
are deployed. You later use this mapping to log in to specific ESXi hosts and shut down specific
management virtual machines.
Procedure
1 Start PowerShell.
VMware by Broadcom                                                                                             33
VMware Cloud Foundation Operations Guide
Procedure
2   In the Hosts and clusters inventory, expand the tree of the VI workload domain vCenter
    Server and expand the data center for the VI workload domain.
4 Copy the cluster domain ID domain-c(cluster_domain_id) from the URL of the browser.
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/summary
5   In the Host and Clusters inventory, select the vCenter Server instance and click the Configure
    tab.
    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.
8 Click Save.
Results
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.
VMware by Broadcom                                                                                 34
VMware Cloud Foundation Operations Guide
Shut Down vCenter Server for a Virtual Infrastructure Workload Domain with
vSphere with Tanzu
To shut down the vCenter Server instance for a VI workload domain with vSphere with Tanzu in
VMware Cloud Foundation, you use the vSphere Client. You stop the Kubernetes services and
check the vSAN health status.
Procedure
1 Shut down the Kubernetes services on the workload domain vCenter Server.
vmon-cli -k wcp
vmon-cli -s wcp
    b    In the left pane, navigate to vSAN > Skyline health, and verify the status of each vSAN
         health check category under Health findings and that the cluster health score is 100%.
    c    In the left pane, under vSAN > Resyncing objects, verify that all synchronization tasks are
         complete.
4   If a vSAN cluster in the workload domain has vSphere HA turned on, stop vSphere HA to
    avoid vSphere HA initiated migrations of virtual machines after vSAN is partitioned during the
    shutdown process.
b In the left pane, select Services > vSphere Availability and click the Edit button.
c In the Edit Cluster Settings dialog box, turn off vSphere HA and click OK.
6   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
VMware by Broadcom                                                                                 35
VMware Cloud Foundation Operations Guide
a Locate the vCenter Server virtual machine for the VI workload domain.
b Right-click the virtual machine and select Power > Shut down Guest OS.
Shut Down the NSX Edge Nodes for vSphere with Tanzu
You begin shutting down the NSX infrastructure in a VI workload domain with vSphere with
Tanzu by shutting down the NSX Edge nodes that provide north-south traffic connectivity
between the physical data center networks and the NSX SDN networks.
Because the vCenter Server instance for the domain is already down, you shut down the NSX
Edge nodes from the ESXi hosts where they are running.
Procedure
1   Log in to the ESXi host that runs the first NSX Edge node as root by using the VMware Host
    Client.
3 Right-click an NSX Edge virtual machine, and select Guest OS > Shut down
5   Repeat these steps to shut down the remaining NSX Edge nodes for the VI workload domain
    with vSphere with Tanzu.
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
3   Right-click the primary NSX manager virtual machine and select Power > Shut down Guest
    OS.
5 Repeat the steps for the remaining NSX Manager virtual machines.
VMware by Broadcom                                                                               36
VMware Cloud Foundation Operations Guide
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.
Procedure
1   Turn on SSH on the ESXi hosts in the workload domain by using the SoS utility of the SDDC
    Manager appliance.
a Log in to the SDDC Manager appliance by using a Secure Shell (SSH) client as vcf.
b Switch to the root user by running the su command and entering the root password.
2   Log in to the first ESXi host in the workload domain cluster by using a Secure Shell (SSH)
    client as root.
3 For a vSAN cluster, deactivate vSAN cluster member updates by running the command.
esxcfg-advcfg -s 1 /VSAN/IgnoreClusterMemberListUpdates
5   On the first ESXi host per vSAN cluster, prepare the vSAN cluster for shutdown by running
    the command.
8 Repeat Step 6 and Step 7 on the remaining hosts in the workload domain cluster.
VMware by Broadcom                                                                               37
VMware Cloud Foundation Operations Guide
a Log in to the first ESXi host for the cluster at https://<esxi_host_fqdn>/ui as root.
b In the navigation pane, right-click Host and, from the drop-down menu, select Shut down.
After you shut down the components in all VI workload domains, you begin shutting down the
management domain.
Note 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 VMware Aria Operations for Logs 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.
VMware by Broadcom                                                                                         38
VMware Cloud Foundation Operations Guide
10 SDDC Manager *
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.
Procedure
5        In the VMware Identity Manager section, click the horizontal ellipsis icon and select Power
         off.
6 In the Power off VMware Identity Manager dialog box, click Submit.
VMware by Broadcom                                                                                         39
VMware Cloud Foundation Operations Guide
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
3   Right-click the VMware Aria Suite Lifecycle virtual machine and select Power > Shut down
    Guest OS.
Procedure
2   In the VMs and templates inventory, expand the tree of workload domain vCenter Server and
    expand data center for the workload domain.
3   Right-click an NSX Edge virtual machine for the management domain or VI workload domain
    and select Power > Shut down Guest OS.
5 Repeat the steps for the remaining NSX Edge nodes for the domain.
Procedure
VMware by Broadcom                                                                             40
VMware Cloud Foundation Operations Guide
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
3   Right-click the primary NSX manager virtual machine and select Power > Shut down Guest
    OS.
5 Repeat the steps for the remaining NSX Manager virtual machines.
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
4 Right-click the SDDC Manager virtual machine and click Power > Shut down Guest OS.
Procedure
2   In the Hosts and clusters inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
3   If the management domain vCenter Server is not running on the first ESXi host in the default
    management cluster, migrate it there.
VMware by Broadcom                                                                                 41
VMware Cloud Foundation Operations Guide
a Select the default management cluster and click the Monitor tab.
    b     In the left pane, under vSAN > Resyncing objects, verify that all synchronization tasks are
          complete.
c Under vSAN > Skyline health, verify that the cluster health score is 100%.
5   If any member host is in lockdown mode, add the host's root account to the Exception Users
    list.
a Select the host in the inventory and click the Configure tab.
d On the Exception Users page, enter root and click Add User.
e Click OK.
a In the inventory, right-click the vSAN cluster and select vSAN > Shutdown cluster.
b In the Shutdown Cluster wizard, verify that all pre-checks are green and click Next.
Results
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.
You start the management components for the management domain first. Then, you start the
management components for the VI workload domains and the customer workloads.
If the NSX Manager cluster and NSX Edge cluster are shared with other VI workload domains,
start the other VI workload domains first. Start up NSX Manager and NSX Edge nodes as part of
the startup of the last workload domain.
Prerequisites
n   Verify that external services such as Active Directory, DNS, NTP, SMTP, and FTP or SFTP are
    available.
VMware by Broadcom                                                                                 42
VMware Cloud Foundation Operations Guide
n    If a vSphere Storage APIs for Data Protection (VADP) based backup solution is deployed on
     the default management cluster, verify that the solution is properly started and operational
     according to the vendor guidance.
You start the management components for the management domain first. Then, you start the
management components for the VI workload domains and the customer workloads.
You start VMware Aria Operations for Logs as early as possible to collect log data that helps
troubleshooting potential issues. You also start Site Recovery Manager and vSphere Replication
as early as possible to protect the management virtual machines if a disaster event occurs.
2 SDDC Manager *
VMware by Broadcom                                                                                          43
VMware Cloud Foundation Operations Guide
Start the vSphere and vSAN Components for the Management Domain
You start the management ESXi hosts using an out-of-band management interface, such as, ILO
or iDRAC to connect to the hosts and power them on. Then, restarting the vSAN cluster starts
automatically vSphere Cluster Services, vCenter Server and vSAN.
Procedure
         a   Log in to the first ESXi host in the management domain by using the out-of-band
             management interface.
2 Repeat the previous step to start all the remaining ESXi hosts in the management domain.
VMware by Broadcom                                                                                           44
VMware Cloud Foundation Operations Guide
    vCenter Server is started automatically. Wait until vCenter Server is running and the vSphere
    Client is available again.
a Right-click the vSAN cluster and select vSAN > Restart cluster.
         The vSAN Services page on the Configure tab changes to display information about the
         restart process.
5   After the cluster has restarted, check the vSAN health service and resynchronization status,
    and resolve any outstanding issues.
    b    In the left pane, under vSAN > Resyncing objects, verify that all synchronization tasks are
         complete.
    c    In the left pane, navigate to vSAN > Skyline health and verify that the cluster health score
         is 100%.
6   If you have added the root user of the ESXi hosts to the Exception Users list for lockdown
    mode during shutdown, remove the user from the list on each host.
a Select the host in the inventory and click the Configure tab.
    d    On the Exception Users page, from the vertical ellipsis menu in front of the root user,
         select Remove User and click OK.
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
4 Right-click the SDDC Manager virtual machine and click Power > Power on.
VMware by Broadcom                                                                                 45
VMware Cloud Foundation Operations Guide
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
3 Power on the NSX Manager nodes for the management domain or the VI workload domain.
a Right-click the primary NSX Manager node and select Power > Power on.
    This operation takes several minutes to complete until the NSX Manager cluster becomes
    fully operational again and its user interface - accessible.
4   Log in to NSX Manager for the management domain or VI workload domain at https://
    <nsxt_manager_cluster_fqdn> as admin.
    c    On the Appliances page, verify that the NSX Manager cluster has a Stable status and all
         NSX Manager nodes are available.
Procedure
2   In the VMs and templates inventory, expand the tree of workload domain vCenter Server and
    expand data center for the workload domain.
3 Right-click an NSX Edge virtual machine from the edge cluster and select Power > Power on.
VMware by Broadcom                                                                                 46
VMware Cloud Foundation Operations Guide
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
3 Right-click the VMware Aria Suite Lifecycle virtual machine and select Power > Power on.
Procedure
2 Power on the Workspace ONE Access cluster and verify its status.
    d    In the VMware Identity Manager section, click the horizontal ellipsis icon and select
         Power on.
3   Configure the domain and domain search parameters on the Workspace ONE Access
    appliances.
    a    Log in to the first appliances of the Workspace ONE Access cluster by using a Secure
         Shell (SSH) client as sshuser.
vi /etc/resolv.conf
VMware by Broadcom                                                                               47
VMware Cloud Foundation Operations Guide
d Add the following entries to the end of the file and save the changes.
             Domain <domain_name>
             search <space_separated_list_of_domains_to_search>
        e   Repeat this step to configure the domain and domain search parameters on the remaining
            Workspace ONE Access appliances.
4       In the VMware Aria Suite Lifecycle user interface, check the health of the Workspace ONE
        Access cluster.
        c   In the VMware Identity Manager section, click the horizontal ellipsis icon and select
            Trigger cluster health.
You start the management components for the management domain first. Then, you start the
management components for the VI workload domains and the customer workloads.
If the NSX Manager cluster and NSX Edge cluster are shared with other VI workload domains,
follow this general order:
2 Start the VI workload domain that runs the shared NSX Edge nodes.
VMware by Broadcom                                                                                              48
VMware Cloud Foundation Operations Guide
Procedure
2       In the VMs and templates inventory, expand the management domain vCenter Server tree
        and expand the management domain data center.
a Locate the vCenter Server virtual machine for the VI workload domain.
b Right-click the virtual machine and select Power > Power on.
The startup of the virtual machine and the vSphere services takes some time to complete.
Procedure
        a   Log in to the first ESXi host in the workload domain by using the out-of-band
            management interface.
2 Repeat the previous step to start all the remaining ESXi hosts in the workload domain.
You perform this operation on all vSAN clusters in all VI workload domains.
VMware by Broadcom                                                                                       49
VMware Cloud Foundation Operations Guide
Prerequisites
Verify that all ESXi hosts in the cluster are connected to the workload domain vCenter Server.
Procedure
2   In the Hosts and clusters inventory, expand the tree of the VI workload domain vCenter
    Server and expand the data center for the VI workload domain.
a Right-click the vSAN cluster and select vSAN > Restart cluster.
         The vSAN Services page on the Configure tab changes to display information about the
         restart process.
4   After the cluster has restarted, check the vSAN health service and resynchronization status,
    and resolve any outstanding issues.
    b    In the left pane, navigate to vSAN > Skyline health and verify the status of each vSAN
         health check category.
    c    In the left pane, under vSAN > Resyncing objects, verify that all synchronization tasks are
         complete.
5   If you have added the root user of the ESXi hosts to the Exception Users list for lockdown
    mode during shutdown, remove the user from the list on each host.
a Select the host in the inventory and click the Configure tab.
    d    On the Exception Users page, from the vertical ellipsis menu in front of the root user,
         select Remove User and click OK.
Procedure
VMware by Broadcom                                                                                 50
VMware Cloud Foundation Operations Guide
2   In the Hosts and clusters inventory, expand the tree of the VI workload domain vCenter
    Server and expand the data center for the VI workload domain.
4 Copy the cluster domain ID domain-c(cluster_domain_id) from the URL of the browser.
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/summary
5   In the Host and Clusters inventory, select the vCenter Server instance for the VI workload
    domain and click the Configure tab.
8 Click Save
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
3 Power on the NSX Manager nodes for the management domain or the VI workload domain.
a Right-click the primary NSX Manager node and select Power > Power on.
    This operation takes several minutes to complete until the NSX Manager cluster becomes
    fully operational again and its user interface - accessible.
4   Log in to NSX Manager for the management domain or VI workload domain at https://
    <nsxt_manager_cluster_fqdn> as admin.
VMware by Broadcom                                                                                51
VMware Cloud Foundation Operations Guide
    c    On the Appliances page, verify that the NSX Manager cluster has a Stable status and all
         NSX Manager nodes are available.
Procedure
2   In the VMs and templates inventory, expand the tree of workload domain vCenter Server and
    expand data center for the workload domain.
3 Right-click an NSX Edge virtual machine from the edge cluster and select Power > Power on.
You start the management components for the management domain first. Then, you start the
management components for the VI workload domains and the customer workloads.
If the NSX Manager cluster and NSX Edge cluster are shared with other VI workload domains,
follow this general order:
2 Start the VI workload domain that runs the shared NSX Edge nodes.
VMware by Broadcom                                                                                 52
VMware Cloud Foundation Operations Guide
Start vSAN and ESXi Hosts in a Virtual Infrastructure Workload Domain with
vSphere with Tanzu
You start the ESXi hosts using an out-of-band management interface, such as, ILO or iDRAC to
connect to the hosts and power them on. You then exit maintenance mode for the ESXi hosts
and prepare the vSAN cluster for startup.
Procedure
        a   Log in to the first ESXi host in the workload domain by using the out-of-band
            management interface.
2 Repeat the previous step to start all the remaining ESXi hosts in the workload domain.
3       If your VMware Cloud Foundation environment has several VI workload domains with
        vSphere with Tanzu, start all ESXi hosts in all these workload domains to save time because
        the vSAN scan operation which takes place at ESXi startup requires some time to complete.
VMware by Broadcom                                                                                               53
VMware Cloud Foundation Operations Guide
4   Turn on SSH on all hosts in the domain by using the SoS utility of the SDDC Manager
    appliance.
a Log in to the SDDC Manager appliance by using a Secure Shell (SSH) client as vcf.
b Switch to the root user by running the su command and entering the root password.
5 Log in to the first ESXi host in the domain as root by using a Secure Shell (SSH) client.
6 Take the ESXi host out of maintenance mode by running the command.
7 Repeat Step 5 and Step 6 on all the remaining ESXi hosts in the domain.
8   On the first ESXi host in each vSAN cluster, run the command to prepare the vSAN cluster for
    starting.
9 Verify that all hosts in the vSAN cluster are available by running the command.
esxcfg-advcfg -s 0 /VSAN/IgnoreClusterMemberListUpdates
11 Repeat Step 9 and Step 10 for the remaining ESXi hosts in the workload domain.
12 Deactivate SSH on the ESXi hosts in the domain from the SDDC Manager appliance.
a Log in to the SDDC Manager appliance by using a Secure Shell (SSH) client as vcf.
b Switch to the root user by running the su command and entering the root password.
VMware by Broadcom                                                                              54
VMware Cloud Foundation Operations Guide
Start vCenter Server for a Virtual Infrastructure Workload Domain with vSphere
with Tanzu
Use the vSphere Client to power on the vCenter Server appliance in the VI workload domain. If
the workload domain contains a vSAN cluster, check its health status too.
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
a Locate the vCenter Server virtual machine for the VI workload domain.
b Right-click the virtual machine and select Power > Power on.
The startup of the virtual machine and the vSphere services takes some time to complete.
5   In the Hosts and clusters inventory, expand the tree of the VI workload domain vCenter
    Server and expand the data center for the VI workload domain.
a Select the vSAN cluster in the VI workload domain and click the Monitor tab.
    b    In the left pane, navigate to vSAN > Skyline health and verify the status of each vSAN
         health check category.
    c    In the left pane, navigate to vSAN > Resyncing objects and verify that all synchronization
         tasks are complete.
b In the left pane, select Services > vSphere Availability and click the Edit button.
c In the Edit Cluster Settings dialog box, turn on vSphere HA and click OK.
VMware by Broadcom                                                                                55
VMware Cloud Foundation Operations Guide
    a     Log in to the VI workload domain vCenter Server by using a Secure Shell (SSH) client as
          root.
vmon-cli -s wcp
Start the vSphere Cluster Services for a Virtual Infrastructure Workload Domain
with vSphere with Tanzu
You start the vSphere Cluster Services (vCLS) virtual machines in a VI workload domain with
vSphere with Tanzu by deactivating the retreat mode on the target cluster. Starting the vCLS
virtual machines makes vSphere DRS and vSphere HA available to the workloads running on the
clusters in the workload domain again.
Perform this operation on all vSAN clusters in the other workload domains with vSphere with
Tanzu.
Procedure
2   In the Hosts and clusters inventory, expand the tree of the VI workload domain vCenter
    Server and expand the data center for the VI workload domain.
4 Copy the cluster domain ID domain-c(cluster_domain_id) from the URL of the browser.
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/summary
5   In the Host and Clustersinventory, select the vCenter Server instance for the management
    domain or the VI workload domain and click the Configure tab.
8 Click Save
VMware by Broadcom                                                                                  56
VMware Cloud Foundation Operations Guide
Procedure
2   In the VMs and templates inventory, expand the management domain vCenter Server tree
    and expand the management domain data center.
3 Power on the NSX Manager nodes for the management domain or the VI workload domain.
a Right-click the primary NSX Manager node and select Power > Power on.
    This operation takes several minutes to complete until the NSX Manager cluster becomes
    fully operational again and its user interface - accessible.
4   Log in to NSX Manager for the management domain or VI workload domain at https://
    <nsxt_manager_cluster_fqdn> as admin.
    c    On the Appliances page, verify that the NSX Manager cluster has a Stable status and all
         NSX Manager nodes are available.
Procedure
2   In the VMs and templates inventory, expand the tree of workload domain vCenter Server and
    expand data center for the workload domain.
3 Right-click an NSX Edge virtual machine from the edge cluster and select Power > Power on.
VMware by Broadcom                                                                                 57
Password Policy Configuration for
VMware Cloud Foundation                                                                  3
Configuring password policies includes the configuration of password expiration, complexity and
account lockout policies according to the requirements of your organization which might be
based on industry compliance standards. In VMware Cloud Foundation, this activity is performed
manually.
After you configure the password policy, you can use SDDC Manager to rotate or manually
update the passwords of the management components in VMware Cloud Foundation by using
automation. See Password Management in VMware Cloud Foundation Administration Guide.
For information about password policy design including the details and justification for
the configuration of password expiration, complexity and account lockout policies, see the
Information Security and Access Control Design for VMware Cloud Foundation in the Identity
and Access Management for VMware Cloud Foundation validated solution.
VMware by Broadcom                                                                             58
VMware Cloud Foundation Operations Guide
Table 3-1. Password Policies Support in the Management Components of VMware Cloud
Foundation
If you want to learn more details about, provide feedback, report an issue with automation,
or contribute to the VMware.CloudFoundation.PasswordManagement module, go to the
VMware.CloudFoundation.PasswordManagement open-source project in GitHub.
VMware by Broadcom                                                                            59
VMware Cloud Foundation Operations Guide
Management Component
 vCenter Single Sign-on                          n   Configure the Password Expiration Policy for vCenter
                                                     Single Sign-On
                                                 n   Configure the Password Complexity Policy for vCenter
                                                     Single Sign-On
                                                 n   Configure the Account Lockout Policy for vCenter
                                                     Single Sign-On
Prerequisites
To perform the configuration associated with password policy configuration, verify that your
system fulfills the following prerequisites.
VMware by Broadcom                                                                                          60
VMware Cloud Foundation Operations Guide
Category Prerequisite
Prerequisites
See Prerequisites.
VMware by Broadcom                                                                                                   61
VMware Cloud Foundation Operations Guide
Security.PasswordMaxDays 99999
Prerequisites
If you plan to reduce the expiration period of a local account's password, rotate the password of
the account by using SDDC Manager. See Rotate Passwords.
The password expiration date is determined by adding the password expiration period to the
date of the last password change. If the time since the last password change is greater than the
new expiration period, the password expires immediately.
UI Procedure
1      Log in to the vCenter Server instance for the workload domain at https://
       <vcenter_server-fqdn>/ui by using an account with Administrator privileges.
2 In the Hosts and clusters inventory, navigate to and expand the first vSphere cluster.
3 Select the first ESXi host and click the Configure tab.
6      In the key filter text box, enter Security.PasswordMaxDays, enter a value for the setting
       according to the requirements of your organization, and click OK.
9 Repeat this procedure for all clusters in the remaining workload domains.
PowerShell Procedure
1      Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
        $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
        $sddcManagerUser = "administrator@vsphere.local"
        $sddcManagerPass = "VMw@re1!"
        $sddcDomainName = "sfo-m01"
        $cluster = "sfo-m01-cl01"
$maxDays = "99999"
VMware by Broadcom                                                                                 62
VMware Cloud Foundation Operations Guide
4 Repeat this procedure for all remaining clusters in the $sddcDomainName workload domain.
5 Repeat this procedure for all clusters in the remaining workload domains.
The password expiration policy applies only to the user accounts in the vsphere.local domain for
the vCenter Single Sign-On built-in identity provider. The policy does not apply to local system
accounts and administrator@vsphere.local.
Note SDDC Manager creates dedicated service accounts within the vCenter Single Sign-On
built-in identity provider. Changing the password expiration policy affects these service accounts
too.
Maximum lifetime 90
UI Procedure
1      Log in to the vCenter Server instance for the workload domain at https://
       <vcenter_server-fqdn>/ui by using an account with Administrator privileges.
6      Enter a value for the Maximum lifetime setting according to the requirements of your
       organization and click Save.
PowerShell Procedure
1      Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
        $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
        $sddcManagerUser = "administrator@vsphere.local"
        $sddcManagerPass = "VMw@re1!"
VMware by Broadcom                                                                                63
VMware Cloud Foundation Operations Guide
$sddcDomainName = "sfo-m01"
$maxDays = "90"
You can configure the global password expiration policy for vCenter Server only by using the
API.
PowerShell Procedure
1      Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
        $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
        $sddcManagerUser = "administrator@vsphere.local"
        $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
        $maxDays = "90"
        $minDays = "0"
        $warningDays = "7"
VMware by Broadcom                                                                               64
VMware Cloud Foundation Operations Guide
Prerequisites
Configure the target vCenter Server instance with a sending email account under Settings
General on the Configure tab in the vSphere Client.
UI Procedure
1      Log in to the vCenter Server Management Interface at https://
       <vcenter_server_fqdn>:5480 as root.
4 Configure the settings according to the requirements of your organization and click Save.
shell
7      Change the number of days of warning before password expires value using the following
       command.
PowerShell Procedure
1      Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
        $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
        $sddcManagerUser = "administrator@vsphere.local"
        $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
VMware by Broadcom                                                                                 65
VMware Cloud Foundation Operations Guide
           $email = "admin@rainpole.io"
           $maxDays = "90"
           $warningDays = "7"
UI Procedure
1      Log in to the management domain vCenter Server at https://
       <management_vcenter_server_fqdn>/ui by using an account with Administrator
       privileges.
2      In the VMs and templates inventory, expand the management domain vCenter Server tree
       and expand the management domain data center.
3 Expand the VM folder containing the NSX Manager cluster for the management domain.
4 Select the first node of the NSX Manager cluster and click Launch web console.
6      Change the maximum number of days between password change using the following
       command.
The change is replicated to the other nodes in the NSX Manager cluster.
VMware by Broadcom                                                                                      66
VMware Cloud Foundation Operations Guide
8 Repeat this procedure on the NSX Local Manager clusters for all VI workload domains.
PowerShell Procedure
1      Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
           $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
           $sddcManagerUser = "administrator@vsphere.local"
           $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
$maxDays = "90"
4 Repeat this procedure for the NSX Local Manager clusters for all VI workload domains.
5      Configure the password expiration policies on all NSX Global Manager clusters manually in the
       appliance console of the first node of each cluster.
Configure the Local User Password Expiration Policy for NSX Edge
Configure password expiration for NSX Edge local users in VMware Cloud Foundation. You
configure it on a per-user basis for the built-in NSX accounts.
VMware by Broadcom                                                                                      67
VMware Cloud Foundation Operations Guide
UI Procedure
1   If you are configuring an NSX Edge virtual appliance, open the appliance console by using the
    Web console in the vSphere Client.
    a     Log in to the vCenter Server instance for the workload domain at https://
          <vcenter_server-fqdn>/ui by using an account with Administrator privileges.
    b     In the VMs and templates inventory, navigate to and expand the VM folder containing the
          NSX Edge nodes for the workload domain.
c Select the first node of the NSX Edge cluster and click Launch web console.
2   If you are configuring a bare-metal NSX Edge appliance, open the appliance console by using
    an out-of-band management interface, such as iLO or iDRAC.
4   Change the maximum number of days between password change using the following
    command.
6   Repeat this procedure on the remaining NSX Edge nodes in the cluster of the workload
    domain.
7 Repeat this procedure on all NSX Edge clusters in the remaining workload domains.
PowerShell Procedure
You can use the PowerShell command for configuring the password expiration policies only on
the NSX Edge nodes in VMware Cloud Foundation that are deployed by using SDDC Manager.
For NSX Edge virtual appliances that are deployed manually and for bare-metal NSX Edge
appliances, configure the policies manually according to the NSX documentation.
1 Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
        $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
        $sddcManagerUser = "administrator@vsphere.local"
        $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
$maxDays = "90"
4 Repeat this procedure for all NSX Edge clusters in the remaining workload domains.
VMware by Broadcom                                                                                68
VMware Cloud Foundation Operations Guide
UI Procedure
1         Log in to the SDDC Manager appliance using SSH as vcf.
su -
3         Change the maximum number of days between password change using the following
          command.
4         Change the minimum number of days between password change using the following
          command.
5         Change the number of days of warning before password expires using the following
          command.
VMware by Broadcom                                                                            69
VMware Cloud Foundation Operations Guide
PowerShell Procedure
1   Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
      $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
      $sddcManagerUser = "administrator@vsphere.local"
      $sddcManagerPass = "VMw@re1!"
      $vmName = "sfo-vcf01"
      $guestuser = "root"
      $guestPassword = "VMw@re1!”
      $localUsers = @("root","vcf","backup")
      $maxDays = "90"
      $minDays = "0"
      $warningDays = "7"
VMware by Broadcom                                                                               70
VMware Cloud Foundation Operations Guide
VMware by Broadcom                                                                                             71
VMware Cloud Foundation Operations Guide
Prerequisites
See Prerequisites.
Security.PasswordHistory 0
For information about the format of the Security.PasswordQualityControl settings, see ESXi
Passwords and Account Lockout in the vSphere Security documentation.
UI Procedure
1      Log in to the vCenter Server instance for the workload domain at https://
       <vcenter_server-fqdn>/ui by using an account with Administrator privileges.
2 In the Hosts and clusters inventory, navigate to and expand the first vSphere cluster.
3 Select the first ESXi host and click the Configure tab.
VMware by Broadcom                                                                                           72
VMware Cloud Foundation Operations Guide
6      In the key filter text box, enter Security.PasswordHistory, configure the settings
       according to the requirements of your organization.
7      In the key filter text box, enter Security.PasswordQualityControl, enter values for the
       settings according to the requirements of your organization, and click OK.
10 Repeat this procedure for all the other workload domains and their clusters.
PowerShell Procedure
1      Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
         $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
         $sddcManagerUser = "administrator@vsphere.local"
         $sddcManagerPass = "VMw@re1!"
         $sddcDomainName = "sfo-m01"
         $cluster = "sfo-m01-cl01"
4 Repeat this procedure on all remaining clusters in the $sddcDomainName workload domain.
5 Repeat this procedure for all clusters in the remaining workload domains.
The password complexity policy applies only to user accounts in the vsphere.local domain of
the vCenter Single Sign-On built-in identity provider. The policy does not apply to local system
accounts and administrator@vsphere.local.
Restrict reuse 5
Maximum length 20
VMware by Broadcom                                                                                 73
VMware Cloud Foundation Operations Guide
Minimum length 8
Special characters 1
Alphabetic characters 2
Uppercase characters 1
Lowercase characters 1
Numeric characters 1
UI Procedure
1      Log in to the vCenter Server instance for the workload domain at https://
       <vcenter_server-fqdn>/ui by using an account with Administrator privileges.
6 Modify the settings according to the requirements of your organization and click Save.
PowerShell Procedure
1      Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
         $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
         $sddcManagerUser = "administrator@vsphere.local"
         $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
         $minLength = "8"
         $maxLength = "20"
         $minAlphabetic = "2"
         $minLowercase = "1"
         $minUppercase = "1"
         $minNumerical = "1"
         $minSpecial = "1"
         $maxIdenticalAdjacent = "1"
         $history = "5"
VMware by Broadcom                                                                              74
VMware Cloud Foundation Operations Guide
difok 4 Minimum number of characters that must be different from the old password
UI Procedure
1      Log in to the vCenter Server appliance for a workload domain using SSH as root.
shell
3 Back up the password requirements for the appliance by using the following command.
4      Verify that all settings for configuring password requirements for vCenter Server local users
       are added in the /etc/pam.d/system-password file.
# Begin /etc/pam.d/system-password
         # use sha512 hash for encryption, use shadow, and try to use any previously
         # defined authentication token (chosen password) set by any prior module
         password requisite    pam_pwquality.so dcredit=-1 ucredit=-1 lcredit=-1 ocredit=-1
VMware by Broadcom                                                                                           75
VMware Cloud Foundation Operations Guide
5 If some settings are missing in the /etc/pam.d/system-password file, add them manually.
6   After all required settings are added in the /etc/pam.d/system-password file, set their
    values according to the requirements of your organization using the following commands.
7 Repeat this procedure on the vCenter Server instances for the remaining workload domains.
PowerShell Procedure
1   Start Windows PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
      $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
      $sddcManagerUser = "administrator@vsphere.local"
      $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
      $minLength = "6"
      $minLowercase = "-1"
      $minUppercase = "-1"
      $minNumeric = "-1"
      $minSpecial = "-1"
      $minUnique = "4"
      $history = "5"
VMware by Broadcom                                                                                   76
VMware Cloud Foundation Operations Guide
UI Procedure
1      Log in to vCenter Server at https://<vcenter_server_fqdn>/ui as
       administrator@vsphere.local.
2 Expand the VM folder containing the NSX Manager cluster for the management domain.
3 Select the first node of the NSX Manager cluster and click Launch web console.
5      Start changing the password complexity policy by running the set password-complexity
       command.
6      In the prompt, set interactively the password complexity settings according to the
       requirements of your organization.
VMware by Broadcom                                                                                                   77
VMware Cloud Foundation Operations Guide
7   Repeat this procedure on the remaining NSX Local Manager nodes for the management
    domain.
8 Repeat this procedure on the NSX Local Manager clusters for all VI workload domains.
PowerShell Procedure
1   Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
      $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
      $sddcManagerUser = "administrator@vsphere.local"
      $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
      $minLength = "12"
      $minLowercase = "-1"
      $minUppercase = "-1"
      $minNumerical = "-1"
      $minSpecial = "-1"
      $minUnique = "0"
      $maxLength = "128"
      $maxRepeats = "0"
      $maxSequence = "0"
      $history = "0"
      $hashAlgorithm = "sha512"
4 Repeat this procedure on the NSX Local Manager clusters for all VI workload domains.
5   Configure the password complexity policies on all NSX Global Manager clusters manually in
    the appliance console of each node.
VMware by Broadcom                                                                                 78
VMware Cloud Foundation Operations Guide
Configure the Local User Password Complexity Policy for NSX Edge
Define the password format requirements for local users on the NSX Edge appliance in VMware
Cloud Foundation.
                               Note If your password policy requires setting the minimum password length to a value
    minlen                     greater than 20, you cannot use password rotation in SDDC Manager.
difok 0 Minimum number of characters that must be different from the old password
UI Procedure
1      If you are configuring an NSX Edge virtual appliance, open the appliance console by using the
       Web console in the vSphere Client.
       a      Log in to the vCenter Server instance for the workload domain at https://
              <vcenter_server-fqdn>/ui by using an account with Administrator privileges.
       b      In the VMs and templates inventory, navigate to and expand the VM folder containing the
              NSX Edge cluster for the workload domain.
c Select the first node of the NSX Edge cluster and click Launch web console.
2      If you are configuring a bare-metal NSX Edge appliance, open the appliance console by using
       an out-of-band management interface, such as iLO or iDRAC.
4 Back up the password requirements for the appliance using the following command.
5      Verify that all settings for configuring password requirements for SDDC Manager users are
       added in the /etc/pam.d/common-password file.
            #
            # /etc/pam.d/common-password - password-related modules common to all services
            #
VMware by Broadcom                                                                                                    79
VMware Cloud Foundation Operations Guide
6 If some settings are missing in the /etc/pam.d/common-password file, add them manually.
7   Set these settings according to the requirements of your organization using the following
    commands.
8 Repeat this procedure on the remaining NSX Edge cluster nodes in the workload domain.
9 Repeat this procedure on all NSX Edge clusters in the remaining workload domains.
PowerShell Procedure
You can use the PowerShell command for configuring the password complexity policies only on
the NSX Edge nodes in VMware Cloud Foundation that are deployed by using SDDC Manager.
For NSX Edge virtual appliances that are deployed manually and for bare-metal NSX Edge
appliances, configure the policies manually according to the NSX documentation.
1 Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
      $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
      $sddcManagerUser = "administrator@vsphere.local"
      $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
      $minLength = "15"
      $minLowercase = "-1"
      $minUppercase = "-1"
      $minNumerical = "-1"
      $minSpecial = "-1"
      $minUnique = "0"
      $maxRetry = "3"
VMware by Broadcom                                                                                80
VMware Cloud Foundation Operations Guide
4 Repeat this procedure for all NSX Edge clusters in the remaining workload domains.
                       4               Minimum number of character types that must be used (that is, uppercase, lowercase,
    minclass                           digits, other)
difok 4 Minimum number of characters that must be different from the old password
UI Procedure
1      Log in to the SDDC Manager appliance using SSH as vcf.
su -
4      Verify that all settings for configuring password requirements for SDDC Manager users are
       added in the /etc/pam.d/system-password file.
# Begin /etc/pam.d/system-password
VMware by Broadcom                                                                                                           81
VMware Cloud Foundation Operations Guide
# End /etc/pam.d/system-password
5 If some settings are missing in the /etc/pam.d/system-password file, add them manually.
6   After all required settings are added in the /etc/pam.d/system-password file, set their
    values according to the requirements of your organization using the following commands.
PowerShell Procedure
1   Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
      $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
      $sddcManagerUser = "administrator@vsphere.local"
      $sddcManagerPass = "VMw@re1!"
      $rootPass = "VMw@re1!"
      $minLength = "15"
      $minLowercase = "-1"
      $minUppercase = "-1"
      $minNumerical = "-1"
      $minSpecial = "-1"
      $minUnique = "4"
      $minClass = "4"
      $maxSequence = "0"
      $history = "5"
      $maxRetry = "3"
VMware by Broadcom                                                                                 82
VMware Cloud Foundation Operations Guide
 vCenter Single Sign-On                    n   Maximum failure attempts            vCenter Single Sign-On domain
                                           n   Failed attempt interval (seconds)
                                           n   Account lockout duration
                                               (seconds)
Prerequisites
See Prerequisites.
VMware by Broadcom                                                                                                 83
VMware Cloud Foundation Operations Guide
Security.AccountLockFailures 5
Security.AccountUnlockTime 900
UI Procedure
1      Log in to the vCenter Server instance for the workload domain at https://
       <vcenter_server-fqdn>/ui by using an account with Administrator privileges.
2 In the Hosts and clusters inventory, navigate to and expand the first vSphere cluster.
3 Select the first ESXi host and click the Configure tab.
6      In the key filter text box, enter Security.AccountLockFailures and enter a value
       according to the requirements of your organization.
7      In the key filter text box, enter Security.AccountUnlockTime, enter a value according to
       the requirements of your organization, and click OK.
PowerShell Procedure
1      Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
        $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
        $sddcManagerUser = "administrator@vsphere.local"
        $sddcManagerPass = "VMw@re1!"
        $sddcDomainName = "sfo-m01"
        $cluster = "sfo-m01-cl01"
        $maxFailures = "5"
        $unlockInterval = "900"
4 Repeat this procedure on all remaining clusters in the $sddcDomainName workload domain.
VMware by Broadcom                                                                                84
VMware Cloud Foundation Operations Guide
The lockout policy applies only to user accounts in the vCenter Single Sign-On built-in
identity provider vsphere.local. The policy does not apply to local system accounts and
administrator@vsphere.local.
UI Procedure
1      Log in to the vCenter Server instance for the workload domain at https://
       <vcenter_server-fqdn>/ui by using an account with Administrator privileges.
6      Enter values for the settings according to the requirements of your organization and click
       Save.
PowerShell Procedure
1      Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
        $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
        $sddcManagerUser = "administrator@vsphere.local"
        $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
        $maxFailures = "5"
        $failureAttemptInterval = "180"
        $unlockInterval = "900"
VMware by Broadcom                                                                                  85
VMware Cloud Foundation Operations Guide
Configure the root User Account Lockout Policy for vCenter Server
Set the maximum number of failed login attempts and the time that must pass before the
account is automatically unlocked for the root local account in the vCenter Server appliances
in VMware Cloud Foundation.
UI Procedure
1      Log in to the vCenter Server appliance using SSH as root.
shell
3 Back up the authentication requirements for the appliance using the following command.
4      Verify that all settings for configuring the account lockout policy for the rootuser are added
       in the /etc/security/faillock.conf file.
         dir = /var/log/faillock
        audit
        silent
        deny = 3
        unlock_time = 1200
        even_deny_root
        root_unlock_time = 300
        fail_interval = 900
VMware by Broadcom                                                                                      86
VMware Cloud Foundation Operations Guide
5     To configure the lockout policy for the root user account, in the /etc/security/
      faillock.conf file, set values to the following properties according to the requirements
      of your organization and save the file.
PowerShell Procedure
1     Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
          $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
          $sddcManagerUser = "administrator@vsphere.local"
          $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
          $maxFailures = "5"
          $rootUnlockInterval = "300"
          $unlockInterval = "900"
Configure the Local User Account Lockout Policy for NSX Manager
Set the maximum number of failed login attempts and the time that must pass before an account
is automatically unlocked for the local users of the NSX Manager appliances in VMware Cloud
Foundation.
API max-auth-failures 5
VMware by Broadcom                                                                               87
VMware Cloud Foundation Operations Guide
CLI max-auth-failures 5
UI Procedure
1         Log in to the management domain vCenter Server at https://
          <management_vcenter_server_fqdn>/ui by using an account with Administrator
          privileges.
2         In the VMs and templates inventory, expand the management domain vCenter Server tree
          and expand the management domain data center.
4 Select the first node of the NSX Manager cluster and click Launch web console.
6         To configure the account lockout policy for logging in or making an API request to the NSX
          Manager UI according to your organization's requirements, run the following commands.
7         To configure the account lockout policy for logging in to the NSX CLI according to your
          organization's requirements, run the following commands.
8         Repeat this procedure on the remaining NSX Local Manager nodes in the management
          domain.
9 Repeat this procedure on the NSX Local Manager nodes for all VI workload domains.
PowerShell Procedure
1         Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
           $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
           $sddcManagerUser = "administrator@vsphere.local"
           $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
$cliMaxFailures = "5"
VMware by Broadcom                                                                                     88
VMware Cloud Foundation Operations Guide
              $cliUnlockInterval = "900"
              $apiMaxFailures = "5"
              $apiUnlockInterval = "900"
              $apiFailureInterval = "180"
4 Repeat this procedure for all NSX Local Manager clusters in the VI workload domains.
5         Configure the account lockout policies on all NSX Global Manager clusters manually in the
          appliance console of each node.
Configure the Local User Account Lockout Policy for NSX Edge
Set the maximum number of failed login attempts and the time that must pass before an account
is automatically unlocked for the local users of the NSX Edge appliances in VMware Cloud
Foundation .
CLI max-auth-failures 5
UI Procedure
1         If you are configuring an NSX Edge virtual appliance, open the appliance console by using the
          Web console in the vSphere Client.
          a     Log in to the vCenter Server instance for the workload domain at https://
                <vcenter_server-fqdn>/ui by using an account with Administrator privileges.
          b     In the VMs and templates inventory, navigate to and expand the VM folder containing the
                NSX Edge cluster.
c Select the first node of the NSX Edge cluster and click Launch web console.
2         If you are configuring a bare-metal NSX Edge appliance, open the appliance console by using
          an out-of-band management interface, such as iLO or iDRAC.
4         To configure the account lockout policy for logging in to the NSX CLI according to your
          organization's requirements, run the commands.
VMware by Broadcom                                                                                       89
VMware Cloud Foundation Operations Guide
5 Repeat this procedure on the remaining NSX Edge nodes in the workload domain.
6 Repeat this procedure on all NSX Edge nodes in the remaining workload domains.
PowerShell Procedure
You can use the PowerShell command for configuring the account lockup policies only on the
NSX Edge nodes in VMware Cloud Foundation that are deployed by using SDDC Manager.
For NSX Edge virtual appliances that are deployed manually and for bare-metal NSX Edge
appliances, configure the policies manually according to the NSX documentation.
1 Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
         $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
         $sddcManagerUser = "administrator@vsphere.local"
         $sddcManagerPass = "VMw@re1!"
$sddcDomainName = "sfo-m01"
         $cliMaxFailures = "5"
         $cliUnlockInterval = "900"
Configure the Local User Account Lockout Policy for SDDC Manager
Set the maximum number of failed login attempts and the time that must pass before an account
on the SDDC Manager appliance is automatically unlocked.
UI Procedure
1      Log in to the SDDC Manager appliance using SSH as vcf.
su -
VMware by Broadcom                                                                                  90
VMware Cloud Foundation Operations Guide
3 Back up the authentication requirements for the appliance using the following command.
4   Verify that all properties for configuring account lockout policy for SDDC Manager users are
    added in the /etc/security/faillock.conf file.
5   To configure the lockout policy for the root user account, in the /etc/security/
    faillock.conf file, set values to the following properties according to the requirements
    of your organization and save the file.
The configuration is applied to all local user accounts on the SDDC Manager appliance.
PowerShell Procedure
1   Start PowerShell.
2 Replace the values in the sample code and run the commands in the PowerShell console.
      $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
      $sddcManagerUser = "administrator@vsphere.local"
      $sddcManagerPass = "VMw@re1!"
VMware by Broadcom                                                                                 91
VMware Cloud Foundation Operations Guide
      $rootPass = "VMw@re1!"
      $maxFailures = "3"
      $unlockInterval = "86400"
      $rootUnlockInterval = "300"
VMware by Broadcom 92