Server Upgrade Project

From Deos
Jump to navigationJump to search

Perform server infrastructure upgrades.

Description

A Holiday project to upgrade the computing server infrastructure of the Deos group. There are three servers; mydeos, nayak, and chino. Presently the servers are a mixture of Gentoo and various versions of Red Hat. Some of the server software is getting dated and should be upgraded.

News

  • I'll bring Nayak offline sometime Saturday morning, December *16* (thanks Stephen). I will move the existing hard drive to a different mount point and use a fresh drive for the new install. That way, we'll have the old drive's content to refer to for configuration and restoration. I'll send a message when it's ready for the rest of the team to step in and get their chores done. I'll be using the Ubuntu, 6.10, 'Server' distro.
  • This effort kicks off on Saturday, December 16 with an upgrade of Nayak. After that, MyDeos will be brought down on Tuesday, December 19.

Jaded volunteers for the effort

Handle Long Name Availability
AL user:Aaron.larson@honeywell.com Either the week of the 10th, or 17th. Prefer prior to 12/21 in case we run into problems.
MD user:Matt.diethelm@honeywell.com Either the week of the 10th, or 17th is fine with me.
SPS user:Stephen.smith@honeywell.com Either the week of the 10th, or 17th.
TT user:Thomas.taranowski@honeywell.com Doesn't matter. I have no life.

It now looks like I'll be out the week of the 10th (Georgia). I suggest that we (i.e., not me) start on nayak sometime (late?) the week of the 10th. Assuming that goes well, then I'll do chino bring up the next week and we can all start on mydeos.


Tasks

MyDeos

MyDeos Task Description Volunteer Percentage Complete
Ensure latest backups successful and archive results offline.
  • run MySQL dumps of all relevant databases
  • save off MySQL .cnf file.
  • run Subversion dump of all relevant repositories
MD 100%
Bring server up to Ubuntu 6.06 or 6.10
  • Increase Phy. RAM to 2GB This has been deferred.
  • Server configuration
  • software RAID
  • boot from separate physical drive
  • mount /backup on 300GB drive
  • set hostname to ?
  • set static IP address to ?
  • see /etc/ADMIN-README.txt
MD 100%
Install and configure SSH server MD 100%
Create user accounts and add to sudoers list. Make sps's account "steves" to match his account on nayak. MD 100%
Install and configure MTA (sendmail)
  • Use aliases captured from /etc/mail/aliases backup
  • Have checked using various aliases. Re-cieved a message from cron that went to the root alias.
SPS, MD 100%
Install and configure Apache2 with PHP MD 100%
Install and configure MySQL. Which version 4 or 5?/td> TT, AL, MD 100%
Install and configure Subversion
  • Use latest provided in Ubuntu distro. (1.3.2, which matches cygwin).
  • 1.4 Seems to have a number of advantages. It might be the case that 1.4 will be available by the time we do the work, but if not then here is someplace to look: http://www.ubuntuforums.org/showthread.php?t=257431
  • Apache mod_dav and mod_svn
  • Reload relevant repositories from backup dumps.
AL 100%
Manual install and configure Bugzilla
  • Use vendor drop and patches captured in SCM
