FSM sam:dme:ComputePhysicalUpdateAdaptor

Rule ID:659

NO COMMENTS
Applies to MO: compute:Physical

Name: UpdateAdaptor
Stage: post-explicit
Message: update backup image of Adaptor(FSM:sam:dme:ComputePhysicalUpdateAdaptor)

Begin State: CheckPowerAvailability


States
 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:ComputePhysicalUpdateAdaptor: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:ComputePhysicalUpdateAdaptor:PowerDeployWait)

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

 PowerOn
NO COMMENTS

  On Success: UpdateRequestLocal
  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 blade(FSM-STAGE:sam:dme:ComputePhysicalUpdateAdaptor:PowerOn)

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

 UpdateRequestLocal
NO COMMENTS

  On Success: UpdateRequestPeer
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: sending update request to Adaptor(FSM-STAGE:sam:dme:ComputePhysicalUpdateAdaptor:UpdateRequestLocal)

  Notify:
   Target: sam:nicAG
   Instance: self
   Purpose: mod
   Custom: true
   Data: compute:Physical
   Method: FsmComputePhysicalUpdateAdaptorUpdateRequestLocal

 UpdateRequestPeer
NO COMMENTS

  On Success: PollUpdateStatusLocal
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: sending update request to Adaptor(FSM-STAGE:sam:dme:ComputePhysicalUpdateAdaptor:UpdateRequestPeer)

  Notify:
   Target: sam:nicAG
   Instance: peer
   Purpose: mod
   Custom: true
   Data: compute:Physical
   Method: FsmComputePhysicalUpdateAdaptorUpdateRequestPeer

 PollUpdateStatusLocal
NO COMMENTS

  On Success: PollUpdateStatusPeer
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: waiting for update to complete(FSM-STAGE:sam:dme:ComputePhysicalUpdateAdaptor:PollUpdateStatusLocal)

  Notify:
   Target: sam:nicAG
   Instance: self
   Purpose: mod
   Custom: true
   Data: compute:Physical
   Method: FsmComputePhysicalUpdateAdaptorPollUpdateStatusLocal

 PollUpdateStatusPeer
NO COMMENTS

  On Success: PowerOff
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: waiting for update to complete(FSM-STAGE:sam:dme:ComputePhysicalUpdateAdaptor:PollUpdateStatusPeer)

  Notify:
   Target: sam:nicAG
   Instance: peer
   Purpose: mod
   Custom: true
   Data: compute:Physical
   Method: FsmComputePhysicalUpdateAdaptorPollUpdateStatusPeer

 PowerOff
NO COMMENTS

  On Success:
  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:ComputePhysicalUpdateAdaptor:PowerOff)

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