FSM sam:dme:EquipmentChassisAssociate

Rule ID:1823

Chassis association FSM
Applies to MO: equipment:Chassis

Name: Associate
Stage: post-explicit
Message: Chassis profile association with Chassis(FSM:sam:dme:EquipmentChassisAssociate)

Begin State: downloadImages


States
 downloadImages
Resolve Images from UCS Central

  On Success: copyRemote
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 3600000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Download images(FSM-STAGE:sam:dme:EquipmentChassisAssociate:downloadImages)

  Notify:
   Target: sam:dcosAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: DownloadImages

 copyRemote
Resolve Images from UCS Central

  On Success: WaitBeforeInstallation
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 240000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Copy images to peer node(FSM-STAGE:sam:dme:EquipmentChassisAssociate:copyRemote)

  Notify:
   Target: sam:dcosAG
   Instance: peer
   Purpose: mod
   Custom: true
   Data:
   Method: FsmEquipmentChassisAssociateCopyRemote

 WaitBeforeInstallation
NO COMMENTS

  On Success: UpdateCmc
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 1000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Wait before installation(FSM-STAGE:sam:dme:EquipmentChassisAssociate:WaitBeforeInstallation)

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

 UpdateCmc
NO COMMENTS

  On Success: PollUpdateCmc
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 300000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Update CMC fw(FSM-STAGE:sam:dme:EquipmentChassisAssociate:UpdateCmc)

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

 PollUpdateCmc
NO COMMENTS

  On Success: UpdateAdaptor
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 50
  Unavailable: UNAVAIL_RETRY
  Message: Poll Update CMC fw(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollUpdateCmc)

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

 UpdateAdaptor
NO COMMENTS

  On Success: PollUpdateAdaptor
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 180000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Update Adaptor fw(FSM-STAGE:sam:dme:EquipmentChassisAssociate:UpdateAdaptor)

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

 PollUpdateAdaptor
NO COMMENTS

  On Success: UpdateSasExpander
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 50
  Unavailable: UNAVAIL_RETRY
  Message: Poll Update Adaptor fw(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollUpdateAdaptor)

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

 UpdateSasExpander
NO COMMENTS

  On Success: PollUpdateSasExpander
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 180000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Update PLD(FSM-STAGE:sam:dme:EquipmentChassisAssociate:UpdateSasExpander)

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

 PollUpdateSasExpander
NO COMMENTS

  On Success: ActivateSasExpander
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Update SAS expander(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollUpdateSasExpander)

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

 ActivateSasExpander
NO COMMENTS

  On Success: PollSasExpanderActivate
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Activate SAS expander(FSM-STAGE:sam:dme:EquipmentChassisAssociate:ActivateSasExpander)

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

 PollSasExpanderActivate
NO COMMENTS

  On Success: ActivateCmc
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 180000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: waiting for Sas Expander Activate to complete(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollSasExpanderActivate)

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

 ActivateCmc
NO COMMENTS

  On Success: PollCmcActivation
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 180000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: activating chassis management controller(FSM-STAGE:sam:dme:EquipmentChassisAssociate:ActivateCmc)

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

 PollCmcActivation
NO COMMENTS

  On Success: PowerOffServers
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 180000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: waiting for chassis management controller activation to complete(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollCmcActivation)

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

 PowerOffServers
NO COMMENTS

  On Success: WaitForPowerOff
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 50000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: soft shutdown of the servers(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PowerOffServers)

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

 WaitForPowerOff
NO COMMENTS

  On Success: ActivateAdaptor
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 180000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: waiting for soft-shutdown of the servers to complete(FSM-STAGE:sam:dme:EquipmentChassisAssociate:WaitForPowerOff)

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

 ActivateAdaptor
NO COMMENTS

  On Success: PollAdaptorActivation
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: activating adaptor(FSM-STAGE:sam:dme:EquipmentChassisAssociate:ActivateAdaptor)

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

 PollAdaptorActivation
NO COMMENTS

  On Success: ActivateStorageCtlr
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: waiting for adaptor activation to complete(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollAdaptorActivation)

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

 ActivateStorageCtlr
NO COMMENTS

  On Success: PollStorageCtlrActivation
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: activating raid controller(FSM-STAGE:sam:dme:EquipmentChassisAssociate:ActivateStorageCtlr)

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

 PollStorageCtlrActivation
