4.27 Comparer les filesets de deux serveurs

De UnixWiki
Aller à la navigation Aller à la recherche

Sur les deux machines récupérer la liste des filesets installées

 # ssh node2 "lslpp -Lc" > /tmp/node2
 # lslpp -Lc > /tmp/node1

Et les comparer:

 # compare_report -b /tmp/node1 -o /tmp/node2 -l
 #(baselower.rpt)
 #Base System Installed Software that is at a lower level
 #Fileset_Name:Base_Level:Other_Level
 bos.msg.en_US.net.ipsec:6.1.3.0:6.1.4.0
 bos.msg.en_US.net.tcp.client:6.1.1.1:6.1.4.0
 bos.msg.en_US.rte:6.1.3.0:6.1.4.0
 bos.msg.en_US.txt.tfs:6.1.1.0:6.1.4.0
 xlsmp.msg.en_US.rte:1.8.0.1:1.8.0.3

Options du compare_report

   -l   Generates a report of base system installed software that is at a lower level.
   -h   Generates a report of base system installed software that is at a higher level.
   -m   Generates a report of filesets not installed on the other system.
   -n   Generates a report of filesets not installed on the base system.