FSM sam:dme:ComputePhysicalActivateBIOS

Rule ID:898

NO COMMENTS
Applies to MO: compute:Physical

Name: ActivateBIOS
Stage: post-explicit
Message: Activate BIOS image for server(FSM:sam:dme:ComputePhysicalActivateBIOS)

Begin State: PowerOff


States
 PowerOff
NO COMMENTS

  On Success: Clear
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 350000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Power off the server(FSM-STAGE:sam:dme:ComputePhysicalActivateBIOS:PowerOff)

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

 Clear
NO COMMENTS

  On Success: PollClearStatus
  On Fail: CheckPowerAvailability
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: clearing pending BIOS image activate(FSM-STAGE:sam:dme:ComputePhysicalActivateBIOS:Clear)

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

 PollClearStatus
NO COMMENTS

  On Success: Activate
  On Fail: CheckPowerAvailability
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 30
  Unavailable: UNAVAIL_RETRY
  Message: waiting for pending BIOS image activate to clear(FSM-STAGE:sam:dme:ComputePhysicalActivateBIOS:PollClearStatus)

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

 Activate
NO COMMENTS

  On Success: PollActivateStatus
  On Fail: CheckPowerAvailability
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: activating BIOS image(FSM-STAGE:sam:dme:ComputePhysicalActivateBIOS:Activate)

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

 PollActivateStatus
NO COMMENTS

  On Success: UpdateTokens
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 30
  Unavailable: UNAVAIL_RETRY
  Message: waiting for BIOS activate(FSM-STAGE:sam:dme:ComputePhysicalActivateBIOS:PollActivateStatus)

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

 UpdateTokens
NO COMMENTS

  On Success: CheckPowerAvailability
  On Fail: CheckPowerAvailability
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: updating BIOS tokens(FSM-STAGE:sam:dme:ComputePhysicalActivateBIOS:UpdateTokens)

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

 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:ComputePhysicalActivateBIOS:CheckPowerAvailability)

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

 PowerDeployWait
NO COMMENTS

  On Success: PowerOn
  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:ComputePhysicalActivateBIOS:PowerDeployWait)

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

 PowerOn
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: power on the server(FSM-STAGE:sam:dme:ComputePhysicalActivateBIOS:PowerOn)

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