1830168 Members
7387 Online
109999 Solutions
New Discussion

SLVM Query

 
Guna_2
Regular Advisor

SLVM Query

Hello Friends,

With SGeRAC with SLVM, Could someone please guide me how to add a disk to VG online? I am not pretty sure How to export and import the VG to another VG as VG is activated on both the node.

Thanks
5 REPLIES 5
Turgay Cavdar
Honored Contributor

Re: SLVM Query

If you are using VG version 2.1 you can add disks to VG online. Please check the document named as "SLVM Online Volume Reconfiguration (September 2009)":
http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&prodSeriesId=4296010&targetPage=http%3A%2F%2Fbizsupport1.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc01914684%2Fc01914684.pdf

You dont need to do any vgexport.Here is the procedure.

-First present the disk to both node
-On the master node just fallow the standart disk addition procedure:
pvcreate/vgextend/lvcreate or extend
-If you create new lv change the permissions and owner to oracle for lv device file.
Guna_2
Regular Advisor

Re: SLVM Query

Hi Turgay,

Thanks for the response.

Unfortuntely the link is not working and i could not find the Doc on it.

Also i have a quick question, if we do standard procedure as you commented would it update the /etc/lvmtab on the alternate nodes as well? Also how about the PVG file if we use lvm PVG?

Thanks again
Turgay Cavdar
Honored Contributor

Re: SLVM Query

Yes it updates /etc/lvmtab_p on all nodes.

Please find the document from here:
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodSeriesId=4296010

Physical volume groups and the lvmpvg file

The physical volume groups work exactly the same way regardless of the activation mode of the volume group. In particular, you can use physical volume groups for configuration operations (lvextend) on shared volume groups.
The /etc/lvmpvg file is not distributed across nodes automatically. The vgextend command acting on a shared volume group updates only the local /etc/lvmpvg file. This is identical to a standalone activation. The /etc/lvmpvg file is not automatically updated on the client nodes sharing the volume group.

Yes it updates /etc/lvmtab_p on all nodes.
Guna_2
Regular Advisor

Re: SLVM Query

Turgay,

Thanks for the docs. I got the point. Thanks

But it seems we would need to have the VG deactivated on all the nodes except one. VxVM CVM is more robostic then SLVM it looks as we could make the Changes online without impacthing anything on CVM.

Thanks again.
Turgay Cavdar
Honored Contributor

Re: SLVM Query

Then you should consider to use LVM 2.1 volume groups, if you want online activation without shutting down some nodes.