System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to replace a disk in a cluster

Sreer
Valued Contributor

Need to replace a disk in a cluster

Hi Gurus,

I need to replace a faulty disk in my cluster environment.

Its bit complicated already using 2 PVGs.


server2:/#vgdisplay -v /dev/vglocal | more
--- Volume groups ---
VG Name /dev/vglocal
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 35003
VGDA 8
PE Size (Mbytes) 16
Total PE 34996
Alloc PE 34996
Free PE 0
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vglocal/lvol_home
LV Status available/stale ========================================>>>
LV Size (Mbytes) 140000
Current LE 8750
Allocated PE 17500
Used PV 4

LV Name /dev/vglocal/lvol_opt
LV Status available/stale ===========================================>>>>>
LV Size (Mbytes) 139968
Current LE 8748
Allocated PE 17496
Used PV 4


--- Physical volumes ---
PV Name /dev/dsk/c4t0d0
PV Status unavailable ============================
Total PE 8749
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t1d0
PV Status available
Total PE 8749
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c5t0d0
PV Status available
Total PE 8749
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c5t1d0
PV Status available
Total PE 8749
Free PE 0
Autoswitch On
Proactive Polling On


--- Physical volume groups ---
PVG Name PVG0
PV Name /dev/dsk/c4t0d0
PV Name /dev/dsk/c4t1d0

PVG Name PVG1
PV Name /dev/dsk/c5t0d0
PV Name /dev/dsk/c5t1d0


Seems the disks are connected in both nodes [ 2 node cluster] with same device names [/dev/dsk/c4t0d0 ]


please tell me what are the exact steps I need to follow to replace the disks?

thanks in advance for your extreme support.

rgds Sri
2 REPLIES
Torsten.
Acclaimed Contributor

Re: Need to replace a disk in a cluster

See

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


On clusters, you normally do an

vgchange -a e ...

instead of

vgchange -a y ...

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!   
Kranti Mahmud
Honored Contributor

Re: Need to replace a disk in a cluster

Hi Sreer,

Check the below links:

http://docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf

http://docstore.mik.ua/manuals/hp-ux/en/B3936-90122/ch08s03.html

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!