1748269 Members
3661 Online
108760 Solutions
New Discussion юеВ

LVM mirror configuration

 
SOLVED
Go to solution
Avinash20
Honored Contributor

Re: LVM mirror configuration

You could have an option of Hp's DRD enable which is available for free download.

Please refer http://docs.hp.com/en/DRD/infolib.html

Its a very good product :)

Download from
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DynRootDisk
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
senthil_kumar_1
Super Advisor

Re: LVM mirror configuration

Hi

how to view whether Hp's DRD is enabled or not enabled?

Johnson Punniyalingam
Honored Contributor

Re: LVM mirror configuration

>>how to view whether Hp's DRD is enabled or not enabled?<<

you can check by 'swlist" command if have DRD has been Installed.

swlist -l product |grep -i DynRootDisk

Tips for Using DRD with update-ux

When you are using DRD to update the inactive image within HP-UX 11i v3 releases:

Before you clone your system, download the latest version of DRD to enable the update-ux functionality. (See Download DRD and Patches for details.)

If your starting point is earlier than HP-UX 11i v3 update 2, DRD will check to make sure you have HP-UX Software Manager (SWM) version A.3.1.0.1027 or later installed on the active image. The update process will not continue unless SWM version A.3.1.0.1027 (or later) is installed on the active image.

If you have an older version of SWM on your active image and need to install SWM version A.3.1.0.1027 (or later), HP recommends that you install SWM either at the same time as the latest version of DRD, or after. You will encounter problems with the dependency both products have on SW-DIST if SWM is installed prior to DRD.

If you have version A.1.0.15.18 of HP-UX Software Assistant (SWA) installed on your system, you must remove it. You can then reinstall the latest version of this tool. Removal of this tool will allow the update process to install the appropriate software from the update source depot. You are most likely to find this version if your starting point is HP-UX 11i v3 initial release. To reinstall SWA, go to the HP-UX Software Assistant page (http://www.hp.com/go/swa) to download the SWA software and get installation instructions.




Thanks,
Johnson



Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: LVM mirror configuration

Hi Senthil kumar,

You can also check below links ,

http://docs.hp.com/en/DRD/faq.html

├В┬╗ 1. General
├В┬╗ 2. Using Dynamic Root Disk Commands
├В┬╗ 3. Troubleshooting Dynamic Root Disk


Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Avinash20
Honored Contributor

Re: LVM mirror configuration

"how to view whether Hp's DRD is enabled or not enabled?"

Its not installed by default

You need to install the product as stated above and configure it !!
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
senthil_kumar_1
Super Advisor

Re: LVM mirror configuration

Hi

We are using HP-UX 11.00.

LVM Mirroring is configured.

Ex:

root@lgapps:/root > lvdisplay -v /dev/vg00/lvol4
--- Logical volumes ---
LV Name /dev/vg00/lvol4
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 256
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t6d0 128 128
/dev/dsk/c2t6d0 128 128

--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c1t6d0 00575 current /dev/dsk/c2t6d0 00575 current
00001 /dev/dsk/c1t6d0 00576 current /dev/dsk/c2t6d0 00576 current
00002 /dev/dsk/c1t6d0 00577 current /dev/dsk/c2t6d0 00577 current
00003 /dev/dsk/c1t6d0 00578 current /dev/dsk/c2t6d0 00578 current
00004 /dev/dsk/c1t6d0 00579 current /dev/dsk/c2t6d0 00579 current
00005 /dev/dsk/c1t6d0 00580 current /dev/dsk/c2t6d0 00580 current
00006 /dev/dsk/c1t6d0 00581 current /dev/dsk/c2t6d0 00581 current
00007 /dev/dsk/c1t6d0 00582 current /dev/dsk/c2t6d0 00582 current
00008 /dev/dsk/c1t6d0 00583 current /dev/dsk/c2t6d0 00583 current
00009 /dev/dsk/c1t6d0 00584 current /dev/dsk/c2t6d0 00584 current
00010 /dev/dsk/c1t6d0 00585 current /dev/dsk/c2t6d0 00585 current
00011 /dev/dsk/c1t6d0 00586 current /dev/dsk/c2t6d0 00586 current
00012 /dev/dsk/c1t6d0 00587 current /dev/dsk/c2t6d0 00587 current
00013 /dev/dsk/c1t6d0 00588 current /dev/dsk/c2t6d0 00588 current
00014 /dev/dsk/c1t6d0 00589 current /dev/dsk/c2t6d0 00589 current
00015 /dev/dsk/c1t6d0 00590 current /dev/dsk/c2t6d0 00590 current


But the problem is that i am not able to find LVM mirroring softwares. i used following commands.


# swlist ├в l product | grep -i mirror

or

# swlist -l product |grep -i DynRootDisk


So what is the other LVM mirroring software installed?

Pls explain me.
Pete Randall
Outstanding Contributor

Re: LVM mirror configuration

Try this:

swlist |grep -i mirror


Pete

Pete
senthil_kumar_1
Super Advisor

Re: LVM mirror configuration

Thanks a lot.

it is working fine.
senthil_kumar_1
Super Advisor

Re: LVM mirror configuration

Do we need to create LVM mirroring in two different PV?

Ex:

# lvcreate -L 1000 /dev/vg01/lvol3 /dev/dsk/c3t2d0

# lvextend -m 1 /dev/vg01/lvol3 /dev/dsk/c5t1d2


Am i correct?


And if one mirror disks fail, then how to replace the mirroring to new disk?

Pls explain me in detail.
James R. Ferguson
Acclaimed Contributor

Re: LVM mirror configuration

Hi Senthil:

> Do we need to create LVM mirroring in two different PV?

Absolutely yes. Think about why you mirror in the first place. Mirroring provides high-availability. If there is a failure on one particular physical disk, the last thing you would want is to have all of the mirror copies on that disk. You might or might not survive the failure!

By default, LVM mirroring (which is performed at the _logical volume_ level has a 'strict' allocation policy. That is, the mirrors of a logical extent cannot share the same physical volume; see the 'lvcreate' manpages; so you won't be able to do otherwise.

> And if one mirror disks fail, then how to replace the mirroring to new disk?

That is best answered by reading the whitepaper below since there are different scenarios for failure:

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

Regards!

...JRF...