7 Grand Dad
7 Grand Dad is the new VM Host.
|7 Grand Dad|
|Contact Person:||Jared Dunbar|
|Last Update:||Spring 2017|
|Operating system:||Arch Linux|
|NIC 1:|| Clarkson Network |
|CPU:||2x 8 Core Intel Somethings|
|RAM:||64GB of somethings|
7 Grand Dad is our newest VM host (as of Feb 2017)
Do a basic Arch install with the hard drives software raided in RAID 1, all of the device as /
Make sure to install GRUB to ALL of the drives and NOT /dev/md0 - also protip: md0 is a partition, not strictly a block device, thus it does not need a mbr and you can mkfs.ext4 /dev/md0 without issue :D
pacman -Syu htop iotop iftop lm_sensors vim sudo qemu libvirtd screen rsync tmux p7zip
Change SSHd to use port 13699 in addition to port 22 (add a line below Port:22 with Port:13699). Edit
Add all of the users to the libvirtd and kvm groups that plan to use the VM host
VM's require a network bridge in order to be able to communicate to the network.
Basic Non-Bond Ethernet
This is a starter network configuration (for reference)
Description='A basic static ethernet connection' Interface=enp4s0f0 Connection=ethernet IP=static Address=('184.108.40.206/23') #Routes=('192.168.0.0/24 via 192.168.1.2') Gateway='220.127.116.11' DNS=('18.104.22.168')
Warning! This requires setup on the managed switches it's connected to!
Bond the Ethernet together
Description="A bonded interface" Interface=bond0 Connection=bond BindsToInterfaces=('enp4s0f0' 'enp4s0f1') IP=no
Then set a bridge on that bond for the VM's
Description="Example Bridge connection" Interface=br0 Connection=bridge BindsToInterfaces=(bond0) IP=static Address=('22.214.171.124/23') Gateway='126.96.36.199' DNS=('188.8.131.52')
Virtual Machine Core Allocation
These are cores that are allocated to VM's for efficiency.
virsh vcpupin <guestname> <local-core> <host core>
Host cores are between 0 and 15 and local cores are from 0 to n-1 cores
You must run it for each core to each host core
|0||SYSTEM - DO NOT ALLOCATE|