Operating System - HP-UX
1819833 Members
2882 Online
109607 Solutions
New Discussion юеВ

Re: Are my operating system disks hot-swappable?

 
SOLVED
Go to solution
frederick hannah
Super Advisor

Are my operating system disks hot-swappable?

One of two mirror operating system disks on my rp7400 has failed and I am looking for a replacement. However, since disk A has failed, can I remove it from the server without crashing the machine?
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: Are my operating system disks hot-swappable?

If your mirror is properly configured, you only need to open the "door" at the rear side and swap the (correct) disk.

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!   
frederick hannah
Super Advisor

Re: Are my operating system disks hot-swappable?

Sounds easy enough. The lovls of are stale because of the failed hardware, so I am thinking I have to break/reduce the mirror first, then manually remove the disk?
Torsten.
Acclaimed Contributor
Solution

Re: Are my operating system disks hot-swappable?

This is a "must have":

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

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!   
frederick hannah
Super Advisor

Re: Are my operating system disks hot-swappable?

The docs gave me a lot of info. thanksyouverymuch
Ganesan R
Honored Contributor

Re: Are my operating system disks hot-swappable?

Hi,

No need to reduce the mirror if the disk is already failed.

Just follow these steps.

These are the steps:


1. #Replace the disk

2. Restore the LVM headers onto the new disk c2t1d0

# vgcfgrestore -l -n /dev/vg00 (Just to verify the configuration)
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t1d0

3. Activate the volume group to allow the kernel to recognize the new disk as being part
of this volume group:

# vgchange -a y vg00

4. Synchronize the volume group
# vgsync vg00

5. Reinstate the boot and LIF data:

# mkboot -l /dev/rdsk/c2t1d0
(or)
# mkboot -b /dev/rdsk/c3t1d0 /dev/rdsk/c2t1d0

6. Update the AUTO file with quorum override option

# mkboot -a "hpux -lq" /dev/rdsk/c2t1d0

7. Update BDRA and LABEL file

# lvlnboot -vR /dev/vg00
(or)
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2

# lvlnboot -v

If need use pvchange -a n before remove the disk and pvchange -a y after replaced the disk
Best wishes,

Ganesh.
James R. Ferguson
Acclaimed Contributor

Re: Are my operating system disks hot-swappable?

Hi Frederick:

Not only is the whitepaper Torsten cited a must-have, but so are the OLR patches (or superseding ones) documented therein!

Regards!

...JRF...