System Recovery

 

System recovery should be used only when the CVP cluster has become unusable and other steps, such as performing a cvpi watchdog off, cvpi stop all, and then, cvpi start all, cvpi watchdog on have failed. For example, situations in which, regardless of restarts, a cvpi status all continues to show some components as having a status of UNHEALTHY or NOT RUNNING.

There are two ways to completely recover a CVP cluster:
Note: A good backup is required to proceed with either of these system recoveries.

VM Redeployment

 

Complete the foloowing steps:

  1. Delete all the CVP VMs.
  2. Redeploy the VMs using the procedures in.
  3. Issue a cvpi status all command to ensure all components are running.
  4. Login to the CVP GUI as cvpadmin/cvpadmin to set the cvpadmin password.
  5. From the Backup & Restore tab on the Setting page, restore from the backup.

CVP Re-Install without VM Redeployment

 

Complete these steps:

  1. Run cvpReInstall from the Linux shell of the primary node. This may take 15 minutes to complete.
    [root@cvp99 ~]# cvpReInstall
    0.Log directory is /tmp/cvpReinstall_17_02_23_01_59_48
    Existing /cvpi/cvp-config.yaml will be backed up here.
    ….
    ….
    Complete!
    
    CVP configuration not backed up, please use cvpShell to setup the cluster
    	
    CVP Re-install complete, you can now configure the cluster
  2. Re-configure using the procedure in Shell-based Configuration. Log into the Linux shell of each node as cvpadmin or su cvpadmin.
    Figure 1. cvp-shell-login
  3. Issue a cvpi status all command to ensure all components are running.
    Figure 2. Example output of cvpi status all command
  4. Login to the CVP GUI as cvpadmin/cvpadmin to set the cvpadmin password.
  5. From the Backup & Restore tab on the Setting page, restore from the backup.

    Related topics: