Operating System - HP-UX
1748184 Members
3964 Online
108759 Solutions
New Discussion юеВ

Re: Replace Root Mirror disk on RX6600 Server

 
Khalid Shakoor
Regular Advisor

Replace Root Mirror disk on RX6600 Server

Hi Guruz,

I have rx6600 server having 146 GB x 4 disks and two disks are mirror of other two disks using mirror software and both mirror copies are part of one VG00.

Now the issue is the error message is reported in syslog for I/O error on disk path 0_4_1_0.0.0.2.0 which is part of vg00 and I need to replace the disk. Physically the disk status is good and error message not repeated again in last 24 hours but for CU satisfaction I need to replace.

Can anyone share me the procedure how to identify and replace the root mirror disk in rx6600 server.

Thanks in Advance.
Khalid
9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: Replace Root Mirror disk on RX6600 Server

The document


HP 8 Internal Port SAS Controller and HP
Multi-Port Internal SAS Controller Support
Guide

c02017117


has all the steps - google will help you to find it!

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!   
Torsten.
Acclaimed Contributor

Re: Replace Root Mirror disk on RX6600 Server

Found it:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02017117/c02017117.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!   
Khalid Shakoor
Regular Advisor

Re: Replace Root Mirror disk on RX6600 Server

Thanks Torsten for prompt response but in my case its software mirror using mirror disk UX software .

Regards
Khalid
Torsten.
Acclaimed Contributor

Re: Replace Root Mirror disk on RX6600 Server

The problem is, the new disk gets a new device file and you need to adjust it - the document has the steps!

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!   
Torsten.
Acclaimed Contributor

Re: Replace Root Mirror disk on RX6600 Server

After you did all the steps, example:

# sasmgr replace_tgt -D /dev/sasd0 -q old_tgt=/dev/dsk/c3t2d0 -q new_tgt_hwpath=0/4/1/0.0.0.1.0


you need to do the "standard" steps, see


When_Good_Disks_Go_Bad_WP
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.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!   
Khalid Shakoor
Regular Advisor

Re: Replace Root Mirror disk on RX6600 Server

Thanks Torsten.
What I understand is first I have to update the path using sasmgr replace_target and then
Use vi to create a partition description file by doing the following:

# vi /tmp/partitionfile
The 4 line entry for 11.23 should look like this:
3
EFI 500MB
HPUX 100%
HPSP 400MB
# idisk -wf /tmp/partitionfile /dev/rdsk/cXtXdX
Use insf to create the new device dfiles (cXtXdXs1, cXtXdX2 and cXtXdXs3)
# insf -e
Use mkboot to format and populate the newly created EFI partition:
# mkboot -e -l /dev/dsk/cXtXdX
# pvchange -a n /dev/dsk/cXtXdXs2
# vgcfgrestore -n vg00 /dev/rdsk/cXtXdXs2
# pvchange -a y /dev/dsk/cXtXdXs2
# vgchange -a y vg00
# vgsync vg00
# lvlnboot -r /dev/vg00/lvol3 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
# lvlnboot -v (to verify the results)

Is that├в s oky or something I am missing ?

Khalid
Torsten.
Acclaimed Contributor

Re: Replace Root Mirror disk on RX6600 Server

Looks good!

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!   
Amdocs_case
Occasional Contributor

Re: Replace Root Mirror disk on RX6600 Server

Turn on the disk├Г┬в├В ├В s locator LED to ensure the correct disk is removed.

1. Deactivate the failed disk

# pvchange -a n /dev/dsk/cxtxdxs2

2. Confirm the failed disk (eg: here we use sas bay 1)

# sasmgr get_info -D /dev/sasd0 -q lun=all -q lun_locate
# sasmgr get_info -D /dev/sasd0 -q raid


3. Turn on the LED indicator of the failed disk for replacing

# sasmgr set_attr -D /dev/sasd0 -q lun=/dev/rdsk/cxtxdx -q locate_led=on
# sasmgr get_info -D /dev/sasd0 -q lun=all -q lun_locate

Once disk replaced, follow the following procedure

http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00872150&cc=us&dlc=en&lc=en&jumpid=reg_R1002_USEN
KShakoor
Established Member

Re: Replace Root Mirror disk on RX6600 Server

Thanks all of you .Sucessfully replace the Disk :-)