Operating System - HP-UX
1833838 Members
2157 Online
110063 Solutions
New Discussion

who know how to active sharable vg on two nodes without install cluster on hpux 11i

 
hongjing_zhang
Trusted Contributor

who know how to active sharable vg on two nodes without install cluster on hpux 11i

and who have the documents about install oracle 10g rac on hpux 11i,
7 REPLIES 7
Mark Grant
Honored Contributor

Re: who know how to active sharable vg on two nodes without install cluster on hpux 11i

As far as I am aware, you can't. The "-s" option to "vgchange" only arrives with the arrival of ServiceGuard.

However, it doesn't actually need to be sharable for some kind of failover. The vgexport and vgimport still work. So you could create a volume group on a server, "vgexport -p" it and then import it on the second server. If you then make sure that it is not activated on the second server (by not having an entry in /etc/lvmtab) then you have some means to fail over. I.E when the first server isn't available, just activate it on the second one. I imagine this would all work.
Never preceed any demonstration with anything more predictive than "watch this"
Ashwani Kashyap
Honored Contributor

Re: who know how to active sharable vg on two nodes without install cluster on hpux 11i

As far as I know its not possible . Even with service Guard cluster , even though the VG's are shared but it is active exclusively on one node only .

For true share , one has to use SLVM ( shared LVM ) that comes with OPS clusters or Service Guard extensions for RAC .

This feature migt also be available in near future when HP completes prting tru cluster from tru64 into HPUX .
Kent Ostby
Honored Contributor

Re: who know how to active sharable vg on two nodes without install cluster on hpux 11i

As a further note to those above, the OPS RAC (which is probably what you are looking for) only allows for shared VGs that are used in raw mode.

Shared filesystems except via NFS.

Also, keep in mind that if you use Mark's solution to vgimport/vgexport, the disks when not in use by the one system will look available via SAM and other tools (since they are physically attached but not used on that system) -- be careful not to overwrite the data on those disks from the "other" system where they are not in use.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Thayanidhi
Honored Contributor

Re: who know how to active sharable vg on two nodes without install cluster on hpux 11i

Without MCSG you cannot share the VG.
cmlvmd- monitors the activation of a VG
across the nodes. Without cmlvmd running
you cannot run vgchange -s y.
If you activate the VG is both nodes
without MCSG & vgchange -s y,
you would possibly endup with currupt file
system.

TT

Attitude (not aptitude) determines altitude.
Geoff Wild
Honored Contributor

Re: who know how to active sharable vg on two nodes without install cluster on hpux 11i

You need MC/SG (or another clustering software) to share a VG....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
David Child_1
Honored Contributor

Re: who know how to active sharable vg on two nodes without install cluster on hpux 11i

If you are decide to use Marks method (which does work) you will want to edit the /etc/lvmrc file as if MC/SG was installed. You will need to *ensure* that these volume groups don't get activated on the 'standby' host until you want them to.

If you have imported these volume groups on the secondary host, but don't activate them, there is still a risk in the event of a reboot. If the secondary host reboots and you have not modified the /etc/lvmrc file to not activate these 'shared volume groups' they will be activated on reboot.

David
JW_8
Occasional Advisor

Re: who know how to active sharable vg on two nodes without install cluster on hpux 11i

Hi,
You must have SG and SGeRAC installed to get
shared VG (SLVM) capability. As for Oracle 10g RAC documentation, you can get it from http://otn.oracle.com. You should have SG/SGeRAC installed and configured before you start the 10g RAC installation. However, this is first release that Oracle introduces CRS. I have heard there are many quality issues. Good luck.