Install REPO_AIX_7257_2346 by TSSA

chmod -Rf 755 /BEA_TMP
echo  "==============Start Patch Job====================\n" >> /BEA_TMP/AIX7257_installp.log
hostname >>/BEA_TMP/AIX7257_installp.log
date >> /BEA_TMP/AIX7257_installp.log

echo  "==============Clear iFixes====================\n" >> /BEA_TMP/AIX7257_installp.log
emgr -r -L 1022104a >> /BEA_TMP/AIX7257_installp.log
emgr -r -L IJ45056m6a >> /BEA_TMP/AIX7257_installp.log
emgr -r -L IJ47597m6a >> /BEA_TMP/AIX7257_installp.log
installp -c ALL
echo  "==============End Clear iFixes====================\n" >> /BEA_TMP/AIX7257_installp.log

echo  "==============1st Start Patch====================\n" >> /BEA_TMP/AIX7257_installp.log
install_all_updates -c -Y -d /BEA_TMP/AIX7.2.5.7 >> /BEA_TMP/AIX7257_installp.log
echo  "==============1st End Patch====================\n" >> /BEA_TMP/AIX7257_installp.log
echo  "==============2nd Start Patch====================\n" >> /BEA_TMP/AIX7257_installp.log
install_all_updates -c -Y -d /BEA_TMP/AIX7.2.5.7 >> /BEA_TMP/AIX7257_installp.log
installp -c ALL

echo  "OSLevel:`oslevel -s`" >> /BEA_TMP/AIX7257_installp.log
echo  "==============2nd End Patch====================\n \n \n \n \n \n \n \n \n \n" >> /BEA_TMP/AIX7257_installp.log


/usr/bin/mailx -s "3PDM-OP-`hostname`-AIX7.2.5.7 OS Patch Installation-`date '+%Y%m%d %H%M%S'`" USS-UNXA@hkbea.com , uss-patch@hkbea.com  < /BEA_TMP/AIX7257_installp.log
echo  "==============Sent Email====================\n" >> /BEA_TMP/AIX7257_installp.log
echo  "==============End Patch Job====================\n" >> /BEA_TMP/AIX7257_installp.log
chmod -Rf 755 /BEA_TMP
posted @ 2025-08-26 20:16  k98091518  阅读(6)  评论(0)    收藏  举报