Hardware raid patching

Dear All ,

we have hardware raid 1 implemented on Solaris Disks.

We need to patch the Servers. Kindly let me know how to patch hardware raid implemented Servers.

Thanks...
Rj

What hardware is it?

When you say hardware raid 1 do you mean using the integrated LSI raid controller OEM'd by Sun (using raidctl command)?

If so, you can disregard the raid mirror as far as patching is concerned. Solaris does not even know the mirror is there (because it's a hardware raid; the system controller (SC) knows it's there) so patching is not a problem. Assuming the root filesystem is mirrored the patching operation will patch both mirrors (root filesystem copies).

Dear Hicks ,

Thanks for the reply. Pl find the below outputs of the Server implemented Hardware raid. Kindly guide me , I have not done patching in these Hardware raid implemented Servers.

  1. Uname -a :
SunOS  -03 5.10 Generic_142900-02 sun4v sparc SUNW,SPARC-Enterprise-T5220
cat /etc/release
                      Solaris 10 10/09 s10s_u8wos_08a SPARC
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 16 September 2009
  1. df -h
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s0       14G   7.8G   6.5G    55%    /
/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                   7.4G   1.5M   7.4G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1
                        14G   7.8G   6.5G    55%    /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        14G   7.8G   6.5G    55%    /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c1t0d0s3      4.8G   1.1G   3.6G    24%    /var
swap                    14G   6.9G   7.4G    49%    /tmp
swap                   7.4G    32K   7.4G     1%    /var/run
/dev/dsk/c1t0d0s4      4.8G   2.0G   2.7G    43%    /export
/dev/dsk/c1t0d0s5       35G    18G    16G    53%    /space

echo |format
root@  # echo |format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>
          /pci@0/pci@0/pci@2/scsi@0/sd@0,0
Specify disk (enter its number): Specify disk (enter its number):

#### raidctl -l
Controller: 1
        Volume:c1t0d0
        Disk: 0.0.0
        Disk: 0.1.0

Thanks and regards ,
Rj

Your raidctl output at the end of your post says that, as you already know, you have two hardware raid1 mirrored drives. The disk/raid controller is presenting this pair of drives as one disk to the O/S. Control, writing and maintenance of this mirror lies solely with the hardware raid controller. The O/S thinks that it is talking to a single disk.

There is no issue if you carry out normal O/S patching on the system. Usual precautions with regards backup/recovery.

If you think this should be an abnormal process due to the presence of the hardware raid1 controller please describe why you think that.

---------- Post updated at 04:57 PM ---------- Previous update was at 04:48 PM ----------

I think that you might be being put off by the fact that the LSI hardware raid controller is integrated into the T5220.

If you had fitted an add-in raid controller card and through it's management console mirrored two disks and presented them to the host as one drive (so the host is unaware of the mirror), then the raid controller is just a SCSI controller as far as the host hardware is concerned.

What you have there is no different apart from the raid controller has been integrated by Sun (Oracle) into the hardware.

Yes it is an LSI integrated RAID controller....
How to check whether the root file system is under mirror....
Rgds
Rj

---------- Post updated at 09:41 AM ---------- Previous update was at 08:58 AM ----------

Dear Hicks ,

Thanks for the detailed information.

And also i came to know these servers are not having redundancy.Since because they have implemented Hardware RAID here .So customer is feeling that there is a single point of failure in case of rollback.Taking image backup also they are saying it will take downtime and longer duration.

Some of my Queries are as below.

  1. In order to do the Hardware RAID servers for patching.
    what are the pre checks that we need to do.
  2. After installing the patch , what and all we need to check.

Thanks for you help in advance.....
rgds
rj

What filesystem?
Zfs or Ufs??

Dear Hicks ,

As I came to know most of them are under ufs only.

If So , what could be the Steps.

Thanks and Regards ,
Rj

Well you would be well advised to take a backup (especially of the root filesystem) before patching in case it goes wrong.

How do you backup this system now?

I would recommend taking a ufsdump (using fssnap and ufsdump commands) to either a tape drive or over the network via NFS to another system. I would also ensure that you have a copy of the vtoc (virtual table of contents) (using the prtvtoc command). Having that is priceless in the event that recovery is necessary. Once you've done that you have a full copy of your data even if, at this time, you don't know how to restore it.

Once that's done you can apply your required patches and/or Oracle recommended patchset.