Difference between revisions of "Tomato"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
m
Line 1: Line 1:
 +
This site is currently being updated.
 +
 
== General Information ==
 
== General Information ==
Tomato is a data server.
+
Einstein is the primary server, and hosts services for [[LDAP]], NFS for [[Automount|home directories]], [[E-mail]], [[Elog]].
  
 
== Hardware Information ==
 
== Hardware Information ==
<pre>
+
[[Image:H8SMU_spec.jpg |right| SuperMicro H8SMU Motherboard ]]
HDD Space:  
+
* Motherboard: [http://www.supermicro.com/Aplus/motherboard/Opteron1000/MCP55/H8SMU.cfm SuperMicro H8SMU] [http://nuclear.unh.edu/wiki/images/7/72/MNL-H8SMU_10a.pdf User Manual]
Memory: 4 GB
+
** nVidia MCP55-Pro chipset
CPU:  
+
** SAS Backplane: SAS825TQ
RAID Cont: 3ware Inc 9000-series
+
* Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X
</pre>
 
  
 
== Network Configuration ==
 
== Network Configuration ==
Currently connected to the unh and farm networks via the switch and VLAN configuration.  
+
Currently has ethernet cable to switch for local (farm) connection, and an ethernet cable to the wall for unh connection.
 
<pre>
 
<pre>
eth0  
+
eth0
   Hostname: Tomato.farm.physics.unh.edu       
+
   Hostname: einstein.farm.physics.unh.edu       
   HWaddr  
+
   HWaddr 00:30:48:63:BB:40 
   IP: 10.0.0.251
+
   IP:10.0.0.248
 
+
eth1
eth0.2
+
   Hostname: einstein.unh.edu    
   Hostname: Tomato.unh.edu
+
   HWaddr 00:30:48:63:BB:41
   HWaddr  
+
   IP:132.177.88.52
   IP: 132.177.88.76
 
 
</pre>
 
</pre>
  
== Backup Configuration ==
 
This machine is currently setup to backup certain data to lentil (backup server).
 
 
== UPS Configuration ==
 
== UPS Configuration ==
This machine is setup with a UPS, and is attached through a USB cable. This setup is currently not working at the moment, because of problems trying to use Bulldog or NUT to connect via USB with the UPSes.  
+
Einstein is connected to the APC SmartUPS 2200XL.
== Smartd Configuration ==
+
First install the apcupsd package using yum.  Then start it the package and check the status
 +
  sudo yum install apcupsd
 +
  sudo /sbin/service apcupsd start
 +
  sudo /sbin/service apcupsd status
 +
The official Site and Manual
 +
  [http://apcupsd.org/ Official Site]
 +
  [http://nuclear.unh.edu/wiki/images/7/72/apcupsd-manual.pdf User Manual]
 +
 
 +
== Hot Swap Information ==
 +
* Interesting thread to get sata-nv to hotswap: ([http://www.linuxquestions.org/questions/linux-hardware-18/sata-hotplug-hotswap-howto-570811])
 +
** There are drivers available for the MB sata, we could try them: [ftp://ftp.supermicro.com/driver/SATA/nVidia/MCP55/Linux/Non_RAID/Redhat/1.23/ Super Micro MB H8SMU drivers], BUT these appear to be standard Nvidia sata_nv driver.
 +
* SAS Backplane: SAS825TQ
 +
* SAT2-MV8 8-port SATA controller. Uses the sata-mv module which is NOT HOTPLUG CAPABLE. (see http://linux-ata.org/driver-status.html#matrix). THE ONLY WAY TO "HOT PLUG" with this driver is to dismount ALL the drives, then "modprobe -r sata-mv" (make sure it is really gone: lsmod | grep sata) then do the swap, then "modeprobe sata-mv" again.
 +
 
 +
== Special Considerations for Einstein (Historical) ==
 +
This information no longer applies and is here for historical reasons. We no longer use amavisd, and so these instructions are not useful.
 +
 
 +
 
 +
Einstein is our mail server. That means it runs '''"amavisd"''' (a virus scanner) and '''"spamassasin"''' a spam filter. Both these codes have some issues with leaving junk around, slowly causing the "/" file system to fill up. When that happens, einstein stops functioning.
  
== rc.local Configuration ==
+
Some cleanup can be done as follows:
The /etc/rc.local file is setup to email npg-admins the /var/log/boot.log file everytime the machine boots.
+
* stop amavisd and spamassasin:
 +
service amavisd stop
 +
service spamassasin stop
 +
* clean out some of their junk:
 +
rm /var/amavis/.razor/razor-agent.log
 +
touch /var/amavis/.razor/razor-agent.log
 +
chown amavis:amavis /var/amavis/.razor/razor-agent.log
 +
chmod o-r /var/amavis/.razor/razor-agent.log
 +
rm -f /var/virusmails/*  # (Sometimes there are so many, you have to delete in "chunks")
 +
rm -rf /tmp
 +
* start up the mail stuff again.
 +
service amavisd start
 +
service spamassasin start
  
== Current Problems ==
+
There may be other areas that can be clean up, as in all the archived mail from "mailman"? But at least this list will let einstein function again.
* 060409 Kernel Panics, when looking for new hardware
 

Revision as of 13:35, 8 June 2010

This site is currently being updated.

General Information

Einstein is the primary server, and hosts services for LDAP, NFS for home directories, E-mail, Elog.

Hardware Information

SuperMicro H8SMU Motherboard
  • Motherboard: SuperMicro H8SMU User Manual
    • nVidia MCP55-Pro chipset
    • SAS Backplane: SAS825TQ
  • Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X

Network Configuration

Currently has ethernet cable to switch for local (farm) connection, and an ethernet cable to the wall for unh connection.

eth0
  Hostname: einstein.farm.physics.unh.edu      
  HWaddr 00:30:48:63:BB:40  
  IP:10.0.0.248
eth1
  Hostname: einstein.unh.edu      
  HWaddr 00:30:48:63:BB:41
  IP:132.177.88.52

UPS Configuration

Einstein is connected to the APC SmartUPS 2200XL. First install the apcupsd package using yum. Then start it the package and check the status

 sudo yum install apcupsd
 sudo /sbin/service apcupsd start
 sudo /sbin/service apcupsd status

The official Site and Manual

 Official Site
 User Manual

Hot Swap Information

  • Interesting thread to get sata-nv to hotswap: ([1])
    • There are drivers available for the MB sata, we could try them: Super Micro MB H8SMU drivers, BUT these appear to be standard Nvidia sata_nv driver.
  • SAS Backplane: SAS825TQ
  • SAT2-MV8 8-port SATA controller. Uses the sata-mv module which is NOT HOTPLUG CAPABLE. (see http://linux-ata.org/driver-status.html#matrix). THE ONLY WAY TO "HOT PLUG" with this driver is to dismount ALL the drives, then "modprobe -r sata-mv" (make sure it is really gone: lsmod | grep sata) then do the swap, then "modeprobe sata-mv" again.

Special Considerations for Einstein (Historical)

This information no longer applies and is here for historical reasons. We no longer use amavisd, and so these instructions are not useful.


Einstein is our mail server. That means it runs "amavisd" (a virus scanner) and "spamassasin" a spam filter. Both these codes have some issues with leaving junk around, slowly causing the "/" file system to fill up. When that happens, einstein stops functioning.

Some cleanup can be done as follows:

  • stop amavisd and spamassasin:
service amavisd stop
service spamassasin stop
  • clean out some of their junk:
rm /var/amavis/.razor/razor-agent.log 
touch /var/amavis/.razor/razor-agent.log 
chown amavis:amavis /var/amavis/.razor/razor-agent.log
chmod o-r /var/amavis/.razor/razor-agent.log
rm -f /var/virusmails/*   # (Sometimes there are so many, you have to delete in "chunks")
rm -rf /tmp
  • start up the mail stuff again.
service amavisd start
service spamassasin start

There may be other areas that can be clean up, as in all the archived mail from "mailman"? But at least this list will let einstein function again.