Introduction
This page describes the following computer systems:
- fiori
- torchio
These systems have the following roles:
- VM server (to run VMs)
- storage server (although there is only a little space available)
- login server
- trust server
Installation log
Complete InstallingDebian with the following adjustments:
For fiori, supply the following input to mdi:
gnocchi# ./mdi edit fiori target profile [server]: target is VM [false]: target MAC address [00:1f:d0:55:1f:24]: target release [squeeze]: target CPU architecture [amd64]: voleditor plugin [vol-editor-plugin-drbd-torchio-and-fiori]: gnocchi#
For torchio, supply the following input to mdi:
gnocchi# ./mdi edit torchio target profile [server]: target is VM [false]: target MAC address [6c:f0:49:16:e4:22]: target release [squeeze]: target CPU architecture [amd64]: voleditor plugin [vol-editor-plugin-drbd-torchio-and-fiori]: gnocchi#
For fiori, supply the following input to pdi:
is this a Xen server: [n] is this a KVM server: [n] y is this a 'novirt' server: [n] is this a storage server: [n] y is this a login server: [n] y is this a web server: [n] is this a trust server: [n] y is this a news server: [n] is this a BitTorrent server: [n] is this an I2P server: [n] is this a NIS server: [n] is this a DNS server: [n] is this a NTP server: [n] is this a syslog server: [n] is this a dyndns server: [n] is this a mail server: [n] is this a backup server: [n] is this an install server: [n] is this a trending server: [n] path to .paa configurator script which will get this machine installed: [/root/opt/mdi/doc/examples/paacfg.audience=private,release=notlenny,protocol=http,role=normal] NICs: [lo,eth0,eth0.1,eth0.2,br0,br1,br2] eth0 config method (dhcp, static, manual, none): [static] none eth0.1 config method (dhcp, static, manual, none): [static] none eth0.2 config method (dhcp, static, manual, none): [static] none br0 config method (dhcp, static, manual, none): [none] static br0 hostname (<hostname>, none): [] fiori br0 IP address: [] 192.168.1.6 br0 netmask: [255.255.255.0] br0 gateway IP address (<ipaddr>, none): [] 192.168.1.1 NICs to be plumbed into the br0 bridge: [eth0] br1 config method (dhcp, static, manual, none): [none] static br1 hostname (<hostname>, none): [] none br1 IP address: [] 192.168.2.6 br1 netmask: [255.255.255.0] br1 gateway IP address (<ipaddr>, none): [] none NICs to be plumbed into the br1 bridge: [eth0.1] br2 config method (dhcp, static, manual, none): [none] static br2 hostname (<hostname>, none): [] none br2 IP address: [] 192.168.3.6 br2 netmask: [255.255.255.0] br2 gateway IP address (<ipaddr>, none): [] none NICs to be plumbed into the br2 bridge: [eth0.2] is this an install client: [y] do you want to install security updates (for mission-critical stuff say no): [true] do you want to install release updates (for mission-critical stuff say no): [true] is this a NTP client: [y] hostname of NTP server: [time.pasta.net] is this a syslog client: [y] hostname of syslog server: [syslog.pasta.net] is this a NIS client: [y] name of NIS server: [yp.pasta.net] is this a mail client: [y] hostname of mail server: [smtp.pasta.net] is this a backup client: [y] is this a trust client: [y] is this a trending client: [y] name of trending server: [trending.pasta.net] cluster node: [n] y NIC for cluster communications: [br1] standard security model: [y]
For torchio, supply the following input to pdi:
is this a Xen server: [n] is this a KVM server: [n] y is this a 'novirt' server: [n] is this a storage server: [n] y is this a login server: [n] y is this a web server: [n] is this a trust server: [n] y is this a news server: [n] is this a BitTorrent server: [n] is this an I2P server: [n] is this a NIS server: [n] is this a DNS server: [n] is this a NTP server: [n] is this a syslog server: [n] is this a dyndns server: [n] is this a mail server: [n] is this a backup server: [n] is this an install server: [n] is this a trending server: [n] path to .paa configurator script which will get this machine installed: [/root/opt/mdi/doc/examples/paacfg.audience=private,release=notlenny,protocol=http,role=normal] NICs: [lo,eth0,eth0.1,eth0.2,br0,br1,br2] eth0 config method (dhcp, static, manual, none): [static] none eth0.1 config method (dhcp, static, manual, none): [static] none eth0.2 config method (dhcp, static, manual, none): [static] none br0 config method (dhcp, static, manual, none): [none] static br0 hostname (<hostname>, none): [] torchio br0 IP address: [] 192.168.1.7 br0 netmask: [255.255.255.0] br0 gateway IP address (<ipaddr>, none): [] 192.168.1.1 NICs to be plumbed into the br0 bridge: [eth0] br1 config method (dhcp, static, manual, none): [none] static br1 hostname (<hostname>, none): [] none br1 IP address: [] 192.168.2.7 br1 netmask: [255.255.255.0] br1 gateway IP address (<ipaddr>, none): [] none NICs to be plumbed into the br1 bridge: [eth0.1] br2 config method (dhcp, static, manual, none): [none] static br2 hostname (<hostname>, none): [] none br2 IP address: [] 192.168.3.7 br2 netmask: [255.255.255.0] br2 gateway IP address (<ipaddr>, none): [] none NICs to be plumbed into the br2 bridge: [eth0.2] is this an install client: [y] do you want to install security updates (for mission-critical stuff say no): [true] do you want to install release updates (for mission-critical stuff say no): [true] is this a NTP client: [y] hostname of NTP server: [time.pasta.net] is this a syslog client: [y] hostname of syslog server: [syslog.pasta.net] is this a NIS client: [y] name of NIS server: [yp.pasta.net] is this a mail client: [y] hostname of mail server: [smtp.pasta.net] is this a backup client: [y] is this a backup2 client: [y] is this a backup2 server: [n] name of backup server: [backup.pasta.net] is this a trust client: [y] is this a trending client: [y] name of trending server: [trending.pasta.net] cluster node: [n] y NIC for cluster communications: [br1] standard security model: [y]
Configure storage services as per ConfiguringStorageServices.
- For supporting the KVM/DRBD-based VMs complete the following procedure:
Add to the local system second legs for any remote one-legged DRBD devices, as per ConfiguringStorageServices.
Create one pool per VM and make it contain the VM's single DRBD volume by running:
for VM in $VMS; do mkdir -p /var/local/lib/pools/$VM virsh pool-define-as --name=$VM --target=/var/local/lib/pools/$VM --type=dir ln -s /dev/drbd_$VM /var/local/lib/pools/$VM/$VM; done virsh pool-start $VM doneInstall virttools by running:
mkdir -p ~/opt ~/bin svn co http://dione.no-ip.org/svn/virttools/trunk ~/opt/virttools ln -s ../opt/virttools/bin/pasta-vm-manager ~/bin
Note that information on managing the VMs is given at ItSupportPages/PowerManagementProceduresForPastaNet.
On only one of the VM servers (or on another machine with a high availability) complete the part of ConfiguringGetIplayer for the get_iplayer transfer client.
Complete FinalisingDebian.
