Environment
Sentinel 8.2 CAF HA Appliance Sentinel Server
Situation
Missing RPMs after running the post-migration utility
Resolution
Create file and script that will be needed for the subsequent steps below.
1. missingrpms.txt -- list of rpms that are to be installed
add the following text and save the file.cluster-md-kmp-defaultdlm-kmp-defaultfence-agentshawk-templatesipvsadmldirectordlibdlm-libdlm3libexpat1-32bitlighttpdocfs2-kmp-defaultpatterns-ha-ha_slespsshpython-pexpectpython-psshpython-requestspython-setuptoolspython-sudsrelease-notes-hasbdsle-ha-releasesle-ha-release-POOLspawn-fcgisqlite2yast2-clusteryast2-drbdyast2-iplb
2. getmissingrpms.sh -- script for installing the rpms mentioned in missingrpms.txt file
Add the following text to the script and save#!/bin/bashzypper ar -c -t yast2 "iso:/?iso=/tmp/SLE-12-SP3-HA-DVD-x86_64-GM-CD1.iso" "Sentinel HA Missing RPMS"zypper ar -c -t yast2 "iso:/?iso=/tmp/SLE-12-SP3-Server-DVD-x86_64-GM-DVD1.iso" "Sentinel CAF Missing RPMS"for eachfile in $(cat missingrpms.txt)doecho $eachfilerpm -qa | grep $eachfileif [ $? -ne 0 ]thenecho $eachfile is not installed and hence installingzypper in $eachfilefidonezypper rr "Sentinel HA Missing RPMS"zypper rr "Sentinel CAF Missing RPMS"
Do the following steps on all the HA nodes one by one:
1. Login as 'root' user2. Download SLE-12-SP3-HA-DVD-x86_64-GM-CD1.iso and SLE-12-SP3-Server-DVD-x86_64-GM-DVD1.iso to /tmp folder.3. Put the maintenance mode on HA nodes to true by using:
# crm configure property maintenance-mode=true
4. Using the script and text file previously created run the script getmissingrpms.sh as root user by using the command:
# ./getmissingrpms.sh | tee postmig_sentinel_82_ha_app_rpm_recovery.log
5. Reboot the machine to reflect the changes.6. Repeat steps 1 through 5 on the other nodes.7. After running the above for all HA nodes, put the maintenance mode on HA nodes to false using the following command:
# crm configure property maintenance-mode=false