Difference between revisions of "7 Grand Dad"

From CSLabsWiki
Jump to: navigation, search
(Created page with "Tyche is the new VM Host.")
 
Line 1: Line 1:
 
Tyche is the new VM Host.
 
Tyche is the new VM Host.
 +
 +
{{services
 +
|ip_addr = 128.153.145.43
 +
|contact_person = [[User:Jared|Jared Dunbar]] & [[User:bruskajp|James Bruska]]
 +
|last_update = ''Spring 2017''
 +
|services = VM Host
 +
|category = Machines
 +
|handoff = no
 +
}}
 +
 +
{{Machine
 +
| screenshot =
 +
| maintainer = [[User:Jared|Jared Dunbar]] & [[User:bruskajp|James Bruska]]
 +
| hostname = hydra.cslabs.clarkson.edu
 +
| operating_system = Arch Linux
 +
| interface1 = {{Network Interface | name=Clarkson Network | ip=128.153.145.43}}
 +
| cpuspecs = 2x 8 Core Intel Somethings
 +
| ramspecs = 64GB of somethings
 +
| hdd = Some 300G drives in RAID1
 +
}}
 +
 +
Tyche is our newest VM host (as of Feb 2017)
 +
 +
=Install=
 +
 +
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
 +
 +
==Install Packages==
 +
 +
<pre style="background-color:#ffcccc">
 +
pacman -Syu htop iotop iftop lm_sensors vim sudo qemu libvirtd screen rsync tmux p7zip
 +
</pre>
 +
 +
Change SSHd to use port 13699 in addition to port 22 (add a line below Port:22 with Port:13699). Edit
 +
 +
<pre style="background-color:#ccccff">
 +
/etc/ssh/sshd_config
 +
</pre>
 +
 +
==User Configuration==
 +
 +
Add all of the users to the libvirtd and kvm groups that plan to use the VM host
 +
 +
==Network Configuration==
 +
 +
VM's require a network bridge in order to be able to communicate to the network.
 +
 +
==Basic Non-Bond Ethernet==
 +
 +
<pre>
 +
</pre>
 +
 +
==Bonded Ethernet==
 +
 +
'''Warning! This requires setup on the managed switches it's connected to!'''
 +
 +
<pre>
 +
</pre>
 +
<pre>
 +
</pre>
 +
 +
=Virtual Machine Core Allocation=
 +
 +
These are cores that are allocated to VM's for efficiency.
 +
 +
<pre style="background-color:#ffcccc">
 +
virsh vcpupin <guestname> <local-core> <host core>
 +
</pre>
 +
 +
Host cores are between 0 and 31 and local cores are from 0 to n-1 cores
 +
 +
You must run it for each core to each host core
 +
 +
{| class="wikitable"
 +
! CPU CORE
 +
! ALLOCATION
 +
|-
 +
|0
 +
|SYSTEM - DO NOT ALLOCATE
 +
|-
 +
|1
 +
|[[Keyserver]], [[scheduler]], [[honeypot]]
 +
|-
 +
|2
 +
|[[VRkour]], hunterGit
 +
|-
 +
|3
 +
|[[comm]], hwiki, [[Turist]]
 +
|-
 +
|4, 5
 +
|[[cacti]]
 +
|-
 +
|6, 7
 +
|[[gmx]]
 +
|-
 +
|24 to 31
 +
|[[colona-evolutionary-cpu]]
 +
|}
 +
 +
Free cores:
 +
<pre>
 +
6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
 +
</pre>
 +
 +
=Hardware Information=
 +
 +
TBE

Revision as of 02:47, 12 February 2017

Tyche is the new VM Host.

7 Grand Dad
IP Address(es): 128.153.145.43
Contact Person: Jared Dunbar & James Bruska
Last Update: Spring 2017
Services: VM Host


Hostname: hydra.cslabs.clarkson.edu
Operating system: Arch Linux
NIC 1: Clarkson Network
IP: 128.153.145.43
CPU: 2x 8 Core Intel Somethings
RAM: 64GB of somethings


Tyche is our newest VM host (as of Feb 2017)

Install

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

Install Packages

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

/etc/ssh/sshd_config

User Configuration

Add all of the users to the libvirtd and kvm groups that plan to use the VM host

Network Configuration

VM's require a network bridge in order to be able to communicate to the network.

Basic Non-Bond Ethernet


Bonded Ethernet

Warning! This requires setup on the managed switches it's connected to!



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 31 and local cores are from 0 to n-1 cores

You must run it for each core to each host core

CPU CORE ALLOCATION
0 SYSTEM - DO NOT ALLOCATE
1 Keyserver, scheduler, honeypot
2 VRkour, hunterGit
3 comm, hwiki, Turist
4, 5 cacti
6, 7 gmx
24 to 31 colona-evolutionary-cpu

Free cores:

6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23

Hardware Information

TBE