FSM sam:dme:SysdebugCoreDownload

Rule ID:749

NO COMMENTS
Applies to MO: sysdebug:Core

Name: Download
Stage: post-explicit
Message: copy Core file from subordinate switch to primary(FSM:sam:dme:SysdebugCoreDownload)

Begin State: CopySub


States
 CopySub
NO COMMENTS

  On Success: CopyPrimary
  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 Core file on subordinate switch to tmp directory(FSM-STAGE:sam:dme:SysdebugCoreDownload:CopySub)

  Notify:
   Target: sam:dcosAG
   Instance: peer
   Purpose: mod
   Custom: false
   Data:
   Method: FsmSysdebugCoreDownloadCopySub

 CopyPrimary
NO COMMENTS

  On Success: DeleteSub
  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 the Core file to primary for download(FSM-STAGE:sam:dme:SysdebugCoreDownload:CopyPrimary)

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

 DeleteSub
NO COMMENTS

  On Success: DeletePrimary
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 240000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Delete the Core file from subordinate under tmp directory(FSM-STAGE:sam:dme:SysdebugCoreDownload:DeleteSub)

  Notify:
   Target: sam:dcosAG
   Instance: peer
   Purpose: mod
   Custom: false
   Data:
   Method: FsmSysdebugCoreDownloadDeleteSub

 DeletePrimary
NO COMMENTS

  On Success:
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 240000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Delete the Core file from primary switch under tmp directory(FSM-STAGE:sam:dme:SysdebugCoreDownload:DeletePrimary)

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