blob: cf2cab130ff4dc2b6ac3b2156a60f022e84e991d [file] [log] [blame]
Naoki Shiota9a1e6d12014-04-03 14:47:12 -07001### Cluster-wide settings ###
2# List of host names/addresses constitute ONOS cluster
3# NOTE: Order of names affects ZooKeeper myid
4cluster.hosts.names = onosdev1, onosdev2, onosdev3, onosdev4
5
6# Back-end module to store topology/flows
Naoki Shiota611f3dd2014-05-30 11:38:37 -07007#cluster.hosts.backend = hazelcast
8cluster.hosts.backend = ramcloud
Naoki Shiota9a1e6d12014-04-03 14:47:12 -07009
10# Protocol used by RAMCloud cluster (fast+udp by default)
11#cluster.hosts.ramcloud.protocol = fast+udp
12
Naoki Shiota9109a1e2014-05-13 11:11:01 -070013# 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 Shiota9a1e6d12014-04-03 14:47:12 -070017# Communication method used for Hazelcast communication
18#cluster.hosts.hazelcast.network = multicast
19cluster.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 Shiotab76bc652014-04-28 19:26:13 -070034cluster.onosdev1.role = coord-and-server-node
Naoki Shiota9a1e6d12014-04-03 14:47:12 -070035
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 Shiotab76bc652014-04-28 19:26:13 -070053cluster.onosdev2.role = server-node
54cluster.onosdev3.role = server-node
55cluster.onosdev4.role = server-node
Naoki Shiota9a1e6d12014-04-03 14:47:12 -070056
57
58### SSH settings used for delivering config files ###
59# Common username used to login host (current user by default)
Naoki Shiota611f3dd2014-05-30 11:38:37 -070060#remote.common.ssh.user = onos
Naoki Shiota9a1e6d12014-04-03 14:47:12 -070061
62# Host-specific username settings
Naoki Shiota611f3dd2014-05-30 11:38:37 -070063#remote.onosdev1.ssh.user = onos
64#remote.onosdev2.ssh.user = onos