Vous êtes sur la page 1sur 2

In this scenario I ll be updating from 7100-00-02-1041 to 7100-01-00-0000.

Preview creation of multibos environment # multibos -Xsp Create multibos environment # multibos -Xs Connect to multibos environment # multibos -S Check version of OS MULTIBOS># oslevel s 7100-00-02-1041 Disconnect from multibos environment MULTIBOS># exit Mount NFS exported filesets with which to upgrade the new environment # mount server:/export/files /mnt Preview update of multibos environment # multibos -Xacp -l /mnt Update multibos environment # multibos -Xac -l /mnt But here we encountered a problem: installp: * * * A T T E N T I O N ! ! ! Software changes processed during this session require any diskless/dataless clients to which this SPOT is currently allocated to be rebooted. install_all_updates: Checking for recommended maintenance level 7100-01. install_all_updates: Executing /usr/bin/oslevel -rf, Result = 7100-01 install_all_updates: Verification completed. install_all_updates: Log file is /var/adm/ras/install_all_updates.log install_all_updates: Result = SUCCESS +-----------------------------------------------------------------------------+ Boot Partition Processing +-----------------------------------------------------------------------------+ Active boot logical volume is hd5. Standby boot logical volume is bos_hd5. Creating standby BOS boot image on boot logical volume bos_hd5 Could not load program ls: Symbol resolution failed for ls because: Symbol time64 (number 41) is not exported from dependent module /usr/lib/multibos_chroot/usr/ccs/lib/libc.a(shr.o). Examine .loader section symbols with the 'dump -Tv' command. /usr/sbin/bosboot[16]: kernsize /= 1024: bad number multibos: 0565-039 Error processing standby BOS boot image. ----------------------------------------------------------------------------+ Mount Processing +-----------------------------------------------------------------------------+ Unmounting all standby BOS file systems ... Unmounting /bos_inst/opt Unmounting /bos_inst/var Unmounting /bos_inst/usr Unmounting /bos_inst Log file is /etc/multibos/logs/op.alog Return Status: FAILURE The two words we all hate to see; FAILURE. Research revealed that this could be down to APAR IV03737. Since I was using AIX 7.1, I couldn t downgrade my version of bos.rte.bosinst. or at least, I didn t want to. Clearly this was the package we needed to focus on. The media we were proposing to use to move the multibos environment to 7100-01-0 0-0000 would contain the latest version of bos.rte.bosinst. Using this, we upgr aded bos.rte.bosinst. This reminded me of the Live Upgrade packages in Solaris. If you were upgrading Solaris 9 to Solaris 10, you had to have the Solaris 10 version of the Live Upgrade packages. So to fix this we selected the following

files from the lpp source and updated them. S:bos.rte.bosinst 7.1.1.0 S:bos.rte.bosinst 7.1.1.1 With those packages upgraded. You ll want to blow away the old multibos and start afresh. Remove the old multibos environment # multibos -R Create multibos environment # multibos Xs Update the new environment whilst you re travelling from the train station to your house: # nohup multibos -Xac -l /mnt & Unmount NFS # umount /mnt Check bootlist # bootlist -m normal -ov Verify the bootlist and ensure that the BLV is set to the standby BOS (bos_hd5). Check the correct BLV. Compare the output from bootlist with Welcome to AIX banner . Reboot the system now with the shutdown Fr command. After the reboot, confirm the T L level via oslevel r . Verify which BLV the system booted from with the bootinfo v mand. Multibos LVs and file systems are now open and mounted. The original file system s are renamed with a bos_ prefix but their original LV names are preserved. Backout If you need to back out of the update and return to the previous TL, all that's required is to boot the previous ( original ) BOS instance. Set the bootlist and v erify that the BLV is set to the previous BOS instance (hd5). # bootlist -m normal hdisk0 blv=hd5 hdisk0 blv=bos_hd5 # bootlist -m normal -o hdisk0 blv=hd5 hdisk0 blv=bos_hd5

com

Vous aimerez peut-être aussi