This article describes the best practices for using VMWare snapshots and vMotion with a Junos Space Fabric deployment.
Snapshot and restore of a standalone Space node system can be done at any time as there are no other node communications to consider.
Snapshots of Space nodes MUST be created and restored in such a way that all nodes revert with consistent data across all nodes.
There is no mechanism to reconcile data differences that the system believes to have replicated already.
Executing a snapshot across multiple VMs is nearly impossible without powering the Space node off first so that there is no chance of data changing. Even a 1 second difference in snapshot times could cause data problems that may not be discovered for weeks or months.
Snapshot All nodes.
Power on the Space nodes.
After the snapshots of ALL nodes have been reverted successfully, power on all nodes.
Similar to multiple nodes. Each DR site should be powered off and snapshots done at the same moment in time.
DR replication is not built to repair data that the system believes to already be synced between DR sites.
In the case where you are preparing for an upgrade, DR should be deactivated prior to powering off.
In the event of a rollback from an upgrade, you can restore one of the sites and operate a site independently, leaving one site for investigation of the upgrade failure.
jmp-dr stop / start is required to reset the replication between Fabric nodes.
jmp-dr stop / start
jmp-dr stop
(Optional) Completely disable DR to make the two sites independent.
jmp-dr reset
Ensure that DR is off (or disabled) on both sites: jmp-dr health
jmp-dr health
The VMWare team should confirm that all the VMs are seen as off before running the snapshot.
Snapshot all nodes in powered off state.
The VMWare snapshot restore needs to be completed across all nodes at a DR site prior to powering on the nodes.
A Junos Space Fabric deployment can see performance problems during a vMotion operation. In a worst case, Space may enter an inconsistent state requiring all nodes to be rebooted to completely recover the environment, after a vMotion event.
Disabling DRS is preferred. Instead, distribute the Junos Space nodes across multiple VMWare hosts, allowing for the Junos Space node to go down with the VM host in the event of a VMWare node failure. Ensure that Space node distribution between VMWare hosts is appropriate based on the Space Fabric node role.
2019-10-30: Updated 2nd bullet under Single Note Space Deployment.