Values for [all:vars] in the Ansible Configuration File

The Ansible configuration file includes a section named [all:vars], which specifies values for many keys.

Note

Do not comment-out any of the keys in this section, even if you do not enter a value for them.

Key name

Description and possible values

admin_addr

email address of the administrator to receive alerts

cluster_name

any unique name in the current environment

custom_drive_map

(optional) an absolute file path to a drive map file used for drive initialization on Hedvig nodes. For example, /home/admin/cluster_node.map.

If custom drive sizes, partitions, or assignments are desired, this variable should specify the path to the file that contains the required information in the required format.

datacenter_field

index (which starts with 0) of the data center field in the cluster node hostname. For example:

host1.rack1.dc1.hedviginc.com

0 1 2 3 4

In this case, you would set the value to 2.

The requirement for this field depends on the replication_policy value:

  • DataCenterAware – required

  • RackAware – required

  • RackUnaware (agnostic) – optional (defaults to 0)

dns_available

True (default) – All hostnames are resolvable using nslookup.

False – The /etc/hosts file must be populated.

dual_dc

True – The setup is dual data center.

False – The setup is not dual data center (default).

email_interval

(optional) values of xh where x = the number of hours (default is 1h)

enable_server_side_flache

True/False – Enables server-side caching for data.

from_addr

email address from which notifications are sent

hyperconverged_setup

True – The setup is hyperconverged.

False – The setup is not hyperconverged (default).

latencyaware

True – The setup is latency aware.

False – The setup is not latency aware (default).

lsitype

lsijbod (default) – LSI controller in JBOD mode

megaraid – LSI controller in RAID mode

hpraid – HP storage controller in RAID mode

mail_addr

email address to which notifications are sent

ntp_server

NTP server hostname address

use_ntp

True – Use the NTP server to sync time across cluster machines.

False – Use the deployment server's current time to set the time for the cluster machines (default).

rack_field

index (which starts with 0) of the rack field in the cluster node hostname. For example:

host1.rack1.dc1.hedviginc.com

0 1 2 3

In this case, you would set the value to 1.

The requirement for this field depends on the replication_policy:

  • DataCenterAware – required

  • RackAware – required

  • RackUnaware (Agnostic) – optional (defaults to 0)

replication_factor

2, 3 (default), or 4

replication_policy

RackUnaware (also known as agnostic) (default)

DataCenterAware

RackAware

smtp_host

SMTP (simple mail transfer protocol) server hostname address

storage_interface

network interface to use for deployment

By default, the deployment server has one interface (eth0).

If the environment has multiple networks (storage, management), add more VNICs to the deployment server, configure it, and make sure the interface with full access to the cluster nodes is specified (for example, eth1).

timeseries_name

For use with the Pensieve service, the <Customer Display Name>

timeseries_webserver

For use with the Pensieve service, the <Webserver Hostname>:8080

timezone

appropriate tz database time zone (default is US/Pacific)

For a list of tz database time zones, select 2 when deploying a new cluster to view the Ansible configuration file format.

transfer_hosts

True – Transfers a copy of the /etc/hosts file from the deployment server to all storage cluster nodes.

False (default) – If the cluster is not being deployed as DNS available, all hostnames must be in the /etc/hosts file.

Loading...