The inventory must define these hosts to run:
cluster_machines
: Set of hosts in the clusterhypervisors
: Set of hosts to launch virtual machinesstandalone_machine
: To define only the cluster is composed with one host (replacecluster_machines
)
Prerequisite
This step is useful only for the installed hosts by a debian installer build with build_debian_iso.
The inventory must define these variables to run the step:
apply_network_config
: Boolean to apply the network configurationadmin_ip_addr
: IP address for SNMPcpumachinesnort
: Range of allowed CPUs for no RT machinescpumachines
: Range of allowed CPUs for machines (RT and no RT)cpumachinesrt
: Range of allowed CPUs for RT machinescpuovs
: Range of allowed CPUs for OpenVSwitchcpusystem
: Range of allowed CPUs for the systemcpuuser
: Range of allowed CPUs for the userirqmask
: Set theIRQBALANCE_BANNED_CPUS
environment variable, seeirqbalance
manuallogstash_server_ip
: IP address forlogstash-seapath
alias in/etc/hosts
main_disk
: Main disk device to observe his temperatureworkqueuemask
: The negation of theirqmask
(= ~irqmask
)
Network
The inventory must define these variables to run the step:
br_rstp_priority
: TODO Multiple of 4096cluster_ip_addr
: IP address forteam0
interfacegateway_addr
: IP address of a gateway, it doesn't have to workip_addr
: IP address to communicate with the hostnetwork_interface
: Network interface to communicate with the hostntp_primary_server
: Address of a NTP server, it's the first server to requestsntp_secondary_server
: Address of a NTP server, it's the secondary server to requestssyslog_server_ip
: Address of a SYSLOG serverteam0_0
: Network interface to connect toteam0
bridgeteam0_1
: Other network interface to connect toteam0
bridge
Warnings
At the end of this step, make sure that:
- Each host in the cluster pings other (simple and fragmented package)
- Hosts use a DNS server
- Hosts are synchronized with NTP server (it's necessary for the shared storage)
Shared storage (via ceph)
The inventory may define these hosts to run the step completely:
clients
: Set of hosts that must be ceph-client. These hosts will access to the storage clustermons
: Set of hosts to that must be ceph-mon. These hosts will maintain a map of the state of the clusterosds
: Set of hosts to that must be ceph-osd. These hosts will interact with the logical disk to stock the data
More details in the documentation here.
The inventory must define these variables to run the step:
ceph_cluster_network
: Address block to access to cluster networkceph_public_network
: Address block to access to public network (ie to the world)ceph_osd_disk
: Device to stock datas (only for ceph-osd hosts)osd_pool_default_min_size
: Minimal number of available OSD to ensure cluster success (best:ceil(osd_pool_default_size / 2.0)
)osd_pool_default_size
: Number of OSD in the cluster
Ceph provides ansible rules to configure the software, you can read the documentation here.
Warnings
If this step is failed, you must restart the step at the previous step. Use snapshot LVM to do this.