I have a customer with a 5 node type Service Fabric cluster which is replicated into a DR facility.
They would like to keep the cluster offline (de-allocated) and start the cluster at the point invoking their DR procedure.
Only a single Node Type contains services which are stateful and the Service Fabric Services are contained in their own Node Type.
With the exception of the System Node type the shutdown script needs to do the following:
- Disable Service Fabric Nodes with Restart Intent
- Stop the Virtual Machine Scale Set
and do this in the following order
- Stateless Service Node Types (These feed the stateful services)
- Stateful Service Node Types
- System Node Type
The startup script showed be reverse so
- System Node Type
- Stateful Service Node Types
- Stateless Node Types
With the exception of the System Node Type
Enable-ServiceFabricNode
Can anyone see any problems / danger with this approach ?