blob: 360758547a56b48a54e725bbabbb7ea74f426671 [file] [log] [blame]
Yuta HIGUCHI85de40d2014-06-12 14:06:41 -07001
2# Name of ONOS cluster ("onos" by default)
3# used as namespace, etc. in ZooKeeper, Hazelcast, RAMCloud
4#onos.cluster.name = onos
5
Naoki Shiota9df15d32014-03-27 14:26:20 -07006# Name of this host (`hostname` by default)
Naoki Shiota4e928512014-04-03 15:49:35 -07007#host.name = onosdev1
Naoki Shiota9df15d32014-03-27 14:26:20 -07008
9# IP address of this host used for ONOS communication
10host.ip = 127.0.0.1
11
12# Role of this host
Naoki Shiotabe433a12014-04-07 12:03:49 -070013# single-node: run ONOS with stand-alone RAMCloud
Naoki Shiota9df15d32014-03-27 14:26:20 -070014# coord-node : run ONOS with RAMCloud coordinator
15# server-node: run ONOS with RAMCloud server
Naoki Shiotabe433a12014-04-07 12:03:49 -070016# coord-and-server-node: run ONOS with RAMCloud coordinator and server
Naoki Shiota9df15d32014-03-27 14:26:20 -070017host.role = single-node
18
19# Back-end module to store topology/flows
20host.backend = hazelcast
21#host.backend = ramcloud
22
Yuta HIGUCHI5f1ce1c2014-07-20 22:43:54 -070023# ZooKeeper: port to listen for client connections/
24# port that clients attemApt to connect to
25# (2181 by default)
26#zookeeper.clientPort = 2181
27
Naoki Shiota4e928512014-04-03 15:49:35 -070028# List of host name/IPs that constitute ZooKeeper cluster (only current host by default)
Naoki Shiota9df15d32014-03-27 14:26:20 -070029# myid will be assigned incrementally according to order of list
Naoki Shiota9df15d32014-03-27 14:26:20 -070030#zookeeper.hosts = onosdev1,onosdev2,onosdev3,onosdev4
31
Yuta HIGUCHI5f1ce1c2014-07-20 22:43:54 -070032# ZooKeeper: ports to be used as leader, leader election. (2888:3888 by default)
33#zookeeper.ports = 2888:3888
34
Yuta HIGUCHI85de40d2014-06-12 14:06:41 -070035# RAMCloud clusterName (same as onos.cluster.name by default)
36#ramcloud.clusterName = onos
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070037
Yuta HIGUCHIea7eba02014-05-14 11:13:52 -070038# RAMCloud transport timeout (1000 by ONOS default)
39#ramcloud.timeout = 1000
40
Naoki Shiota9df15d32014-03-27 14:26:20 -070041# Protocol used by RAMCloud coordinator (fast+udp by default)
42#ramcloud.coordinator.protocol = fast+udp
43
Naoki Shiota9109a1e2014-05-13 11:11:01 -070044# Listening address of RAMCloud coordinator (host.ip or 0.0.0.0 by default)
Naoki Shiota9df15d32014-03-27 14:26:20 -070045#ramcloud.coordinator.ip = 127.0.0.1
46
47# Port number of RAMCloud coordinator (12246 by default)
48#ramcloud.coordinator.port = 12246
49
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070050# RAMCloud coordinator option deadServerTimeout (1000 by ONOS default)
51# Increase this value if server failing due to false positive failure detection.
52#ramcloud.coordinator.deadServerTimeout = 1000
53
Naoki Shiota9df15d32014-03-27 14:26:20 -070054# Protocol used by RAMCloud server (fast+udp by default)
55#ramcloud.server.protocol = fast+udp
56
Naoki Shiota9109a1e2014-05-13 11:11:01 -070057# Listening address of RAMCloud server (host.ip or 0.0.0.0 by default)
Naoki Shiota9df15d32014-03-27 14:26:20 -070058#ramcloud.server.ip = 127.0.0.1
59
60# Port number of RAMCloud server (12242 by default)
61#ramcloud.server.port = 12242
Naoki Shiota4e928512014-04-03 15:49:35 -070062
Yuta HIGUCHI45bc3cf2014-04-19 18:12:15 -070063# RAMCloud server option masterServiceThreads (5 by default)
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070064#ramcloud.server.masterServiceThreads = 5
Yuta HIGUCHI45bc3cf2014-04-19 18:12:15 -070065
66# RAMCloud server option logCleanerThreads (1 by default)
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070067#ramcloud.server.logCleanerThreads = 1
Yuta HIGUCHI45bc3cf2014-04-19 18:12:15 -070068
Yuta HIGUCHI52efcbb2014-05-16 09:30:33 -070069# RAMCloud server option detectFailures [0=disabled] (0 by default)
Yuta HIGUCHIea7eba02014-05-14 11:13:52 -070070# Note: Disable this option when running on low performing VM, etc.
Yuta HIGUCHI52efcbb2014-05-16 09:30:33 -070071#ramcloud.server.detectFailures = 0
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070072
73# RAMCloud server option replicas (0 by default)
74# This value must be the same cluster wide.
Yuta HIGUCHIea7eba02014-05-14 11:13:52 -070075# On N node cluster, maximum value will be N-1 replicas.
76# A replication factor 2 is probably reasonably safe, 3 is conservative.
Yuta HIGUCHId150ece2014-04-29 16:25:36 -070077#ramcloud.server.replicas = 0
78
79# RAMCloud server option file (/var/tmp/ramclouddata/backup.`hostname`.log by default)
80# Note: Cannot be placed int ONOS_HOME, if it is on VirtualBox sharedfolder.
81# File specified must be open()-able with O_DIRECT | O_SYNC options.
82#ramcloud.server.file = /var/tmp/ramclouddata/backup.${ONOS_HOST_NAME}.log
Yuta HIGUCHI45bc3cf2014-04-19 18:12:15 -070083
Naoki Shiotab7eb55d2014-04-21 18:21:36 -070084# Port number of Hazelcast (5701 by default)
85#hazelcast.host.port = 5701
86
Naoki Shiota4e928512014-04-03 15:49:35 -070087# List of hostname/ip[:port] which forms Hazelcast grid
Naoki Shiotabe433a12014-04-07 12:03:49 -070088# If this value is empty, Hazelcast will be set to multicast mode.
Naoki Shiota4e928512014-04-03 15:49:35 -070089# Inversely, if this value is set, multicast settings will be ignored.
Yuta HIGUCHI13d1dbf2014-04-17 20:51:38 -070090hazelcast.tcp-ip.members = 127.0.0.1:5701
Naoki Shiota4e928512014-04-03 15:49:35 -070091#hazelcast.tcp-ip.members = 192.168.56.11, 192.168.56.12, 192.168.56.13, 192.168.56.14
92
93# Multicast address used by Hazelcast. (224.2.2.3 by default)
94#hazelcast.multicast.group = 224.2.2.3
95
96# Multicast port used by Hazelcast. (54327 by default)
97#hazelcast.multicast.port = 54327