Slide 45
Slide 45 text
onos> nodes
id=192.168.0.181, address=192.168.0.181:9876, state=READY, version=1.12.0, updated=2m21s ago *
id=192.168.0.182, address=192.168.0.182:9876, state=READY, version=1.12.0, updated=2m13s ago
onos> masters
192.168.0.181: 5 devices
of:0000000000000001
of:0000000000000002
of:0000000000000003
of:0000000000000004
of:0000000000000005
192.168.0.182: 0 devices
onos> roles
of:0000000000000001: master=192.168.0.181, standbys=[ ]
of:0000000000000002: master=192.168.0.181, standbys=[ ]
of:0000000000000003: master=192.168.0.181, standbys=[ ]
of:0000000000000004: master=192.168.0.181, standbys=[ ]
of:0000000000000005: master=192.168.0.181, standbys=[ ]
# ------------------------------
onos> balance-masters
# ------------------------------
onos> masters
192.168.0.181: 3 devices
of:0000000000000001
of:0000000000000002
of:0000000000000005
192.168.0.182: 2 devices
of:0000000000000003
of:0000000000000004
onos> roles
of:0000000000000001: master=192.168.0.181, standbys=[ 192.168.0.182 ]
of:0000000000000002: master=192.168.0.181, standbys=[ 192.168.0.182 ]
of:0000000000000003: master=192.168.0.182, standbys=[ 192.168.0.181 ]
of:0000000000000004: master=192.168.0.182, standbys=[ 192.168.0.181 ]
of:0000000000000005: master=192.168.0.181, standbys=[ 192.168.0.182 ]
45 / 50
balance-masters