Operating System - HP-UX
1834935 Members
2462 Online
110071 Solutions
New Discussion

Re: Mirroring (cant exec /stand/vmumix.)

 
SOLVED
Go to solution
mick001
Advisor

Mirroring (cant exec /stand/vmumix.)

Dear all,

I have a problem with mirroring. I pull out the worker disk and try to boot from the first mirror disk. When I try to boot from the mirrored disk I get a error cant exec /stand/vmumix.

I have K380 running HPUX 11 64 bit with 4 disks in VG00. 2 workers and to mirrors.

This is wath I did:


???pvcreate ???fB

???vgextend

???mkboot???

???mkboot ???a ???hpux ???lq???

???mkboot ???a ???hpux ???lq???

???for vol in `ls /dev/vg00/lvol*`
???do???
???lvextend ???m 1 $vol
???done???

???setboot ???p??? where is as found in the previous section e.g. 8/12.6.0

???setboot ???a??? where is as found in the previous section .e.g. 8/10.6.0

???setboot ???s on??? to set the autosearch on

???setboot ???b on??? to set the autoboot sequence


Many thanks for you???re assistance with this!!!

Regards,

Michel
7 REPLIES 7
Jerome Baron
Respected Contributor

Re: Mirroring (cant exec /stand/vmumix.)

Hi Michel,

Have you try boot in interactive mode ?
Does "HPUX ls" at the ISL prompt find vmunix file.

Have you test boot on previous kernel ?

Regrads,
Jerome
Rajeev  Shukla
Honored Contributor

Re: Mirroring (cant exec /stand/vmumix.)

you need to do update the lif by using and also you have to update the lvm boot information by lvlnboot for boot, swap/dump and root.

cheers
Rajeev
mick001
Advisor

Re: Mirroring (cant exec /stand/vmumix.)

I din't boot in interactive mode.

how can I update the lif?

there is noting in /usr/sbin/diag/

Regards,

Michel
Jerome Baron
Respected Contributor
Solution

Re: Mirroring (cant exec /stand/vmumix.)

Re,

Procedure to create a mirror disk :
# pvcreate -B /dev/rdsk/c0t5d0

Add the physical volume to the existing root volume group with vgextend:

# vgextend /dev/vg00 /dev/dsk/c0t5d0

Use mkboot to place boot utilities in the boot area:

# mkboot -l /dev/rdsk/c0t5d0

Use mkboot to add an AUTO file in boot LIF area:

# mkboot -a "hpux" /dev/rdsk/c0t5d0

Or, use the -lq option to allow the system to boot in the event that one of the disks is
unavailable, resulting in a loss of quorum.

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

NOTE: Use the -lq option when the root volume group contains only 2 disks. If more than
2 disks are in the root volume group, the -lq option is not needed as quorum will be
maintained even if 1 disk fails.

Check the contents of the AUTO file with

# lifcp /dev/rdsk/c0t5d0:AUTO -

Alternatively, one could set the alternate boot path variable according to e.g.

# setboot -a 8/0/19/0.5.0

The hardware address of the disk that will become the mirror disk can be determined with
'ioscan -fnC' disk. To check use setboot without any arguments.

Use pvdisplay -v to the order of the logical volumes on the primary disk.

# pvdisplay -v /dev/dsk/c0t6d0

NOTE: In the following, the standard sequence lvol1, lvol2, lvol3, and so forth, is
assumed.

Mirror the boot logical volume, primary swap logical volume, root logical volume and other
logical volumes as needed, to the mirror disk in the correct sequence

# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t5d0
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t5d0
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t5d0
# lvextend -m 1 (additional LV)

Use pvdisplay -v to the order of the logical volumes on the mirror disk to insure they
are in the correct order.

# pvdisplay -v /dev/dsk/c0t5d0

Update all physical volumes in the volume group so that the logical volume become the root,
boot, primary swap, or a dump volume when the system is next booted:

For HP-UX 10.20 (not updated to) and 11.X only:

# 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

For HP-UX 10.01, 10.10, and updates to 10.20 only:

# lvlnboot -r /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00

Check with

# lvlnboot -v

Both disks must be listed for root, boot and swap definitions.

In order to test the mirror configuration, shut down the system and boot from the mirror disk.
Donald Kok
Respected Contributor

Re: Mirroring (cant exec /stand/vmumix.)

Hi Michel,

The first lvol on a disk must be /stand. The second must be swap. Otherwise the system does not boot. (The lvm start somewhere in a runlevel)
You use a for loop to make the mirrors. The first in the mirror is probably not /stand (lvol1), since the ls command does not give you the sorted order.

Good luck
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
avsrini
Trusted Contributor

Re: Mirroring (cant exec /stand/vmumix.)

Hi Michel,
You have to load OnlineDiag - Support Tools Bundle to
get the /usr/sbin/diag dir
and updatelif utilities.

If you are running a 64bit Server, then you have
to use updatediaglif2. This
loads the diagnostic tools
to ISL.

Srini
Be on top.
mick001
Advisor

Re: Mirroring (cant exec /stand/vmumix.)

The problem is fixed. you can only do a manualy boot from the mirror disk. it is not posseble to auto boot from the mirror disk. (when you pul out the worker disk)

It looks like this is a frimware problem

Thanks