1752827 Members
3875 Online
108789 Solutions
New Discussion юеВ

Re: LVM mirroring

 
SOLVED
Go to solution
rariasn
Honored Contributor

Re: LVM mirroring

Hi Morshed:

In node that have the vg active:

vgexport with "-p" option: Preview the actions to be taken but do not update
the /etc/lvmtab file or remove the devices file.

# vgexport -p -m /tmp/vgname.map vgname

# scp /tmp/vgname.map node2:/tmp

In secondary node:

vgexport

# vgexport -m /tmp/vgname.map.old vgname

# mkdir /dev/vgname
# mknod /dev/vgname/group c 64 0xnn0000
# vgimport -m /tmp/vgname.map vgname /dev/dsk/cxtydz ...

rgs,


mrmo07
Regular Advisor

Re: LVM mirroring


hi,

could anybody give me good lvm docs. just not only docs.hp.com. something customize.

Rgds,Morshed.
Jayakrishnan G Naik
Trusted Contributor

Re: LVM mirroring

Hi Morshed

The following link have more latest information on LVM (LVM1.0, LVM2.0)and you to regiter to that website to download documents.

http://www.docstoc.com/docs/27220396/HP-UX-11i-V3-LVM

Hope this will be useful

Thanks & Regards
Jayakrishnan G Naik
Viktor Balogh
Honored Contributor

Re: LVM mirroring

Hi Mohammad,

what you are trying to do is called "host based mirroring". Basically, it goes online, without even stopping the server or the application, but for this you should have the product MirrorDisk/UX installed. You should migrate it on the active server (the server your applications are running currently), after that you should bring the changes also to the passive node. (vgexport -p on the active node, the import the mapfile on the passive node.) No mountpoints/cluster config should be changed.

Regards,
Viktor
****
Unix operates with beer.
P Arumugavel
Respected Contributor

Re: LVM mirroring

Hi,

Refer the attached LVM docs from HP. This document discusses how to deal with disk failures under the HP-UX logical volume manager and it includes strategies to prepare for disk failure, ways to recongnize that a disk has failed and steps to remove and replace a failed disk.

Rgds...
mrmo07
Regular Advisor

Re: LVM mirroring

Hey ,

i have a question question about vdisk. what shoud be my OS unit id for hp ux during vdisk creation??

plz help.

Regds/Morshed.
mrmo07
Regular Advisor

Re: LVM mirroring


thank you all........

Regards/Morshed.