Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

ODL cluster configuration

asked 2016-06-01 05:04:19 -0700

mskalski1 gravatar image

updated 2016-06-02 03:34:29 -0700

Hi,

  1. When I specify a role for a node where I run ODL is this role needs to be 'member-X' or its just needs to be string which distinguish this nodes from others? I refer to configuration described here. Could I use for example hostname as role name?
  2. What features needs to be enabled for creating cluster of ODL which will be integrated with OpenStack through odl-ovsdb-openstack? I know that odl-jolokia is now available, do I also need to enable odl-mdsal-clustering?

I use ODL Beryllium SR2 together with OpenStack Mitaka.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-06-03 12:20:20 -0700

1) You can use any name that is uniquely identified the hosts in the cluster. But you need to use the same name in the REST command to retrieve the shard information:

For example if you use host name as the shard member id then the command should be: GET http://<host>:8181/jolokia/read/org.opendaylight.controller:Category=Shards,name=<host>-shard-inventory-config,type=DistributedConfigDatastore

2) The features/bundles you need to set up cluster are:

feature:install odl-mdsal-clustering odl-openflowplugin-flow-services odl-mdsal-all odl-restconf-all odl-ovsdb-openstack bundle:install -s mvn:org.jolokia/jolokia-osgi/1.1.5

Hope it help

edit flag offensive delete publish link more

Comments

Hi, After this change https://git.opendaylight.org/gerrit/gitweb?p=integration%2Fdistribution.git;a=commit;h=e2b6c25341c22e48a0bc97df2f079df82b42b10b odl-jolokia feature can be enabled instead of installing external bundle.

mskalski1 ( 2016-06-06 01:13:55 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-06-01 05:04:19 -0700

Seen: 148 times

Last updated: Jun 03 '16