FSM sam:dme:LicenseFileClear

Rule ID:668

this fsm clears(deletes) license file from FLEXLM. this operation would result in clearing the licenses, installed using this file. This FSM works on same validation logic as of Install.
Applies to MO: license:File

Name: Clear
Stage: post-explicit
Message: Clearing license file name(FSM:sam:dme:LicenseFileClear)

Begin State: Local


States
 Local
NO COMMENTS

  On Success: Remote
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 240000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Clearing license on primary(FSM-STAGE:sam:dme:LicenseFileClear:Local)

  Notify:
   Target: sam:licenseAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: FsmLicenseFileClearLocal

 Remote
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: Clearing license on subordinate(FSM-STAGE:sam:dme:LicenseFileClear:Remote)

  Notify:
   Target: sam:licenseAG
   Instance: peer
   Purpose: mod
   Custom: false
   Data:
   Method: FsmLicenseFileClearRemote