FSM sam:dme:LicenseFileInstall

Rule ID:667

This fsm installs license file into FLEXLM. A valid license file is copied on both the switches during download FSM. We try to install the license file on both the switches. If the license file belongs to other switch in the HA, we simply ignore the installation and mark stage that stage as SUCCESS. If the license file has a HOST-ID that doesn't match with either of switches' in the HA, we will abort the FSM and mark it as failed.
Applies to MO: license:File

Name: Install
Stage: post-explicit
Message: Installing license file name(FSM:sam:dme:LicenseFileInstall)

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: Installing license on primary(FSM-STAGE:sam:dme:LicenseFileInstall:Local)

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

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

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