February 24, 2003
[CDSERVER] CD server up

The CD server is essentially in production.

It's still not on UPS power; that will have to wait until the UPS is upgraded. We're also still using a basic 5 port hub on the private net.

When loading CD images:

  • In Share Manager: change the Volume Name to something distinct and reflective of the contents of the CD (see current images for general format).
  • For Share Comment, use the format "", e.g.: "littejo 200302". The requestor is the person who requested the CD be loaded. Year and month are when the reqest was made.
  • On PAX: mount the CD in a likely place (the CD volume label is a good directory name in most cases). Mount it read-only. Add it to /etc/fstab (via rcs.mgr).
Posted by littejo at 04:54 PM, updated 08:45 AM March 04, 2003
[KE] TWIG Removed

TWIG URLs have been redirected to SquirrelMail.

On webmail.earlham.edu, I set /webmail and /twig to redirect permanent to /squirrel. See TWIG Removal. I have not removed the TWIG software from KE, nor have I changed the PostgreSQL prefs database in any way yet.

Posted by littejo at 10:13 AM, updated 02:04 PM May 19, 2003
February 21, 2003
[KE] New disks, Sendmail 8.12.6, MIMEDefang 2.30

We're currently in the restore phase of operations - restoring around 30 Gb of mail from the dump image earlier this morning. No glitches so far at all.

Details:

  • 4:30 - 5:00: set downtime in Nagios so it wouldn't complain about KE/RT being down.
  • 5:00: began level 0 dump of /home (/dev/aacd1s1e) to PAX:/home/r0p1/ke-home-dump.20030221 over private net.
  • 5:00 - 7:00: compiled MIMEDefang 2.30 on my workstation and transferred it to /tmp on KE, monitored dump process, had breakfast, etc...
  • 7:10: dump finished
  • 7:20 - 8:00: arrive, reboot DBA (crashed, again)
    install Sendmail 8.12.6:
    • use package that I created on my workstation earlier
    • modify /etc/passwd and /etc/group to change smtp user and group to smmsp
    • modify /usr/local/etc/mimedefang/mimedefang.conf so that it runs as user smmsp instead of smtp
    • replace /etc/mail/Makefile with one taken from FreeBSD 4.6.2 and modified to reflect proper location of Sendmail cf M4 directory (/usr/local/share)
    • add lines to /etc/rc.conf for the new 8.12.x split queue structure:
      sendmail_enable="YES"
      sendmail_flags="-L sm-mta -bd -q30m"
      sendmail_submit_enable="YES"
      sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost"
      sendmail_outbound_enable="YES"
      sendmail_outbound_flags="-L sm-queue -q30m"
      sendmail_msp_queue_enable="YES"
      sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q1m"
      

    install MIMEDefang 2.30:
    • extract source in /tmp
    • "make install"

    Swap 18 Gb data disks for 72 Gb data disks, configure as RAID 5 container via Dell PERC BIOS, and then use /stand/sysinstall to label and newfs the disks
  • 8:00 - current: restoring dump image from PAX

We have three 18 Gb disks for Dell PowerEdge servers going begging. Maybe they'll find a home in MIR. I won't do anything with them until I know that the new disks are happy, though.

Posted by littejo at 08:53 AM
February 20, 2003
[CDSERVER] CD server tricks

Nice CD server. Pretty CD server. Documentation is a little sparse though.

In order to properly share a CD image via NFS from the CD server, you have to have the Mirror device finish "building". It takes over a day for the full RAID 5 of the four 180 Gb drives to finish building. Instead, I tested it with a single drive as a Mirror device, copied in a CD image, and it shares out to PAX without any problems.

I'm going to make some more tweaks, such as setting email drop locations and a few other things that require a reboot, and tell it to make the full RAID 5 mirror set. Then I'll let it sit for the weekend, and maybe it'll be happy by Monday.

"Ready for use in less than three minutes." My foot.

Oh, and is anyone else confused by this jumbling of "Mirror device" and "RAID"? The "Mirror device" is for mirroring the CD image onto the hard drive. It has nothing to do with RAID, except that the four hard drives are (well, will be) configured as a RAID set. Jeez.

Posted by littejo at 03:00 PM, updated 08:45 AM March 04, 2003
February 19, 2003
[General] private server net

I've set up a private network for the servers using secondary ethernet cards and a 10.18.0.0/24 subnet.

I'm currently using a 5 port 10/100 hub in the APC rack. All the servers have at least one spare 100 Mbps port. I'm using static /etc/hosts files. In the hosts file, all the servers that also have public IPs are spelled backwards (e.g.: PAX is XAP/10.18.0.2). The primary reason for this is to put the new CD server on the private net. It will also allow us to push other data (possibly backups or other private info) across this net without having to rely on the core switches and possible compromise there.

Posted by littejo at 03:36 PM, updated 08:58 AM March 04, 2003
February 18, 2003
[KE] Drive replacement: KE

Data drives to be replaced on KE, 2/21/2003.

I will be replacing the data drives on KE (three 18 Gb drives in RAID 5) with three 72 Gb drives (RAID 5). I'll start a level 0 dump at 5 (or as soon after that as the nightly backup will allow), saving the dump file to PAX:/home/r0p1. This should take approximately two hours, judging by AMANDA reports. Then power off system, replace drives, configure drives, format drives, and restore dump file. Happy ETA is 10 AM, I'm publicizing noon as definite ETA.

Posted by littejo at 09:04 AM
[KE] TWIG Removal

TWIG is being removed on 2/24/03.

I'll change the link to a "removed" page with pointers to SquirrelMail. At some later date we can drop the TWIG PostgreSQL database (still have to keep pgsql for the RT database).

Posted by littejo at 08:31 AM
[General] Samba 2.2.7a

Upgraded Samba on all systems except MIR on Friday morning.

PACO and ROJ are using Sunfreeware.com packages (requires the popt package). All others are using FreeBSD packages built on my workstation.

On installation on SHANTI, it somehow overwrote all individual entries in the smbpasswd file such that passwords were null and accounts were disabled. Restored from previous night's backup.

Posted by littejo at 08:23 AM, updated 08:57 AM March 04, 2003