This section decripts the features and processes of a host installation.
The installing of a host means the provision of a minimal runnable system on an arbitary physical or virtual host. There are many way to achieve this goal such as the installation via a cloning of a virtual machine, network boot or manual via an installation medium such as CD, DVD or USB device. The SDM supports all of these methods. The general variable installmethod
selects the used method. The possible values of variable are:
netboot
for PXE installation (see Network boot)clone
for cloning a virtual machine (see Cloning a virtual machine)manual
for a manuel installation (see Manual installation)An installation can be started by running the playbook installhost.yml
as follows:
for a single host:
ansible-playbook installhosts.yml -e "host=<inventory hostname>"
for a group of host:
ansible-playbook installhosts.yml -e "hostgroup=<inventory hostgroup>"
When the process is complete, the host configuration process runs automatically.
The network boot installation depends on a validly defined bootloader (netbootloader
). The value is the short name of the used network bootloader which is child role of role package.netboot
.
An example for the use of the network bootloader PXELINUX looks like this: netbootloader: "pxelinux"
.
The following sequence diagram shows the process in detail:
The installation via cloning of a virtual machine on a validly defined hypervisor (vm_hypervisor
). The value is the short name of the used hypervisor which is child role of role package.vm
.
An example for the use of the hypervisor Oracle VirtualBox looks like this: vm_hypervisor: "virtualbox"
.
The following sequence diagram shows the process in detail:
A manual installation is done by an user himself using an installation medium such as CD, DVD or USB device. The installhosts playbook performs no additional action during the installation, except creating an answer file.
The following sequence diagram shows the process in detail: