Cookbook¶
All the things you might need to do as an organizer or a root are documented here.
Server setup¶
Here is a list of things to remember when setting up servers:
Use ssh as soon as possible.
Work in a tmux session, this allows any other root to take over your work if needed.
Use only one user and one shell (bash) and setup an infinite history. This, http://stackoverflow.com/a/19533853 is already installed by the rfs scripts. Doing that will document what you and the other admins are doing during the contest.
Testing on qemu/libvirt¶
Here are some notes:
Do not use the spice graphical console for setting up servers, use the serial line. For syslinux it is
serial 0
at the top ofsyslinux.cfg
and for Linuxconsole=ttyS0
on the cmd line of the kernel insyslinux.cfg
.For best performance use the VirtIO devices (disk, NIC), this should already be configured if you used
virt-install
to create the machine.For user machines, use the QXL driver for best performance with SPICE.
Machine registration¶
mdb
contains the information of all machines on the contest LANs. If a
machine is not in mdb
, it is considered an alien and won’t be able to
access the network.
All of these operations are root only. Organizers can’t access the mdb
administration interface.
- Adding a user machine to the network
In the
mdb
configuration, authorize self registration by adding a VolatileSettingallow_self_registration
to true. Netboot the user machine - it should ask for registration details. After the details have been entered, the machine should reboot to the user environment. Disableallow_self_registration
when you’re done.- Adding a machine we don’t manage to the user network
Some organizers may want to use their laptop. Ask them for their MAC address and the hostname they want. Finally, insert a
mdb
machine record with machine typeorga
using the IP address you manually allocated (if you set the last allocation to 100, you should assign the IP .100). Wait a minute for the DHCP configuration to be synced, and connect the laptop to the network.