FSM sam:dme:ComputePhysicalUpdateBoardController

Rule ID:1283

NO COMMENTS
Applies to MO: compute:Physical

Name: UpdateBoardController
Stage: post-explicit
Message: update BoardController image(FSM:sam:dme:ComputePhysicalUpdateBoardController)

Begin State: PrepareForUpdate


States
 PrepareForUpdate
NO COMMENTS

  On Success: ServerPowerOff
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Prepare for BoardController update(FSM-STAGE:sam:dme:ComputePhysicalUpdateBoardController:PrepareForUpdate)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data:
   Method: FsmComputePhysicalUpdateBoardControllerPrepareForUpdate

 ServerPowerOff
NO COMMENTS

  On Success: UpdateRequest
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 150000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Power off server serverId(FSM-STAGE:sam:dme:ComputePhysicalUpdateBoardController:ServerPowerOff)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data:
   Method: FsmComputePhysicalUpdateBoardControllerServerPowerOff

 UpdateRequest
NO COMMENTS

  On Success: PollUpdateStatus
  On Fail: CheckPowerAvailability
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Sending Board Controller update request to CIMC(FSM-STAGE:sam:dme:ComputePhysicalUpdateBoardController:UpdateRequest)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data:
   Method: FsmComputePhysicalUpdateBoardControllerUpdateRequest

 PollUpdateStatus
NO COMMENTS

  On Success: PowerCycleBoard
  On Fail: ServerPowerOn
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 60
  Unavailable: UNAVAIL_RETRY
  Message: Waiting for Board Controller update to complete(FSM-STAGE:sam:dme:ComputePhysicalUpdateBoardController:PollUpdateStatus)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data:
   Method: FsmComputePhysicalUpdateBoardControllerPollUpdateStatus

 PowerCycleBoard
NO COMMENTS

  On Success: PollBoardCtrlPowerCycle
  On Fail: ServerPowerOn
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 75000
  Retry Count: 60
  Unavailable: UNAVAIL_RETRY
  Message: Power cycle the board controller(FSM-STAGE:sam:dme:ComputePhysicalUpdateBoardController:PowerCycleBoard)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data: equipment:Chassis
   Method: FsmComputePhysicalUpdateBoardControllerPowerCycleBoard

 PollBoardCtrlPowerCycle
NO COMMENTS

  On Success: ServerPowerOn
  On Fail: ServerPowerOn
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 75000
  Retry Count: 60
  Unavailable: UNAVAIL_RETRY
  Message: Waiting for Board Controller power cycle to complete(FSM-STAGE:sam:dme:ComputePhysicalUpdateBoardController:PollBoardCtrlPowerCycle)

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

 ServerPowerOn
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 server serverId(FSM-STAGE:sam:dme:ComputePhysicalUpdateBoardController:ServerPowerOn)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data:
   Method: FsmComputePhysicalUpdateBoardControllerServerPowerOn

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

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

 PowerDeployWait
NO COMMENTS

  On Success: ServerPowerOn
  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:ComputePhysicalUpdateBoardController:PowerDeployWait)

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