Sei sulla pagina 1di 4

AIX 6.

1 TL Upgrade Using MultiBOS


AIX 6.1 TL Upgrade Using MultiBOS
Overview
This work-instruction provides a detailed step-by-step procedure for
upgrading the AIX 6.1 TL using Multibos.
Required

ROOT permissions on the system to be upgraded


Access to the location where the upgrade image is stored
Adequate disk space to create and upgrade a 2nd bos

Work Instruction Overview

1. PreRequisite checks on the server to be upgraded

2. Create a backup

3. Check if there is an EFIX lock on: sysmgt.cimserver.pegasus.rte

4. Preview/Create the multibos standby BOS instance

5. Preview/Patch the OS in the standby instance

6. Verify the oslevel in the standby instance after the update

7. Optionally: If required to return to the pre-update BOS image.

Work Instruction Detail


1. PreRequisite checks on the server to be upgraded
a. Check the current O/S level:
oslevel s
oslevel -sq|pg (this shows the SP that are installed see below)
root@ca2appobitst02 # oslevel -sq|pg
Known Service Packs
------------------6100-07-04-1216 (note the top one
6100-07-03-1207

and use it in the command below)

oslevel -sl 6100-07-04-1216 (this will show if there are any issues with the filesets
associated with the SP level, if there are any listed, then the present upgrade will fail
until these are resolved see below)
root@ca2appobitst02 # oslevel -sl 6100-07-04-1216
Fileset
Actual Level
Service Pack Level
----------------------------------------------------------------------------X11.fnt.ucs.ttf
6.1.7.1
6.1.7.15
X11.fnt.ucs.ttf_extb
6.1.7.1
6.1.7.15
bos.loc.com.utf
6.1.7.0
6.1.7.15
bos.loc.utf.EN_US
6.1.7.0
6.1.7.15

b. Verify the current os install:

AIX 6.1 TL Upgrade Using MultiBOS

Page 1 of 4

AIX 6.1 TL Upgrade Using MultiBOS

c.

lppchk -v
Health check and gather server details:

./oracle_patches/andrew/Health_check >> /tmp/server_name_health_check.out


(where server_name is the system_name)
d. Boot Image Verification
The hd5 logical volume holds your boot image. Before starting your update process,
find out which disk contains your hd5 logical volume.
lslv -m hd5
hd5:N/A
LP PP1 PV1
0001 0001 hdisk0

e. Next, verify your boot image it can be successfully recreated using the hdisk#
from above and by using /dev/ipldevice.
bosboot -ad /dev/hdisk0
bosboot: Boot image is 35795 512 byte blocks.

bosboot -ad /dev/ipldevice


bosboot: Boot image is 35795 512 byte blocks.

Note: If either of these two commands fail for any reason, please call the IBM
support center for resolution before proceeding.

2. Create a backup
If something should go wrong, it is good to have a backup. The following backup is preformed
from a NIM master server, backing up the client (power2) that will be updated.
mksysb -i -e /oracle_patches/mksysb_den/server_name.mksysb.6.1.7
(where server_name is the system name)

3. Check if there is an EFIX lock on: sysmgt.cimserver.pegasus.rte


By executing the following command:
/usr/sbin/emgr P
If there is a lock remove the given EFIX by executing the following command:
/usr/sbin/emgr -r -L <EFIX label>
Example: /usr/sbin/emgr -r -L 814132

4. Preview/Create the multibos standby BOS instance


Remove any pervious stanby BOS instances, so we can update a clean environment.
multibos -R

AIX 6.1 TL Upgrade Using MultiBOS

Page 2 of 4

AIX 6.1 TL Upgrade Using MultiBOS

Return Status = SUCCESS

Create a standby BOS (Base Operating System) instance using the multibos command.
Initially you should run a preview operation:
multibos -Xsp
Return Status = SUCCESS

Now we actually run the command without preview mode. This may take a while even two.
multibos -Xs
We can actually now enter the secondary BOS instance like a chroot and check the oslevel:
multibos S
6100-07-04-1216

5. Preview/Patch the OS in the standby instance


Preview TL update
multibos -Xacp -l /oracle_patches/infradir/patches/6100-TL8SP3
Log file is /etc/multibos/logs/op.alog
Return Status = SUCCESS

Now we can run the update without the -p option


multibos -Xac -l /oracle_patches/infradir/patches/6100-TL8SP3
Return Status = SUCCESS

6. Verify the oslevel in the standby instance after the update


Check the oslevel:
multibos -S
6100-08-03-1339

NOTE: A System reboot will be required to activate the upgraded BOS

7. Optionally: If required to return to the pre-update BOS image.


If necessary you can return to the initial TL, just change the boot order:
bootlist -m normal -o
hdisk0 blv=hd5 pathid=0
hdisk0 blv=bos_hd5 pathid=0
bootlist -m normal hdisk0 blv=bos_hd5 hdisk0 blv=hd5
bootlist -m normal -o
hdisk0 blv=bos_hd5 pathid=0
hdisk0 blv=hd5 pathid=0
oslevel -s
6100-08-03-1339

AIX 6.1 TL Upgrade Using MultiBOS

Page 3 of 4

AIX 6.1 TL Upgrade Using MultiBOS

Reboot the server and check with oslevel.


oslevel -s
6100-07-04-1216

The OS is now back on the initial TL.

AIX 6.1 TL Upgrade Using MultiBOS

Page 4 of 4

Potrebbero piacerti anche