Operating System - HP-UX
1836932 Members
3457 Online
110111 Solutions
New Discussion

Re: Configuring volume group

 
Karthik Narayanan
Occasional Advisor

Configuring volume group

Hi
I was able to get my cluster up and configure my package. While configuring the package I didnot get any option to specify the volume group, lvg and the mount point.
I have one cluster lock volume group as /dev/vgha1, which i would like to use for all of my packages.
Atlast, I congigured my package and made my package to run(a xclock). Failover to the other node is also working well.But I really dont know how it runs, reason being when i open the control.sh, i find VG[0], LV[0] and all commented.. I dint specify any vol group.. so where is it in the world, it is running?
Also, I am not able to add a new package when cluster is running.. But I could do it when the cluster is down.

Pls help me out.
thanks
-- karthik
6 REPLIES 6
Sanjay_6
Honored Contributor

Re: Configuring volume group

Sanjay_6
Honored Contributor

Re: Configuring volume group

Hi Karthik,

Here is another faq on SG,

http://docs.hp.com/hpux/onlinedocs/ha/haFAQindex2.html

And here is the HP doc for SG,

http://docs.hp.com/hpux/onlinedocs/B3936-90053/B3936-90053.html

Hope this helps.

Regds
Sridhar Bhaskarla
Honored Contributor

Re: Configuring volume group

Karthik,

cluster lock is specific to the entire cluster not for the package. So you would define it in /etc/cmcluster/cmclconfig.ascii (or the corresponding name that you used).

You don't need to configure volume groups and file systems to get the package running. If your package doesn't use file systems, your package script will have no infomation about them.

You will need to put them in /etc/cmcluster/your_package_name/your_package.ctl (the control script). Here is where you would mention the volume group, floating IPs, logical volumes and the file systems.

You can be able to add a new package while the cluster is running. Create a seperate package and run the command

cmcheckconf -P /etc/cmcluster/new_package/new_package.conf

cmapplyconf -P /etc/cmcluster/new_package/new_package.conf

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Karthik Narayanan
Occasional Advisor

Re: Configuring volume group

hi
thanks for the faq.

Hi SANJAY,
1. well ! so my test package is a xclock. so i dont need to have any vol,lv or filesystem configured right ???
2. Can I use SAM to create a new package when the cluster is running? bcos i used SAM and it was hanging.
3. Also, can I use the lock volume
group /dev/vgha1 for lock as well as for my packages?

4. Now that my xclock(which doesnt need any filesystem) works fine, fails over and all those stuff happens well. How do I test any concurrent shared volume accessing, packages? can u suggest me some sample application.
(Like I have an idea of Running a web-server to see whether the relocation of IP address takes place on failover)

thanks
karthik
Karthik Narayanan
Occasional Advisor

Re: Configuring volume group

Hi, can anyone answer my above questions?
the previous mesg.

thanks
karthik
G. Vrijhoeven
Honored Contributor

Re: Configuring volume group

Hi Karthink,

OK.

I do not know if you have access to the nfs toolkit, but you can try getting that to work.

It can be usefull and enables you to create an volume group, and test network fail over.

Hope this will help.

Gideon

PS. since some answers to this and your previouse questions were usefull do not forget to assign points, but do not give away a bunny before you have a good answer:-