Raising the limit of cloud-connected workload domains in a VMware Cloud Foundation instance is required in two cases:
When a VMware Cloud Foundation instance that is added to a VMware Cloud Foundation+ subscription has reached four workload domains. In this case, you are unable to add more VI workload domains.
In the SDDC Manager UI, the Dashboard page and the Inventory > Workload Domains page show the following message:
You have reached the limit of 4 cloud-connected workload domains. To learn how to add more workload domains, go to the VMware knowledge base.
When you try to create a VI workload domain, the following message appears as a tooltip in the SDDC Manager UI or is returned by the SDDC Manager API:
To create more workload domains, resize the Cloud Gateway appliance and raise the SDDC Manger limit for workload domains.
Note:
In VMware Cloud Foundation 4.5.0 deployment with 4 workload domains, if the error message is displayed, follow the steps outlined in the KB.
In VMware Cloud Foundation 4.5.1 or VMware Cloud Foundation 4.5.2 deployment with 8 workload domains, if the error message is displayed, then the supported limit of cloud-connected workload domains is reached and cannot be increased any further.
In a deployment running VMware Cloud Foundation 5.0 or later with 8 workload domains, if the error message is displayed, follow the steps outlined in the KB.
You can raise the VMware Cloud Gateway limit of cloud-connected workload domains to eight workload domains by allocating more resources to the VMware Cloud Gateway and updating the limit in SDDC Manager.
Resize the VMware Cloud Gateway Virtual Machin.
Log in to the management domain vCenter Server with an administrator account, for example, as [email protected].
In the Virtual Machine and templates inventory, locate the VMware Cloud Gateway Virtual Machine.
Right-click the Virtual Machine object and select Edit settings.
Change the CPU allocation from 8 to 16 and the memory allocation from 28 GB to 56 GB.
Click OK.
In the inventory, right-click the Virtual Machine object and select Power > Restart Guest OS.
Change the limit of cloud-connected workload domains in SDDC Manager.
Applicable for 4.5.x release
Log in to the SDDC Manager appliance by using a Secure Shell (SSH) client as vcf.
Elevate to root permissions by running the su – command.
In the /etc/vmware/vcf/commonsvcs/application.properties file, add or update the following configuration property: vcf.subscription.max.instancelimits.domains=8
Restart the commonsvcs service by running this command.
systemctl restart commonsvcs
To verify the commonsvcs service has started, run this command and verify that it returns code 200.
curl localhost/commonsvcs/about.
Refresh the Web browser window that shows the SDDC Manger UI.
Applicable for 5.x release
Get the token to invoke SDDC Manager API
curl -X POST -H "Content-Type: application/json" -d '{"username": "<admin sso user name>","password": "<password>"}' --insecure https:/<SDDC Manager FQDN/IP>/v1/tokens
Fetch access token from above api.
curl 'https://<SDDC Manager FQDN/IP>/v1/system' -i -X PUT -H 'Content-Type: application/json' -H 'Accept: application/json' -H "Authorization: Bearer <access token>" -d '{"maxAllowedDomainsInSubscription": 8}'
Refresh the Web browser window that shows the SDDC Manger UI.
Resolution for environments with less than four workload domains
If your VMware Cloud Foundation instance has less than four workload domains but you still see the error message in the SDDC Manager UI, in the left-hand navigation, click the Dashboard link.