1. Download and install the appropriate TIPC source code from http://sourceforge.net/projects/tipc/ according to your Linux kernel's version. tipc-1.5.05 won't compile to linux 2.6.5 as my experience.

2. You can configure LinuxHA in two ways to build the tipc communication module: copy Path_to_TIPC_source/include/net/tipc/tipc.h as /usr/include/net/tipc/tipc.h and configure LinuxHA as usual, or configure LinuxHA with --with-tipc-source=Path_to_TIPC_source, e.g. --with-tipc-source=/home/james/tipc-1.4.01,
   tipc will be built if tipc.h found during configuration.

3. Build and install LinuxHA.

4. Modify /etc/ha.d/ha.cf on each node.  add one line like:

   tipc  2000  1  300

   into ha.cf. This line must be same on all nodes.
The 3 integers indicate: port name type, lower bound, upper bound. The name type can't be 0~7, which are reserved by TIPC, the lower bound can not be greater than the upper bound. for the exact meaning and full explanation, you can refer to TIPC's documentations.

4. Insmod tipc.ko and setup the interfaces referring to TIPC's README. Make sure that each node in the cluster has
   linkage to others. `tipc-config -l` may help to check this.

5. Now you can start heartbeat.

--
JMP - James Pan

_______________________________________________________
Linux-HA-Dev: [EMAIL PROTECTED]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to