Difference between revisions of "Gourd"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 90: Line 90:
 
Gourd is running [[VMWare]] Server version 2.0.2. It acts as our primary virtualization server. it is accessible at https://gourd.unh.edu:8333/ or from localhost:8222 if you're logged in or port forwarding from Gourd over SSH.
 
Gourd is running [[VMWare]] Server version 2.0.2. It acts as our primary virtualization server. it is accessible at https://gourd.unh.edu:8333/ or from localhost:8222 if you're logged in or port forwarding from Gourd over SSH.
  
The VMWare datastore is located in /data0/vmware
 
 
===Guest VMs on Gourd===
 
===Guest VMs on Gourd===
  
Line 112: Line 111:
 
= Disks and Raid Configuration =
 
= Disks and Raid Configuration =
  
Due to issues with the HD controller card in Tomato we are only using the bottom four hard drive bays, which are connected directly to SATA port on the motherboard.
+
This is the post-migration Gourd disk setup (as of 03/01/10).
  
 
'''Disks and Raid configuration'''
 
'''Disks and Raid configuration'''
 
{| style="wikitable;"  border="1"
 
{| style="wikitable;"  border="1"
! Drive Bay !! Disk Size !! Raid Type !! Raid level
+
! Drive Bay !! Disk Size !! Raid Set !! Raid level
 
|-
 
|-
| 1 || 750 GB || Software RAID || Raid 1
+
| 1 || 750 GB ||rowspan="2"| System/Scratch ||rowspan="2"| Raid1 + Raid0
 
|-
 
|-
| 2 || 750 GB || Software RAID || Raid 1
+
| 2 || 750 GB
 
|-
 
|-
| 3 || 400 GB || Software RAID || Raid 1
+
| 3 || 750 GB || Software RAID || Pass Through
 
|-
 
|-
| 4 || 400 GB || Software RAID || Raid 1
+
| 4 || 750 GB || Software RAID || Pass Through
 +
|-
 +
| 5 || Empty || None || None
 +
|-
 +
| 6 || Empty || None || None
 +
|-
 +
| 7 || 750 GB || Hot Swap || None
 +
|-
 +
| 8 || 750 GB || Hot Swap || None
 
|}
 
|}
 
<br/>
 
<br/>
Line 130: Line 137:
 
'''Volume Set and Partition configuration'''
 
'''Volume Set and Partition configuration'''
 
{| style="wikitable;"  border="1"
 
{| style="wikitable;"  border="1"
! Raid device !! Volume set !! Volume size !! Mount Point
+
! Raid set!! Volume set !! Volume size !! Partitions
 +
|-
 +
| Set 1 || System(Raid1) || 250 GB || System: (/, /boot, /var, /tmp, /swap, /usr, /data )
 +
|-
 +
| Set 2 || Scratch(Raid0) || 1000GB || Scratch space (/scratch)
 
|-
 
|-
| /dev/md0 &nbsp; || sdb1 & sdc1 || 50 GB || System (/)
+
| /dev/md0 &nbsp; || sdc1 & sdb1 || 500 GB || Home Dirs: /home
 
|-
 
|-
| /dev/md1 &nbsp; || sdb2 & sdc2 || 630 GB || /data0
+
| /dev/md1 &nbsp; || sdc2 & sdd2 || 100 GB || Mail: /mail
 
|-
 
|-
| /dev/md2 &nbsp; || sda1 & sdd1 || 343 GB || /data1
+
| /dev/md2 &nbsp; || sdc3 & sdd3 || 150 GB || Virtual Machines: /vmware
 
|}
 
|}

Revision as of 13:17, 17 June 2010

Gourd is a 2 quad-CPU server in a 2U rackmount chassis put together nicely by Microway. It arrived at UNH on 11/24/2009. The system has an Areca RAID card with ethernet port and an IPMI card with ethernet port. The motherboard is from Super Micro.

This is the page for the new Gourd Hardware. The old Gourd is described here.

Gourd now hosts Einstein as a VM. The previous einstein hardware is described here

