Friday, January 15, 2010
ROLLBACK SCRIPT ON AIX
AIX TL/ML Reject Script ( In applied state)
Rollback
D=/tmp;installp -s | awk '{print $1"\t" $3 }'>$D/AIX.REJ;installp -rgX -f $D/AIX.REJ;rm $D/AIX.REJ &
Rollback Preview
D=/tmp;installp -s | awk '{print $1"\t" $3 }'>$D/AIX.REJ;installp -rpg -f $D/AIX.REJ;rm $D/AIX.REJ &
Details of the Script
# Assigning tmp directory to D
# Moving the file list in applied state to AIX.REJ file by filtering 1st and 3rd column of the output installp -s in tmp directory
# Rollback with the help of the command with the file list available in AIX.REJ
# Removing the file AIX.REJ
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment