Raising the Limit of Cloud-Connected Workload Domains in VMware Cloud Foundation
search cancel

Raising the Limit of Cloud-Connected Workload Domains in VMware Cloud Foundation

book

Article ID: 313487

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction




Symptoms:

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.  

  • When you connect a VMware Cloud Foundation instance that you updated and that has four workload domains or more to VMware Cloud Gateway. In this case, you are unable to proceed to connecting the instance to VMware Cloud Gateway in the VMware Cloud Gateway connection wizard. You see a relevant message in the wizard. 

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.



Environment

Vmware Cloud Foundation 4.5
Vmware Cloud Foundation 4.5.1
VMware Cloud Foundation 5.0

Cause

By default, VMware Cloud Gateway can be connected to up to four workload domains including the management domain. The notification appears when you are about to exceed this limit.

Resolution

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.  

  1. Log in to the management domain vCenter Server with an administrator account, for example, as [email protected].                                                                                     

  2. In the Virtual Machine and templates inventory, locate the VMware Cloud Gateway Virtual Machine.                                            

  3. Right-click the Virtual Machine object and select Edit settings.                                                                   

  4. Change the CPU allocation from 8 to 16 and the memory allocation from 28 GB to 56 GB.     

  5. Click OK.                   

  6. 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

  1. Log in to the SDDC Manager appliance by using a Secure Shell (SSH) client as vcf.

  2. Elevate to root permissions by running the su – command.

  3. In the /etc/vmware/vcf/commonsvcs/application.properties file, add or update the following configuration property: vcf.subscription.max.instancelimits.domains=8

  4. Restart the commonsvcs service by running this command. 

systemctl restart commonsvcs 

  1. To verify the commonsvcs service has started, run this command and verify that it returns code 200.

curl localhost/commonsvcs/about.

  1. Refresh the Web browser window that shows the SDDC Manger UI.

Applicable for 5.x release

  1. 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

  1. Fetch access token from above api.

  2. 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}'

  3. 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.