hb.disk
Minimal configlet:
[hb#1]
type = disk
dev = /dev/mapper/36589cfc000000e03957c51dabab8373a
Minimal setup command:
om node set \
--kw="type=disk" \
--kw="dev=/dev/mapper/36589cfc000000e03957c51dabab8373a"
addr
required: false
scopable: true
default: The ipaddr resolved for the nodename.
Example:
addr = 1.2.3.4
The addr to use to connect a peer. Use scoping to define each non-default address.
dev
required: true
scopable: true
Example:
dev = /dev/mapper/36589cfc000000e03957c51dabab8373a
The device to write the heartbeats to and read from.
It must be,
- Dedicated to the daemon use.
- Sized 1MB for metadata + 1MB/node.
interval
required: false
scopable: true
default: 5s
convert: duration
The maximum interval between 2 heartbeat payload sends.
The actual interval is not fixed, because the daemon tries to send the message as soon as it has something to notify. A minimum interval protects the node from saturating the network and cpu with the daemon synchronization workload.
timeout
required: false
scopable: true
default: 15s
convert: duration
The delay since the last received heartbeat from a node before considering this node is gone.
type
required: true
scopable: false
candidates: unicast, multicast, disk, relay
The heartbeat driver name.