The procedures in this article apply to Apps hosted on a private cloud provider, like vCenter or OpenStack. For public cloud Apps like AWS EC2 or Azure, see Managing Public Cloud Apps in Domains.
In order to improve performance and stability in CloudShell deployments that include multiple geographically distributed sites, administrators need to configure the deployment process of the App to be carried out in the domain of the cloud provider (i.e. configure the App to be deployed using the execution server closest to the lab in which the cloud provider resides).
This is done by associating the App and cloud provider to the domain, to make sure domain users use the Apps and cloud providers allocated to their domain, and setting the Execution Server Selector attribute on the execution server, cloud provider resource and App, and giving it the same value on these elements to ensure the actual drivers will run physically near the cloud provider.
This is a five-step process:
- Create a cloud provider resource set to the domain
- Configure the Execution Server to support Ansible operations
- Associate the Execution Server Selector attribute to the deployed App's family
- Associate the execution servers to the domain
- Associate the App's deployment to the domain
When creating the cloud provider resource, you need to specify the required domain in the Execution Server Selector attribute.
Note: A cloud provider resource should be set to one domain only. For multiple domains, create additional cloud provider resources.
To set the cloud provider resource to the domain:
In the Resource Discovery Information page, in the Execution Server Selector attribute, specify the name of the domain. For example, "London".
- Complete the resource creation process.
Note: This section is only required for Ansible configuration management.
To use Ansible to install and configure applications on Apps, the system administrator needs to perform several configurations on the Linux-based Execution Server that will be used to run the Ansible operations on the App's deployed VMs. For additional information, see Ansible.
To associate the Execution Server Selector attribute to the deployed App's family:
- Associate the Execution Server Selector attribute to the deployed App's family. For example, Generic App Family.
After you associate the attribute to the deployed App's family, make sure the Attributes list of the family displays the Execution Server Selector attribute. For example:
This procedure explains how to associate, to the domain, the execution servers to be used to deploy Apps on the cloud provider to the domain (usually the execution servers that are physically closest to location of the cloud provider. The Execution Server Selector attribute must have the Execution Server Selector rule enabled.
To associate an execution server to the domain:
In CloudShell Portal, click Manage.
The Manage dashboard is displayed.
In the left sidebar, click Execution Servers.
In the left pane, under Execution Servers, click Servers.
The execution server list is displayed.
Click the name of a server.
The Attributes dialog box is displayed.
Select the Execution Server Selector check box and enter the name of the domain. For example, London:
- Click Done.
- Repeat these steps to associate additional execution servers to the domain.
To configure the App to be deployed in a specific domain, you need to associate the App's family to the domain, as well as the domain category to make it available to members of that domain. This domain both includes the App's cloud provider and is closest to the execution servers that will deploy the App.
To associate an App's deployment to a domain:
In the Manage dashboard, in the left sidebar, click Apps.
The Apps page is displayed.
Create a new App or edit an existing one, as explained in Managing App Templates.
The App's configuration wizard is displayed.
To make the App available to members of this domain, from the Categories dropdown list, select the categories associated to the domain. For details about creating domain categories, see Managing domain categories.
For example, "London":
- If this is a new App, in the Deployment Paths page, create a deployment path for the cloud provider. Make sure to select the cloud provider resource you created in the required CloudShell domain.
In the App Resource page, in the Execution Server Selector attribute, specify the value you specified in the Execution Server Selector attribute of the cloud provider resource. For example, "London":
- Click Done.