[Spread-users] How to write config file

lyhf at mail.ustc.edu.cn lyhf at mail.ustc.edu.cn
Thu Apr 2 10:46:24 EDT 2009


Hi Spread Users

    I have two servers. Each server have two interfaces eth0 and eth1. On server
one, the ip address of eth0 is 10.10.100.1 and IP address of eth1 is 192.168.1.1.
On server two, the ip address of eth0 is 10.10.100.2 and IP address of eth1 is
192.168.1.2. These two serves join group "public" via 10.10.100.1 and 10.10.100.2
and join group "private" via 192.168.1.1 and 192.168.1.2. I want to using group
"public" to communicate each other as normal, and when the 10.10.100.1 or
10.10.100.2 is shutting down, we can using group "private" to communicate each
other. I write the config file as following:

Spread_Segment 10.10.100.255:4803 {
        Note1-public        10.10.100.1
        Note2-public        10.10.100.2
}

Spread_Segment 192.168.1.255:4803 {
        Note1-private        192.168.1.1
        Note2-private        192.168.1.2
}

In normal, it can work well. But when the 10.10.100.1 or 10.10.100.2 is shutting
down, we can not communicate each other using group "private". 

How can I write my config file.

Thanks & Regards

Qionglu






More information about the Spread-users mailing list