FSM sam:dme:ComputePhysicalBiosRecovery

Rule ID:600

NO COMMENTS
Applies to MO: compute:Physical

Name: BiosRecovery
Stage: post-explicit
Message: Emergency recovery (re-flash) of BIOS image for server dn(FSM:sam:dme:ComputePhysicalBiosRecovery)

Begin State: Shutdown


States
 Shutdown
NO COMMENTS

  On Success: PreSanitize
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Shutting down server dn to prepare for BIOS recovery(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:Shutdown)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: false
   Data:
   Method: FsmComputePhysicalBiosRecoveryShutdown

 PreSanitize
NO COMMENTS

  On Success: Sanitize
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Preparing to check hardware configuration server dn(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:PreSanitize)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data: compute:Physical
   Method: FsmComputePhysicalBiosRecoveryPreSanitize

 Sanitize
NO COMMENTS

  On Success: StopVMediaLocal
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Checking hardware configuration server dn(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:Sanitize)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data: compute:Physical
   Method: FsmComputePhysicalBiosRecoverySanitize

 StopVMediaLocal
NO COMMENTS

  On Success: StopVMediaPeer
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 40000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Unprovisioning the V-Media bootable device for server dn(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:StopVMediaLocal)

  Notify:
   Target: sam:bladeAG
   Instance: self
   Purpose: mod
   Custom: true
   Data:
   Method: FsmComputePhysicalBiosRecoveryStopVMediaLocal

 StopVMediaPeer
NO COMMENTS

  On Success: SetupVmediaLocal
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 40000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Unprovisioning the V-Media bootable device for server dn(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:StopVMediaPeer)

  Notify:
   Target: sam:bladeAG
   Instance: peer
   Purpose: mod
   Custom: true
   Data:
   Method: FsmComputePhysicalBiosRecoveryStopVMediaPeer

 SetupVmediaLocal
NO COMMENTS

  On Success: SetupVmediaPeer
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 40000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Provisioning a V-Media device with a bootable BIOS image for server dn(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:SetupVmediaLocal)

  Notify:
   Target: sam:bladeAG
   Instance: self
   Purpose: mod
   Custom: true
   Data: compute:Physical
   Method: FsmComputePhysicalBiosRecoverySetupVmediaLocal

 SetupVmediaPeer
NO COMMENTS

  On Success: CheckPowerAvailability
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 40000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Provisioning a V-Media device with a bootable BIOS image for server dn(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:SetupVmediaPeer)

  Notify:
   Target: sam:bladeAG
   Instance: peer
   Purpose: mod
   Custom: true
   Data: compute:Physical
   Method: FsmComputePhysicalBiosRecoverySetupVmediaPeer

 CheckPowerAvailability
NO COMMENTS

  On Success: PowerDeployWait
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Check if power can be allocated to server serverId(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:CheckPowerAvailability)

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

 PowerDeployWait
NO COMMENTS

  On Success: Start
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 5000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Waiting for power allocation to server serverId(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:PowerDeployWait)

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

 Start
NO COMMENTS

  On Success: Wait
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Running BIOS recovery on server dn(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:Start)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: false
   Data:
   Method: FsmComputePhysicalBiosRecoveryStart

 Wait
Stage to wait for BIOS recovery to complete

  On Success: Cleanup
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_SKIP
  Retry Interval: 60000
  Retry Count: 15
  Unavailable: UNAVAIL_RETRY
  Message: Waiting for completion of BIOS recovery for server dn (up to 15 min)(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:Wait)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: false
   Data:
   Method: FsmComputePhysicalBiosRecoveryWait

 Cleanup
Stage to cleanup after BIOS recovery

  On Success: Reset
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Completing BIOS recovery mode for server dn, and shutting it down(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:Cleanup)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: false
   Data:
   Method: FsmComputePhysicalBiosRecoveryCleanup

 Reset
NO COMMENTS

  On Success: TeardownVmediaLocal
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Resetting server dn power state after BIOS recovery(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:Reset)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data: compute:Physical
   Method: FsmComputePhysicalBiosRecoveryReset

 TeardownVmediaLocal
NO COMMENTS

  On Success: TeardownVmediaPeer
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 40000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Unprovisioning the V-Media bootable device for server dn(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:TeardownVmediaLocal)

  Notify:
   Target: sam:bladeAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: FsmComputePhysicalBiosRecoveryTeardownVmediaLocal

 TeardownVmediaPeer
NO COMMENTS

  On Success:
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 40000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Unprovisioning the V-Media bootable device for server dn(FSM-STAGE:sam:dme:ComputePhysicalBiosRecovery:TeardownVmediaPeer)

  Notify:
   Target: sam:bladeAG
   Instance: peer
   Purpose: mod
   Custom: false
   Data:
   Method: FsmComputePhysicalBiosRecoveryTeardownVmediaPeer