cancel
Showing results for 
Search instead for 
Did you mean: 

Hardware Mirror

 
SOLVED
Go to solution
Highlighted
Valued Contributor

Hardware Mirror

I have a 2 node cluster with OracleRac11:


Model -> rx6600
O.S. -> 11iv3
SG -> A.11.19.00

This is a productive system. I have note today that my internal disks have no mirror:

disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG072A9BB7
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3
disk 0 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG072A9BB7
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s1 /dev/rdsk/c2t1d0s3


root@xxxxx:/# sasmgr get_info -D /dev/sasd1 -q raid

Thu Apr 22 14:19:47 2010

---------- PHYSICAL DRIVES ----------
LUN dsf SAS Address Enclosure Bay Size(MB)

/dev/rdsk/c2t0d0 0x500000e0137ea5b2 1 7 70007
/dev/rdsk/c2t1d0 0x500000e0137ea602 1 8 70007

What are the options now ?.

Do the mirror with mirror software?. This is a productive system I can't have a downtime.

Please advice ( points will be assign ).

Best Regards.
10 REPLIES 10
Highlighted
Acclaimed Contributor

Re: Hardware Mirror

Could you please send a

# vgdisplay -v vg00

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Valued Contributor

Re: Hardware Mirror

Hi Torsten,


Here is the output:

root@xxxxx:/# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4328
VGDA 2
PE Size (Mbytes) 16
Total PE 4319
Alloc PE 4133
Free PE 186
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 1082g
VG Max Extents 69248

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 112
Allocated PE 112
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 800
Current LE 50
Allocated PE 50
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 112
Current LE 7
Allocated PE 7
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 9344
Current LE 584
Allocated PE 584
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 5632
Current LE 352
Allocated PE 352
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 7008
Current LE 438
Allocated PE 438
Used PV 1

LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 1250
Allocated PE 1250
Used PV 1

LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 208
Current LE 13
Allocated PE 13
Used PV 1

LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 208
Current LE 13
Allocated PE 13
Used PV 1


--- Physical volumes ---
PV Name /dev/disk/disk37_p2
PV Status available
Total PE 4319
Free PE 186
Autoswitch On
Proactive Polling On


Thanks by quick reply..

Regards..
Highlighted
Acclaimed Contributor

Re: Hardware Mirror

Both disks looks like boot disks, but this one is not mirrored.

The output of

# ioscan -m dsf

would be helpful now.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Valued Contributor

Re: Hardware Mirror

The output of ioscan -m dsf:


