In last post of this series we deployed the VRCS and VR appliances. In this post we will deploy VCAV Portal.
If you are not following along this series, then I recommend reading earlier posts of this series from below links:
1: vCloud Availability Introduction
2: vCloud Availability Architecture & Components
4: Install Cloud Proxy for vCD
6: RabbitMQ Cluster Deployment and vCD Integration
What is vCloud Availability Portal ?
The vCloud Availability Portal provides a graphic user interface to facilitate the management of vCloud Availability operations. The vCloud Availability Portal back end scales horizontally and we can deploy more than one portal host for HA and load balancing.
VCAV portal host size varies from small, medium or large, depending upon number of concurrent sessions that portal host will be handling.
For lab purpose small deployment works just fine.
To deploy portal host appliance, fire below command from VCAV appliance.
1 2 |
# vcav vcd-ui create --deployment-type=small --vsphere-address=$MGMT_VSPHERE_ADDRESS --vsphere-user=$MGMT_VSPHERE_USER --vsphere-password-file=~/.ssh/.vsphere.mgmt "--network=$MGMT_VSPHERE_NETWORK" "--vsphere-locator=$MGMT_VSPHERE_LOCATOR" --datastore=$MGMT_VSPHERE_DATASTORE --ntp=192.168.109.4 --root-password-file=~/.ssh/.root --vm-name=vcav-ui01 --vm-address=192.168.109.43 192.168.109.43 |
Create a new Variable to hold VCAV-UI appliance IP
root@mgmt-vcav [ ~ ]# export UI01_ADDRESS=192.168.109.43
Update the truststore file with the vCloud Availability Portal virtual machine credentials.
root@mgmt-vcav [ ~ ]# echo ‘vmware’ > ~/.ssh/.truststore
root@mgmt-vcav [ ~ ]# chmod 0600 ~/.ssh/.truststore
Trust the VCAV-UI host certificate
1 2 3 |
root@mgmt-vcav [ ~ ]# vcav vsphere trust-ssh --vsphere-address=$MGMT_VSPHERE_ADDRESS --vsphere-user=$MGMT_VSPHERE_USER --vsphere-password-file=~/.ssh/.vsphere.mgmt --root-password-file=~/.ssh/.root --vm-name=vcav-ui01 --vm-address=vcav-ui01.alex.local OK |
Create vCloud Availability Administration Portal
The vCloud Availability Administration Portal is a graphic user interface that helps service providers to monitor and manage their DR environments. Like VCAV portal host, administration portal can be also deployed in small, medium and larze size.
To create vCloud Availability Administration Portal host, run below command from VCAV appliance:
1 2 |
# vcav vcd-ui create --deployment-type=small --vsphere-address=$MGMT_VSPHERE_ADDRESS --vsphere-user=$MGMT_VSPHERE_USER --vsphere-password-file=~/.ssh/.vsphere.mgmt "--network=$MGMT_VSPHERE_NETWORK" "--vsphere-locator=$MGMT_VSPHERE_LOCATOR" --datastore=$MGMT_VSPHERE_DATASTORE --ntp=192.168.109.4 --root-password-file=~/.ssh/.root --vm-name=vcav-ui02 --vm-address=192.168.109.44 192.168.109.44 |
Create a new Variable to hold VCAV Admin Portal appliance IP
root@mgmt-vcav [ ~ ]# export UI02_ADDRESS=192.168.109.44
Trust the VCAV-Admin Portal host certificate
1 2 |
root@mgmt-vcav [ ~ ]# vcav vsphere trust-ssh --vsphere-address=$MGMT_VSPHERE_ADDRESS --vsphere-user=$MGMT_VSPHERE_USER --vsphere-password-file=~/.ssh/.vsphere.mgmt --root-password-file=~/.ssh/.root --vm-name=vcav-ui02 --vm-address=vcav-ui02.alex.local OK |
Validate VCAV Deployment
Before you configure vCloud Availability, you must confirm that all appliances are ready to be configured. Use below commands to perform validation check.
1 2 3 4 5 |
root@mgmt-vcav [ ~ ]# vcav vcd wait-for-api --vcd-address=$VCD_ADDRESS --vcd-user=$VCD_USER --vcd-password-file=~/.ssh/.vcd --timeout=300 OK root@mgmt-vcav [ ~ ]# vcav vcd is-federation-enabled --vcd-address=$VCD_ADDRESS --vcd-user=$VCD_USER --vcd-password-file=~/.ssh/.vcd OK |
An OK message means that the deployed components are ready for configuration.
And that’s it for this post. In next post of this series we will integrate these components to each other and with vCD.
I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing. Be sociable