Le présent document rappel les différentes opérations concernant l'installation de package sous AIX.
Il présente aussi les commandes permettant de lister les packages installés sur le système et vérifier la cohérence.
installp -s all
0503-459 installp: No filesets were found in the Software
Vital Product Database in the APPLIED state.
Installp -a -X -e log -f fichier
Installp -a -X -B -e log -f fichier
Installp -c -e log -f fichier
Installp -r -e log -f fichier
Installp -u -f fichier
Installp -C -b -f fichier
#lslpp -L all ... bos.pmapi.tools 7.1.2.15 C F Performance Monitor API Tools bos.rte 7.1.2.15 C F Base Operating System Runtime bos.rte.Dt 7.1.0.0 C F Desktop Integrator bos.rte.X11 7.1.0.0 C F AIXwindows Device Support bos.rte.aio 7.1.2.15 C F Asynchronous I/O Extension bos.rte.archive 7.1.2.15 C F Archive Commands
#lslpp -l
...
X11.samples.common 7.1.0.0 COMMITTED AIXwindows Imakefile Structure
for Samples
bos.64bit 7.1.2.15 COMMITTED Base Operating System 64 bit
Runtime
bos.acct 7.1.2.15 COMMITTED Accounting Services
bos.adt.base 7.1.2.15 COMMITTED Base Application Development
Toolkit
bos.adt.include 7.1.2.15 COMMITTED Base Application Development
Include Files
...
#lslpp -h
bos.txt.spell.data
7.1.0.0 COMMIT COMPLETE 04/20/12 15:50:50
bos.txt.tfs.data
7.1.0.0 COMMIT COMPLETE 04/20/12 15:50:50
devices.common.IBM.modemcfg.data
7.1.0.0 COMMIT COMPLETE 04/20/12 15:50:02
#lslpp -h perl.rte
Fileset Level Action Status Date Time
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
perl.rte
5.8.8.120 COMMIT COMPLETE 10/10/11 10:48:41
5.8.8.122 COMMIT COMPLETE 07/09/12 11:04:04
Ces commandes sont destinées à vérifier le niveau et la cohérence du système AIX.
#oslevel -r 7100-02 #oslevel -s 7100-02-02-1316
Depuis AIX 5.3 ML06 , on parle de version AIX 7.1 puis de TL (ici 2) puis de SP (la troisième valeur 02).
La dernière valeur indique la version.
#instfix -i | grep -i ML
All filesets for 7.1.0.0_AIX_ML were found.
All filesets for 7100-00_AIX_ML were found.
All filesets for 7100-01_AIX_ML were found.
All filesets for 7100-02_AIX_ML were found.
#lppchk -v -m3
Il s'agit de la vérification complète (le niveau défini par l'option m va de 1 à 3).
#lppchk -f lppchk: 0504-206 File /opt/itlm/properties/version/IBM_License_Metric_Tool_and_Tivoli_Asset_Discovery_for_Distributed_Agent.7.5.0.cmptag could not be located. lppchk: 0504-206 File /opt/itlm/properties/version/IBM_License_Metric_Tool_and_Tivoli_Asset_Discovery_for_Distributed_Agent.7.5.0.swtag could not be located. #lppchk -l lppchk: 0504-222 Existing symbolic link at /usr/lib/libxdsm.a is not a link to /usr/ccs/lib/libxdsm.a.