Patch Installation on Solaris10


 
Thread Tools Search this Thread
Operating Systems Solaris Patch Installation on Solaris10
# 1  
Old 07-16-2009
Patch Installation on Solaris10

Hi All,

I am new to Solaris. I have to install some latest patches on my SPARC Machine running Solaris 10. I have installed the required patches.
Please guide me through the rest of the process. Please include even minute details so that I don't face any problems while doing this activity.

I am using mirrored root filesystem through SVM. So please include the unmirroring steps also.

Your help will be really appreciated.


Thanks,
Kamal
# 2  
Old 07-16-2009
The best way of updating your patching is apply a Sun supplied recommended patch cluster, there are instructions here:
Solaris Patch Cluster Install
on how to do that, it is best to have the system running in single user mode (run "reboot -- -s" if system is running or just "boot -s" if at the Open Boot prompt), you do not need to break the mirrors for patching unless you want a quick way of reverting back to the system state before the patching was applied.

So steps are:
1. Download appropriate recommended patch cluster from here:
SunSolve

2. Copy patch cluster into /var/tmp and unzip it, e.g.:
# unzip -q 10_Receommended.zip

3. Reboot into single user mode:
# reboot -- -s

4. Log back on as root and ensure all local filesystems are mounted:
# mountall

5. Apply patch cluster:
# cd /var/tmp/10_Recommended
# ./install_cluster

Answer questions, and wait for patches to apply.

6. Reboot:
# reboot

Done.

You may then wish to use something like the patchdiag tool (may be downloaded from here: Product Downloads ) with an up to date patchdiag.xref to see if there are any patches that were not included in the Recommended Patch Cluster that your system needs.

If this is a critical system then it goes without saying that you should take backups before patching although patches can be backed out using the patchrm(1M) command but could be a long and laborious process.
# 3  
Old 07-16-2009
Thanks alot for such a nice reply.

Please tell me how to unmirror the volumes in SVM as I have mirrored Root disks.

Find below the # metastat and #df -h outputs:

Code:
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d0         9.6G   3.2G   6.3G    34%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    84G   1.5M    84G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/dev/md/dsk/d2         9.6G   4.4G   5.1G    47%    /usr
/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1
                       9.6G   3.2G   6.3G    34%    /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                       9.6G   3.2G   6.3G    34%    /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/md/dsk/d3         9.6G   609M   8.9G     7%    /var
swap                    84G    96K    84G     1%    /tmp
swap                    84G   104K    84G     1%    /var/run
/dev/dsk/c4t5000D310000C8C0Ad0s0
                       591G   153G   432G    27%    /npbsunh2
/dev/dsk/c4t5000D310000C8C0Ad1s0
                        15G   3.8G    11G    26%    /jump
/dev/md/dsk/d4         9.6G   335M   9.2G     4%    /opt
/dev/md/dsk/d5          33G   1.9G    30G     6%    /export/home
10.231.25.100:/backup/npb/local/dev/sun
                       9.5T   7.7T   1.8T    81%    /ddomain
