FSM sam:dme:FabricLanCloudSwitchMode

Rule ID:155

NO COMMENTS
Applies to MO: fabric:LanCloud

Name: SwitchMode
Stage: post-explicit
Message: Fabric interconnect mode configuration(FSM:sam:dme:FabricLanCloudSwitchMode)

Begin State: SwConfigPeer


States
 SwConfigPeer
This config will restart the switch. So, first config the Peer switch to avoid the DME failover. Once the peer is configured and we get successful FSM stage completion, then we apply the config to local switch and let it reboot. TODO - Do we need to gracefully switchover the the AGs running on the other switch to move to this switch? If so, we need to re-balance them after this FSM is over

  On Success: WaitForUserAck
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Fabric interconnect mode configuration to secondary(FSM-STAGE:sam:dme:FabricLanCloudSwitchMode:SwConfigPeer)

  Notify:
   Target: sam:portAG
   Instance: peer
   Purpose: mod
   Custom: true
   Data: fabric:LanCloud
   Method: FsmFabricLanCloudSwitchModeSwConfigPeer

 WaitForUserAck
NO COMMENTS

  On Success: SwConfigLocal
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 1000000000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Waiting for User Acknowledgment to configuration on primary(FSM-STAGE:sam:dme:FabricLanCloudSwitchMode:WaitForUserAck)

  Notify:
   Target:
   Instance: active
   Purpose: mod
   Custom: true
   Data:

 SwConfigLocal
NO COMMENTS

  On Success:
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Fabric interconnect mode configuration to primary(FSM-STAGE:sam:dme:FabricLanCloudSwitchMode:SwConfigLocal)

  Notify:
   Target: sam:portAG
   Instance: self
   Purpose: mod
   Custom: true
   Data: fabric:LanCloud
   Method: FsmFabricLanCloudSwitchModeSwConfigLocal