1846394 Members
3188 Online
110256 Solutions
New Discussion

Cluster setup

 
SOLVED
Go to solution
Srinikalyan
Regular Advisor

Cluster setup

We have 3 servers node1, node2 and node3.
I want to create a scenario like:
If node2 fails, package app1 should failover to node3 and then package app2 running on node3 should move to failover server node1.
What are the things I need to consider for this setup?

Thanks,
Srini
7 REPLIES 7
Ivan Krastev
Honored Contributor
Solution

Re: Cluster setup

Config package app1 to use nodes 2 and 3. After failing on node 2 - it will automatically switch to 3.
For package app2 use the following - in the control script of the package app1 you can add some checks - is package app2 is tunning on the same node, move this package to another (1 for example).

See package failover configuration - http://docs.hp.com/en/B3936-90105/ch03s03.html

regards,
ivan
sujit kumar singh
Honored Contributor

Re: Cluster setup

yes u can do this ..

the basic idea is to check if the package app1 has failed over from node2 that is not running at node 2, if so then enable pkg app1 to run on node3 and if the package app1 is running on node3 then halt the package app2 if running on node3 , enable that to start on node1 and start on node1.

this intelligence can be set into the package app2, yes , u can see the following link for this..


http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1301744

see what Rita Workman and Stephen Doud have to say...


what packages is the node1 running?

what do u wish in the event of node 1 failure ?

anf failures egarding if the package aap1 fails when running on node3 that is if node3 fails ?


regards
Sujit
Srinikalyan
Regular Advisor

Re: Cluster setup

Ivan and Sujit,
Thanks for the suggestion.
Nodel is merely a failover node. This node is used only in case of any failure of the primary nodes.
likid0
Honored Contributor

Re: Cluster setup

For 3 nodes with to packages i prefer using asl failover policy min_package_node:

# "FAILOVER_POLICY" is the policy to be applied when package fails.
# The alternative policy is "MIN_PACKAGE_NODE". This policy means
# Serviceguard will select from the list of "NODE_NAME" entries the
# node, which is running fewest packages when this package needs to
# start.


Windows?, no thanks
Srinikalyan
Regular Advisor

Re: Cluster setup

Hi,
In my requirement, do we need hearbeat connections for the three nodes ?
Thanks,
Srini
Srinikalyan
Regular Advisor

Re: Cluster setup

Do I need the heartbeat connections between the three nodes for the above mentioned scenario?
Thanks,
Srini
sujit kumar singh
Honored Contributor

Re: Cluster setup

hi Srini

u must have the heartbeat to all the nodes in the cluster as that is how the cluster manager node understands that the node is alive when it receives the heart beat signals from the nodes.

if u configure a node or try to config a node for which u have not heartbeat defined, cmcheckconf and cmapplyconf shall simply throw u warnings and errors regarding the configuration.

so definitely u should have a bridged heartbeat network onfigured and defined for all the three nodes and also that with the heartbeat failovers.

regards
sujit