Clean up the Orchestrator and Mega-POP VMs before configuring them.

Delete the old the registry files and VCPS bits from both the Orchestrator and Mega-POP VMs.

Procedure

  1. Delete the old registry files.
    The registry file path is found in the config.properties file with the key HCB_REGISTRY_PATH.
  2. Delete any old VCPS bits. The older bits are located at /data/jenkins/userContent/vcps:
    # rm -rf /data/jenkins/userContent/vcps
  3. Run the following command in the Orchestrator VM to clean up old containers:
    # hconcli reset -force

Example: Clean Up Commands

[root@workervm ~]# rpm -qa | grep vcps
 
vcps-hcon-1.0.0.0-13900959.noarch
 
[root@workervm ~]# rpm -e vcps-hcon-1.0.0.0-13900959.noarch
 
[root@workervm ~]# ls
 
anaconda-ks.cfg  joe_bringup.json  sddc.json  tlsCheck.sh  vcps-hcon_1.0.0.0-13900959_noaarch.rpm
 
[root@workervm ~]# rm -rf vcps-hcon_1.0.0.0-13900959_noaarch.rpm
 
[root@workervm ~]# aws s3 cp s3://vbme-rtm/REL_1_0_0_0/vcps-hcon_1.0.0.0-13900959_noaarch.rpm .
 
download: s3://vbme-rtm/REL_1_0_0_0/vcps-hcon_1.0.0.0-13900959_noaarch.rpm to ./vcps-hcon_1.0.0.0-13900959_noaarch.rpm
 
[root@workervm ~]# ls
 
anaconda-ks.cfg  joe_bringup.json  sddc.json  tlsCheck.sh  vcps-hcon_1.0.0.0-13900959_noaarch.rpm
 
[root@workervm ~]# rpm -ivh vcps-hcon_1.0.0.0-13900959_noaarch.rpm
 
Preparing...                          ################################# [100%]
 
Updating / installing...
 
   1:vcps-hcon-1.0.0.0-13900959       ################################# [100%]
 
 
[root@workervm ~]# hconcli reset -force
[root@workervm ~]# rm -rf /data/jenkins/userContent/vcps