Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 1 | # Name of this host (`hostname` by default) |
Naoki Shiota | 4e92851 | 2014-04-03 15:49:35 -0700 | [diff] [blame] | 2 | #host.name = onosdev1 |
Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 3 | |
| 4 | # IP address of this host used for ONOS communication |
| 5 | host.ip = 127.0.0.1 |
| 6 | |
| 7 | # Role of this host |
Naoki Shiota | be433a1 | 2014-04-07 12:03:49 -0700 | [diff] [blame] | 8 | # single-node: run ONOS with stand-alone RAMCloud |
Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 9 | # coord-node : run ONOS with RAMCloud coordinator |
| 10 | # server-node: run ONOS with RAMCloud server |
Naoki Shiota | be433a1 | 2014-04-07 12:03:49 -0700 | [diff] [blame] | 11 | # coord-and-server-node: run ONOS with RAMCloud coordinator and server |
Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 12 | host.role = single-node |
| 13 | |
| 14 | # Back-end module to store topology/flows |
| 15 | host.backend = hazelcast |
| 16 | #host.backend = ramcloud |
| 17 | |
Naoki Shiota | 4e92851 | 2014-04-03 15:49:35 -0700 | [diff] [blame] | 18 | # List of host name/IPs that constitute ZooKeeper cluster (only current host by default) |
Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 19 | # myid will be assigned incrementally according to order of list |
Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 20 | #zookeeper.hosts = onosdev1,onosdev2,onosdev3,onosdev4 |
| 21 | |
Yuta HIGUCHI | ea7eba0 | 2014-05-14 11:13:52 -0700 | [diff] [blame] | 22 | # RAMCloud clusterName (ONOS-RC by default) |
Yuta HIGUCHI | d150ece | 2014-04-29 16:25:36 -0700 | [diff] [blame] | 23 | #ramcloud.clusterName = ONOS-RC |
| 24 | |
Yuta HIGUCHI | ea7eba0 | 2014-05-14 11:13:52 -0700 | [diff] [blame] | 25 | # RAMCloud transport timeout (1000 by ONOS default) |
| 26 | #ramcloud.timeout = 1000 |
| 27 | |
Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 28 | # Protocol used by RAMCloud coordinator (fast+udp by default) |
| 29 | #ramcloud.coordinator.protocol = fast+udp |
| 30 | |
Naoki Shiota | 9109a1e | 2014-05-13 11:11:01 -0700 | [diff] [blame] | 31 | # Listening address of RAMCloud coordinator (host.ip or 0.0.0.0 by default) |
Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 32 | #ramcloud.coordinator.ip = 127.0.0.1 |
| 33 | |
| 34 | # Port number of RAMCloud coordinator (12246 by default) |
| 35 | #ramcloud.coordinator.port = 12246 |
| 36 | |
Yuta HIGUCHI | d150ece | 2014-04-29 16:25:36 -0700 | [diff] [blame] | 37 | # RAMCloud coordinator option deadServerTimeout (1000 by ONOS default) |
| 38 | # Increase this value if server failing due to false positive failure detection. |
| 39 | #ramcloud.coordinator.deadServerTimeout = 1000 |
| 40 | |
Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 41 | # Protocol used by RAMCloud server (fast+udp by default) |
| 42 | #ramcloud.server.protocol = fast+udp |
| 43 | |
Naoki Shiota | 9109a1e | 2014-05-13 11:11:01 -0700 | [diff] [blame] | 44 | # Listening address of RAMCloud server (host.ip or 0.0.0.0 by default) |
Naoki Shiota | 9df15d3 | 2014-03-27 14:26:20 -0700 | [diff] [blame] | 45 | #ramcloud.server.ip = 127.0.0.1 |
| 46 | |
| 47 | # Port number of RAMCloud server (12242 by default) |
| 48 | #ramcloud.server.port = 12242 |
Naoki Shiota | 4e92851 | 2014-04-03 15:49:35 -0700 | [diff] [blame] | 49 | |
Yuta HIGUCHI | 45bc3cf | 2014-04-19 18:12:15 -0700 | [diff] [blame] | 50 | # RAMCloud server option masterServiceThreads (5 by default) |
Yuta HIGUCHI | d150ece | 2014-04-29 16:25:36 -0700 | [diff] [blame] | 51 | #ramcloud.server.masterServiceThreads = 5 |
Yuta HIGUCHI | 45bc3cf | 2014-04-19 18:12:15 -0700 | [diff] [blame] | 52 | |
| 53 | # RAMCloud server option logCleanerThreads (1 by default) |
Yuta HIGUCHI | d150ece | 2014-04-29 16:25:36 -0700 | [diff] [blame] | 54 | #ramcloud.server.logCleanerThreads = 1 |
Yuta HIGUCHI | 45bc3cf | 2014-04-19 18:12:15 -0700 | [diff] [blame] | 55 | |
Yuta HIGUCHI | 52efcbb | 2014-05-16 09:30:33 -0700 | [diff] [blame] | 56 | # RAMCloud server option detectFailures [0=disabled] (0 by default) |
Yuta HIGUCHI | ea7eba0 | 2014-05-14 11:13:52 -0700 | [diff] [blame] | 57 | # Note: Disable this option when running on low performing VM, etc. |
Yuta HIGUCHI | 52efcbb | 2014-05-16 09:30:33 -0700 | [diff] [blame] | 58 | #ramcloud.server.detectFailures = 0 |
Yuta HIGUCHI | d150ece | 2014-04-29 16:25:36 -0700 | [diff] [blame] | 59 | |
| 60 | # RAMCloud server option replicas (0 by default) |
| 61 | # This value must be the same cluster wide. |
Yuta HIGUCHI | ea7eba0 | 2014-05-14 11:13:52 -0700 | [diff] [blame] | 62 | # On N node cluster, maximum value will be N-1 replicas. |
| 63 | # A replication factor 2 is probably reasonably safe, 3 is conservative. |
Yuta HIGUCHI | d150ece | 2014-04-29 16:25:36 -0700 | [diff] [blame] | 64 | #ramcloud.server.replicas = 0 |
| 65 | |
| 66 | # RAMCloud server option file (/var/tmp/ramclouddata/backup.`hostname`.log by default) |
| 67 | # Note: Cannot be placed int ONOS_HOME, if it is on VirtualBox sharedfolder. |
| 68 | # File specified must be open()-able with O_DIRECT | O_SYNC options. |
| 69 | #ramcloud.server.file = /var/tmp/ramclouddata/backup.${ONOS_HOST_NAME}.log |
Yuta HIGUCHI | 45bc3cf | 2014-04-19 18:12:15 -0700 | [diff] [blame] | 70 | |
Naoki Shiota | b7eb55d | 2014-04-21 18:21:36 -0700 | [diff] [blame] | 71 | # Port number of Hazelcast (5701 by default) |
| 72 | #hazelcast.host.port = 5701 |
| 73 | |
Naoki Shiota | 4e92851 | 2014-04-03 15:49:35 -0700 | [diff] [blame] | 74 | # List of hostname/ip[:port] which forms Hazelcast grid |
Naoki Shiota | be433a1 | 2014-04-07 12:03:49 -0700 | [diff] [blame] | 75 | # If this value is empty, Hazelcast will be set to multicast mode. |
Naoki Shiota | 4e92851 | 2014-04-03 15:49:35 -0700 | [diff] [blame] | 76 | # Inversely, if this value is set, multicast settings will be ignored. |
Yuta HIGUCHI | 13d1dbf | 2014-04-17 20:51:38 -0700 | [diff] [blame] | 77 | hazelcast.tcp-ip.members = 127.0.0.1:5701 |
Naoki Shiota | 4e92851 | 2014-04-03 15:49:35 -0700 | [diff] [blame] | 78 | #hazelcast.tcp-ip.members = 192.168.56.11, 192.168.56.12, 192.168.56.13, 192.168.56.14 |
| 79 | |
| 80 | # Multicast address used by Hazelcast. (224.2.2.3 by default) |
| 81 | #hazelcast.multicast.group = 224.2.2.3 |
| 82 | |
| 83 | # Multicast port used by Hazelcast. (54327 by default) |
| 84 | #hazelcast.multicast.port = 54327 |
| 85 | |