====== IBM ILMT (License Metric Tool) ======
**IMPORTANT:** use full qualified hostname
https://ibm.biz/LMT_license_request
Log4j CVE
https://www.anglepoint.com/blog/log4j-solution-for-ilmt-and-bigfix-inventory-vulnerability/
https://www.ibm.com/support/pages/downloading-ibm-license-metric-tool-92
Detailed Disk Space Requirements :
^Partition^Needed Space^Free Space
|/home|35.2 GB|
|/var|2.2 MB|
|/tmp|385.0 MB|
|/var/opt|6336.0 MB|
|/|2.2 MB|
|/opt|9717.4 MB|
My partition setup:
[root@ilmtsrv01 home]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 1014M 345M 670M 34% /boot
/dev/sda1 599M 5.8M 594M 1% /boot/efi
/dev/mapper/rhel_rootvg-root 10G 5.6G 4.5G 56% /
/dev/mapper/rhel_rootvg-usr 5.0G 4.3G 714M 87% /usr
/dev/mapper/datavg-homelv 36G 318M 36G 1% /home
/dev/mapper/rhel_rootvg-tmp 4.0G 743M 3.3G 19% /tmp
/dev/mapper/rhel_rootvg-var 5.0G 430M 4.6G 9% /var
/dev/mapper/datavg-optlv 10G 2.3G 7.8G 23% /opt
/dev/mapper/datavg-varoptlv 20G 175M 20G 1% /var/opt
Linux packages required:
unixODBC
libpng12
libnsl
pam
libstdc++.i686
numactl
Uncompress the package provided by IBM, and start the setup
[root@ilmtsrv01 ILMT]# ./setup-server-linux-x86_64.sh
A graphical interface will open
==> accept
==> choose ILMT and BigFix
==> set password for users : db2inst1 (DB2 instance), IEMAdmin (BigFix console), and admin (ILMT)
Now you can install the BigFix console, and also access ILMT using web browser
Now update licences:
[root@ilmtsrv01 bin]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/BESServer/bin
[root@ilmtsrv01 bin]# /opt/BESServer/bin/BESAdmin -syncmastheadandlicense -sitePvkLocation=/software/LicenseAuthorization_152291748_Create.BESLicenseAuthorization.pvk -sitePvkPassword='xxxxxxxx'
23UnknownMastheadLocation
===== Uninstall =====
Stop all process
/etc/init.d/LMTserver stop
/etc/init.d/besfilldb stop
/etc/init.d/besgatherdb stop
/etc/init.d/besserver stop
/etc/init.d/beswebreports stop
/etc/init.d/besclient stop
Uninstall ILMT
/opt/ibm/LMT/Uninstall/uninstall.sh
A graphical windows will appear...Next...Next
Remove BigFix packages, and suppress database
[root@ilmtsrv01 ~]# rpm -qa | grep BES
BESAgent-10.0.4.32-rhe6.x86_64
BESWebReportsServer-10.0.4.32-rhel.x86_64
BESRootServer-10.0.4.32-rhel.x86_64
[root@ilmtsrv01 ~]# rpm -qa | grep BES | tac | xargs -n1 rpm -e
rm -rf /etc/opt/BES*
rm -rf /opt/BES*
rm -rf /tmp/BES
rm -rf /var/log/BES*
rm -rf /var/opt/BES*
su - db2inst1
db2 drop db BFENT
db2 drop db BESREPOR
db2stop
db2stop -force
exit
/opt/ibm/db2/V11.5/instance/db2idrop db2inst1
/opt/ibm/db2/V11.5/install/db2_deinstall -a
rm -rf /opt/ibm
rm -rf /var/db2
userdel -r -f db2inst1
userdel -r -f db2fenc1
groupdel -f db2iadm1
groupdel -f db2fadm1
rm -rf /root/.iem/
rm -rf /root/BigFix_license_*
===== Update BigFix / ILMT =====
==== Update ILMT =====