What i have learnt during deployments that an automated installation and configuration of the vCloud Availability components is simple, time saving, faster and less error prone compared to the manual deployment. lets deploy it automatically with few clicks of the button.
For the automated installation of vCloud Availability, we must need to create a registry file containing information about the infrastructure and vCloud Availability components we are about to deploy.
Registry template file is located in vCloud Availability Installer appliance located at /root/.vcav/ and file name is – .registry.tmpl. this is self explanatory file about what option do you need to change and what not.
open this file with a text editor and save as “registry” , here is my “registry” file for your convenience which you can modify based on your environment.
General Options:
Disabling all certification validation and specifying NTP server and SSH_PASSWORD for the entire environment,
Cloud Provider Management vCenter Information:
- This is identifier must be remain same and we will use the same in other commands and if you are changing this make sure you update in other commands.
- placement-locator – this parameter represents on which cluster your vCAV management VM will deploy. specify correctly.
- Make sure you have network Profile/Pool created (i have created with name “default”) and specify IP information accordingly.
Cloud Provider Resource (Tenant ) vCenter Information:
This is your tenant vCenter where your tenant vm resides , in my case i have single vCenter with separate cluster.Notice the identifier – vsphere vc.0 , you will reference this in deploying components. other information as suggested above.
vCloud Director Information:
- Notice the Identifier vcd vcd.0.
- Number 2 – in amqp parameter we are specifying amqp.1 , this means we need to create an identifier called amqp.1 in next section and since this will be identifier on docker host , so first we need to create docker host.
Docker Host Information:
- Again notice the identifier docker docker.0
- placement-vsphere vc.mgmt (this is your vc.mgmt identifier , that means that this docker VM will get deployed on management vcenter.
- placement-address – this is the IP address of this VM.
- other options are self explanatory.
Message queue container on Docker Host Information:
- Again ensure the identifier is written and noted properly.
- Notice placement-docker – here we are specifying docker.0 which is docker host identifier in previous step we created.
- user – it is the user name that VCD will use to talk to Message queue server.
- password – it is the user name that VCD will use to talk to Message queue server.
Cassandra container on Docker Host Information:
- Notice the cassandra identifier
- Notice placement-docker – here we are specifying docker.0 which is docker host identifier in previous step we created on this docker host this cassandra host will get deployed.
- hcs-list – here we specified the vSphere Replication Cloud Service appliance identifier which will be deployed in next step.
vSphere Replication Manager Appliance Information:
- Again make a note of hms identifier.
- This host will get deployed in vc.mgmt.
- This VM will have ip address – 192.168.110.161
- This VM will have hostname – hms01.corp.local
- This hms will get registered with mgmt vCenter
- This hms will get registered with vCloud Director which we specified in indentifier vcd.0
vSphere Replication Cloud Service Appliance Information
- Make a note of hcs identifier.
- placement-vsphere is where this appliance will get deployed.
- placement-address is the ip address which will get assigned to this vm.
- hostname will be the name of this vm.
- vcd specified here , this appliance will get registreded to.
- Here we are specifying number of “cassanda” servers.
- message queuing server to registered with.
vSphere Replication Server Appliance Information:
- Make a note of hbr identifier.
- placement-vsphere is where this appliance will get deployed.
- placement-address is the ip address which will get assigned to this vm.
- hostname will be the name of this vm.
- vsphere specifies on which vcenter it is going to be registered.
- vcd specified here , this appliance will get registered to.
vCloud Availability Portal Host Information:
- Make a note of ui identifier.
- placement-vsphere is where this appliance will get deployed.
- placement-address is the ip address which will get assigned to this vm.
- hostname will be the name of this vm.
- vcd specified here , this appliance will get registered to.
vCloud Availability Administration Portal Host Information:
- Make a note of smp identifier.
- placement-vsphere is where this appliance will get deployed.
- placement-address is the ip address which will get assigned to this vm.
- hostname will be the name of this vm.
- vcd specified here , this appliance will get registered to.
- The mongodb-database property value is optional. Default value is vcav-smp , if you want you can use custom
- The mongodb-user property value is optional. Default value is vcav-smp.
- amqp will be used which we have specified in “amqp.1” identifier.
- this appliance will get registered with tenant ui which we have deployed in previous step under “ui.1” identifier.
save the file ensure there is no extension and copy to directory in vCAV appliance as below: /root/.vcav/ directory and run below command to validate you registry file , if out put is as below that means your registry file has been created correctly…
if you have configured registry file correctly and if all goes well then after around 20-30 minute appliance returns “OK” . which means we have successfully deployed vCloud Availability.
deployment of vCAV is simpler and less time consuming using automated one.only effort that you need to put in to create a proper registry file.
You can run a single task by running the #vcac next command. The vCloud Availability Installer Appliance detects the first task that is not completed and runs it. You can indicate which task you want to run by adding the #–task=Task-Number argument.
then follow my existing post number 9
VMware vCloud Availability Installation-Part-9-Tenant On-Boarding
for tenant on-boarding. this completes the installation of vCAV. now you can work with your customers for the demo of DRaaS.
Here is my registry file for your reference.