Lesson 1: Patching
Steps before Patching
Patching Steps
1- Show the server owner the package that will be installed.
2- Request downtime from the server owner.
3- If the server is a virtual machine, create a snapshot. If it is a physical
server, try to remove the hard disk manually.
4- Check if the cluster has a fence, and put it on standby if it does.
5- Make sure that the server has an NFS file system.
BEFORE PATCHING :
#mkdir /root/patch_$(date +"%Y%m%d")
#df -Th > /root/patch_$(date +"%Y%m%d")/df_output
#cat /etc/fstab > /root/patch_$(date +"%Y%m%d")/fstab_output
#lsblk -p > /root/patch_$(date +"%Y%m%d")/lsblk_output
#uname -a > /root/patch_$(date +"%Y%m%d")/uname_output
#cat /etc/redhat-release > /root/patch_$(date +"%Y%m%d")/redhat_output
#cat /etc/exports
#uptime -p
#who
#yum update
#init 6
After PATCHING :
#uptime -p
#mount -a