Operating System - HP-UX
1836438 Members
2469 Online
110100 Solutions
New Discussion

Re: VG00 Alternate boot disk creation

 
Sawant
Occasional Advisor

VG00 Alternate boot disk creation

Dear Experts,

I have new hp-ux 11.23 machine and I want to create alternate boot disk. Please help.

Below ate the basic pv details for primary & alternate disks:

Alt:
--- Physical volumes ---
PV Name /dev/dsk/c2t6d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 32
Total PE 4374
Free PE 4374
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On

Pri:

PV Name /dev/dsk/c0t6d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 10
PE Size (Mbytes) 32
Total PE 4374
Free PE 1340
Allocated PE 3034
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On
10 REPLIES 10
Torsten.
Acclaimed Contributor

Re: VG00 Alternate boot disk creation

See the appendix here:

When_Good_Disks_Go_Bad_WP
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf



Looks like you have a RISC based system.

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!   
Sawant
Occasional Advisor

Re: VG00 Alternate boot disk creation

tnx for your early response. But still facing difficulty while creating vg00 alternate root disk.

Please share the steps for mirroring alternate root disk although server is up from primary disk and is running fine now.
Torsten.
Acclaimed Contributor

Re: VG00 Alternate boot disk creation

Should I copy and paste the steps from the document???

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: VG00 Alternate boot disk creation

Appendix D: Procedures
This section contains details on some of the procedures described earlier.

Mirroring the Root Volume on PA-RISC Servers



page 52

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!   
點燃
Valued Contributor

Re: VG00 Alternate boot disk creation

Root mirroring for PA-RISC

1. Initialize the disk and add it to vg00:
# pvcreate [-f] -B /dev/rdsk/cxtydz
# vgextend vg00 /dev/dsk/cxtydz

2. Mirror the LVs using lvextend:
# lvextend â m 1 /dev/vg00/lvolX /dev/dsk/cxtydz
If you want to use a shell loop to extend automatically, use e.g.:
# for lvol in lvol1 lvol2 ... lvol8 (specify any LV you need to mirror)
> do
> lvextend -m 1 /dev/vg00/$lvol /dev/dsk/cxtydz

3. Configure LIF/BDRA
Write LIF header and LIF files (ISL, AUTO, HPUX, LABEL):
# mkboot -l /dev/rdsk/cXtXdX
# lifls â l /dev/rdsk/cXtXdX (to ckeck it)

Write content of AUTO File: (if autoboot is desired)
# mkboot -a hpux /dev/rdsk/cXtXdX (autoboot with qurom enforced)
# mkboot -a â hpux â lqâ /dev/rdsk/cXtXdX (autoboot without qurom enforced)
# lifcp /dev/rdsk/cXtXdX:AUTO - (to ckeck it)

Write content of LABEL file, i.e set root, boot, swap and dump device:
# lvlnboot -r /dev//lvol3
# lvlnboot -b /dev//lvol1
# lvlnboot -s /dev//lvol2
# lvlnboot -d /dev//lvol2
# lvlnboot â v (to ckeck it)

4. Specify the mirror disk as alternate boot path in stable storage:
# setboot â a

5. Add the new mirror boot device to /stand/bootconf, e.g.:
l /dev/dsk/c0t6d0 (original boot device)
l /dev/dsk/cxtydz (new mirror boot device

Rgds!
Man's mind, once stretched by a new idea, never regains its original dimensions
點燃
Valued Contributor

Re: VG00 Alternate boot disk creation

Check out this attachment. Some text are not clear in the previous reply.
Man's mind, once stretched by a new idea, never regains its original dimensions
Torsten.
Acclaimed Contributor

Re: VG00 Alternate boot disk creation

>> But still facing difficulty while creating vg00 alternate root disk.

What kind of problems?

The steps are now 3 times posted to this thread.

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!   
Sawant
Occasional Advisor

Re: VG00 Alternate boot disk creation

Hi All,

Please find the error after giving lventend:

#pvcreate -f -B /dev/rdsk/c2t6d0
pvcreate: The physical volume "/dev/dsk/c2t6d0" is already recorded in the "/etc /lvmtab" file.
#vgextend vg00 /dev/dsk/c2t6d0
vgextend: The physical volume "/dev/dsk/c2t6d0" is already recorded in the "/etc /lvmtab" file.
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option.
Torsten.
Acclaimed Contributor

Re: VG00 Alternate boot disk creation

You don't have the mirror/UX product installed!

Depending on your OS version you need to buy 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!   
Sawant
Occasional Advisor

Re: VG00 Alternate boot disk creation

Tnx for good response.