Hydra

From CSLabsWiki
Revision as of 08:05, 22 September 2016 by Jared (talk | contribs)

Jump to: navigation, search
Hydra
IP Address(es): 128.153.145.42
Contact Person: Jared Dunbar & James Bruska
Last Update: Fall 2016
Services: Various


Hostname: hydra.cslabs.clarkson.edu
Operating system: Debian 8.2
NIC 1: Clarkson Network
MAC: 0c:c4:7a:c6:e7:88
IP: 128.153.145.42
CPU: 2x 16 Core AMD Opteron 6376
RAM: 4x 16GB DDR3-1600 ECC


Hydra is our newest VM host (as of September 2016

Install

Do a basic debian install with the hard drives software raided in RAID 6, all of the device as /, then continue below

Install Packages

apt install htop iotop iftop lm-sensors vim sudo qemu-kvm libvirt-bin virtinst screen rsync tmux p7zip

Change SSHd to use port 13699 instead of port 22. See

/etc/ssh/sshd_config

Network Configuration

We beed to create a network bridge for the VM's to connect on.

/etc/network/interfaces
source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# Auto Configure eth0 and eth1 (our two NIC's - the ethernet over the usb ports is actually a IPMI port)
auto eth0
auto eth1

# Bridge, set the IP here and bridge all the defined ports for communication
auto br0
iface br0 inet static
        address 128.153.145.42
        netmask 255.255.254.0
        gateway 128.153.144.1
        bridge_ports all

Virtual Machine Core Allocation

These are cores that are allocated to VM's for efficiency. Do NOT allocate more than one task per core for efficiency sake!

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
2 VRkour
3 comm
4 hwiki
5, 6 manage2server
7,8,9,10 gitlab
20 to 23 androbattery
24 to 31 colona-evolutionary-cpu

Hardware Information

IMPORTANT - DO NOT BUMP OR JOSTLE CASE

The CPU0 heat sink cooler is not very well mounted. It is mounted properly, however if the server is bumped too hard, the cooler will pop off. Treat the server with extreme care ALWAYS

  • 2x 16 Core AMD Opeteron 6376
  • 4x 16GB DDR3-1600 ECC RAM
  • 5x 2TB Segate Constelation HDD in RAID 6
  • 2x Noctua CPU Coolers
  • Super Micro MBD-H8DG6-F-0 Motherboard EATX
  • Silver Stone 550 Watt 80+ Platinum Power Supply
  • Roswell 4u Server Chassis

Good to note is that there are 3 Ethernet ports. Two of them are NIC's (the pair right next to one another) and the one over the USB port is IPMI over Ethernet and has no connection to the kernel. Remote IPMI is disabled, so don't even bother with this.