Skip to main content

License Management

Ensure continuous service availability and compliance by properly managing, reactivating, and updating your on-premises ServiceOps license.

This guide provides instructions for managing your ServiceOps license in an on-premises deployment, including reactivation and updates.

Reactivate License using API

The ServiceOps license is bound to the MAC address of the server. If you migrate the product to a different server, the license will not work due to the new MAC address.

To resolve this, you need to reactivate the license:

  1. Make an API call to http://server-ip/api/public/activationcode to get an activation key.

  1. Provide the activation key to the ServiceOps support team. They will use it to generate a new license for you.

  2. Once you receive the new license, follow the instructions below to Update Product License.


Generate Activation Code When ServiceOps Is Not Running (HA / DC-DR Scenarios)

If ServiceOps services are not running or the license has expired, and you are unable to generate the activation code through the application or API—especially in High Availability (HA) or DC-DR deployments—use the following procedure to manually generate the activation code.

info

In HA or DC-DR deployments, these steps must be performed on the Slave and DR servers.

Steps

  1. Log in to the server (Slave or DR) using the root account.

  2. Navigate to a working directory.

  3. Download the ServiceOps Activation Code Generator tool.

  4. Provide execute permission to the tool:

    chmod 777 MotadataServiceOpsActivatationCodeGenerator

  5. Run the Activation Code Generator using the following command:

    ./MotadataServiceOpsActivatationCodeGenerator

  6. After successful execution, the ServiceOps Activation Code is displayed on the terminal.

Next Steps

  • Copy the generated Activation Code
  • Share it with the Motadata Licensing / Support team
  • Obtain the updated license.lic file
  • Apply the license as per the Update Product License (Command Line) procedure

Update Product License

You can update your product license using the command line or through the Technician Portal.

note

Your new license file (license.lic) will be provided by the Motadata team.

info

The following procedure is applicable to standalone deployments. In an HA deployment, the same procedure must be executed on both the Master and Slave nodes using the same license file.

Using the Command Line

  1. Copy the new license.lic file to the config directory:

    cp license.lic /opt/flotomate/main-server/config/
    note

    The license file must be named as license.lic. If the file has a different name, it will not be recognized and the license update will fail. In such cases, rename the file to license.lic before using it for the update.

  1. Assign the correct ownership to the file:

    chown fmtuser:fmtusergroup /opt/flotomate/main-server/config/license.lic

  1. Verify the file ownership and permissions:

    ls -l /opt/flotomate/main-server/config/license.lic

  1. Stop the ServiceOps services:

    systemctl stop ft-main-server
    systemctl stop ft-analytics-server

  1. Start the services again to apply the new license:

    systemctl start ft-main-server
    systemctl start ft-analytics-server
  2. Check the status of the services to ensure they are running correctly:

    systemctl status ft-main-server

systemctl status ft-analytics-server


Using the Technician Portal

  1. Login to the Technician Portal.
  2. Go to Admin > Organization > Application Maintenance.
  3. In the Product License section, upload your new License.lic file.

  1. Once the file is uploaded, the license will be upgraded.