Hardware Details

  • Microway 2U Storage Chassis with 8 SAS/SATA-II Hot-Swap Drive Bays with SAS Backplane
  • 500W Redundant Hot-Swap Power Supply (2)
  • Navion-S Dual Opteron PCI-Express Motherboard (H8DME-2);
  • Two AMD "Shanghai" 2.4 GHz Quad Core Opteron 2378 (Socket F) Processors
  • (8) 4GB DDR2 800 MHz ECC/Registered Memory (32GB Total Memory @ 533MHz)
  • Dual Integrated Gigabit Ethernet Ports;
  • Integrated ATI ES1000 Graphics;
  • Six Integrated SATA-II Ports;
  • Two x8 PCI Express slots;
  • Two 64-bit 133/100MHz PCI-X slots;
  • Two 64-bit 100MHz PCI-X slots;
  • Up to 6 USB 1.1/2.0 ports (2 on rear);
  • PS/2 Mouse & Keyboard connectors;
  • Areca ARC-1220 8-Port SATA II Raid (256MB) - Low Profile PCI Express x8
  • Sony Slim CD/DVD 24x Black (IDE)

Network Settings

  • IP address UNH: 132.177.88.75 (eth1)
  • IP address Farm: 10.0.0.252 (eth0)
  • IP address RAID: 10.0.0.152
  • IP address IPMI: 10.0.0.151

npghome Network Alias

Home folders are served over an aliased network interface associated with the npghome hostname. The network scripts that manage these interfaces are called ifcfg-npghomefarm and ifcfg-npghomeunh.

  • IP address npghome Farm: 10.0.0.240 (eth0:1)
  • IP address npghome UNH: 132.177.91.210 (eth1:1)

Software and Services

This section contains details about the services and software on Gourd and information about their configurations.

IPTables

Gourd uses the standard NPG iptables firewall. Gourd allows ssh, svn, icmp, portmap and nfs.

NFS Shares

Gourd serves two volumes over NFS

Home folders: /home on Gourd contains home directories for all npg users. The NFS share is accessible to all hosts in the servers, npg_clients and dept_clients Netgroup lists, and to all 10.0.0.0/24 (server room backend) hosts.

Mail: To reduce the size of the size of the Einstein VM the /mail directory on Gourd stores mail for all npg users. The nfs share is accessible only to Einstein and is mounted in /var/spool/mail on Einstein.

/etc/exports

# Share home folders (copied from old Einstein)

/home                                         \
         @servers(rw,sync)   \
         @npg_clients(rw,sync) \
         @dept_clients(rw,sync) \
         10.0.0.0/24(rw,no_root_squash,sync)

# Share /mail with Einstein 

/mail						\
	132.177.88.52(rw,sync)	\
	10.0.0.248(rw,no_root_squash,sync)

Subversion

Gourd our subversion code repositories stored in /home/svn/. The subversion service runs under xinetd. Its configuration is located in /etc/xinetd.d/svn

/etc/xinetd.d/svn

service svn
{ 
	port        = 3690
	socket_type = stream
	protocol    = tcp
	wait        = no
	user        = svn
	server      = /usr/bin/svnserve
	server_args = -i -r /home/svn
	disable     = no
}

VMWare

Gourd is running VMWare Server version 2.0.2. It acts as our primary virtualization server. it is accessible at https://gourd.unh.edu:8333/ or from localhost:8222 if you're logged in or port forwarding from Gourd over SSH.

Guest VMs on Gourd


UPS Configuration

Gourd is connected to the APC SmartUPS 2200XL. It uses the apcupsd service to monitor the UPS. Use the command (with sudo, or as root)

service apcupsd status

To see a detailed list of information about the status of the UPS, including battery charge and current load.

The official Site and Manual

 Official Site
 User Manual

Disks and Raid Configuration

This is the post-migration Gourd disk setup (as of 03/01/10).

Disks and Raid configuration

Drive Bay Disk Size Raid Set Raid level
1 750 GB System/Scratch Raid1 + Raid0
2 750 GB
3 750 GB Software RAID Pass Through
4 750 GB Software RAID Pass Through
5 Empty None None
6 Empty None None
7 750 GB Hot Swap None
8 750 GB Hot Swap None


Volume Set and Partition configuration

Raid set Volume set Volume size Partitions
Set 1 System(Raid1) 250 GB System: (/, /boot, /var, /tmp, /swap, /usr, /data )
Set 2 Scratch(Raid0) 1000GB Scratch space (/scratch)
/dev/md0   sdc1 & sdb1 500 GB Home Dirs: /home
/dev/md1   sdc2 & sdd2 100 GB Mail: /mail
/dev/md2   sdc3 & sdd3 150 GB Virtual Machines: /vmware