VCAP-CIA objective 2.1 – Add vSphere compute resources to vCloud Director
The blueprint states the following skills needed to cover this objective.
- Add new vCenter servers to vCloud Director
- Prepare/unprepared hosts in vCloud Director
- Add ESXi hosts to vCenter
- Manage ESXi hosts and DRS resource pools in vCenter
All 3 objectives of this section of the blueprint will require knowledge of the underlying vSphere architecture and less vCloud Director itself.
Before you can add a new vCenter Server to vCloud Director you will need to deploy a vShield Manager Appliance for that vCenter and establish the connection. Once that is done the procedure on how to add the vCenter to vCloud Director is described in the vCloud Director Administrator’s Guide on pages 20 and 21 in the English version.
There are several ways to add a vCenter Server but the one requiring the least clicks should be to just click “Attach a vCenter” and enter the correct data.
You will need to provide the DNS name or IP of the vCenter Server, the port the vpxd service is listening on, 443 by default, a vCenter administrator and its password, a display name for vCloud Director, an optional description and the URL to the Web Client to open vSphere objectives when right clicking them in vCloud Director.
For the vShield Manager appliance you will also need the IP or DNS name and an admin user and the password, admin and default when nothing was changed,
When everything was successful you will find the added vCenter in the Manage & Monitor tab in the vSphere Resources.
Preparing a host is described on page 102 in the English version of the vCloud Director Administrator’s Guide. To be able to prepare a host you must make sure the host is not in maintenance mode. You also cannot prepare hosts if you do not have a provider vDC. If the host is part of a cluster of a provider vDC you will find it at the Manage & Monitor tab in the left pane under the Hosts option. Simply right clicking the host, choosing “Prepare Host” and providing root credentials completes the process.
The host is taken into maintenance mode in the vSphere layer, an agent is installed on the host, the maintenance mode is ended and the host will be able to serve as a compute resource for the cloud environment from now on. To reverse the process simply right click the host again, select “Unprepare Host” and wait until the process is finished.
Adding a host to vCenter Server is a pretty straight forward task which can be done via the Classic Client or the new Web Client. All you need to know are the root credentials for that host and the target cluster it should be put in. As the exam allows only for limited time and performance could be slow due to the exam being hosted offsite I would advise using the Classic Client for every action possible to do with it as it performs a little faster than the Web Client. I will still show a screenshot on how to add a host in the Web Client in case there is no access to the Classic Client in the exam.
The goal to manage hosts and resource pools is extremely vague and could mean alot of things. All what is needed can be found at the “Manage” tab or “Configuration” tab depending on what client you are using. You can manage a resource pool by right clicking on it and choosing “Edit settings”. You should make yourself familiar with the concepts of shares, limits and reservations again.
To get an overview of what could be asked read the vCloud Director Administrator’s Guide pages 99 – 104 in the English version which includes the following tasks.
- Register vCloud Director with a vCenter Server
- Modify vCenter Server Settings
- Reconnect a vCenter Server
- Enable or Disable a vCenter Server
- Remove a vCenter Server
- Prepare and Upgrade a vCenter Server Attached to vCloud Director
- Modify vShield Manager Settings
- Enable or Disable an ESX/ESXi Host
- Move Virtual Machines from one ESX/ESXi Host to Another
- Prepare or Unprepare an ESX/ESXi Host
- Upgrade an ESX/ESXi Host Agent
- Repair an ESX/ESXi Host
- Enable or Disable a Datastore
- Remove a Datastore