Hi everyone, I'm trying to set up a simple failover system, but I seem
to be getting lost a bit... I wonder if someone can help?

The idea is that I create a basic system with two Tomcat instances (on
different boxes) and a virtual ip address which will failover between
each Tomcat instance.  I'm running 2.0.8.

I've followed Alan's screencast, and I'm in the situation now with a
very basic ha.cf:

use_logd yes
bcast eth0
node    tomcat1 tomcat2
crm on

and I can crm_mon which shows me that both nodes are up.  I can bring
one down and it goes offline, bring them back up and they both go online
again.  So, at least I know the underlying functionality is working.

Now, I came to a problem when trying to set up the virtual IP address, I
did a search and found that you need a haresources file... that sent me
off in the wrong direction for half a day until I realised that you need
a cib.xml file for a version 2 system instead of haresources.

So, can anyone tell me how I can proceed?  I guess that the next step is
to create a cib.xml file which specifies the virtual ip address?  Also
in the ha.cf sometimes it shows 'crm on' and other times 'crm yes'...
which is correct?

Thanks in advance.

John

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to