Deploy the VMs
If there are large number of VMs in your CPS deployment it is recommended to perform a Manual Deployment for one VM (for test purposes). After the success of the first VM, then all VMs can be deployed using Automatic Deployment process.
Note |
During the VM deployment, do not perform any vCenter operations on the blades and VMs installed on them. |
Build VM Images
Before deploying the VMs, build the VM images by executing the following command from the Cluster Manager VM:
/var/qps/install/current/scripts/build_all.sh
Sample Output
Building /etc/broadhop...
Copying to /var/qps/images/etc.tar.gz...
...
Copying wispr.war to /var/qps/images/wispr.war
Output images to /var/qps/images/
[root@hostname]#
Manual Deployment
This section describes the steps to deploy each VM in the CPS deployment individually. To deploy all of the VMs in parallel using a single command refer to Automatic Deployment of All CPS VMs in Parallel. To deploy a selective list of VMs in parallel using a single command refer to Automatic Deployment of Selective CPS VMs in Parallel.
Note |
Before proceeding, refer to License Generation and Installation to confirm you have installed the license correctly. |
For each host that is defined in the Hosts tab of the CPS Deployment Template spreadsheet execute the following:
Note |
The following command uses the short alias name (qns01 qns02 etc.) as defined in the Hosts tab of the CPS Deployment Template. It will not work if you enter the full hostname. |
/var/qps/install/current/scripts/deployer/deploy.sh
$host
where,
$host
is
the short alias name and not the full host name.
For example,
./deploy.sh qns01
< === passed
./deploy.sh
NDC2BSND2QNS01
< === failed
Important |
Newly deployed VM/VMs need to be shutdown cleanly and started with your preferred method to reserve memory:
|
Automatic Deployment of All CPS VMs in Parallel
This section describes the steps to deploy all VMs in parallel in the CPS deployment.
Note |
Before proceeding, refer to License Generation and Installation to confirm you have installed the license correctly. |
Execute the following command:
python
/var/qps/install/current/scripts/deployer/support/deploy_all.py
The order in which VMs are deployed is managed internally.
Note |
The amount of time needed to complete the entire deployment process depends on the number of VMs being deployed as well as the hardware on which it is being deployed. |
The following is a sample list of VM hosts deployed. The list varies according to the type of CPS deployment as well as the information you entered in the CPS Deployment Template.
-
pcrfclient01
-
pcrfclient02
-
sessionmgr01
-
sessionmgr02
-
lb01
-
lb02
-
qns01
-
qns02
-
qns03
-
qns04
Note |
To install the VMs using shared or single storage, you must use
For more information, refer to Manual Deployment. |
Automatic Deployment of Selective CPS VMs in Parallel
This section describes the steps to deploy a selective list of VMs in parallel in the CPS deployment.
Note |
Before proceeding, refer to License Generation and Installation to confirm you have installed the license correctly. |
Execute the following command:
python /var/qps/install/current/scripts/deployer/support/deploy_all.py --vms <filename-of-vms>
where, <filename-of-vms>
is the name of the file containing the list of VMs such as:
pcrfclient01
lb01
qns01
Note |
The amount of time needed to complete the entire deployment process depends on the number of VMs being deployed as well as the hardware on which it is being deployed. |
Important |
After deployment of load balancer VM, verify monit service status by executing the following command on deployed Load Balancer (lb) VM: /bin/systemctl status monit.service If monit service on load balancer VM is not running, then execute the following command on that VM to start it: /bin/systemctl start monit.service |
Important |
Newly deployed VM/VMs need to be shutdown cleanly and started with your preferred method to reserve memory: Shut down and start Selective CPS VMs in Parallel.
|