Skip to main content

Websphere MQ

Create File Systems:

/usr/mqm -> MQ installation base

/var/mqm -> Queue Manager Data (log, qmgrs)

/home/mqm -> MQM user base (scripts, admin files etc)

/home/mqm/mqrouter - > MQ Router application files (scripts, config etc)

/home/mqm/saveqmgr -> Queue Manager backup location

Optional (for large installations in place of /var/mqm/):

/var/mqm/log –> Queue manager log

/var/mqm/qmgrs -> Queue manager data


 

Install – MQ Filesets:

mqm.base.runtime 7.0.1.3 WebSphere MQ Runtime for

mqm.base.samples 7.0.1.3 WebSphere MQ Samples

mqm.base.sdk 7.0.1.3 WebSphere MQ Base Kit for

mqm.client.rte 7.0.1.3 WebSphere MQ Client for AIX

mqm.java.rte 7.0.1.3 WebSphere MQ Java Client, JMS

mqm.jre.rte 7.0.1.3 WebSphere MQ Java Runtime

mqm.keyman.rte 7.0.1.3 WebSphere MQ Support for GSKit

mqm.msg.en_US 7.0.1.3 WebSphere MQ Messages - U.S.

mqm.server.rte 7.0.1.3 WebSphere MQ Server

mqm.txclient.rte 7.0.1.3 WebSphere MQ Extended

mqm.man.en_US.data 7.0.1.3 WebSphere MQ Man Pages - U.S.


 

Collect information from current server (for migrations):

On the current server, save the Queue Manager information using the saveqmgr MQ utility

#saveqmgr –m <Queue Manager Name> -s –f <File Name to save>

#saveqmgr –m <Queue Manager Name> -z -f <File Name to save>

This should create 2 files – one for the queue manager definitions and one for queue manager authorization definitions.

This utility is available from IBM WebSphere site: https://www-304.ibm.com/support/docview.wss?uid=swg24000673

Do this for all the desired Queue Managers.

Importing saved queue managers on the new server:

Create the desired empty queue mangaers on the new server:

#crtmqm – c "QM for ….env" –ll –ld /var/mqm/primary/log –md /var/mqm/primary/qmgrs –lp 3 –ls 2 <Queue Manager Name>

Start the new Queue Manager

#strmqm <Queue Manager Name>

Create the new Queue Manager definitions from the previously saved file (using saveqmgr)

#cat <QM definition file> | runmqsc <QM name>

Apply the authorization for the objects

Make the authorization file executable and execute it from the command line.

#./Authorization File

Popular posts from this blog

Commands to restart RMC connection (t...

Commands to restart RMC connection (to HMC from LPAR) It has become very common with the IBM HMC to LPAR (logical/micro partition) communication to drop for unknown reasons.  Most of the time this is not a problem unless there is a need to do a dynamic logical partition operation (or DLAPR operation to add/remove resources on the fly).  This will become evident during the DLPAR operation when HMC complains about having no RMC connection to LPAR in operation.  When this happens run the following commands on the LPAR in question before reattemping the operation.  The DLPAR operation will still work with out this connection, but the LPAR needs a restart to see the change in the resources.  Restart the RMC connection on the LPAR: # /usr/sbin/rsct/install/bin/recfgct # /usr/sbin/rsct/bin/rmcctrl -p Verify the connection by running: lsrsrc IBM.ManagementServer This will show the HMC IP/hostname and the LPAR information.

Network throughput test between 2 AIX servers

The easiest way to test throughput between 2 AIX servers is to do a FTP test, generating data transfer with ‘dd’ command.  This will provide the throughput/speed for the specified amount of data transfer: #src-system> ftp dst-system … … ftp>  put "|dd if=/dev/zero bs=32k count=10000" /dev/null 200 PORT command successful. 150 Opening data connection for /dev/null. 10000+0 records in 10000+0 records out 226 Transfer complete. 327680000 bytes sent in 1.406 seconds (2.277e+05 Kbytes/s) local: |dd if=/dev/zero bs=32k count=10000 remote: /dev/null ftp>bye   This is the same test IBM recommends in the redbook and also during a support call

HP-UX tape configuration

Here are few commands to configure tape drives in HP-UX 1.  Scan for new devices: # ioscan –fnC tape 2.  List tape drives currently recognized by the OS (without performing an actual hardware scan) # ioscan –fnkC tape 3.  remove all the special files used by the tape drives # rmsf  /dev/rmt/* 4.  Recreate the specil files for the tape drives # insf –C tape –e 5.  Remove a tape drive (that has a NO_HW state) # rmsf –H 0/7/1/0.1.24.255.5.5.0 Find the WWN for the HBAs: # ioscan –fnkC fc # fcmsutil /dev/fcd0 Find the WWN for the tape drives connected to the HBA: # fcmsutil /dev/fcd0 get remote all   **These are just a handful of commands to deal with the tape drives.  Not to be used as a procedure