root@xxxxxx:/# ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rtape/tape1_BEST /dev/rmt/c0t3d0BEST
/dev/rtape/tape1_BESTn /dev/rmt/c0t3d0BESTn
/dev/rtape/tape1_BESTb /dev/rmt/c0t3d0BESTb
/dev/rtape/tape1_BESTnb /dev/rmt/c0t3d0BESTnb
/dev/pt/pt4 /dev/rscsi/c3t13d0
/dev/pt/pt5 /dev/rscsi/c5t12d0
/dev/rdisk/disk36 /dev/rdsk/c2t0d0
/dev/rdisk/disk36_p1 /dev/rdsk/c2t0d0s1
/dev/rdisk/disk36_p2 /dev/rdsk/c2t0d0s2
/dev/rdisk/disk36_p3 /dev/rdsk/c2t0d0s3
/dev/rdisk/disk37 /dev/rdsk/c2t1d0
/dev/rdisk/disk37_p1 /dev/rdsk/c2t1d0s1
/dev/rdisk/disk37_p2 /dev/rdsk/c2t1d0s2
/dev/rdisk/disk37_p3 /dev/rdsk/c2t1d0s3
/dev/rdisk/disk73 /dev/rdsk/c7t0d0
/dev/rdisk/disk74 /dev/rdsk/c4t0d0
/dev/rdsk/c6t0d0
/dev/rdisk/disk75 /dev/rdsk/c4t0d3
/dev/rdsk/c6t0d3
/dev/rdisk/disk76 /dev/rdsk/c4t5d5
/dev/rdsk/c6t5d5
/dev/rdisk/disk77 /dev/rdsk/c4t5d6
/dev/rdsk/c6t5d6
/dev/rdisk/disk78 /dev/rdsk/c4t5d7
/dev/rdsk/c6t5d7
/dev/rdisk/disk79 /dev/rdsk/c4t9d2
/dev/rdsk/c6t9d2
/dev/rdisk/disk80 /dev/rdsk/c4t9d3
/dev/rdsk/c6t9d3
/dev/rdisk/disk81 /dev/rdsk/c4t9d4
/dev/rdsk/c6t9d4
/dev/rdisk/disk82 /dev/rdsk/c4t9d5
/dev/rdsk/c6t9d5
/dev/rdisk/disk83 /dev/rdsk/c4t9d6
/dev/rdsk/c6t9d6
/dev/rdisk/disk84 /dev/rdsk/c4t9d7
/dev/rdsk/c6t9d7
/dev/rdisk/disk85 /dev/rdsk/c4t10d0
/dev/rdsk/c6t10d0
/dev/rdisk/disk86 /dev/rdsk/c4t10d1
/dev/rdsk/c6t10d1
/dev/rdisk/disk87 /dev/rdsk/c4t11d0
/dev/rdsk/c6t11d0
/dev/rdisk/disk88 /dev/rdsk/c4t11d3
/dev/rdsk/c6t11d3
/dev/rdisk/disk89 /dev/rdsk/c4t11d4
/dev/rdsk/c6t11d4
/dev/rdisk/disk90 /dev/rdsk/c4t11d5
/dev/rdsk/c6t11d5
/dev/rdisk/disk149 /dev/rdsk/c4t3d2
/dev/rdsk/c6t3d2
/dev/rdisk/disk150 /dev/rdsk/c4t3d3
/dev/rdsk/c6t3d3
/dev/rdisk/disk151 /dev/rdsk/c4t3d4
/dev/rdsk/c6t3d4
/dev/rdisk/disk152 /dev/rdsk/c4t3d5
/dev/rdsk/c6t3d5
/dev/rdisk/disk153 /dev/rdsk/c4t3d6
/dev/rdsk/c6t3d6
/dev/rdisk/disk154 /dev/rdsk/c4t3d7
/dev/rdsk/c6t3d7
/dev/rdisk/disk155 /dev/rdsk/c4t4d0
/dev/rdsk/c6t4d0
/dev/rdisk/disk156 /dev/rdsk/c4t4d1
/dev/rdsk/c6t4d1
/dev/rdisk/disk157 /dev/rdsk/c4t4d2
/dev/rdsk/c6t4d2
/dev/rdisk/disk158 /dev/rdsk/c4t4d3
/dev/rdsk/c6t4d3
/dev/rdisk/disk159 /dev/rdsk/c4t6d0
/dev/rdsk/c6t6d0
/dev/rdisk/disk160 /dev/rdsk/c4t6d1
/dev/rdsk/c6t6d1
/dev/rdisk/disk161 /dev/rdsk/c4t6d2
/dev/rdsk/c6t6d2
/dev/rdisk/disk162 /dev/rdsk/c4t6d3
/dev/rdsk/c6t6d3
/dev/rdisk/disk163 /dev/rdsk/c4t6d4
/dev/rdsk/c6t6d4
/dev/rdisk/disk164 /dev/rdsk/c4t6d7
/dev/rdsk/c6t6d7
/dev/rdisk/disk165 /dev/rdsk/c4t7d0
/dev/rdsk/c6t7d0
/dev/rdisk/disk166 /dev/rdsk/c4t7d1
/dev/rdsk/c6t7d1
/dev/rdisk/disk167 /dev/rdsk/c4t7d2
/dev/rdsk/c6t7d2
/dev/rdisk/disk168 /dev/rdsk/c4t8d4
/dev/rdsk/c6t8d4
/dev/rdisk/disk169 /dev/rdsk/c4t8d5
/dev/rdsk/c6t8d5
/dev/rdisk/disk170 /dev/rdsk/c4t8d6
/dev/rdsk/c6t8d6
/dev/rdisk/disk171 /dev/rdsk/c4t8d7
/dev/rdsk/c6t8d7
/dev/rdisk/disk172 /dev/rdsk/c4t10d4
/dev/rdsk/c6t10d4
/dev/rdisk/disk173 /dev/rdsk/c4t10d5
/dev/rdsk/c6t10d5
/dev/rdisk/disk174 /dev/rdsk/c4t10d6
/dev/rdsk/c6t10d6
/dev/rdisk/disk175 /dev/rdsk/c4t10d7
/dev/rdsk/c6t10d7
/dev/rdisk/disk176 /dev/rdsk/c4t11d1
/dev/rdsk/c6t11d1
/dev/rdisk/disk177 /dev/rdsk/c4t11d2
/dev/rdsk/c6t11d2


Thanks in advance.
Highlighted
Acclaimed Contributor
Solution

Re: Hardware Mirror

This is your current boot disk:

/dev/rdisk/disk37 /dev/rdsk/c2t1d0
/dev/rdisk/disk37_p1 /dev/rdsk/c2t1d0s1
/dev/rdisk/disk37_p2 /dev/rdsk/c2t1d0s2
/dev/rdisk/disk37_p3 /dev/rdsk/c2t1d0s3

and this is the other bootable disk:

/dev/rdisk/disk36 /dev/rdsk/c2t0d0
/dev/rdisk/disk36_p1 /dev/rdsk/c2t0d0s1
/dev/rdisk/disk36_p2 /dev/rdsk/c2t0d0s2
/dev/rdisk/disk36_p3 /dev/rdsk/c2t0d0s3

If you think you want to mirror disk37 to disk36, then follow the manual

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

and mirror to disk36!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Exalted Contributor

Re: Hardware Mirror

Shalom,

I am nearly 100% certain this server ships with hardware mirroring capability.

The best course of action in this case is to use the onboard utilities and hardware mirroring.

The process above to lead you to know which disk to use is important, because you do not want to step on any of your current data.

It is very important before you begin to get a good make_net_recovery or make_tape_recovery

Since this is a productive and production system, precautions are a must.

Hardware mirror however is going to require some downtime. It is better because the RAID controller has its own CPU and the work of keeping the disks synced does not require CPU time.

So best course is to do the hardware mirror, next best is a software mirror, knowing this is not the best option from the standpoint of performance.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Highlighted
Valued Contributor

Re: Hardware Mirror

Hi


One last question. If I want to do the mirror by hardware ( in a stop production scenario ).

Is that possible or I need to format the disks ?.

Any procedure/link to follow.

Thanks
Highlighted
Acclaimed Contributor

Re: Hardware Mirror

Data will be lost, so you need to restore your ignite backup.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
Valued Contributor

Re: Hardware Mirror

Thanks By the reply's.

Points assign.


Best Regards,