FSM sam:dme:ComputePhysicalDiskZoningInventory

Rule ID:1802

FSM for disk zoning pre/post process and inventory collection from CIMC
Applies to MO: compute:Physical

Name: DiskZoningInventory
Stage: post-explicit
Message: Perform disk zoning config and/or collect storage inventory(FSM:sam:dme:ComputePhysicalDiskZoningInventory)

Begin State: PreSanitize


States
 PreSanitize
NO COMMENTS

  On Success: Sanitize
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 10000
  Retry Count: 10
  Unavailable: UNAVAIL_RETRY
  Message: Preparing to check hardware configuration(FSM-STAGE:sam:dme:ComputePhysicalDiskZoningInventory:PreSanitize)

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

 Sanitize
NO COMMENTS

  On Success: BootHost
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 10000
  Retry Count: 6
  Unavailable: UNAVAIL_RETRY
  Message: Checking hardware configuration(FSM-STAGE:sam:dme:ComputePhysicalDiskZoningInventory:Sanitize)

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

 BootHost
NO COMMENTS

  On Success: BootWait
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Bring-up host for fetching storage inventory(FSM-STAGE:sam:dme:ComputePhysicalDiskZoningInventory:BootHost)

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

 BootWait
NO COMMENTS

  On Success: StorageInventory
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Waiting for system reset(FSM-STAGE:sam:dme:ComputePhysicalDiskZoningInventory:BootWait)

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

 StorageInventory
stage name="DiskZoningPostProcess" success="StorageInventory" fail="StorageInventory" on-options="disk-zoning-config" message="Perform post processing after disk zoning deployment" timeout="60000" tries="20" >   On Success: Shutdown
  On Fail: Shutdown
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 20000
  Retry Count: 30
  Unavailable: UNAVAIL_RETRY
  Message: Collect storage inventory(FSM-STAGE:sam:dme:ComputePhysicalDiskZoningInventory:StorageInventory)

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

 Shutdown
NO COMMENTS

  On Success:
  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(FSM-STAGE:sam:dme:ComputePhysicalDiskZoningInventory:Shutdown)

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