Naoki Shiota | 9a1e6d1 | 2014-04-03 14:47:12 -0700 | [diff] [blame] | 1 | ### Cluster-wide settings ### |
| 2 | # List of host names/addresses constitute ONOS cluster |
| 3 | # NOTE: Order of names affects ZooKeeper myid |
| 4 | cluster.hosts.names = onosdev1, onosdev2, onosdev3, onosdev4 |
| 5 | |
| 6 | # Back-end module to store topology/flows |
Naoki Shiota | 611f3dd | 2014-05-30 11:38:37 -0700 | [diff] [blame] | 7 | #cluster.hosts.backend = hazelcast |
| 8 | cluster.hosts.backend = ramcloud |
Naoki Shiota | 9a1e6d1 | 2014-04-03 14:47:12 -0700 | [diff] [blame] | 9 | |
| 10 | # Protocol used by RAMCloud cluster (fast+udp by default) |
| 11 | #cluster.hosts.ramcloud.protocol = fast+udp |
| 12 | |
Naoki Shiota | 9109a1e | 2014-05-13 11:11:01 -0700 | [diff] [blame] | 13 | # Number of RAMCloud replicas (0 by default) |
| 14 | # On N node cluster, maximum value will be N-1 replicas |
| 15 | #cluster.hosts.ramcloud.server.replicas = 0 |
| 16 | |
Naoki Shiota | 9a1e6d1 | 2014-04-03 14:47:12 -0700 | [diff] [blame] | 17 | # Communication method used for Hazelcast communication |
| 18 | #cluster.hosts.hazelcast.network = multicast |
| 19 | cluster.hosts.hazelcast.network = tcp-ip |
| 20 | |
| 21 | # Multicast address used by Hazelcast datagrid (224.2.2.3 by default) |
| 22 | # Valid only if cluster.hosts.hazelcast.network is set to "multicast" |
| 23 | #cluster.hosts.hazelcast.multicast.address = 224.2.2.3 |
| 24 | |
| 25 | # Multicast port used by Hazelcast datagrid (54327 by default) |
| 26 | # Valid only if cluster.hosts.hazelcast.network is set to "multicast" |
| 27 | #cluster.hosts.hazelcast.multicast.port = 54327 |
| 28 | |
| 29 | ### Host-specific settings ### |
| 30 | # IP address of host used for ONOS communication (resolved hostname by default) |
| 31 | #cluster.onosdev1.ip = 192.168.56.11 |
| 32 | |
| 33 | # Role of host |
Naoki Shiota | b76bc65 | 2014-04-28 19:26:13 -0700 | [diff] [blame] | 34 | cluster.onosdev1.role = coord-and-server-node |
Naoki Shiota | 9a1e6d1 | 2014-04-03 14:47:12 -0700 | [diff] [blame] | 35 | |
| 36 | # IP address or hostname of host used for ZooKeeper communication (cluster.onosdev1.ip by default) |
| 37 | #cluster.onosdev1.zk.host = 192.168.56.11 |
| 38 | |
| 39 | # IP address of host used for RAMCloud communication (cluster.onosdev1.ip by default) |
| 40 | #cluster.onosdev1.ramcloud.ip = 192.168.56.11 |
| 41 | |
| 42 | # Port number used by RAMCloud coordinator (12246 by default) |
| 43 | #cluster.onosdev1.ramcloud.coordinator.port = 12246 |
| 44 | |
| 45 | # Port number used by RAMCloud server (12242 by default) |
| 46 | #cluster.onosdev1.ramcloud.server.port = 12242 |
| 47 | |
| 48 | # IP address of host used for Hazelcast communication (cluster.onosdev1.ip by default) |
| 49 | # Valid only if cluster.hosts.hazelcast.network is set to "tcp-ip" |
| 50 | #cluster.onosdev1.hazelcast.ip = 192.168.56.11 |
| 51 | |
| 52 | # At least role must be specified for all hosts |
Naoki Shiota | b76bc65 | 2014-04-28 19:26:13 -0700 | [diff] [blame] | 53 | cluster.onosdev2.role = server-node |
| 54 | cluster.onosdev3.role = server-node |
| 55 | cluster.onosdev4.role = server-node |
Naoki Shiota | 9a1e6d1 | 2014-04-03 14:47:12 -0700 | [diff] [blame] | 56 | |
| 57 | |
| 58 | ### SSH settings used for delivering config files ### |
| 59 | # Common username used to login host (current user by default) |
Naoki Shiota | 611f3dd | 2014-05-30 11:38:37 -0700 | [diff] [blame] | 60 | #remote.common.ssh.user = onos |
Naoki Shiota | 9a1e6d1 | 2014-04-03 14:47:12 -0700 | [diff] [blame] | 61 | |
| 62 | # Host-specific username settings |
Naoki Shiota | 611f3dd | 2014-05-30 11:38:37 -0700 | [diff] [blame] | 63 | #remote.onosdev1.ssh.user = onos |
| 64 | #remote.onosdev2.ssh.user = onos |