During the vCAC Complete Install process, we already installed a vSphere agent. vCloud Automation Center uses agents to integrate with external systems. A system administrator installs agents that communicate with virtualization platforms. You can find more details about agnet in the vCAC official documentation.
vCloud Automation Center uses the following types of agents to manage external systems:
- Hypervisor proxy agents (vSphere, Citrix Xen Servers and Microsoft Hyper-V servers)
- External provisioning infrastructure (EPI) integration agents
- Virtual Desktop Infrastructure (VDI) agents
- Windows Management Instrumentation (WMI) agents
In a complete installation, you have the option to install a vSphere agent. You can also add other agents (including additional vSphere agents) after the installation.
In a distributed installation, you can install as many agents as you want. The agents you install depend on the resources in your infrastructure.
The vSphere agent/endpoint here is a “vCenter” instance. If you have more than one vCenter, then you need to install an additional vSphere Agent on the IaaS VM. There is a 1:1 mapping. During the deployment, in part 4 of this guide, we either kept the name “vCenter” or changed it to the actual name of vCenter. This name will be used again in this configuration.
Below you can see what I set up during part 4:
TIP: If you don’t remember endpoint name provided to the vSphere agent during installation, create temporary endpoint and go to audit logs to determine endpoint name (Infrastructure –> Monitoring –> Log). You will find an entry in logs: “This exception was caught: The attached endpoint ‘vCenter’ cannot be found”, vCenter – is the name of endpoint.
Add Credentials for Endopints
- Login to your vcac-appliance as an Infratructure Administrator and navigate to Infrastructure –> Endpoints –> Credentials
- Select New Credentials
- Give this an indentifying name and description. For the username, it’s going to depend on what type of endpoint you are connecting to. Since this is vSphere environment and it uses AD authentication, we need the entire domain credentials.
- Click the green check mark to save
Create vSphere Endpoint
- Navigate to Endpoints
- Select New Endpoint then Virtual and vSphere (vCenter)
- Configure the endopint
- Type the name that was done during the agent install process. If you kept the default then it needs to be “vCenter”
- Provide a description for your endpoint
- Specify your vCenter sdk address (https://myvcenter.mycompany.com/sdk)
- Select the credentials to connect to the vCenter instance
- If you have NSX or vCloud Networking and Security (vShield) you can choose to configure it by clicking on “Specify manager for network and security platform”. Just add the address of the server such as “https://myvcns” and the credentials used to connect
- Click ok to complete the operation.
Create a new fabric group
Configure Machine Prefixes
- Navigate to Infrastructure –> Blueprints –> Machine Prefixes and click on New Machine Prefix on the right hand side
- Configure the new machine prefix
Create a Business Group
Tenant administrators create business groups to associate a set resources and services to a group of users. Users must belong to a business group to request machines.
- Log in to the vCAC console with a tenant administrator account
- Go to Infrastrucutre –> Groups –> Business Groups
- Click on New Business Group
- Now configure the Business Group
Create a Reservation for the Business Group
A reservation is a share of the memory, CPU, networking, and storage resources of one compute resource allocated to a particular business group. To provision virtual machines, a business group must have at least one reservation on a virtual compute resource. Each reservation is for one business group only, but a business group can have multiple reservations on a single compute resource, or multiple reservations on compute resources of different types.
- Navigate to Infrastructure –> Reservation –> Reservation
- Click on New Reservation –> Virtual –> vSphere (vCenter)
- Configure the new Reservation
- Select a compute resource
- The name and group will automatically populate this first time (you can change them if you have multiple)
- Set a priority for the reservation
- Go to the Resources tab and specify the RAM to reserve for the the group
- Select the datastores you want to use and how much space to reserve. You will also need to set a priority for each datastore you enable and reserve capacity.
- Next on the network tab you can select the networks you would like to make available to the reservation.
- Finally, click on the alerts tab and configure your desired thresholds and notification email address(es) and click ok to save the reservation.