Operating System - HP-UX
1832867 Members
2866 Online
110048 Solutions
New Discussion

Re: Two applications under one volume group??

 
Bret Allibone
Advisor

Two applications under one volume group??

I have two applications I want to add into MC/ServiceGuard:
- OmniBack II
- Control-M (job scheduling)

Both apps are installed on the same shared disk in /dev/vg01.

I would like to configure them into two packages.

Is this possible?

I understand that if one package has to switch the other will have to switch too, but I don't mind.

I don't know whether MC/ServiceGuard will let me configure VG[0]="/dev/vg01" in two package control scripts.

I can't separate these applications onto different disks.

Any ideas?

Bret.
Marmite is superior to Vegemite
6 REPLIES 6
Joaquin Gil de Vergara
Respected Contributor

Re: Two applications under one volume group??

no

you must to separate aplicattions in two different VGs or package both in only one packet

personally i suggest you first option
Teach is the best way to learn
Sean OB_1
Honored Contributor

Re: Two applications under one volume group??

Bret,

If both have to switch because they are on the same vg, then why not put them in one package?

Sean
Sanjay_6
Honored Contributor

Re: Two applications under one volume group??

Hi Bret,

Each package on the SG has its own VG. So if your two application are installed as part of the same VG, you cannot seperate them as two different packages.

Hope this helps.

regds
Tom Danzig
Honored Contributor

Re: Two applications under one volume group??

If both apps can be part of the same package, you can do it. If not, they must be on separate volume groups.
Deshpande Prashant
Honored Contributor

Re: Two applications under one volume group??

Hi
If you do not mind both applications switching at a time, create a single package.
With single VG anyway you are stuck with that option.

Prashant.
Take it as it comes.
Martin Johnson
Honored Contributor

Re: Two applications under one volume group??

Contrary to what the others have said, you *CAN* have two packages in the same volume group. It is much easier to have them in one package, but it can be done in two.

If you decide to do it in two packages, you will have to add a lot of error checking that the volumne group is active and the appropriate file systems are mounted.

You will also have to have code to coordinate the two packages, so they are not trying to the same thing at once, like mounting file systems. We've found it easier to have the volume group and file system mounting in their own packages and have the packages run sequentially (for example, package sql01 waits for package sql01_mountfs to finish before running and sql01_mountfs waits for activate_vg01 to finish).

HTH
Marty