In the clientConnect.conf file, the host value needs to match the host in the web-service URL that you specified in the failover_post hook script.

  • For Linux, the host value must exactly match the name displayed when you run the Linux hostname command on the host where the webservice gateway is running.

  • For Windows, specify the Fully Qualified Domain Name (FQDN) for the host.

    To set the credentials for web-service gateway:

    1. Use sm_edit to open the /opt/InCharge/SAM/smarts/conf/local/clientConnect.conf file in the SAM installation where Failover Manager resides.

    2. Locate the Web services Access section and specify the credentials for the M&R FrontEnd and the web-service gateways of the smarts-collector hosts. Replace the string starting with <E-1.0> and going to the end of the line with your actual password. sm_edit will encrypt the password when you save the file.

      If the Web services Access section is missing from the file, copy from here and paste it before the User Access section in the file.

      #################### Webservices Access ###################
      # Credentials to access MNR.
      # This is used by Failover Manager.
      # You should change the password!
      *:http\://*\:58080/*:admin:<E-1.0>94441BB01A289C5DE162B2DF494915A8CCD0DBD64001066FD26CA40987554FCF
      # Credentials to access MNR webservice-gateway.
      # This is used by Failover Manager.
      # You should change the password!
      *:https\://*\:48443/*:admin:<E-1.0>94699AAE806A687113B30B6DFE9B68CC438844AB14F7846E5DA5407DE4D62ADA
      
    3. Save the file and exit.