pvc/daemon/pvcd.conf.sample

44 lines
2.3 KiB
Plaintext
Raw Normal View History

2018-06-17 14:55:13 -04:00
# pvcd cluster configuration file example
2018-06-10 20:29:53 -04:00
#
# This configuration file specifies details for this node in PVC. Multiple host
# blocks can be added but only the one matching the current system hostname will
# be used by the local daemon. Default values apply to all hosts for any value
# not specifically overridden.
2018-06-10 20:29:53 -04:00
#
2018-06-10 20:41:57 -04:00
# The following values are required for each host or in a default section:
# zookeeper: the IP+port of the Zookeper instance (defaults to 127.0.0.1:2181)
# keepalive_interval: the interval between keepalives and for dead node timeout (defaults to 5)
# fence_intervals: the number of keepalive_intervals without Zookeeper contact before this node
# will consider another node dead and fence it (defaults to 6, i.e. 30s)
# suicide_intervals: the number of keepalive_intervals without Zookeeper contact before this
# node will consider itself failed and terminate all running VMs (defaults
# to 0, i.e. disabled); should be less than "fence_intervals"
# successful_fence: the action to take on a successful fencing operation; can be "none" or
# "migrate" (defaults to "migrate")
# failed_fence: the action to take on a failed fencing operation; can be "none" or "migrate"
# (defaults to "none"); "migrate" requires "suicide_intervals" to be set)
# NOTE: POTENTIALLY DANGEROUS - see README for details
# migration_target_selector: the method to use to select target hypervisor nodes during a
# flush action; can be "mem", "load", "vcpus", or "vms" (defaults
# to "mem"); the best choice based on this field is selected for
# each VM to be migrated
2018-06-10 20:41:57 -04:00
# ipmi_hostname: the IPMI hostname for fencing (defaults to <shortname>-lom.<domain>)
# ipmi_username: username to connect to IPMI
# ipmi_password: password to connect to IPMI
2018-06-17 14:55:13 -04:00
#
# Copy this example to /etc/pvc/pvcd.conf and edit to your needs
2018-06-10 20:29:53 -04:00
2018-06-10 20:45:32 -04:00
[default]
2018-06-10 20:29:53 -04:00
zookeeper = 127.0.0.1:2181
2018-06-08 12:19:48 -04:00
keepalive_interval = 5
fence_intervals = 6
suicide_intervals = 0
successful_fence = migrate
failed_fence = none
migration_target_selector = mem
2018-06-17 14:55:13 -04:00
[myhost]
2018-06-08 12:19:48 -04:00
ipmi_username = admin
ipmi_password = admin
2018-06-17 14:55:13 -04:00
ipmi_hostname = myhost-lom