NO COMMENTS

  On Success: ActivateBrdCtlr
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 180000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: waiting for storage controller activation to complete(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollStorageCtlrActivation)

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

 ActivateBrdCtlr
NO COMMENTS

  On Success: PollBrdCtlrActivation
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: activate board controller(FSM-STAGE:sam:dme:EquipmentChassisAssociate:ActivateBrdCtlr)

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

 PollBrdCtlrActivation
NO COMMENTS

  On Success: ActivateLocalDisk
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: waiting for board controller activation to complete(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollBrdCtlrActivation)

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

 ActivateLocalDisk
NO COMMENTS

  On Success: SasExpanderConfig
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 60
  Unavailable: UNAVAIL_RETRY
  Message: Activate Disk(FSM-STAGE:sam:dme:EquipmentChassisAssociate:ActivateLocalDisk)

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

 SasExpanderConfig
NO COMMENTS

  On Success: PollSasExpanderConfig
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Configure Connection Management Settings on SAS Expanders(FSM-STAGE:sam:dme:EquipmentChassisAssociate:SasExpanderConfig)

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

 PollSasExpanderConfig
NO COMMENTS

  On Success: ConfigChassisAdapterConnectivity
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Poll Connection Management Settings on SAS Expanders(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollSasExpanderConfig)

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

 ConfigChassisAdapterConnectivity
NO COMMENTS

  On Success: ChassisPeerAdapterReboot
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 5
  Unavailable: UNAVAIL_RETRY
  Message: Configure Server to Chassis Adapter connectivity(FSM-STAGE:sam:dme:EquipmentChassisAssociate:ConfigChassisAdapterConnectivity)

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

 ChassisPeerAdapterReboot
NO COMMENTS

  On Success: PowerOnServers
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 5
  Unavailable: UNAVAIL_RETRY
  Message: Chassis Adapter Reboot(FSM-STAGE:sam:dme:EquipmentChassisAssociate:ChassisPeerAdapterReboot)

  Notify:
   Target: sam:bladeAG
   Instance: active
   Purpose: mod
   Custom: true
   Data: equipment:SystemIOController
   Method: FsmEquipmentChassisAssociateChassisPeerAdapterReboot

 PowerOnServers
NO COMMENTS

  On Success: DiskZoningConfig
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 50000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Power on servers(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PowerOnServers)

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

 DiskZoningConfig
NO COMMENTS

  On Success: PostDiskZoneStorageInvCMC
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Deploy disk zoning configuration(FSM-STAGE:sam:dme:EquipmentChassisAssociate:DiskZoningConfig)

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

 PostDiskZoneStorageInvCMC
NO COMMENTS

  On Success: PostDiskZoneStorageInvCIMC
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Update storage inventory from CMC(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PostDiskZoneStorageInvCMC)

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

 PostDiskZoneStorageInvCIMC
NO COMMENTS

  On Success: PollPostDiskZoneStorageInvCIMC
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Update storage inventory from CIMCs(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PostDiskZoneStorageInvCIMC)

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

 PollPostDiskZoneStorageInvCIMC
NO COMMENTS

  On Success: DeleteCurlDownloadedImages
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 40
  Unavailable: UNAVAIL_RETRY
  Message: Waiting for storage inventory from CIMCs(FSM-STAGE:sam:dme:EquipmentChassisAssociate:PollPostDiskZoneStorageInvCIMC)

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

 DeleteCurlDownloadedImages
Resolve Images from UCS Central

  On Success: DeleteImagesRemote
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 120000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Delete images downloaded from operations manager(FSM-STAGE:sam:dme:EquipmentChassisAssociate:DeleteCurlDownloadedImages)

  Notify:
   Target: sam:dcosAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: DeleteCurlDownloadedImages

 DeleteImagesRemote
Remove images from subordinate

  On Success: UnlockFirmwareImage
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 120000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Delete images downloaded from operations manager(FSM-STAGE:sam:dme:EquipmentChassisAssociate:DeleteImagesRemote)

  Notify:
   Target: sam:dcosAG
   Instance: peer
   Purpose: mod
   Custom: true
   Data:
   Method: FsmEquipmentChassisAssociateDeleteImagesRemote

 UnlockFirmwareImage
NO COMMENTS

  On Success:
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Releasing the lock obtained(FSM-STAGE:sam:dme:EquipmentChassisAssociate:UnlockFirmwareImage)

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