+

Search Tips | Advanced Search

IBM MQ for AIX configuration

Defining channels to complete the configuration.

Note:
  1. Before beginning the installation process ensure that we have first created the mqm user and group, and set the password.
  2. If installation fails as a result of insufficient space in the file system we can increase the size as follows, using the command smit C sna. (Use df to display the status of the file system. This indicates the logical volume that is full.)
    -- Physical and Logical Storage
      -- File Systems
        -- Add / Change / Show / Delete File Systems
          -- Journaled File Systems
            -- Change/Show Characteristics of a Journaled File System
    
  3. Start any channel using the command:
    runmqchl -c channel.name
    
  4. Sample programs are installed in MQ_INSTALLATION_PATH/samp, where MQ_INSTALLATION_PATH represents the high-level directory in which IBM MQ is installed.
  5. Error logs are stored in /var/mqm/qmgrs/ qmgrname /errors.
  6. On AIX , we can start a trace of the IBM MQ components by using standard IBM MQ trace commands, or using AIX system trace. See Use trace for more information about IBM MQ Trace and AIX system trace.
  7. When you are using the command interpreter runmqsc to enter administration commands, a + at the end of a line indicates that the next line is a continuation. Ensure that there is a space between the last parameter and the continuation character.


Basic configuration

  1. Create the queue manager from the AIX command line using the command:
    crtmqm -u dlqname -q aix
    
    where:

      aix
      Is the name of the queue manager

      -q
      Indicates that this is to become the default queue manager

      -u dlqname
      Specifies the name of the undeliverable message queue

    This command creates a queue manager and a set of default objects.

  2. Start the queue manager from the AIX command line using the command:
    strmqm aix
    
    where aix is the name given to the queue manager when it was created.
  3. Start runmqsc from the AIX command line and use it to create the undeliverable message queue by entering the command:
    def ql (dlqname)
    
    where dlqname is the name given to the undeliverable message queue when the queue manager was created.