Multicast Ping , Oracle 11g RAC installation Multicast Test and more

 

Perfect multicast testing utility , its omping , install it with yum like ‘yum install omping’

Use the command like bellow, don’t forget after execute this you have to execute same command other site

[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 (0x49), 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 (0x51), 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 (0x53), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x53), 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 (0x53), 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 stop

kahin01-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 (0x53), 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 (0x41), 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 (0x41), 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 (0x49), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x41), 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 (0x41), 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 (0x51), 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 (0x49), 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

 

VM

Posted on 11/03/2013, in Ethernet and tagged , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: