Operating System - HP-UX
1748031 Members
5220 Online
108757 Solutions
New Discussion юеВ

Re: Is active and active config is possible on Service Gurard for 2 node cluster

 
SOLVED
Go to solution
vinod u
Advisor

Is active and active config is possible on Service Gurard for 2 node cluster

Hi All,

I have a req where i need to config 2 node cluster on HP UX V2 . 2 servers are Cx 2600 and the storage is EVA.The req is one application runs on Node 1 and the other on node 2. If any failure on node1 then Node 2 will take over the applivation 1 and if any failover on Node 2 then Node 1 will take over application 2. my concern is
1. Will both application can write to same storage at same time ( I know only one node can write )
2. Is it reqd to have diffnt VGs?
3.Whats the criticality involved in this case.
4. Any whitepapers or any docs or any pointers please

Attached is the brief req
Regards
Vinod
6 REPLIES 6
Solution

Re: Is active and active config is possible on Service Gurard for 2 node cluster

active/active is one of those confusing terms that isn't clearly defined in IT, it means different things to different folks...

- Active/Active can mean where 2 nodes in a cluster are both running applications, but seperate applications writing to seperate storage. Microsoft would call MSCS active/active in that very often you run one SQL server instance on one node and a seperate one on the other.

- Active/Active can also mean where you have one application with processes active on both nodes, writing concurrently to the same piece of storage. Oracle RAC is the classic example of this.

In your case its sounds like you're talking about the first definition. So to answer your questions:

1. Depends what you mean by "storage" - if you mean to the same disk array then yes, if you mean to the same filesystem, logical volume, volume group or LUN then *no*. Don't even strat thinking that one node can read from a filesystem whilst the other is writing - unless you have a proper cluster filesystem you shouldn't do this.
2. Yes its required to have different VGs - and that implies different filesystems, different IP addresses and different start/stop scripts to.
3. This question makes no sense
4. Beyond what I've written above? No not really, just follow the manual for Serviceguard:

http://docs.hp.com/en/ha.html#Serviceguard

HTH

Duncan

I am an HPE Employee
Accept or Kudo
vinod u
Advisor

Re: Is active and active config is possible on Service Gurard for 2 node cluster

Hi Duncan
Thanks for the swift reply.

YEs ur right my req matches first case Where application 1 runs on node 1 and application 2 runs on node 2 And I am gng to create different packages for both the nodes. My concern was about Volume Groups Your answer cleared my doubts I need to have diffnt VGs for Diffnt packages and for diffnt nodes.

So when Appl 1 failes on Node 1 it will switch to Node 2 and When Appl 2 fails on node 2 it will switch to Node 1. But package P1 on node 1 shd write to Vg1 and Package P2 on node2 shd write to Vg2.

I will create vg 1 and vg 2 in the same EVA.

Correct me if I am wrong. Thanks once again

Regards
Vinod
Steven E. Protter
Exalted Contributor

Re: Is active and active config is possible on Service Gurard for 2 node cluster

Shalom,

The methodology you describe will work.

Normally a package needs to activate a volume group at start up, so it will need its own volume group on shared storage

Some applications like Oracle RAC can use service guard and both access the same data at the same time from two different nodes. That requires special volume group work.

The situation you describe, packages on both nodes is simple and just requires you get the shared storage configured so each package has its down volume group to activate.

Docs:
http://docs.hp.com/en/6033/HPServiceguardClusterConfig_WP.pdf

http://www.docs.hp.com/en/B8725-90053/ch06s06.html

http://docs.hp.com/en/T1859-90048/ch01s01.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Anoop P_2
Regular Advisor

Re: Is active and active config is possible on Service Gurard for 2 node cluster

Use seperate volume groups for each application.
Whether or not both vgs are on the same storage, this will allow you to have one application running on each node at one time. At times as needed, fail over to the other node will be possible as well.
vinod u
Advisor

Re: Is active and active config is possible on Service Gurard for 2 node cluster

Hi all,
Thanks a lot for the inputs. I created design document with all the inputs.

I created cluster also. Hope it will work as expected.

Thanks once again

Vinod
vinod u
Advisor

Re: Is active and active config is possible on Service Gurard for 2 node cluster

Thanks