Restore Data Gateway VMs and pools after a disaster in environments without high availability, so that device management and data collection can continue.
Use this task when you lose a Data Gateway VM during a disaster and your deployment does not use high availability. Choose the recovery option that fits your situation: replacing a VM, detaching or moving devices, or adding a standby VM. Each option restores device management and data collection capabilities.
Procedure
|
1. |
Replace a lost Data Gateway VM with a new VM (same configuration as the original).
-
Log in to Cisco Crosswork and go to .
-
Delete the existing pool associated with the lost VM.
-
Set the Administration State of the VM to Maintenance.
-
Install a new Data Gateway VM with the same profile, hostname, and management interface as the lost VM.
-
Set the Administration State of the VM to Up.
The Operational State of the VM changes from Error to Not Ready.
-
Create a new pool with the same name as the original, and add the VM to this pool.
Verify the Data Gateway has Operational State as Up.
-
Attach devices to the Data Gateway as needed.
-
Verify that collection jobs are running as expected.
|
|
2. |
Detach devices or move devices to another operational Data Gateway.
-
Log in to Cisco Crosswork and go to .
-
Detach devices from the affected VM or move devices to another Data Gateway that is Operational State Up.
-
Delete the existing pool. (Note: This action does not unassign the VM from the pool; it will still appear assigned.)
-
Set the Administration State of the VM to Maintenance.
-
Reboot the VM to unassign it from the pool.
After reboot, the VM enrolls with Cisco Crosswork automatically. Wait about 5 minutes, then verify the VM is administratively Up and in Not Ready state.
Note
You can also manually re-enroll the VM from the Interactive Console of the Data Gateway VM, if required.
-
Create a new pool with the same name and add the VM.
-
Verify Data Gateway has Operational State as Up.
-
Reattach devices or move devices back to this Data Gateway as needed.
-
Verify that collection jobs are running as expected.
|
|
3. |
Add a standby VM to the pool (restore a pool with only one active VM or multiple VMs without standby).
Note
To restore multiple active VMs in a pool without standby VMs, repeat these steps for each active VM.
-
Install a new Data Gateway VM.
-
Log in to Cisco Crosswork and go to .
-
Add the new VM to the pool.
Adding a VM triggers a failover and the newly added VM becomes the active VM in the pool.
-
Edit the pool, remove the now-standby VM, and set its Administration State to Maintenance.
After about 5 minutes, the standby VM enrolls with Cisco Crosswork automatically and should be operationally Up and in Not Ready state.
Note
You can manually re-enroll the VM if necessary from the Interactive Console of the Data Gateway VM.
-
Add the standby VM back to the pool. Verify both active and standby VMs are operationally Up.
-
Verify the following:
|
Data Gateways and pools are restored, devices are reattached, and collection jobs resume as expected in a non-high availability deployment after a disaster.