Beruflich Dokumente
Kultur Dokumente
AIX software
installation and maintenance
AIX
AIX Toolbox for Linux
AIX
Mozilla Firefox Browser
LPP
Base Operating
System Component
bos
Package
Base Networking
package
bos.net
TCP/IP collection
of filesets
bos.net.tcp
bos.net.tcp.server
Fileset
TCP/IP Server fileset
‘the smallest unit’
## /usr/sys/inst.data/sys_bundles
/usr/sys/inst.data/sys_bundles ## cat
cat openssh_server.bnd
openssh_server.bnd
## MEDIA="Expansion
MEDIA="Expansion Pack"
Pack"
I:openssl.base
I:openssl.base
I:openssl.man.en_US
I:openssl.man.en_US
I:openssh.base.server
I:openssh.base.server
I:openssh.man.en_US
I:openssh.man.en_US
• There are four distinct software levels and management for AIX.
– Base level
– Technology level (TL)
– Service pack (SP)
– Interim fixes
Fix Packs
Interim
Base Technology Service packs
+ fixes
AIX Level level
(Contain APARs)
## oslevel
oslevel -s
-s
6100-02-01-0847
6100-02-01-0847
Service Pack
AIX Level Release date
VRMF for example, 47th week
in 2008
Service Pack
Technology
Level
• To upgrade from one AIX version and release to another, for example,
AIX 5.3 to AIX 6.1, a migration must be performed.
• New TLs or SPs are applied through updates.
AIX
6.1.1.1 Saved
6.1.1.1
bos.net.tcp.adt
Action: Apply Committed
6.1.1.2 Reject
6.1.1.2 Applied or
AIX
Commit
6.1.1.2
Committed
## lslpp
lslpp -L
-L |grep
|grep bos.net.tcp.server
bos.net.tcp.server
bos.net.tcp.server
bos.net.tcp.server 6.1.1.1
6.1.1.1 CC FF TCP/IP
TCP/IP Server
Server
• smit install_all
• installp
– a (apply), -c (commit), -p (preview), -g (apply prerequites), -X (expand
filesystems, if needed), -Y (accept license agreements), -d (device or
directory location of software)
## installp
installp -acpgXYd
-acpgXYd .. bos.rte.install
bos.rte.install
## installp
installp -acpgXYd /TL02_SP01
-acpgXYd /TL02_SP01 all
all
• geninstall
– I (use installp flags, as described above), -p (preview), -d (device or
directory location of software)
## geninstall
geninstall -I
-I "-acgXY"
"-acgXY" -p
-p -d
-d .. bos.rte.install
bos.rte.install
## geninstall
geninstall -I "-acgXY" -p -d /TL02_SP01
-I "-acgXY" -p -d /TL02_SP01 all
all
## rpm
rpm –qa
–qa
## rpm
rpm --nodeps
--nodeps -e
-e cairo-1.0.2-6
cairo-1.0.2-6
## rpm
rpm -i
-i bash-3.2-1.aix.ppc.rpm
bash-3.2-1.aix.ppc.rpm Install
package
• Ideally, all systems should be at the latest fix pack (TL and SP level).
• IBM recommends installing the complete fix pack.
• System updates can be applied through smit update_all or using
geninstall or installp commands.
Some items
smitty update_all
smitty update_all
removed for
* INPUT device / directory for software /updates
clarity
* INPUT device / directory for software /updates
* SOFTWARE to update _update_all
* SOFTWARE to update _update_all
PREVIEW only? (update operation will NOT occur) yes +
PREVIEW only? (update operation will NOT occur) yes +
COMMIT software updates? no +
COMMIT software updates? no +
SAVE replaced files? yes
SAVE replaced files? yes
• installp, example:
OR ––
OR
Commit all
# installp –c all Applied
# installp –c all
software (-c)
Installation Summary
Installation Summary
--------------------
--------------------
Name Level Part Event Result
Name Level Part Event Result
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
cluster.doc.en_US.es.pdf 5.4.1.0 USR COMMIT SUCCESS
cluster.doc.en_US.es.pdf 5.4.1.0 USR COMMIT SUCCESS
• smit remove
Remove Installed Software
Remove Installed Software
[Entry Fields]
[Entry Fields]
* SOFTWARE name [cluster.es.cspoc.cmds] +
* SOFTWARE name [cluster.es.cspoc.cmds] +
PREVIEW only? (remove operation will NOT occur) yes +
PREVIEW only? (remove operation will NOT occur) yes +
REMOVE dependent software? yes +
REMOVE dependent software? yes +
EXTEND file systems if space needed? no +
EXTEND file systems if space needed? no +
DETAILED output? no +
DETAILED output? no +
http://www14.software.ibm.com/webapp/set2/flrt/home
© Copyright IBM Corporation 2009
Unit summary
IBM Power Systems