CERN instance boot properties
The following properties can only be set during the
openstack server create process. The term metadata is also used to describe these variables and values.
$ openstack server create --property key=value ...
|cern-services||(THIS OPTION IS DEPRECATED AND WILL BE REMOVED SOON. PLEASE USE: cern-waitdns and cern-activedirectory) Set to true (default) or false to determine whether the additional integration into the CERN services is required. These services include a DNS entry using the server name specified so the name matches the IP address in LANDB, Active directory so that kerberos identity is established before booting and an X.509 certificate for the host is available. However, this also makes the boot time significantly longer.
Note: This should not be used if an AFS client or other Kerberos/Grid tools are needed. Standard images such as the "CC7 Extra" images should not be used with this option.
|cern-waitdns||Set to true (default) or false in order to wait for DNS propagation before booting the new instance.
Note: Some CERN services require that the host is available in the DNS. DNS propagation can take up to 15 minutes.
|cern-activedirectory||Set to true (default) or false in order to register the new instance into Active Directory before boot
Note: Some CERN services require that the host is registered into Active Directory.
|cern-checkdns||Set to true (default) or false in order to check if the name is available in the DNS. If not available means that a previous instance was using that name and it's not removed yet from DNS (DNS propagation can take up to 15 minutes).
Note: that if cern-checkdns=false the name resolution can be to a wrong IP until the DNS propagation.
A virtual machine's configuration can be adjusted during its lifetime. The following properties can be changed in real time.
Metadata options can be passed to the virtual machine using the
--property option such as
$ openstack server set --property landb-description="document server" timdoc143
|landb-description||Sets the LanDB description field to the value provided. By default, this string is empty.|
|landb-mainuser||A User name or e-group name. The primary user of the virtual machine. The syntax for the field is the CERN user name (such as timbell) and not the e-mail address. e-groups are specified by giving the name of the group (i.e. the mailing list address without @cern.ch).|
|landb-responsible||A User name or e-group name. The person responsible for the virtual machine. The syntax is as for mainuser.
Note: The landb-responsible will be notified of all the possible interventions that can be done in the hypervisor hosting your VM
|landb-os||The operating system to be stored in LanDB. This is a free format field but common values are "LINUX" and "WINDOWS 7".|
|landb-osversion||The operating system version to be stored in LanDB. This is a free format field. For "LINUX", this is generally set to the release.version of the corresponding version of RHEL. For "WINDOWS", this is set to the extended version such as "SP1"|
|landb-alias||Comma separated list of alias names per interface FQDN.
Note: When using multiple interfaces use ";" to separate different interfaces/alias mappings and ":" to map interface fqdn to alias.
Note: The previous alias list is overwritten by this command. Thus, if you wish to append a new alias, it is necessary to get the value using nova show and then add the new alias.
Note: If not specified, the alias domain defaults to ".cern.ch". The alias domain needs to be the same as the interface."
Note: An alias will create a CNAME entry in the DNS. If you need an "A" entry instead, you can append '--LOAD-1-' to your alias name. For example, the alias 'myalias' will create a DNS CNAME entry, an alias called 'myalias--LOAD-1-' will create an "A" entry. The server will be reachable by 'myalias' in both cases.
Note: If you remove the property "landb-alias", all the alias from all the interfaces of the instance will be removed.
|landb-ipv6ready||A Boolean (true or false). Set to true if the applications running on the VM can support IPv6. This is false by default while testing of applications continues. For details of how to configure your VM with IPv6, see Enabling IPv6 .|
|landb-internet-connectivity||A Boolean (true or false). Set to false if the VM should have no external connectivity. This is true by default. If the instance has multiple interfaces attached, the interface needs to be explicitly mentioned.
Example: "INTERFACE_1_FQDN:true; INTERFACE_2_FQDN:false"
|landb-domain||Allows to change the DNS domain of an attached interface.
Example: "INTERFACE_HOSTNAME_1"."NEW_DOMAIN_NAME". If you would like to change the domain of multiple interfaces use ";" to separate them. If an entry is removed from the list the interface will be moved back to the ".cern.ch" domain.
Please note, that service accounts can't own resources in LanDB. If a service account is used to set the properties "landb-mainuser" or "landb-responsible" the owner of the service account will be used instead.
If a value needs to be cleared, this can be done using the
openstack server unset command. For example, the following removes the LanDB description value. This setting is especially useful where LanDB values need resetting to their defaults.
$ openstack server unset --property landb-description timdoc144