Ans:

Maintenance Level :
A Maintenance Level (ML) is the service updates that are necessary to upgrade the base operating system (BOS) or an optional software product to the current release level.
Technology Level :
MLs are replaced by Technology Levels (TLs). A Technology Level (TL) is the new term for the twice yearly AIX 5L releases.Installing a TL should be viewed as an "all or nothing" operation.
alt_disk_install
The alt_disk_install command allows users a way to update the operating system to the next release or Technology Level without taking the machine down for an extended period of time. This can be done in two ways: by installing a mksysb image on a separate disk, or by cloning the current system and then applying updates to get to the next Technology Level on a separate disk. If a problem is encountered with the new level, the bootlist command can be run after the new disk has been booted, and the bootlist can be changed to boot back to the original disk in order to get the system back to the original level.
#oslevel -r command tells you what ML or TL you are running.
determine which fileset updates are missing by using the command.
#oslevel -rl 5300-05
How do I determine if all filesets of an ML or TL are installed?
#instfix -i|grep ML and/or instfix -i|grep TL
How do I determine if a particular fix is installed on my system?
#instfix -ik IY24045
How do I verify that the filesets have the required prerequisites and are completely installed?
#lppchk -v
To install selected updates, use the command:
#smit update_by_fix
To install all updates, use the command:
#smit update_all
Patching Implementation:
Check all LVs in rootvg are mirrored except dumplvs, if not mirror it.
Unmirror the rootvg & remove hdisk1 from rootvg
#unmirrorvg rootvg hdisk1
Check the bootlist & set to hdisk0
#bootlist -m normal –o
#bootlist –m normal hdisk0
Check the sysdump & set primary to hd6 & secondary to sysdumpnull
#dtem:@:/root: sysdumpdev
primary /dev/dumpdev
secondary /dev/dumpmirr
copy directory /var/adm/ras
forced copy flag TRUE
always allow dump FALSE
dump compression ON
#sysdumpdev -P -p /dev/dumpdev
#sysdumpdev -P -s /dev/sysdumpnull
Remove dumpmirr & loglv00 from hdisk1 & remove the disk from rootvg.
#rmlv dumpmirr
#rmlv loglv00
#reducevg rootvg hdisk1
Start alt disk installation
#alt _disk _install -C hdisk1
Change the bootlist to hdisk1 & reboot the server
#bootlist –m normal hdisk1

#bosboot –ad /dev/hdisk1
#bootlist –m normal hdisk1
#shutdown –Fr
Start with TL upgrade
Once server up check bootlist & ensure that it is booted from hdisk1
#bootinfo -b
nfs mount file sets from NIM into any temporary directory
#mount NIM:/exports/fixes /patch
# inutoc .
Before installing or updating any fileset(s), ensure that there are no “Broken” or “Applied” packages or patches that could cause a problem, or conflict with the new software. Enter:
# installp –s
The above filesets will need to be committed before applying the patching, by using the smitty commit option.
Failed installations can also be cleaned-up from the command-line using:
#installp 2>&1 –C
To reject fixes from the command-line use:
#installp –r
#smit update_all ………….first check the preview & then update all
#instfix –i
grep ML ……….check all TL level are installed properly, if found anything missing install that fileset
After installing patches successfully reboot the box by checking bootlist
Monitor server for two days & then mirror rootvg again
#mirrorvg rootvg hdisk0
#bottlist –m normal hdisk0
#bosboot –ad /dev/hdisk0
Create dumpmirr LV & set sysdump
#sysdumpdev –P –p /dev/dumpdev
#sysdumpdev –P –s /dev/dumpmirr
Welcome Suggestions!
No comments:
Post a Comment