分类: 系统运维
2013-12-30 13:19:01
[root@kahin02-11g ~]# omping kahin02-11g-priv kahin01-11g-priv -vv
Utility detected ip address of local server/client,set buffers and waiting for initialization of remote peer
addrfunc.c:438 getaddrinfo for “kahin02-11g-priv” port 4321 ip_ver 0
cli.c:651 new address “kahin02-11g-priv” added to list (position 0)
addrfunc.c:438 getaddrinfo for “kahin01-11g-priv” port 4321 ip_ver 0
cli.c:651 new address “kahin01-11g-priv” added to list (position 1)
cli.c:779 Every address support ipv4
addrfunc.c:555 Found local addr ipv4, addr: 10.79.79.2 as device bond1
addrfunc.c:438 getaddrinfo for “232.43.211.234″ port 4321 ip_ver 4
sockfunc.c:571 Send buffer (unicast socket) allocated 262144 bytes
sockfunc.c:577 Receive buffer (unicast socket) allocated 4194304 bytes
sockfunc.c:571 Send buffer (multicast socket) allocated 262144 bytes
sockfunc.c:577 Receive buffer (multicast socket) allocated 4194304 bytes
kahin01-11g-priv : waiting for response msg
msgsend.c:113 Sending init msg to 10.79.79.1
kahin01-11g-priv : waiting for response msg
msgsend.c:113 Sending init msg to 10.79.79.1
And we got a response from other site and swtich multicasting
omping.c:511 Received unicast message from 10.79.79.1 type I (0×49), len 45
msgsend.c:178 Sending response msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.1
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
kahin01-11g-priv : waiting for response msg
msgsend.c:113 Sending init msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type S (0×53), len 64
kahin01-11g-priv : joined (S,G) = (*, 232.43.211.234), pinging
msgsend.c:145 Sending query msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : unicast, seq=1, size=69 bytes, dist=0, time=0.354ms
omping.c:511 Received multicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : multicast, seq=1, size=69 bytes, dist=0, time=0.363ms
omping.c:511 Received unicast message from 10.79.79.1 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.1
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : unicast, seq=2, size=69 bytes, dist=0, time=0.345ms
omping.c:511 Received multicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : multicast, seq=2, size=69 bytes, dist=0, time=0.354ms
omping.c:511 Received unicast message from 10.79.79.1 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.1
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : unicast, seq=3, size=69 bytes, dist=0, time=0.318ms
omping.c:511 Received multicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : multicast, seq=3, size=69 bytes, dist=0, time=0.326ms
omping.c:511 Received unicast message from 10.79.79.1 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.1
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : unicast, seq=4, size=69 bytes, dist=0, time=0.357ms
omping.c:511 Received multicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : multicast, seq=4, size=69 bytes, dist=0, time=0.365ms
omping.c:511 Received unicast message from 10.79.79.1 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.1
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : unicast, seq=5, size=69 bytes, dist=0, time=0.355ms
omping.c:511 Received multicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : multicast, seq=5, size=69 bytes, dist=0, time=0.364ms
omping.c:511 Received unicast message from 10.79.79.1 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.1
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : unicast, seq=6, size=69 bytes, dist=0, time=0.362ms
omping.c:511 Received multicast message from 10.79.79.1 type A (0×41), len 69
kahin01-11g-priv : multicast, seq=6, size=69 bytes, dist=0, time=114.891ms
omping.c:511 Received unicast message from 10.79.79.1 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.1
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type S (0×53), len 42
omping.c:964 Server doesn’t send us multicast group
omping.c:967 Client was in query state. Put to initial state
kahin01-11g-priv : waiting for response msg
msgsend.c:113 Sending init msg to 10.79.79.1
omping.c:511 Received unicast message from 10.79.79.1 type S (0×53), len 34
omping.c:964 Server doesn’t send us multicast group
omping.c:977 Client was not in query state. Put it to stop state
kahin01-11g-priv : server told us to stopkahin01-11g-priv : unicast, xmt/rcv/%loss = 6/6/0%, min/avg/max/std-dev = 0.318/0.348/0.362/0.016
kahin01-11g-priv : multicast, xmt/rcv/%loss = 6/6/0%, min/avg/max/std-dev = 0.326/19.444/114.891/46.759
omping.c:187 Moving all clients to stop state and server to finishing state
omping.c:197 Waiting for 3000 ms to inform other nodes about instance exit
Below you can see that other server , of course this establishment time you have to execute same command here
[root@kahin01-11g ~]# omping kahin02-11g-priv kahin01-11g-priv -vv
addrfunc.c:438 getaddrinfo for “kahin02-11g-priv” port 4321 ip_ver 0
cli.c:651 new address “kahin02-11g-priv” added to list (position 0)
addrfunc.c:438 getaddrinfo for “kahin01-11g-priv” port 4321 ip_ver 0
cli.c:651 new address “kahin01-11g-priv” added to list (position 1)
cli.c:779 Every address support ipv4
addrfunc.c:555 Found local addr ipv4, addr: 10.79.79.1 as device bond1
addrfunc.c:438 getaddrinfo for “232.43.211.234″ port 4321 ip_ver 4
sockfunc.c:571 Send buffer (unicast socket) allocated 262144 bytes
sockfunc.c:577 Receive buffer (unicast socket) allocated 4194304 bytes
sockfunc.c:571 Send buffer (multicast socket) allocated 262144 bytes
sockfunc.c:577 Receive buffer (multicast socket) allocated 4194304 bytes
kahin02-11g-priv : waiting for response msg
msgsend.c:113 Sending init msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type S (0×53), len 64
kahin02-11g-priv : joined (S,G) = (*, 232.43.211.234), pinging
msgsend.c:145 Sending query msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : unicast, seq=1, size=69 bytes, dist=0, time=0.322ms
omping.c:511 Received multicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : multicast, seq=1, size=69 bytes, dist=0, time=0.348ms
omping.c:511 Received unicast message from 10.79.79.2 type I (0×49), len 45
msgsend.c:178 Sending response msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.2
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : unicast, seq=2, size=69 bytes, dist=0, time=0.352ms
omping.c:511 Received multicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : multicast, seq=2, size=69 bytes, dist=0, time=0.361ms
omping.c:511 Received unicast message from 10.79.79.2 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.2
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : unicast, seq=3, size=69 bytes, dist=0, time=0.366ms
omping.c:511 Received multicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : multicast, seq=3, size=69 bytes, dist=0, time=0.375ms
omping.c:511 Received unicast message from 10.79.79.2 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.2
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : unicast, seq=4, size=69 bytes, dist=0, time=0.368ms
omping.c:511 Received multicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : multicast, seq=4, size=69 bytes, dist=0, time=0.377ms
omping.c:511 Received unicast message from 10.79.79.2 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.2
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : unicast, seq=5, size=69 bytes, dist=0, time=0.335ms
omping.c:511 Received multicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : multicast, seq=5, size=69 bytes, dist=0, time=0.343ms
omping.c:511 Received unicast message from 10.79.79.2 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.2
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : unicast, seq=6, size=69 bytes, dist=0, time=0.338ms
omping.c:511 Received multicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : multicast, seq=6, size=69 bytes, dist=0, time=0.347ms
omping.c:511 Received unicast message from 10.79.79.2 type Q (0×51), len 84
msgsend.c:67 Sending unicast answer msg to 10.79.79.2
msgsend.c:82 Sending multicast answer msg to 232.43.211.234
msgsend.c:145 Sending query msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : unicast, seq=7, size=69 bytes, dist=0, time=0.304ms
omping.c:511 Received multicast message from 10.79.79.2 type A (0×41), len 69
kahin02-11g-priv : multicast, seq=7, size=69 bytes, dist=0, time=0.313ms
^C
kahin02-11g-priv : unicast, xmt/rcv/%loss = 7/7/0%, min/avg/max/std-dev = 0.304/0.341/0.368/0.023
kahin02-11g-priv : multicast, xmt/rcv/%loss = 7/7/0%, min/avg/max/std-dev = 0.313/0.352/0.377/0.022
omping.c:187 Moving all clients to stop state and server to finishing state
omping.c:197 Waiting for 3000 ms to inform other nodes about instance exit
omping.c:511 Received unicast message from 10.79.79.2 type Q (0×51), len 84
omping.c:855 Server is not in answer state
msgsend.c:178 Sending response msg to 10.79.79.2
omping.c:511 Received unicast message from 10.79.79.2 type I (0×49), len 45
omping.c:785 We are in finishing state. Sending request to stop.
msgsend.c:178 Sending response msg to 10.79.79.2