Thank you John!
I am referring to that. And I would like to give a description of the
current status firstly.

Two nodes:
Primary hostname=IanVM-4, ipaddr=192.168.1.224
Slave    hostname=IanVM-5, ipaddr=192.168.1.225

What I want to make high-available: my_server - a program repeat to
accept tcp connection request (listen at 192.168.1.230:4567) and
disconnect in a few seconds.

===========
Current Status
===========

Heartbeat on two nodes are able to run at present.

[EMAIL PROTECTED] scripts] /etc/init.d/heartbeat start
logd is already running
Starting High-Availability services:         [  OK  ]
[EMAIL PROTECTED] scripts] /etc/init.d/heartbeat start
logd is already running
Starting High-Availability services:         [  OK  ]
[EMAIL PROTECTED] scripts] /usr/sbin/crm_mon -i2
Refresh in 1s...

============
Last updated: Wed Aug 22 22:15:04 2007
Current DC: ianvm-4 (7299b236-da3e-4748-b284-be59b5d09ee7)
2 Nodes configured.
0 Resources configured.
============

Node: ianvm-4 (7299b236-da3e-4748-b284-be59b5d09ee7): online
Node: ianvm-5 (7b2440d8-b23a-4192-b538-a8168a5414c9): online


==============
Next Step: cib.xml
==============
I want to make a cib.xml from a haresources.temp using
haresources2cib.py according to
http://linux-ha.org/v2/Examples/Simple. But not all the entries in the
example haresources.temp:

mars 10.0.200.30/16/eth0 apache2
                           ~~~what does this mean?

What is it in my case? Something as follows?

IanVM-4 192.168.1.236/???/eth0 my_server


On 8/22/07, John Gardner <[EMAIL PROTECTED]> wrote:
> Ian Jiang wrote:
> > Hi all,
> > I am a newbie and I would like to get a quick understanding what the
> > failover by linux-ha (heartbeat) looks like.
> > I have already got two nodes configured with heartbeat.
> >
> > [EMAIL PROTECTED] heartbeat-2.0.8]# /etc/init.d/heartbeat start
> > logd is already running
> > Starting High-Availability services:                        [  OK  ]
> >
> > How to add in an service of my own then? I would like to do this as
simple
> > as possible. Could anyone give some instructions or references? Thanks
very
> > much!
> >
> >
> > My service is as simple as a single program called my_server. The two
nodes
> > are both with an OS of FC6, and named IanVM-4 and IanVM-5 respectively.
> > And here are my authkeys, ha.cf and logd.cf.
> >
>
> Ian
>
> View the screencast on setting up a virtual ip:
> http://linux-ha.org/Education/Newbie/IPaddrScreencast
>
> John
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


-- 
Ian Jiang
_______________________________________________
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