Install hosts

Warning:
Some parts on this site are outdated and will be revised.

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:

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.

Network boot

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:

installation of a host via network boot

Cloning a virtual machine

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:

installation via virtual machine cloning

Manual installation

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:

manual installation of a host