AIX System/Symitar Upgrade Preparation for OpCon
Use this document if performing one of the following functions:
- AIX upgrades
- Applying firmware updates
- Setting up a backup or failover system
- Applying a Symitar Upgrade
Overview
Perform the following procedures for each Symitar box you are upgrading.
Installing AIX completely replaces the operating system, including the /(root)
file system in addition to /usr
, /var
, and /opt
. You will need to reinstall any software placed in these file systems by third parties (including software by third-party web developers) that was not obtained through Symitar. If you do not copy the /ops/bin
and /usr/local/lsam
directories into an area saved by the AIX install (e.g., /SY</OP
or a home directory), you will need to reinstall RSJ and
the LSAM software to your host before attempting to run OpCon jobs on the upgraded server.
Simply performing a rcp copy will not properly install and configure SMA’s software. Failure to follow proper procedures will result in downtime.
Validate sufficient space is available in all mounted partitions
- Log on to the old host as root.
- Issue the following command in a command window (telnet session): df
- Validate that all entries in the
%Used
and%Iused
are less than 90%. If any partition is more that 90% used in free space or free inodes, then files will need to be deleted by Symitar before proceeding. An alternative solution is to increase the size of the partition(s). A common symptom of insufficient space is that tar will give a premature end of file (EOD) message.
Validate Symbolic link to LSAM
- Issue the following commands in a command window:
cd /usr/local
ls -l
Then, press Enter.- Make note of WHERE the link of the LSAM is pointing. It should appear similar to the following:
lsam -> /usr/local/lsam_<version>
Validate the LSAM Port in Enterprise Manager
The default Port (Socket Number) for the OpCon LSAM is 3100. In some cases, you may have the LSAM on a different Port. This document assumes Port 3100. If your Port does not match, replace all commands for 3100 with the Port specified in Enterprise Manager for your LSAM.
- Open Enterprise Manager.
- Under the Administration topic, double-click Machines.
- Under Select Machine, select the UNIX Machine to be upgraded from the drop-down list.
- Under General Settings, make note of the Socket Number specified.
To save SAM OpCon/xps Files located in /ops/bin and /usr/local/lsam
UNIX is case-sensitive. Please enter all commands in the case presented.
- Disable Job Starts to the machine.
- Wait for all jobs to finish for that machine.
- Mark the AIX machine down in OpCon/xps.
- Log on to the old host as root.
- Issue the following commands in a command window :
cd /usr/local/lsam
(or where your LSAM is located).bin/lsam3100 stop
cd /
tar -cvf /tmp/sma_ops.tar ops
cd /usr
tar -cvf /tmp/sma_local.tar local
- Re-validate that sufficient space exists in all disk partitions and that no premature end of file (EOF) messages were received during the tar process.
- From a PC, transfer the files
/tmp/sma_ops.tar
and/tmp/sma_local.tar
via FTP to the PC in binary mode.
Failure to transfer the files in binary mode will cause corruption to the tar files.
To restore SMA Files
- In binary mode, transfer the file
sma_ops.tar
andsma_local.tar
to/tmp
on the Symitar box. Failure to transfer the files in binary mode will cause corruption to the tar files. - Issue the following commands in a command window :
cd /
tar -xvf /tmp/sma_ops.tar
- Verify files exist in ops/bin by entering the following: ls –l /ops/bin
cd /usr
tar -xvf /tmp/sma_local.tar
- Verify files exist in usr/local/lsam/bin by entering the following : ls –la /usr/local/lsam/bin
- Run the following command to insure that the agent will start automatically when the host is rebooted:
cd /usr/local/lsam
- then enter:
bin/install_lsam_service
pwd3100
The ``` around pwd is a tick not a single quote. This symbol is located above the left-hand Tab key.
- If the procedure above does not work, run the following command:
cd /usr/local/lsam
- then enter:
./bin/install_lsam_service
pwd3100
- Start your UNIX LSAM then enter the following in a command window:
cd /usr/local/lsam
- then enter:
bin/lsam3100 start
- Start Communication for the UNIX machine in OpCon using the following steps:
- Open Enterprise Manager.
- Under the Administration topic, double-click Machines.
- Under Select Machine, select the UNIX Machine to be started.
- Under Communication Status, right-click over the graphic to enable the menu, then click Start Communication.