To apply this CSD: ENSURE ALL MQSERIES PROCESSES ARE ENDED! Use ps -ef to verify this. The CSD consists of 3 related PTFs: U474364, U474521, and U475025. This set of PTFs forms a complete replacement for any previous CSD that you have applied to your MQSeries for AIX V5.2 installation. These PTFs (U474364, U474521, and U475025) contain updates to the following components of MQSeries for AIX: U474364 mqm.base.runtime MQSeries Runtime support for Client and Server U474521 mqm.server.rte MQSeries server U475025 mqm.dce.server MQSeries support for DCE in server Each of these PTFs supersedes any previous PTF for earlier CSDs for the same component to which it is applicable. If you have installed one or more of the above components on your system then you will require the corresponding PTF for each of the components that you have installed on your system. You do not need a PTF from the above list if you have not installed the corresponding component, but you will not be able to install the CSD if you try to do so without one of the PTFs corresponding to a component that you have previously installed on your system. The PTFs have been processed by the tar program and then compressed. To prepare for installation: 1) download the file U474364.tar.Z to your local drive in binary format 2) uncompress the file: uncompress U474364.tar.Z 3) run the tar program against the uncompressed file: tar -xvf U474364.tar 4) this will create the 3 separate PTFs in this CSD and you should select and install the subset of those PTFs that you need for your installation. >> Note: >> ===== >> >> This PTF has been refreshed on 6th June because the original >> packaging for the ftp site omitted the strmqm executable. >> >> If you installed the earlier version of this PTF then you >> can either remove the original PTF and reinstall the new PTF >> or alternatively you can download the additional executable >> from the file U474364.strmqm.tar.Z and install the >> library as follows: >> (1) Uncompress and tar the compressed tar file U474364.strmqm.tar.Z into a temporary directory (2) Do not have queue managers running while you are applying or removing maintenance updates to MQSeries for AIX V5.2. (3) Use 'slibclean' to remove any existing MQSeries shared memory and/or semaphores before applying or removing maintenance updates to MQSeries for AIX V5.2. (4) Take a backup copy of the strmqm executable on your system. (5) Copy over the new version of this executable to your system after making a secure backup copy of the original executable. (6) Restart the queue managers. Applying Maintenance to MQSeries for AIX V5.2 --------------------------------------------- These steps will ensure that you are left with files that are installable using the normal install method for your platform. +--- ATTENTION -----------------------------------------+ | | | Do not have any queue managers operating during | | installation of maintenance on MQSeries for AIX V5.2. | | | | Remove any existing MQSeries shared memory and/or | | semaphores before applying or removing maintenance | | updates to MQSeries for AIX V5.2. | | | +-------------------------------------------------------+ | | | To end all running queue managers: | | | | 1. End the queue manager by issuing the command: | | | | endmqm -i QMgrName | | | | 2. Check that the queue manager has ended. | | | | Use the command: | | | | endmqm -w QMgrName | | | | The message returning should show that the queue | | manager is not available. | | | | Alternatively, use the command: | | | | ps -ef | grep mq | | | | where | is the pipe symbol. Check that there are | | no processes listed that are running command | | lines commencing "amq" or "runmq". Ignore any | | that start with "amqi". | | | | 3. Issue the IPCS -A command to identify any shared | | memory segments or semaphore sets that were | | created by MQSeries. Remove these using the | | IPCRM command. | | | +-------------------------------------------------------+ SPACE REQUIREMENTS ------------------ The installation process for this PTF requires 9MB of disk space for installation. In addition, the installation process requires an additional 9MB of disk space to save the previous level. This allows a PTF to be removed, and the previous level to be automatically restored. REMOTE INSTALLATION ------------------- To install MQSeries for AIX on a remote machine, you can use standard AIX techniques. If you are not familiar with these techniques, this is what you have to do. First, you have to create an installation image in backup format, and then use INSTALLP or SMIT to install the product. To be able to do this, you must be logged on to both systems as root. The product CD-ROM must be in the CD-ROM drive of the machine from which you are going to take the copy. Follow this procedure for each target machine on which you want to install the product: 1. Create a "cdrom" file system on the local machine, by issuing the command "smitty crcdrfs". 2. Mount the cdrom file system on the local machine by issuing the command "mount /cdrom". 3. Log on to the remote machine and issue the NFS command "mount local_machine:/cdrom" to mount the cdrom file system that you created. where local_machine is the Id of the machine from which you are installing. 4. Use the standard AIX installation procedures, for example SMIT, to install MQSeries for AIX from the target directory that you specified. REINSTALLING MQSERIES FOR AIX ----------------------------- If you reinstall MQSeries for AIX, a check is made to see if the MQSeries configuration file ("mqs.ini") exists. If the file exists, it is kept and used with the newly installed system. If the file does not exist, an empty "mqs.ini" file is placed in the directory "/var/mqm". INSTALLING A PTF USING SMIT --------------------------- Installing a PTF (program temporary fix): 1. Log in as root (or use command su) 2. Select the device appropriate for your installation using this sequence of windows: smit Software Installation and Maintenance Install and Update Software Install/Update From All Available Software Alternatively, enter the fastpath command: smitty install_update 3. Type or select a value for the entry field: INPUT device / directory for software Use PF4 to display a list of valid values: /dev/fd0 (Diskette Drive) /usr/sys/inst.images (Install Directory) /dev/rmt0.1 (Tape Drive) /dev/cd0 (CD-ROM Drive) 4. Complete the following fields: SOFTWARE to install Enter ALL to install all applicable fileset updates to your installation. NOTE: Although there is an option to apply only selected fileset updates for MQSeries for AIX, this still results in all applicable fileset updates for the PTF being applied. 5. This will apply the PTF, and save a backup copy of the current level of MQSeries for AIX. If, at a later time, you want the chance to choose to commit the PTF updates, or reject the PTF updates and return to the backup level, you MUST ensure that: o The 'COMMIT software updates' value is set to 'no'. o The 'SAVE replaced files' value is set to 'yes'. Press Enter to display a confirmation message, prior to starting the update. The command will run, display progress messages, and should complete without problems. These progress messages terminate with an Installp Summary table, confirming which components of MQSeries for AIX have been updated. If the command does not complete successfully, then a full error log is saved in the file smit.log in your HOME directory. 6. The same process applies to MQI client installations. Refer to Chapter 2 "Preparing for Installation" in the MQSeries Clients book for more information about client installation. RESTORING THE PREVIOUS SERVICE LEVEL ------------------------------------ When, after installing a PTF, any component of MQSeries for AIX is in APPLIED state, the PTF can be backed-out and these selectable components can be restored to the previous service/install level. To back-out a PTF: 1. Log in as root (or use command su) 2. To display the appropriate SMIT panel, enter: smit Software Installation and Maintenance Maintain Installed Software Reject Applied Software Updates (Use Previous Version) Alternatively, enter the fastpath command: smitty install_reject 3. Complete the following fields: SOFTWARE name Enter MQM to restore all applicable fileset updates to your installation. NOTE: Although there is an option to restore only selected fileset updates for MQSeries for AIX, this still results in all applicable fileset updates for the PTF being restored. 4. You are recommended to use the displayed default values for all other fields. This will reject the current PTF level and reinstate the previous service or install level. Press ENTER to display a confirmation message, prior to starting the reject. The command will run, display progress messages, and should complete successfully. These progress messages terminate with an Installp Summary table, confirming which components of MQSeries for AIX have been rejected. REMOVING THE MQSERIES INTERNET GATEWAY -------------------------------------- After removing the Web server configuration, as described in the MQSeries Internet Gateway User's Guide: 1. Log in as root (or use the command su). 2. To display the appropriate SMIT panel, enter: smit Software Installation and Maintenance Maintain Installed Software Remove Software Products Add the following to the "Remove Software Products" screen: SOFTWARE name dmqgate.runtime PREVIEW only no Leave the other entries with the default settings, and press Enter to remove the product.