What kind of steps should be followed while applying patch in real time?


 
Thread Tools Search this Thread
Operating Systems Solaris What kind of steps should be followed while applying patch in real time?
# 1  
Old 04-13-2010
What kind of steps should be followed while applying patch in real time?

Hi,

As in the solaris material i know that the patch is added through the command "patchadd <patch no.>".

But i need to know, what are all the steps we have to follow while applying a patch in a production server. My friend says that we have to detach mirror before applying patch and not telling me clearly about other steps.

Could any of you help me to find the steps to install patch in production server? Your answers will be helpful for people like me who are searching jobs in Solaris SA.
# 2  
Old 04-13-2010
The recommended way to patch a live Solaris 10 production server is live upgrade:
BigAdmin Sun Docs: How To Use Solaris Live Upgrade to Install Patches
# 3  
Old 04-13-2010
I don't patch a server real-time. I'm sure that there are multiple ways of doing this. Unfortunately, patching isn't 100% fool proof. I prefer this method over something like live upgrade because I have control over what I'm doing. A little CYA will pay off in the long run. I do something like this to patch a server when using SDS.
1) check hardware. reboot the server to ensure that it comes up cleanly
2) detach the mirror
3) remove the meta DB info from /etc/system
4) change the meta device info in /etc/vfstab to standard names and paths
5) boot off of the mirror to ensure the mirror is bootable
6) boot off the root disk
7) patch as needed
8) boot off the root disk
9) put meta DB and device info back into /etc/system and /etc/vfstab
10) boot off the metadevice
11) run server for a week
12) if all is good, re-establish root mirror
# 4  
Old 04-14-2010
Quote:
Originally Posted by garskoci
I prefer this method over something like live upgrade because I have control over what I'm doing.
I don't get that. You have control over what you are doing with live upgrade too. Your method is also inducing a service interruption time which might be unacceptable on a production system. Patching can take several hours to complete and live upgrade allows to do it while the system is running normally.
# 5  
Old 04-14-2010
As I said, "I" prefer this method. Sesha asked the question, I posted my method. It may be old school, but this is the method that "I" use. I'm not knocking Live Upgrade. I just don't use it. Yep, it requires down time. And, yes I work in an enterprise environment. One of the largest banks in the world. Again, I'm not knocking that you use Live Upgrade.
# 6  
Old 04-14-2010
I don't question you choice, it is obviously up to you to choose the method you are more comfortable with. I was only commenting about the "control over what I'm doing point" which is questionable as Live Upgrade does provide at least the same level of control.
# 7  
Old 04-15-2010
Thank you guys for sharing useful information with me. I have some more doubts and i will post my next doubt shortly. Please keep supporting me.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Debian

Applying patch for Samba version 4.1.17

The version of Samba in our billing server is 4.1.17-Debian. I have been reminded by our management to implement the patch for Samba on this server. However, I am not sure how to implement the patch. I have browsed some websites for the correct patch to implement for Samba 4.1.17, and the patch... (11 Replies)
Discussion started by: anaigini45
11 Replies

2. Ubuntu

Recompile the kernel after applying a patch in Ubuntu.

I have applied a patch using this command: patch -p1 < (file) then I did git commit -a. Now I want to recompile the kernel for making this patch live. Should I use make oldconfig or make localmodconfig After that, make -j$(grep -c "processor" /proc/cpuinfo) sudo make... (1 Reply)
Discussion started by: BHASKAR JUPUDI
1 Replies

3. Shell Programming and Scripting

Converting real time to epoch time

# date +%s -d "Mon Feb 11 02:26:04" 1360567564 # perl -e 'print scalar localtime(1360567564), "\n";' Mon Feb 11 02:26:04 2013 the epoch conversion is working fine. but one of my application needs 13 digit epoch time as input 1359453135154 rather than 10 digit epoch time 1360567564... (3 Replies)
Discussion started by: vivek d r
3 Replies

4. UNIX for Dummies Questions & Answers

Typical steps to be followed while applying an application patch upgrade on linux

what are the typical steps used by system adminstrators while applying an application patch upgrade (1 Reply)
Discussion started by: ramky79
1 Replies

5. Solaris

Jumpstart and Applying Recommended Patch Cluster

I'm trying to setup our jumpstart server to automatically apply the latest patch cluster during installs, but I'm running into an issue. Every time Jumpstart runs it has this error. Obviously it's processing the patch_order file, so I'm not sure what I'm missing. ... (0 Replies)
Discussion started by: christr
0 Replies

6. Shell Programming and Scripting

Shell script to convert epoch time to real time

Dear experts, I have an epoch time input file such as : - 1302451209564 1302483698948 1302485231072 1302490805383 1302519244700 1302492787481 1302505299145 1302506557022 1302532112140 1302501033105 1302511536485 1302512669550 I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4 Replies

7. Solaris

Applying Recommended Patch Cluster to Whole Root Zone

Hi there, Apologies if this question has been asked and answered already but I've not been able to find the thread. Question: Is it possible to apply the Solaris 10 Recommended Patch Cluster to a whole root (non-global) zone locally? I.E. apply the patch cluster from the non-global in... (3 Replies)
Discussion started by: nm146332
3 Replies
Login or Register to Ask a Question