# metastat
d5: Mirror
    Submirror 0: d51
      State: Okay
    Submirror 1: d52
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 69644544 blocks (33 GB)
d51: Submirror of d5
    State: Okay
    Size: 69644544 blocks (33 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s6          0     No            Okay   Yes

d52: Submirror of d5
    State: Okay
    Size: 69644544 blocks (33 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s6          0     No            Okay   Yes

d3: Mirror
    Submirror 0: d31
      State: Okay
    Submirror 1: d32
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20494464 blocks (9.8 GB)
d31: Submirror of d3
    State: Okay
    Size: 20494464 blocks (9.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s4          0     No            Okay   Yes

d32: Submirror of d3
    State: Okay
    Size: 20494464 blocks (9.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s4          0     No            Okay   Yes

d2: Mirror
    Submirror 0: d21
      State: Okay
    Submirror 1: d22
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20494464 blocks (9.8 GB)
d21: Submirror of d2
    State: Okay
    Size: 20494464 blocks (9.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s3          0     No            Okay   Yes

d22: Submirror of d2
    State: Okay
    Size: 20494464 blocks (9.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s3          0     No            Okay   Yes

d1: Mirror
    Submirror 0: d11
      State: Okay
    Submirror 1: d12
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 126976128 blocks (60 GB)
d11: Submirror of d1
    State: Okay
    Size: 126976128 blocks (60 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s1          0     No            Okay   Yes

d12: Submirror of d1
    State: Okay
    Size: 126976128 blocks (60 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s1          0     No            Okay   Yes

d0: Mirror
    Submirror 0: d10
      State: Okay
    Submirror 1: d20
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20494464 blocks (9.8 GB)
d10: Submirror of d0
    State: Okay
    Size: 20494464 blocks (9.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s0          0     No            Okay   Yes

d20: Submirror of d0
    State: Okay
    Size: 20494464 blocks (9.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s0          0     No            Okay   Yes

d4: Mirror
    Submirror 0: d41
      State: Okay
    Submirror 1: d42
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20494464 blocks (9.8 GB)
d41: Submirror of d4
    State: Okay
    Size: 20494464 blocks (9.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s5          0     No            Okay   Yes

d42: Submirror of d4
    State: Okay
    Size: 20494464 blocks (9.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s5          0     No            Okay   Yes

Device Relocation Information:
Device   Reloc  Device ID
c1t1d0   Yes    id1,sd@n5000c500091c1a1b
c1t0d0   Yes    id1,sd@n5000c500091bd557
#


Last edited by DukeNuke2; 07-17-2009 at 03:16 AM.. Reason: added code tags
# 4  
Old 07-17-2009
To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags [code] and [/code] by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums
# 5  
Old 07-17-2009
Ok DukeNuke I'll take care in future.

Hi All,

Please reply.
# 6  
Old 07-17-2009
why do you want to unmirror the disk? you don't need to do that for patching... if you wan't to to it anyway have a look at the command "metadetach".
# 7  
Old 07-17-2009
Don't we need to unmirror the root disk for Patching?

Are you sure about that?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Patch Installation

Am new to Linux and this forum From where can I download sysstatx86_64 and numactl-devel patches ? Thanks! :b: (1 Reply)
Discussion started by: dsreedharan
1 Replies

2. Solaris

OS Patch Installation

Hello, I'm very new to this forum and solaris - I have solaris 5.10 installed on my machine (x86) and when I did a prerequisite check for Oracle Database 11g R2, it was showing the following patches are missing - OS Patch:137104-02 OS Patch:120754-06 OS Patch:119961-05 OS Patch:119964-14... (3 Replies)
Discussion started by: dsreedharan
3 Replies

3. Solaris

Patch installation

Can any one let me know the complete steps to install patch on a production server like Sun Fire V440. (7 Replies)
Discussion started by: chetansingh23
7 Replies

4. Red Hat

Patch Installation

Dear All, I have some 6 RedHat Servers ( 5.4 ) tikanga connected to the Intranet. Some are Database Servers and application servers. For the past 1.5 years , we have not installed any patches.. Is there any way to find out , whether these systems needs patches and where to... (5 Replies)
Discussion started by: jegaraman
5 Replies

5. Solaris

patch installation

Hey hi all, I just recently encountered these question regarding patch installation, the scenario is like these that i have three patches a,b,c and each of them require a server reboot.And I don't have to reboot the server three times..i can reboot it only once.. so what should i do ? Mine... (1 Reply)
Discussion started by: sahil_shine
1 Replies

6. Solaris

Patch installation quesiton

Hi, When we install patch on solaris box, if the server gets rebooted, do we need remove the patch and install? Or can we just re install? Please advise. (2 Replies)
Discussion started by: mokkan
2 Replies

7. HP-UX

Patch Installation Problems

Hi people: I am having trouble installing some HPUX patches on my 11.00. I am a novice :confused: at this so bear with me. I do not understand how to install depots. Now I'm trying to patch my system so I can get the Oracle client installed. Oracle says I need these two patches:... (5 Replies)
Discussion started by: RAFA
5 Replies

8. HP-UX

Patch Installation Problem

HI: Thanks for your help Im follow the steps describe on the link http://docs.hp.com/en/B2355-90772/ch06s01.html and have a diffetrent types of error messages and warning messages describes below: on the step two sh: PH* not found on step three *session started for user "root@test"... (0 Replies)
Discussion started by: RAFA
0 Replies

9. Post Here to Contact Site Administrators and Moderators

Patch Installation

I am having trouble installing some HPUX patches on my 11.00. I am a novice at this so bear with me. I do not understand how to install depots. Now I'm trying to patch my system so I can get the Oracle client installed. Oracle says I need these two patches: PHSS_21950, QPK_11.00.64 I go to:... (0 Replies)
Discussion started by: RAFA
0 Replies

10. UNIX for Dummies Questions & Answers

Need Patch Installation Date

Can someone tell me how to get the installation date of a patch? I've done a showrev which I assume tells me if the patch cluster has been installed. It shows...SunOS 5.8 Generic 108528-23 June 2003. I'm assuming June 2003 is the patch release date. Is that right? How can I determine the... (1 Reply)
Discussion started by: kiloflash
1 Replies
Login or Register to Ask a Question