Difference between revisions of "AllStarLink Infrastructure"

From "PTTLink Wiki"
Jump to navigation Jump to search
(Created page with "This is a page concerning the various servers and hosts which comprise the ASL network services = Servers = == Tampa Hypervisor == This box is DL360 with 12 cores and 128 G...")
 
Tag: visualeditor
Line 4: Line 4:
  
 
== Tampa Hypervisor ==
 
== Tampa Hypervisor ==
 +
 +
All users should have access to this box via SSH keys.  Please place your public key in your home directory and your user should be in the "sudo" group to enable sudo. 
  
 
This box is DL360 with 12 cores and 128 GB of ram.  There are 8 146.8 GB 15k SAS disks in a Raid 50 config.   
 
This box is DL360 with 12 cores and 128 GB of ram.  There are 8 146.8 GB 15k SAS disks in a Raid 50 config.   
  
It's primary IP is 44.98.254.129 which is a bride
+
It's primary IP is 44.98.254.129/27 which is a logical interface "44net" on the 44net bridge. 
 +
 
 +
enp3s0f0 is 208.38.136.11 and is physically the left most port on the box.  Our upstream router has a static route pointing 44.98.254.128/27 at this interface.
  
 
The VM's are given addresses out of 44.98.254.128/27
 
The VM's are given addresses out of 44.98.254.128/27
 +
 +
The ILO is at https://192.168.8.5/ This is behind the VPN and is a seperate network.  You will need VPN credentials and a vpn config for this.
 +
 +
The ILO needs java installed to get at the console, but is licensed for full video access.
 +
 +
The Hard Disks are arranged as follows:
 +
{| class="wikitable"
 +
|5
 +
|6
 +
|7
 +
|8
 +
|-
 +
|1
 +
|2
 +
|3
 +
|4
 +
|}
 +
The disks are 146.8 gb 15k SAS drives
 +
 +
Marked: HPDC firmware manufactured by segate for HP.
 +
 +
===== VM management =====
 +
[https://github.com/kimchi-project Kimchi] is used for server management of the VM's and gives a nice easy way to setup a server.  It's basically a frontend for virsh
 +
 +
The network config is based on this https://jamielinux.com/docs/libvirt-networking-handbook/custom-routed-network.html
 +
 +
To provision a server from a template:
 +
# login to [https://208.38.136.11:8001 Kimchi]
 +
# Click on Virtualization and then Add
 +
# Give the server a logical name and choose a template
 +
# Click Create
 +
# The server will be instanitated, but not started, if you want to change things, nows the time.
 +
# You'll need to provision the network
 +
# To assign an IP that's static we use DHCP, but assign a static lease.
 +
# do 'echo 52:54:00:73:XX:XX,44.98.254.x' >> /var/lib/dnsmasq/44net/hostsfile" from the CLI.  This needs the MAC address of the server and the static IP it will be on.
 +
# do 'service dnsmasq@44net reload' to reload the dnsmasq config
 +
# Double check everything and you can boot the server.
 +
It will now boot and install ubuntu and should have a public IP in the 44net range
 +
 +
You will want to ensure it's auto started and will need to do that from the CLI using the virsh "autostart" command.  This ensures the server will boot when the box restarts.

Revision as of 04:55, 7 January 2018

This is a page concerning the various servers and hosts which comprise the ASL network services

Servers

Tampa Hypervisor

All users should have access to this box via SSH keys. Please place your public key in your home directory and your user should be in the "sudo" group to enable sudo.

This box is DL360 with 12 cores and 128 GB of ram. There are 8 146.8 GB 15k SAS disks in a Raid 50 config.

It's primary IP is 44.98.254.129/27 which is a logical interface "44net" on the 44net bridge.

enp3s0f0 is 208.38.136.11 and is physically the left most port on the box. Our upstream router has a static route pointing 44.98.254.128/27 at this interface.

The VM's are given addresses out of 44.98.254.128/27

The ILO is at https://192.168.8.5/ This is behind the VPN and is a seperate network. You will need VPN credentials and a vpn config for this.

The ILO needs java installed to get at the console, but is licensed for full video access.

The Hard Disks are arranged as follows:

5 6 7 8
1 2 3 4

The disks are 146.8 gb 15k SAS drives

Marked: HPDC firmware manufactured by segate for HP.

VM management

Kimchi is used for server management of the VM's and gives a nice easy way to setup a server. It's basically a frontend for virsh

The network config is based on this https://jamielinux.com/docs/libvirt-networking-handbook/custom-routed-network.html

To provision a server from a template:

  1. login to Kimchi
  2. Click on Virtualization and then Add
  3. Give the server a logical name and choose a template
  4. Click Create
  5. The server will be instanitated, but not started, if you want to change things, nows the time.
  6. You'll need to provision the network
  7. To assign an IP that's static we use DHCP, but assign a static lease.
  8. do 'echo 52:54:00:73:XX:XX,44.98.254.x' >> /var/lib/dnsmasq/44net/hostsfile" from the CLI. This needs the MAC address of the server and the static IP it will be on.
  9. do 'service dnsmasq@44net reload' to reload the dnsmasq config
  10. Double check everything and you can boot the server.

It will now boot and install ubuntu and should have a public IP in the 44net range

You will want to ensure it's auto started and will need to do that from the CLI using the virsh "autostart" command. This ensures the server will boot when the box restarts.