Tag Archive | amq7155

Update Trial License of WebSphere MQ to Prod License

There are many cases wherein you have installed the Trial version of WebSphere MQ.
Later you purchased the fully supported version and would like to install the Licenced version without affecting the current MQ infrastructure which you have configured and running.

When you Create or Start a Queue Manager in the Trial MQ Installation  you will get a message
“There are 90 days left in the trial period for this copy of WebSphere MQ”

The evaluation trial version license will soon expire after 90 days and you will not be able to use the MQ later .

setmqprd

So you would need to Purchase a license for WebSphere MQ from your IBM sales representative and update the Trial License

Activity : Update the Production License of MQ on Trial Websphere MQ version MQ 7.1 on Linux

Prerequisites : Installed version of Trail Webspsphere MQ . In this activity i have installed
“Trial Websphere MQ version MQ 7.1 on Linux”

Get the PROD License :
1) Use the CD which you have got
2) Download the Same version of MQ product from the Passport Advantage site

Background : 
“setmqprd” command is used to update the PROD license over the existing Trial Version of MQ

For UNIX: setmqprd {PATH_TO_NEW_CODE}/licenses/amqpcert.lic
For Windows: setmqprd {PATH_TO_NEW_CODE}\licenses\amqpcert.lic

NOTE : Ensure that you have same version purchased as to the trial version which you have installed

The license is named amqXcert.lic, where X is the license type.

amqtcert.lic – is a trial license
amqbcert.lic – is a beta license
amqpcert.lic – is a full production license

 

Steps to update the MQ Trial  License  to PROD 

Step 1 :  Stop the Running queue managers in the Installation using endmqm

setmqprd5

setmqprd6
Step 2 : Extract the Production License for MQ 7.1
a) Use the MQ Product CD which you have received
               OR
                b)Download the Same version of MQ product from the Passport Advantage site

setmqprd4
I have extracted the Complete Version of  MQ 7.1 in /IBMSoftware/mq/. Within this there is a “licenses” folder .
In the license folder there is a amqpcert.lic file which represents the Production MQ License


Step 3 :
Run “setmqprd”

#setmqprd {PATH_TO_NEW_CODE}/lib/amqpcert.lic

[root@mercury ~]# /opt/mqm/bin/setmqprd  /IBMSoftware/mq/licenses/amqpcert.lic

setmqprd8


Step 4 :
Once you run the setmqprd the prod license file amqpcert.lic gets saved in /opt/mqm/lib/ .

If amqtcert.lic file also exists in the /opt/mqm/lib/ along with the amqpcert.lic .
Then Delete the MQ Trial Licence file (amqtcert.lic) from the /opt/mqm/lib/ folder

setmqprd7

bash-3.2$ cd /opt/mqm/lib/
bash-3.2$ rm amqtcert.lic

NOTE : If you dont delete the MQ Trial Licence file (amqtcert.lic) from the /opt/mqm/lib/ folder . You might get the error ” AMQ7155 : Licence file not found or not valid.”

Click HERE to get more Information about this error

setmqprd9

 

Step 5: Start the queue managers now using “strmqm”

bash-3.2$ strmqm test

setmqprd10

We are not receiving the message “There are 90 days left in the trial period for this copy of WebSphere MQ”

This  indicates that the License has been updated to PROD

 

 

To get automated mail updates of my Posts..
Please subscribe to the site http://webspherepundit.com
And also like the Facebook Page
https://www.facebook.com/webspherepundit

 

 

MQ Error : AMQ7155: License file not found or not valid

After we update the  Trial License of MQ with the Production License of the MQ .

Sometimes we may get the error “AMQ7155: License file not found or not valid”  when we start the Queue Manager

setmqprd9

Click HERE for the details to update the Prod MQ License

Some reasons for this error

Step 1: License File missing : Check if the amqpcert.lic file is available in “/opt/mqm/lib”

Step 2: Permission Issue : Check if the permissions is proper in “/opt/mqm/lib” for the .lic files in it

Step 3: Multiple License file Available :  When we run the setmqprd command the /opt/mqm/lib may also have the Trail MQ license file amqtcert.lic .

As the “/opt/mqm/lib”  has both the Trail MQ license file (amqtcert.lic) and Prod MQ license file (amqpcert.lic) . The MQ is not able to identify which one it should use and hence gives an error
setmqprd7
Step 4 :  Remove  the Trail MQ license file (amqtcert.lic) from the “/opt/mqm/lib” folder.  The Queue Manager will pick up the changes once it is started back up.

bash-3.2$ cd /opt/mqm/lib/
bash-3.2$rm amqtcert.lic

Step 5: Start the Queue Manager and check if starts properly

setmqprd10

 

 

To get automated mail updates of my Posts..
Please subscribe to the site http://webspherepundit.com
And also like the Facebook Page
https://www.facebook.com/webspherepundit