setmqprd (enroll production license)

Enroll an IBM MQ production license.

A license is normally enrolled as part of the installation process. Note: We must have the appropriate privileges to run this command on the system. UNIX requires root access, and Windows with UAC (User Account Control) requires Administrator access to run this command.


Syntax

setmqprd LicenseFile


Required parameters

    LicenseFile
    Specifies the fully-qualified name of the production license certificate file. The full license file is amqpcert.lic:

    • On UNIX and Linux, it is in the /MediaRoot/licenses directory on the installation media.
    • On Windows it is in the \MediaRoot\licenses directory on the installation media. It is installed into the bin directory on the IBM MQ installation path.
    • On IBM i, issue the command
      CALL PGM(QMQM/SETMQPRD) PARM('LICENSE_PATH/amqpcert.lic')
      where LICENSE_PATH is the path to the amqpcert.lic file that you obtained.


Trial license conversion

A trial license installation is identical to a production license installation, except for the count-down message that is displayed when you start a queue manager on an installation with a trial license. Parts of IBM MQ that are not installed on the server, such as the IBM MQ MQI client, continue to work after the expiry of the trial license. You do not need to run setmqprd to enroll them with a production license.

When a trial license expires, we can still uninstall IBM MQ. We can also reinstall IBM MQ with a full production license.

Run setmqprd to enroll a production license after installing and using a installation with a trial license.


Related information