bubble3.marmotte.net
From Glee
Contents
Overview
Bubble3 is an OVH SoYouStart (aka SYS) server. It contains KVM virtual servers named after Futurama characters.
(Re)Installation
Installed with CentOS 7 64bit, then reinstalled with a custom kickstart file (no PXE boot available for installation).
yum -y install kexec-tools wget http://example.com/vmlinuz http://example.com/initrd.img kexec -l vmlinuz --initrd=initrd.img --append="inst.ks=http://example.com/bubble3.marmotte.net.ks inst.vnc net.ifnames=0" kexec -e
Post-Install Manual Steps
# NetworkManager doesn't work in %post... nmcli con mod Bridge\ connection\ br0 ipv6.routes 2001:41d0:2:19ff:ff:ff:ff:ff nmcli con mod Bridge\ connection\ br0 ipv6.gateway 2001:41d0:2:19ff:ff:ff:ff:ff nmcli connection up Bridge\ connection\ br0 nmcli con add con-name Bridge\ connection\ br1 type bridge ifname br1 ip4 192.168.21.1 # Don't use libvirt networks rm -f /etc/libvirt/qemu/networks/{,autostart/}default.xml
Network
Addresses :
- IPv4 : 94.23.24.61
- IPv6 : 2001:41d0:2:193d::1/64
VMs
List
Name | MAC | IPv4 | IPv6 |
---|---|---|---|
fry.marmotte.net | 02:00:00:3c:78:ba | 178.33.118.206 | 2001:41d0:2:193d::2/64 |
amy.marmotte.net | 02:00:00:ae:77:9a | 178.33.119.77 | 2001:41d0:2:193d::3/64 |
kif.marmotte.net | 02:00:00:a5:3f:ef | 178.33.119.105 | 2001:41d0:2:193d::4/64 |
zap.marmotte.net | 02:00:00:23:fd:81 | 178.33.119.112 | 2001:41d0:2:193d::5/64 |
New VM Install
Example :
lvcreate -L8G -n fry.marmotte.net vg0 virt-install \ --autostart \ --name fry.marmotte.net \ --memory 4096,maxmemory=8192 \ --vcpus 4,maxvcpus=8 \ --os-variant rhel7 \ --location http://example.com/x86_64/os \ --disk path=/dev/vg0/fry.marmotte.net \ --network bridge=br0,mac=02:00:00:aa:bb:cc \ --network bridge=br1,mac=RANDOM \ --keymap fr \ --extra-args "console=ttyS0,9600 inst.ks=http://example.com/fry.marmotte.net.ks ip=eth1:dhcp"
Then run puppet :
puppet agent --test --server=puppet.marmotte.ici --logdest=console --logdest=/var/log/puppet/puppet.log
Services
- bubble3 :
- Web : Nginx dl.marmotte.net
- VPN : IPSec to bcn26 & bcn30, OpenVPN vpn.marmotte.net
- DNS : 192.168.21.1 (Recursive, Private)
- fry :
- DNS : ns1.marmotte.net (Authoritative, Public)
- amy :
- ERP : OpenERP + PostgreSQL
- kif :
- Config : Puppet Master
- zap :
- Web : Apache HTTPd
- SQL : MariaDB for websites and email configuration
- DNS : 178.33.119.112 (Recursive, Public, WiiU filter)
- Git : gitosis over git+ssh
- burst03 (legacy) :
- Mail : Postfix + Dovecot (NAT through fry)
- burst08 (legacy) :
- Mail : MailMan mailing lists (NAT through amy)