Einstein Status

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search

Massive amount of deployment documentation for RHEL 5

  1. Check all services einstein currently provides. Locate as many custom scripts, etc. as is reasonable and label/copy them.
    1. Network interfaces - UNH: ???? Farm: Done!
    2. Iptables - Not working.
    3. DNS - Done!
    4. LDAP - Done!
    5. Postfix
    6. AMaViS
    7. ClamAV
    8. SpamAssassin
    9. Dovecot
    10. /home - Done!
    11. Samba If anyone needs samba access, they need to find us and have us make them a samba account. No LDAP integration.
    12. Web? - This will be handled by roentgen.
    13. Fortran compilers and things like that? (Also needs compat libs) - Isn't this what pumpkin is for?
  2. Switch einstein.


Current setup on einstein2

/ is /dev/md0, which is a 3-way mirror comprised of sda1, sdb1, and sdc1. /var/spool/imap (can be changed to match our dovecot configuration) is /dev/md1, which is a 3-way mirror comprised of sda2, sdb2, and sdc2. /home is a 2-way mirror of sdb3 and sdc3. sda3 is the swap partition. The reason it is set up this way is that the system came installed on a 250gb, and Matt wanted redundancy and space for mail and /home, since they're (some of) the most important things. Two 750gb's were added, and RHEL5 was reinstalled without a hitch. Grub should currently be installed on all three drives, so that if any one (or two!) drives fails, the system can still boot and run. The RAID setup is standard software raid1 using 3 elements for root/mail and 2 elements for home. This will allow us to put the drives in any other system if need be.

This setup apparently confused Maurik, who wondered why we need to use the original 250gb drive involved. The answer, in case it ever needs to be known in the future, is that Matt didn't want to waste a perfectly good drive with no other purpose. It's perfectly reasonable to change the drive to 750 and complete the 3-way raiding fun, if desired.

Mystery Behavior

einstein2 isn't connected to the UNH network, yet somehow can access it and anybody else:

traceroute to google.com (64.233.167.99), 30 hops max, 40 byte packets
 1  gourd.farm.physics.unh.edu (10.0.0.252)  0.149 ms  0.137 ms  0.129 ms
 2  faculty1-gw.unh.edu (132.177.88.1)  0.546 ms  0.640 ms  0.704 ms
 3  tccat1-sup.unh.edu (132.177.84.134)  1.369 ms  1.456 ms  1.490 ms
 4  catwan.unh.edu (132.177.100.1)  4.955 ms  4.971 ms  5.001 ms
 5  64.215.24.177 (64.215.24.177)  8.399 ms  8.234 ms  8.248 ms
 6  te7-1-10G.ar2.DCA3.gblx.net (67.17.109.34)  14.197 ms  28.104 ms  14.382 ms
 7  google-2.ar2.DCA3.gblx.net (64.215.195.182)  16.258 ms  16.267 ms  16.283 ms
 8  209.85.130.12 (209.85.130.12)  16.852 ms  29.388 ms 209.85.130.18 (209.85.130.18)  17.033 ms
 9  209.85.248.221 (209.85.248.221)  34.669 ms 209.85.252.165 (209.85.252.165)  35.986 ms 216.239.46.224 (216.239.46.224)  41.596 ms
10  72.14.238.89 (72.14.238.89)  42.588 ms  42.414 ms 72.14.238.90 (72.14.238.90)  36.595 ms
11  72.14.232.70 (72.14.232.70)  42.013 ms 64.233.175.42 (64.233.175.42)  36.180 ms 72.14.232.70 (72.14.232.70)  36.979 ms
12  64.233.175.42 (64.233.175.42)  51.523 ms py-in-f99.google.com (64.233.167.99)  42.752 ms  50.091 ms

Gourd, huh? What's this about, Aaron?

Mail server

This should come in handy moving mail to the new einstein Dovecot, postfix, squirrelmail, and mailman have all been installed. The logical plan of attack seems to be to get postfix working fully, then dovecot, then squirrel, and finally mailman, in order to satisfy dependencies as well as order of importance. Because single large files scare me, I'm initially trying to set up postfix with maildir format. Default is mbox, but since mbox stores each user's mail as a single big file, it just looks like it's too easy to lose lots of data from random disk errors. Mbox worked, but once I copied over einstein's configs, things stopped working due to hostname/resolution errors, as can be seen in /var/log/maillog. maildir is far more robust anyhow; the Dovecot documentation even recommends it, so I don't know why mbox is the default.