FSM sam:dme:CommSvcEpRestartWebSvc

Rule ID:193

This FSM is used to restart the webservices in case of cert-chain change to the default keyring. Webserver doesn't pick the changes when certificate is regenerated, so it requires service restart. During this it terminates all the active user GUI/XML sessions.
Applies to MO: comm:SvcEp

Name: restartWebSvc
Stage: post-explicit
Message: restarting web services due to configuration change(FSM:sam:dme:CommSvcEpRestartWebSvc)

Begin State: local


States
 local
Stage to restart the webservices on primary system.

  On Success: peer
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: restart web services in primary(FSM-STAGE:sam:dme:CommSvcEpRestartWebSvc:local)

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

 peer
Stage to restart the webservices on secondary system.

  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: restart web services in secondary(FSM-STAGE:sam:dme:CommSvcEpRestartWebSvc:peer)

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