AutoPass licensing

All Service Manager installations include a bundled version of AutoPass that no longer requires a separate installation of the AutoPass software. AutoPass is a license retrieval method offered by Micro Focus. The bundled version of AutoPass is specifically for verifying the Service Manager license and as such requires you to place the LicFile.txt file in your server's RUN folder. For information about AutoPass settings and options, see "Generate and install your Service Manager licenses" in Install the Service Manager Server.

Integrate with Micro Focus Usage Hub for license monitoring

Micro Focus Usage Hub (Usage Hub) is a free service that enables you to view license information and usage across all your Micro Focus products and solutions that use the AutoPass licensing module. If you have complex solutions deployed that involve multiple Micro Focus products, an integration of the products with Usage Hub is very helpful.

Once integrated with Usage Hub, Service Manager automatically sends license information and usage data to Usage Hub at a predefined interval (default: 30 minutes).

Note This feature requires Service Manager applications version 9.50 or later and Usage Hub 1.3.5 or later.

Tip You can download Usage Hub from Micro Focus Marketplace.

To integrate with Usage Hub, follow these steps:

  1. Open the Service Manager Server's sm.ini file or sm.cfg file in a text editor. These files are located in the Server's RUN folder.
  2. Specify the IP address or fully qualified domain name of your Usage Hub host in the usagehubaddress parameter:

    For sm.ini: usagehubaddress:<Usage Hub host IP>

    For sm.sfg: sm -usagehubaddress:<Usage Hub host IP>

  3. (Optional) By default, the Service Manager Server automatically sends license information and usage data to Usage Hub every 30 minutes. If you want to adjust the time interval to better suit your needs, follow these steps:
    1. Type sch in the Service Manager command line and press Enter to open the Search Schedule Record form.
    2. In the Name field, enter License Usage Report.
    3. Click Search.
    4. Change the Repeat Interval to a desired value, and then click Save.
  4. Restart the Service Manager Server.

  5. Log in to Usage Hub as a system administrator, and verify that your Service Manager license information and usage data is displayed correctly. 

  6. If the integration is not working correctly, you can specify the following parameter in the Server's sm.ini file or sm.cfg file to debug AutoPass licensing related issues:

    log4jDebug:com.hp.autopassj.core.usage

Update your license file

If you need to renew your product license, you can run a command to automatically update your existing license file.

To do this, follow these steps:

  1. Generate a new AutoPass license file from the Micro Focus licensing website. For details, contact your Micro Focus support representative.

    Note The license file must be in .txt format.

  2. Place the new license file in a directory on the Service Manager Server host.

    Caution The license file path must not contain any spaces.

  3. Run the following command:

    sm -updatelicense:<new license file path and name>

    For example:

    sm -updatelicense:"c:/commonFiles/NewLicFile.txt"

    Service Manager automatically appends the content of the specified new license file to the existing one.

  4. Restart the Service Manager Server.