Navigation
Records in this category
- How to rebuild Solaris Device Tree
- Installing and Configuring MySQL on Solaris 10 with Service Management Facility
- Using ZFS for Zone Backups or Snapshots
- How to get access to the parallel port from a freshly installed system
- Moving a harddisk with a Sun Solaris 9 installation from one x86 machine to another
- Solaris root password recovery
- The Best MQSeries FAQ
- Installing and Configuring Oracle on Sun Solaris
- Solaris reminders
- Using truss,nm and ldd command to troubleshoot binary files
- Configuring Samba in Sun Solaris
- The best DNS FAQ for solaris
- The best NFS document for Solaris
- OS Patching technique with VxVM
- Replacing D1000 disks in Solaris
Tags
Sticky FAQs
Sun Solaris
The Best MQSeries FAQ
# How to determine what MQSeries packages are installed on Solaris server?
Enter command pkginfo | grep mq that will display the list of MQSeries packages installed on Solaris server. Second column is a package name that can be used with the pkginfo -l package command to obtain full information about installed package.
E.g.: $ pkginfo | grep mq
application mqm MQSeries for Sun Solaris 2
application mqm-upd02 MQSeries for Sun Solaris 2 - U474789
If pkginfo | grep mq command doesn't display anything, that means that no MQSeries packages are installed on Solaris server.
# How to determine what MQSeries version is installed on Solaris server?
Enter command pkginfo –l mqm that will display the detailed information about MQSeries mqm package installed on Solaris server. Among other things the version of MQSeries installed will be displayed.
E.g.: $ pkginfo -l mqm
PKGINST: mqm
NAME: MQSeries for Sun Solaris 2
CATEGORY: application
ARCH: sparc
VERSION: 5.2.0
. . . . . .
If pkginfo –l mqm command doesn't display anything, this means that MQSeries is not installed on Solaris server.
# How to determine default Queue Manager name?
Enter command awk /DefaultQueueManager:/,/Name=/ /var/mqm/mqs.ini that will display the Name stanza of the default Queue Manager.
E.g.: # awk /DefaultQueueManager:/,/Name=/ /var/mqm/mqs.ini
DefaultQueueManager:
Name=MYQMGR
If awk /DefaultQueueManager:/,/Name=/ /var/mqm/mqs.ini command doesn't display anything, this means that default Queue Manager is not defined (i.e., Queue Manager name should be specified explicitly in all MQSeries commands). This command is long enough to be a good candidate for a .profile-defined alias.
# How to determine Queue Manager logging type?
Enter command grep LogType /var/mqm/qmgrs/queue_manager/qm.ini that will display the logging type stanza for the specified Queue Manager. (Circular logging supports only restrat recovery, while linear logging supports both restart and media recovery; logging type can't be changed after a Queue Manager has been created.)
E.g.: # grep LogType /var/mqm/qmgrs/MYQMGR/qm.ini
LogType=LINEAR
Tags: MQSeries, Sun Solaris
Related entries:
- How to rebuild Solaris Device Tree
- Installing and Configuring MySQL on Solaris 10 with Service Management Facility
- Using ZFS for Zone Backups or Snapshots
- How to get access to the parallel port from a freshly installed system
- Moving a harddisk with a Sun Solaris 9 installation from one x86 machine to another
Last update: 2009-06-19 17:12
AuthorLuke Francis
Revision: 1.0
You cannot comment on this entry