1828358 Members
3041 Online
109976 Solutions
New Discussion

Re: Clustering

 
gauravsingh235
Advisor

Clustering

I have two nodes i a cluster.
node1 ip is 192.168.1.4
node2 ip is 192.168.1.5
cluster name is node and also in vi /etc/hosts
file i have given
192.168.1.4 node1.example.com node1
192.168.1.5 node2.example.com node2
192.168.1.99 node.example.com node
i am able to ping node1 and node2 from either of the nodes.
also these two nodes are seen as a member of the cluster.
but i want to access them as a single ip of 192.168.1.99 i am unable to ping this ip also from either if the node s please suggest

regards
gaurav
11 REPLIES 11
Vitaly Karasik_1
Honored Contributor

Re: Clustering

Gaurav,

Which cluster software do you use?
But in general it seems like your cluster didn't start virtual IP. By running "ifconfig" on both nodes we can prove my theory.

So send use name/version your cluster s/w and tell us about your cluster config.

Rgds,
Vitaly
gauravsingh235
Advisor

Re: Clustering

i am using red hat cluster suite version 4.
the o/p of ifconfig is showing only one ip that is my node ip wat is the way to create virtual ip?

please suggest
Vitaly Karasik_1
Honored Contributor

Re: Clustering

did you configure RH Cluster Manager and create a cluster application according to RH docs?
gauravsingh235
Advisor

Re: Clustering

yes i have done that


the o/p of the command
clustat is showing two active nodes of the cluster.
my only problem is that i want the two nodes to be accessed by only one IP

please suggest
Serviceguard for Linux
Honored Contributor

Re: Clustering

Virtual IPs are typically used for accessing an application with a virtual IP. The Vitual IP is only really available on one node at a time.


You cannot access both nodes at the same time using the virtual IP.
gauravsingh235
Advisor

Re: Clustering

Actually i am having two nodes in a cluster One is active and the other one is passive.
the active will be working with the virtual IP and the passive one will be silently observing , once the active one fails this virtual ip will start operating from the passive node and the node will become active.
Ivan Ferreira
Honored Contributor

Re: Clustering

You must use system-config-cluster to configure a service resource. Check the red hat cluster suite documentation in the section "Adding Cluster Resources" for information about how to create a service with a virtual IP.

You can get the documents from here:

http://www.redhat.com/docs/manuals/csgfs/
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
gauravsingh235
Advisor

Re: Clustering

I am not able to diagonise the problem please explain the solution in detail
Vitaly Karasik_1
Honored Contributor

Re: Clustering

can you send us your RH cluster config files?
gauravsingh235
Advisor

Re: Clustering

thanks everybody finally i have done the configuration issue is closed.. thanks everyone for the support.
gauravsingh235
Advisor

Re: Clustering

I have done the configuration as per ivan's reply.. thanks everybody for the support