Difference between revisions of "Einstein"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 4: Line 4:
 
== Network Configuration ==
 
== Network Configuration ==
 
Currently has ethernet cable to switch for local (farm) connection, and an ethernet cable to the wall for unh connection.
 
Currently has ethernet cable to switch for local (farm) connection, and an ethernet cable to the wall for unh connection.
 
Hostnames: <code>einstein.unh.edu</code>, <code>einstein.farm.physics.unh.edu</code>
 
=== ifconfig ===
 
 
<pre>
 
<pre>
eth0      Link encap:Ethernet  HWaddr 00:30:48:63:BB:40   
+
eth0
          inet addr:10.0.0.248 Bcast:10.0.3.255  Mask:255.255.252.0
+
  Hostname: einstein.farm.physics.unh.edu      
          inet6 addr: fe80::230:48ff:fe63:bb40/64 Scope:Link
+
  HWaddr 00:30:48:63:BB:40   
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
+
  IP:10.0.0.248
          RX packets:30590568 errors:0 dropped:0 overruns:0 frame:0
+
eth1
          TX packets:19265796 errors:0 dropped:0 overruns:0 carrier:0
+
Hostname: einstein.unh.edu     
          collisions:0 txqueuelen:1000
+
HWaddr 00:30:48:63:BB:41
          RX bytes:12885415985 (12.0 GiB)  TX bytes:37595782118 (35.0 GiB)
+
IP:132.177.88.52
          Interrupt:106 Base address:0x4000
+
</pre>
 
 
eth1      Link encap:Ethernet  HWaddr 00:30:48:63:BB:41
 
          inet addr:132.177.88.52 Bcast:132.177.91.255  Mask:255.255.252.0
 
          inet6 addr: fe80::230:48ff:fe63:bb41/64 Scope:Link
 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 
          RX packets:140420169 errors:264 dropped:0 overruns:0 frame:264
 
          TX packets:102671315 errors:0 dropped:0 overruns:0 carrier:0
 
          collisions:0 txqueuelen:1000
 
          RX bytes:65061356613 (60.5 GiB)  TX bytes:74930930219 (69.7 GiB)
 
          Interrupt:114 Base address:0x6000
 
  
lo        Link encap:Local Loopback 
 
          inet addr:127.0.0.1  Mask:255.0.0.0
 
          inet6 addr: ::1/128 Scope:Host
 
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
 
          RX packets:32295792 errors:0 dropped:0 overruns:0 frame:0
 
          TX packets:32295792 errors:0 dropped:0 overruns:0 carrier:0
 
          collisions:0 txqueuelen:0
 
          RX bytes:53090433084 (49.4 GiB)  TX bytes:53090433084 (49.4 GiB)
 
</pre>
 
 
== UPS Configuration ==
 
== UPS Configuration ==
 
Einstein is connected to the APC SmartUPS 2200XL.
 
Einstein is connected to the APC SmartUPS 2200XL.

Revision as of 15:10, 2 June 2009

General Information

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

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.

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

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.