I'm trying to setup corosync on a single node.

I downloaded corosync-1.2.3.tar.gz, and after extracting it, issued the 
following as root on a single node:
# configure
# make install

The above succeeded.

I then did the following:
# cd /etc/corosync
# cp corosync.conf.example corosync.conf

I changed the following lines thus:
               bindnetaddr: 172.23.220.0
                mcastaddr: 172.23.223.255
Other than the above, I have not changed anything in corosync.conf

[ The output from ifconfig on this system is shown below:
[r...@localhost corosync]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:18:8B:39:6C:FB
          inet addr:172.23.221.217  Bcast:172.23.223.255  Mask:255.255.252.0
          inet6 addr: fe80::218:8bff:fe39:6cfb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36179218 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51451 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2904591110 (2.7 GiB)  TX bytes:4540059 (4.3 MiB)
          Interrupt:169 Memory:f8000000-f8012800

lo        . . . ]

After the above, I ran the following as root successfully:
# corosync-keygen

I started the corosync executive as follows:
# corosync

The above started fine. I re-verified using ps:
[r...@localhost corosync]# ps -ael | grep corosync
5 S     0   639     1  0 -40   - - 35494 209558 ?        00:00:00 corosync

Now, I tried running the supplied test program with corosync (under test 
directory):
[r...@localhost test]# ./testcpg
Local node id is d9dd17ac
Could not join process group, error 6
[r...@localhost test]# ./testcpg2
All of the nodeids should match on a single node configuration
 for the test to pass.local_get: d9dd17ac
testcpg2: testcpg2.c:81: main: Assertion `CS_OK==cpg_join(handle, &group)' 
failed.
Aborted

What should I be doing to get this to run successfully?

Thanks,

-   Kishore
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to