Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

C.2. Etiquetas de host

In a cluster configuration, you can define host tags in the configuration files. If you set hosttags = 1 in the tags section, a host tag is automatically defined using the machine's hostname. This allow you to use a common configuration file which can be replicated on all your machines so they hold identical copies of the file, but the behavior can differ between machines according to the hostname.
For information on the configuration files, see Apéndice B, Archivos de configuración LVM.
Para cada etiqueta de host, se lee un archivo de configuración adicional si este existe: lvm_etiqueta_de_host.conf. Si este archivo define nuevas etiquetas, más archivos de configuración serán añadidos a la lista de archivos a leer.
Por ejemplo, la siguiente entrada en el archivo de configuración siempre define tag1 y define tag2 si el nombre de host es host1.
tags { tag1 { }  tag2 { host_list = ["host1"] } }