Manage node capacity

This document explains how to scale compute and storage capacity in VMware solution on Google Cloud by adding or removing bare-metal ESXi nodes.

Provision additional nodes to expand VMware Cloud Foundation (VCF) resources for growing workloads, or decommission and delete nodes to reduce cluster capacity. For architectural details, see Bare-metal nodes and machine types.

Before you begin

Before you add or remove nodes, verify the following prerequisites:

  • Permissions: make sure that you have the required Identity and Access Management (IAM) roles on your project, including Compute Admin (roles/compute.admin) and, if you use Cloud DNS, DNS Administrator (roles/dns.admin). For the full list of required roles, including toolkit permissions, see Verify quotas and permissions.
  • Quota: to add nodes, verify that your project has available bare-metal node quota in the target region and zone. For required quotas and instructions on how to view or request quota increases, see Quotas and limits.
  • VLAN-based networking: make sure that your project is added to the Layer 2 networking allowlist. Subnets in your Virtual Private Cloud (VPC) network must have the Resolve Subnet Mask property set to Broadcast primary range only with learning. For instructions and architectural details, see Request access to the Layer 2 networking allowlist and Layer 2 emulation: ARP broadcasting and custom MAC learning.
  • Organization policies and VPC Service Controls: if your organization enforces the constraints/compute.trustedImageProjects organization policy or uses a VPC Service Controls service perimeter, then allow Compute Engine image access to the smve-prod-public-images project, which has project number 999037279871. Complete this configuration before you add nodes. For steps, see Configure organization policies and VPC Service Controls.
  • Node hostnames and DNS: enter a mandatory, unique fully qualified domain name (FQDN) of 64 characters or fewer in the Hostname field for each bare-metal node. If you select Ephemeral (Custom) or a reserved static IPv4 address, then create forward (A) and reverse (PTR) DNS records before you deploy the nodes. These records let ESXi generate matching TLS certificates on initial boot. For more information, see Plan DNS and mandatory node hostnames.
  • Workload capacity: before you remove nodes, review the high availability and storage capacity requirements of your active VMware workloads to prevent capacity shortages.

Verify regional quota

Before you provision bare-metal nodes or create a cluster, verify that your project has sufficient regional and global Compute Engine quota. Add the resources of all existing clusters in the region to the following incremental values before you compare them against your project quota:

Quota metric Resources required per bare-metal node Resources required for a 3-node cluster
compute.googleapis.com/cpus_per_vm_family for Z3 192 vCPUs 3 × 192 = 576 vCPUs
compute.googleapis.com/local_ssd_total_storage_per_vm_family for Z3 72 TB 3 × 72 TB = 216 TB
compute.googleapis.com/hyperdisk_balanced_total_storage 128 GB 3 × 128 GB = 384 GB
compute.googleapis.com/resource_policies 0 when adding nodes to an existing cluster 1 spread placement policy per cluster
compute.googleapis.com/regional_backend_services_protocol_forwarding_fast_ha 0 when adding nodes or clusters without new appliances 1 per new VCF management appliance VIP or NSX Edge endpoint

For the complete list of required quotas and instructions on how to view or request quota increases, see Quotas and limits.

Add nodes to expand capacity

To provision additional bare-metal nodes for an existing cluster, do the following:

  1. In the Google Cloud console, go to VMware Engine > Self-managed > Baremetal nodes.

    Go to Baremetal nodes

  2. Click Add Nodes to launch the node addition workflow.

  3. In the Node configuration section, in the Region and Zone fields, select the region and zone that match your existing cluster.

  4. In the Placement policy field, select the placement policy associated with your target cluster.

  5. In the VCF version, Machine type, and Number of nodes fields, select the values for the additional nodes that you want to create.

  6. For each node, enter values in the Node name and Hostname fields, and select a domain in the Availability domain field. The Hostname field is mandatory and requires a unique FQDN of 64 characters or fewer for each node.

  7. Make sure that the Enable delete protection checkbox is selected, and then click Continue.

  8. In the Networking section, select your VPC network in the VPC network field.

  9. In the Network interface section, in the Subnet and Network endpoint groups fields, select the primary subnet and network endpoint group for your cluster. In the Internal IPv4 address configuration section, keep Automatic, or select Custom and click View configuration. If you select Custom, then choose Ephemeral (Automatic), Ephemeral (Custom), or a reserved static IPv4 address for each node. If you choose Ephemeral (Custom) or a reserved static IPv4 address, then create forward (A) and reverse (PTR) DNS records before you provision the nodes. These DNS records let ESXi generate matching FQDN certificates on initial boot.

  10. In the Dynamic network interface section, configure Dynamic NIC (vMotion), Dynamic NIC (vSAN), and Dynamic NIC (NSX Tunnel End Point (TEP)). For each interface, set the VLAN ID, Subnet, Network endpoint groups (required for NSX TEP), and Internal IPv4 address configuration fields.

  11. Click Continue to review the configuration summary.

  12. Click Create to provision the nodes.

Complete node configuration

After VMware solution provisions the bare-metal instances, do the following:

  1. If you selected Ephemeral (Automatic) IPv4 addresses or didn't pre-create DNS records, then create forward (A) and reverse (PTR) DNS records for each added node. If you use the scripts/cloud_dns/vcf_cloud_dns_sync.py toolkit script for Cloud DNS, then rerun the script with the --sync-all flag. For instructions, see Synchronize records for day-2 scale-out.
  2. Run the prepare nodes toolkit to reset the initial ESXi root password on each new host and initialize ESXi and network interfaces. For more information, see Prepare nodes and deploy VCF by using the toolkit.
  3. In VMware SDDC Manager, commission the new hosts and add them to your target cluster or workload domain.

Decommission and delete nodes

When you reduce cluster capacity, you must decommission nodes from VMware Cloud Foundation before you delete the underlying Google Cloud bare-metal instances.

  • Decommission hosts in VCF before you delete an instance: Always decommission nodes in VMware SDDC Manager and vCenter Server before you delete the Compute Engine instance. Deleting a node from Google Cloud without decommissioning it from VCF causes orphaned host records and potential cluster instability.
  • Risk of unrecoverable data loss: Deleting a node permanently deletes the instance and all data stored on its local SSDs.
  • Risk of loss of local SSD data: Data stored on local SSDs is transient. If you stop and restart a bare-metal node, Google Cloud erases all local SSD data.

To decommission and delete bare-metal nodes, do the following:

  1. Decommission the target ESXi host from your VCF environment by using VMware SDDC Manager. For detailed instructions, see Decommission hosts in VMware Cloud Foundation documentation.
  2. In the Google Cloud console, go to the VM instances page in Compute Engine:

    Go to VM instances

  3. Locate the decommissioned node instances by filtering the list by machine type, label, or instance name.

  4. Disable deletion protection on each instance:

    1. Click the instance name to open its details page.
    2. Click Edit.
    3. Clear the Enable deletion protection checkbox.
    4. Click Save.
  5. Return to the VM instances list page and select the checkboxes next to the decommissioned nodes.

  6. Click Delete to permanently remove the bare-metal instances from your project.

What's next