| Using smpatch |
|
After using the Sun update connection software and having lock-ups on several occasions, I have found it much easier and more reliable to use smpatch. Depending on your comfort with patching a system there are several options to make this process very manual or extremely automated. smpatch updates are split up by four main commands (add, update, download and anlayze) which allow you to either perform an update in one step or break down an update into multiple steps. smpatch add
smpatch update
smpatch download
smpatch analyze
Manual method I tend to use this method at times if I want to take my time and ensure each patch is installed successfully. Since I am patching productions systems I usually find it better to waste more of my time rather than finding a problem later on down the line. Still this is just more about personal comfort. Download the patches # smpatch download -i <PATCH ID> -i <PATCH ID> Install the patch # smpatch add -i <PATCH ID> -i <PATCH ID> Or download AND install the patches in one step # smpatch update -i <PATCH ID> -i <PATCH ID> Using an idlist file Analyze the system and create an idlist file # smpatch analyze > patch.list Once you have created the list you can edit your patches, taking anything out you no longer want and then perform your updates. # vi patch.list To perform your updates you can also use smpatch update. Note this can only be done in multi-user mode. # vi patch.list |
| Last Updated on Sunday, 26 October 2008 18:38 |

Comments