AUBURN is a minimum ANSIBLE server running on UBUNTU 16.04 LTS.
These commands are run on VICTORIA to set a paravirtualised (PV) virtual machine (VM) running under Xen.
On VICTORIA, the following command is used to create the directory containing the VM files:
mkdir -p /OVS/running_pool/AUBURN
On VICTORIA, the following commands are used to allocate a 5 GB virtual disk:
cd /OVS/running_pool/AUBURN dd if=/dev/zero of=root.dsk bs=4096 count=1310720
Note: If one follows the recommendation of disk space being 1.5 GB as given in Ubuntu Server (CLI) Installation, the following error appears during installation:
On VICTORIA, the following command is used to create a HVM configuration file. The VM is converted to PV image later on:
cd /OVS/running_pool/AUBURN cat >auburn.cfg <<DONE# =====================================================================# Guest configuration for AUBURN # Minimal CLI server for Ubuntu# Generated $(date +"%F %T")# =====================================================================## This is a fairly minimal example of what is required for an # HVM guest. For a more complete guide see xl.cfg(5)# This configures a HVM guest builder="hvm"# Guest namename = "auburn"# Device modeldevice_model_version="qemu-xen"vendor_device="xenserver"# 128-bit UUID for the domain as a hexadecimal number.# Use "uuidgen" to generate one if required.uuid = "$(uuidgen)"# Initial memory allocation (MB)memory = 2050# Number of VCPUSvcpus = 1# Network devices# A list of 'vifspec' entries as described in# docs/misc/xl-network-configuration.markdownvif = [ 'mac=00:16:3E:00:00:02,bridge=xenbr0' ]# Disk Devices # A list of 'diskspec' entries as described in# docs/misc/xl-disk-configuration.txtdisk = [ '/OVS/running_pool/AUBURN/root.dsk,raw,xvda,rw', '/OVS/iso_pool/ubuntu-16.04.3-server-amd64.iso,raw,xvdc,ro,cdrom' ]# Guest VGA console configuration, either SDL or VNCvnc = 1vnclisten = "0.0.0.0"vncdisplay = "14"# Fix for full-screen cursorusb=1usbdevice=["tablet"]# New Features in Xen 4.4.0# always emulatetsc_mode="default" DONE The installation is started by creating the VM as follows:
xl create /OVS/running_pool/AUBURN/auburn.cfg
Follow the procedure in Install Ubuntu 16.04 LTS Server.
Follow the procedure in Convert XEN HVM to PV.
There are three (3) outstanding issues:
The following command output shows that the IPV4 address (192.168.1.6) is not the one assigned in the Planning Document (192.168.1.109):
douglas@auburn:~$ ifconfig eth0eth0 Link encap:Ethernet HWaddr 00:16:3e:00:00:02 inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::216:3eff:fe00:2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9002 errors:0 dropped:0 overruns:0 frame:0 TX packets:11237 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2772825 (2.7 MB) TX bytes:1480217 (1.4 MB)The following command output shows that the DNS server on the home network (192.168.1.252) is missing:
douglas@auburn:~$ cat /etc/resolv.conf# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTENnameserver 192.168.1.1 The following command output shows that the hostname lacks the domain name of yaocm.id.au:
douglas@auburn:~$ hostnameauburn