Load balance in a 3 nodes cluster

64 views
Skip to first unread message

Oriol Gresa

unread,
Jun 1, 2018, 6:16:40 AM6/1/18
to ONOS Discuss

Hi, I've created a 3 nodes cluster and run a mininet topology in one of the nodes (sudo mn --controller remote,ip=192.168.60.14 --topo torus,3,3). Theorically i have the load balance app activated but the 9 switches are all managed by only one node. What can i do to make other nodes manage some of the switches of the network?

Thanks.

Best regards,
Captura de pantalla 2018-06-01 a las 12.14.42.png
Captura de pantalla 2018-06-01 a las 12.09.12.png

Andrea Campanella

unread,
Jun 1, 2018, 6:46:02 AM6/1/18
to Oriol Gresa, ONOS Discuss
Hi, you can give multiple ips in the mininet command.
Or in ONOS Gui you can press "e" to balance the masters. In the ONOS CLI you can do "balance-masters" to achieve the same. 
If you want a periodic check and retry of balancing you can do app activate mlb which is an ones application that automatically does balance for you. 

Cheers,
Andrea Campanella

Member of Technical Staff at ONF
Member of ONOS Technical Steering Team
Member of Ambassador Steering Team, ONOS and CORD Community

--
You received this message because you are subscribed to the Google Groups "ONOS Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onos-discuss...@onosproject.org.
To post to this group, send email to onos-d...@onosproject.org.
Visit this group at https://groups.google.com/a/onosproject.org/group/onos-discuss/.
To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-discuss/e7d848a4-7fe1-413f-824e-82a61b38a4bf%40onosproject.org.
<Captura de pantalla 2018-06-01 a las 12.14.42.png><Captura de pantalla 2018-06-01 a las 12.09.12.png>

Oriol Gresa

unread,
Jun 1, 2018, 9:55:14 AM6/1/18
to ONOS Discuss, 07u...@gmail.com
Hi Andrea, i've already tried with the balance-masters command, and the app activate mlb too (you can see in one of the attached documents the activated apps), but it doesn't work idk why.

Andrea Campanella

unread,
Jun 1, 2018, 10:12:21 AM6/1/18
to Oriol Gresa, ONOS Discuss
This is odd indeed.
Do you see any errors in the logs ? 

Cheers,
Andrea Campanella

Member of Technical Staff at ONF
Member of ONOS Technical Steering Team
Member of Ambassador Steering Team, ONOS and CORD Community

Oriol Gresa

unread,
Jun 1, 2018, 11:24:51 AM6/1/18
to ONOS Discuss, 07u...@gmail.com
I've tried again and this is what appears in the logs. Seems that the load balance runs correctly but nothing happens after. 

Is it normal?
Captura de pantalla 2018-06-01 a las 17.02.48.png
Captura de pantalla 2018-06-01 a las 17.23.30.png

Andrea Campanella

unread,
Jun 1, 2018, 11:26:21 AM6/1/18
to Oriol Gresa, ONOS Discuss
You need to modify the mininet script including all 3 controllers IPs

Cheers,
Andrea Campanella

Member of Technical Staff at ONF
Member of ONOS Technical Steering Team
Member of Ambassador Steering Team, ONOS and CORD Community

To view this discussion on the web visit https://groups.google.com/a/onosproject.org/d/msgid/onos-discuss/90ae57d6-1015-4f87-b2f6-d64c2eb0c60a%40onosproject.org.
<Captura de pantalla 2018-06-01 a las 17.02.48.png><Captura de pantalla 2018-06-01 a las 17.23.30.png>

Reply all
Reply to author
Forward
0 new messages