I have a request to create a workflow that allows controlled and disaster failover of a vfiler.
For a controlled failover it would:
1) Ensure DR vfiler volume list is same as source vfiler and all are in snapmirrored state
2) Stop source vfiler
3) Update volume snapmirror to DR
4) Activate DR vfiler
5) Resync vfiler DR to allow failback
For a disaster failover it would be some subset of the above, so I'd either disable some actions or perhaps have multiple workflows to allow the steps to be executed at different points in time.
Does anyone have anything to share?
Thanks,
Chris
P.S. I already did a bit of homework on this problem and although above are the basic steps I have a much longer list of things it needs to do (quotas need to be enabled again, IP addresses don't always get bound to interfaces correctly, snapmirror schedule gets set to every 3 minutes and needs to be reset, extra snapmirror snapshots need to be deleted, snapmirror release needs to be run) but for now I thought I'd keep my request simple. 🙂