AL 100%
Install and configure proftpd TT 100%
Install and configure an Mailman (Edgy comes with 2.1.8, mydeos is running 2.1.5, and 2.1.9 is the latest release. I didn't look at the release notes, but our demands are low, so I suggest sticking with the package released in Edgy, namely 2.1.8) Note that Aaron has made changes to mailman that will need to be re-integrated. See below. Also ref this description of moving mailman from one machine to another [1] MD 100%
Install and configure Mediawiki (Edgy comes with 1.5.8. Mydeos is currently running 1.5.6. 1.8.2 is the current release. Suggest 1.5.8)/td> MD 100%
Install and configure viewcvs. AL 100%
Install and configure Swish. AL 100%
Recover and configure https://deos.ddci.com/changeSvnAccounts/. MD 100%
Install and configure phpMySQLAdmin TT, MD 100%
Install and configure custom scripts (backup, etc.) MD 100%
Put /etc/ADMIN-README into scm AL 100%

Nayak

Nayak Server Task Description Volunteer Percentage Complete
Mount previous drive at /media/old MD 100%
Bring server up to Ubuntu 6.10, "Edgy," Server Distro
  • Shut off ftp-mirror script on MyDeos
  • Add another physical disk
  • Server configuration
  • set hostname to sslp-nayak.cas.honeywell.com
  • set static IP address to 129.239.15.26
  • set DNS address to 129.239.31.100, 129.239.239.15, 127.0.0.1
MD 100%
Install and configure SSH server MD 100%
Create user accounts and add to sudoers list MD 100%
Install and configure an MTA (postfix) SPS 100%
Install and configure proftpd MD,AL (filling in for TT here) 100%
Create Open SSH version 2 keys on build machine and make sure that the B.M. can log into the deosMaint account on sslp-nayak. SPS 100%
Install and configure custom scripts (backup, etc.) deos2cygwin-wrapper installed. Following still need resolution:
  • The root crontab file calls /etc/updateSharpDeosPackages. SPS placed into /usr/local/bin, and updated build engine and put in scm.
  • cron.daily/backup-to-sslp-quito(?) Is obsolete.
  • cron.ten-minutes/x9-expiration. Defer until lab setup.
AL 100%
Put /etc/ADMIN-README into scm AL 100%
Re-enable mydeos ftp-mirror script. MD 100%

Chino

Chino Server Task Description Volunteer Percentage Complete
Bring server up to Ubuntu 6.10 AL 100%
Install and configure SSH server AL 100%
Create user accounts and add to sudoers list AL 100%
Install and configure an MTA (postfix) SPS 100%
Install and configure custom scripts (backup, etc.)
  • re-rig backup scripts to 'pull' content from mydeos. Use the rsnapshot package and rig similar to how local rsnapshot backups are being done on mydeos. See [2]
AL 100%
Put /etc/ADMIN-README into scm AL 100%


=== Services Needed / Proposed Tasks ===


  • Repartition hard drives.
  • Bugzilla: Version 3.0 is due out in Q107, so no version upgrade suggested. Significant customization required. According to the Bugzilla status page "mod_perl Support", requires 1.5GB of RAM! Note Bugzilla developers have found a number of version incompatibilities we'll need to watch out for.
  • Subversion: New version suggested.
  • viewCVS: New version suggested, minor customization required.
  • proFTP - sftp comes free with default install of ssh server
  • Backups
  • Perhaps add FTP mirror on chino? (No - This has been deferred)
  • Cross distribute server config scripts? (No - this has been deemed unnecessary)
  • SWISH
  • Mailman: New version available, minor customizations made.
  • MediaWiki: New version available, minor customizations made.
  • Apache: New version available, any mods?
  • PHPMysql
  • Someday, we need to move Deos VSS content from Honeywell share to Deos team controlled share.

Presumably we don't need to enable:

  • moin wiki.
  • jabber

Tips

  • As installation notes discovered and gathered, keep them in SCM, preferably under /maintainer-tools/<utility>.
  • The list of packages and versions available in Ubuntu can be found at: http://packages.ubuntu.com/

Mailman Changes

mydeosbash$ pwd
/usr/local/mailman
mydeosbash$ for f in $(find . -name '*~'); do echo $f; diff $f ${f/\~/}; done
./move_lists.sh~
diff: ./move_lists.sh: No such file or directory
./rm_unused.sh~
9d8
< rm pending.pck
./Mailman/Cgi/listinfo.py~
129a130,132
>     welcome.append('''<p>To search the archives visit <a href="http://%s/search">http://%s/search</a>.</p>'''
>            % ( hostname, hostname))
> 
./Mailman/Handlers/CookHeaders.py~
96c96,98
<         msg['Precedence'] = 'list'
---
> 	# AL: this used to be 'list', but M$ outlook ignores list, but appears 
> 	# to honor 'bulk'.  Go figure.
>         msg['Precedence'] = 'bulk'
./Mailman/mm_cfg.py~
44a45
> ARCHIVE_HTML_SANITIZER = 3
\ No newline at end of file
./Mailman/Defaults.py~
86,87c86,87
< DEFAULT_EMAIL_HOST = 'sslp-kuhhirt.cas.honeywell.com'
< DEFAULT_URL_HOST = 'sslp-kuhhirt.cas.honeywell.com'
---
> DEFAULT_EMAIL_HOST = 'mydeos.htc.honeywell.com'
> DEFAULT_URL_HOST = 'mydeos.htc.honeywell.com'
./move_list.sh~
12,13d11
< set -x 
< 
./templates/en/archtocnombox.html~
11a12
>        To search the archives visit <a href="https://deos.ddci.com/search">https://deos.ddci.com/search</a>.
mydeosbash$