Bootstrapping

The entire configuration of MidoNet is stored in ZooKeeper, however operators need to point mn-conf itself to the ZooKeeper cluster. The same is true for any MidoNet processes, such as its agent. They will fetch configuration from ZooKeeper but need its address to bootstrap that process.

Bootstrap configuration is read, in order of preference, from these sources:

  • The MIDO_ZOOKEEPER_HOSTS and MIDO_ZOOKEEPER_ROOT_KEY environment variables.
  • ~/.midonetrc
  • /etc/midonet/midonet.conf
  • /etc/midolman/midolman.conf (for backwards compatibility).

These files should have .ini format, and look like this:

[zookeeper]
zookeeper_hosts = 127.0.0.1:2181
root_key = /midonet/v1
[Warning]Warning

Do not modify the root key unless you know what you are doing.

Questions? Discuss on Mailing Lists or Chat.
Found an error? Report a bug.


loading table of contents...