Difference between revisions of "Sysadmin Todo List"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 81: Line 81:
 
** snmpd (mainly used for monitoring by cacti) on pepper was accepting the default community for v1 and v2c. ''/etc/snmp/snmpd.conf'' was changed to be more like einstein's and to not accept the public community. <code>snmpwalk -c public -v 1 localhost</code> and <code>snmpwalk -c public -v 2c localhost</code> return with "No response" so the changes seem to have worked.
 
** snmpd (mainly used for monitoring by cacti) on pepper was accepting the default community for v1 and v2c. ''/etc/snmp/snmpd.conf'' was changed to be more like einstein's and to not accept the public community. <code>snmpwalk -c public -v 1 localhost</code> and <code>snmpwalk -c public -v 2c localhost</code> return with "No response" so the changes seem to have worked.
 
** Issue with named on tomato is mysterious. Removed some Aaron chaff, but it's otherwise identical to einstein's ''/etc/named.conf''
 
** Issue with named on tomato is mysterious. Removed some Aaron chaff, but it's otherwise identical to einstein's ''/etc/named.conf''
 +
* Wilson can't download ''http://physics.unh.edu/wheel/custom/rhel-4/i386/repodata/repomd.xml'' and get updates from the npg-custom repository. <code>wget</code> says that a connection is made, but gets a 404 File Not Found error. I'm not sure that it's a settings issue, because blackbody is able to successfully download the file with wget and Opera. '''Bigger trouble: Parikshit rebooted wilson while I was trying to solve some interdependecy problems, and so "e2fsprogs" was uninstalled. This package contains programs dealing with ext2 filesystems, including fsck. So, when wilson tries to boot, it wants to do a check, but can't find fsck, and just gives up booting. I tried using the backtrack CD, mounting the LVM, chrooting it, and using yum, but it's not finding e2fsprogs in the two repositories that I added. This could probably be fixed if the http issue is figured out.''' Fortunately for Parry, wilson dual-boots Windows, so he can run that in the meantime. '''Where is wilson anyways?''' It's the computer nearest the window in 303. '''Set Parry up with ennui for now. Wilson is currently in 202. My plan is to just install CentOS 5 on it.'''
  
 
== Previous Months Completed ==
 
== Previous Months Completed ==

Revision as of 15:17, 22 October 2007

This is an unordered set of tasks. Detailed information on any of the tasks typically goes in related topics' pages, although usually not until the task has been filed under Completed.

Important

Einstein Upgrade

Massive amount of deployment documentation for RHEL 5

  1. Pick a date within the next week Monday, 7/23/2007
  2. Send an e-mail to Aaron, warning him of the future takedown of tomato Done
  3. Update Tomato to RHEL5 Installed w/ basic configuration (auth, autofs, etc)
  4. Check all services einstein currently provides. Locate as many custom scripts, etc. as is reasonable and label/copy them.
    1. DNS Installed, set up, working
    2. LDAP Installed, set up, working. Changed config files on tomato and einstein to do replication, but their LDAP services need restarted. Need to schedule a time to do it on einstein. Double-check configs!
    3. Postfix Installed, set up, working!
    4. AMaViS Installed, set up
    5. ClamAV Installed, set up
    6. SpamAssassin Installed, set up, working? (need to test to make sure)
    7. IMAP cyradm localhost gives "cannot connect to server". This all seems to be sasl-related. It'd be probably be easy if there was a way to have cyrus use PAM. LDAP and sasl Nevermind, that has to do with using SASL to authenticate LDAPsaslauthd -v lists pam and ldap as available authentication mechanisms, and /etc/sysconfig/saslauthd has an entry "MECH=pam"…! What am I missing? Tried making a new "mail.physics.unh.edu.crt" for tomato, but couldn't because that would have required revoking einstein's cert of the same name. Tried using the "tomato.unh.edu.crt" and "tomato.unh.edu.key", but is giving the same results as the "mail.physics.unh.edu.*" copied from einstein. Tried using tomato's UNH address instead of hostname: same result. I'm able to login using the imtest program, but the server doesn't send the same messages as shown here.
    8. /home Installed, set up, working
    9. Samba Installed, set up, working. If anyone needs samba access, they need to find us and have us make them a samba account. No LDAP integration.
    10. Web?
    11. Fortran compilers and things like that? (Also needs compat libs--Nope, tomato is 32-bit.)
  5. Clone those services to tomato
  6. Switch einstein <-> tomato, and then upgrade what was originally einstein
  7. Look into making an einstein, tomato failsafe setup.

Miscellaneous

  • The weather might be getting too cold for running two air conditioners. The top one has been having some issues. Yesterday I came in and it had left the floor wet. Today, it had collected a major amount of ice and started to flash its lights and beep. I turned it off after that. The other day I came in and both were coated in ice and the room was stifling. I defrosted with the door wide open and fans on high. Any chance we can start leaving the window open without running environmental risks to the machines?
  • Swap jalapeno power supply. No need to schedule downtime, considering it's always down.
  • Set up Jim William's dual-boot. I might need to come in after midnight to catch him, considering his scheduling... Installed CentOS5, takes forever on system message bus on boot. Leaving it overnight to see if it fixes itself. Nope. Odds are it's LDAP.
  • Idea for a future virtual machine: Set it up with vital services like LDAP and mail, and let it get the latest and greatest updates. Test that these updates don't break anything, then send the packages the npg-custom repository.
  • Pauli crashes nearly every day, not when backups come around. We need to set up detailed system logging to find out why.
  • Pauli2 and 4 don't give out their data via /net to the other paulis. This doesn't seem to be an autofs setting, since I see nothing about it in the working nodes' configs. Similarly, 2,4, and 6 won't access the other paulis via /net. 2,4 were nodes we rebuilt this summer, so it makes sense they don't have the right settings, but 6 is a mystery.
  • Pauli2's hard drive may be dying. Some files in /data are inaccessible, and smartctl shows a large number of errors (98 if I'm reading this right...). Time to get Heisenberg a new hard drive? Or maybe just wean him off of NPG… It may be done for; can't connect to pauli2 and rebooting didn't seem to work. Need to set up the monitor/keyboard for it & check things out.
  • Steve can't log into roentgen. Don't appear in getent passwd | grep mccoyst, but that's the case on several other machines that I can log into, such as einstein. However, getent passwd mccoyst does return my info on einstein, but not roentgen. ldapsearch -x '(uid=mccoyst)' returns me on roentgen. Fake user "fdelete" had my uid as its gid, so I finally deleted it and the other deletes "just in case". They still show up in roentgen's getent passwd, but not ldap searches, and I was able to log in directly as jdelete and remotely as ndelete… Bwah??:
 root@roentgen:root>luserdel fdelete
 User fdelete does not exist.
 root@roentgen:root>userdel fdelete
 userdel: error deleting password entry
 userdel: error deleting shadow password entry
 userdel: error removing group entry
 userdel: error removing shadow group entry
 root@roentgen:root>id fdelete
 uid=4239(fdelete) gid=4235(fdelete) groups=4235(fdelete),4199(farm)
  • Learn how to use cacti on okra. Seems like a nice tool, mostly set up for us already. Find out why lentil and okra (and tomato?) aren't being read by cacti. Could be related to the warnings that repeat in okra:/var/www/cacti/log/cacti.log. Not related to the warnings; those are for other machines that are otherwise being monitored. Try adding cacti to the exclude exclude list in access.conf Nevermind, lentil doesn't have any restrictions. Need to find out the requirements for a machine to be monitored by cacti/rrdtools. The documentaion makes it sound like only the cacti host needs any configuration, but I'm dubious. Ahh, it looks like every client has a file snmpd.conf, which affects what can be graphed. Tried configuring things on improv as in the Cacti HowTo, but no go. Must be some other settings as well. At some point on friday, cacti stopped being able to monitor einstein. Update-related? There are no errors in cacti.log, but the status page for einstein just says "down".
  • Install the right SNMP stuff on tomato so that it can be graphed
  • jalapeno hangups: Look at sensors on jalapeno, so that cacti can monitor the temp. The crashing probably isn't the splunk beta (no longer beta!), since it runs entirely in userspace. lm_sensors fails to detect anything readable. Is there a way around this?
  • Try to pull as much data from Jim William's old drives as possible, if there's even anything on them. They seem dead. Maybe we can swap one board to the other drive and see if it works?

Ongoing

Documentation

  • Maintain the Documentation of all systems!
    • Main function
    • Hardware
    • OS
    • Network
  • Continue homogenizing the configurations of the machines.
  • Improve documentation of mail software, specifically SpamAssassin, Cyrus, etc.

Maintenance

  • Check e-mails to root every morning
  • Resize/clean up partitions as necessary. Seems to be a running trend that a computer gets 0 free space and problems crop up. Symanzik, bohr seem imminent. Yup, bohr died. Expanded his root by 2.5 gigs. Still serious monitor problems though, temporarily bypassed with vesa... Bohr's problem seems tied to the nvidia drivers, let's wait until the next release and see how those work out.
  • Check up on security [1]

On-the-Side

  • See if we can get the busted printer in 322 to work down here.
  • Certain settings are similar or identical for all machines, such as resolv.conf. It would be beneficial to write a program to do remote configuration. This would also simplify the process of adding/upgrading machines. Since resolv.conf was mentioned, I made a prototype that seems to work. Another idea that was tossed around was a program that periodically compared such files against master copies, to see if the settings somehow got changed. Learn how to use ssh-agent for most of these tasks
  • Backup stuff: We need exclude filters on the backups. We need to plan and execute extensive tests before modifying the production backup program. Also, see if we can implement some sort of NFS user access. I've set up both filters and read-only snapshot access to backups at home. Uses what essentially amounts to a bash script version of the fancy perl thing we use now, only far less sophisticated. However, the filtering and user access uses a standard rsync exclude file (syntax in man page) and the user access is fairly obvious NFS read-only hosting. I am wondering if this is needed. The current scheme (ie the perl script) uses excludes by having a .rsync-filter is each of the directories where you want excluded contents. This has worked well. See ~maurik/tmp/.rsync-filter . The current script takes care of some important issues, like incomplete backups. Ah. So we need to get users to somehow keep that .rsync-filter file fairly updated. And to get them to use data to hold things, not home. Also, I wasn't suggesting we get rid of the perl script, I was saying that I've become familiar with a number of the things it does. [2] Put this on the backburner for now, since the current rate of backup disk consumption will give about 10 months before the next empty disk is needed.

Waiting

  • It turns out that business services didn't actually order the new server.
  • That guy's computer has a BIOS checksum error. Flashing the BIOS to the newest version succeeds, but doesn't fix the problem. No obvious mobo damage either. What happen? Who was that guy, anyhow? (Silviu Covrig, probably) The machine is gluon, according to him. Waiting on ASUS tech support for warranty info Aaron said it might be power-supply-related. Nope. Definitely not. Used a known good PSU and still got error, reflashed bios with it and still got error. Got RMA, sending out on wed. Waiting on ASUS to send us a working one! Called ASUS on 8/6, they said it's getting repaired right now. Wohoo! Got a notification that it shipped! ...they didn't fix it... Still has the EXACT same error it had when we shipped it to them. What should we do about this?
  • Printer queue for Copier: Konica Minolta Bizhub 750. IP=pita.unh.edu Seems like we need info from the Konica guy to get it set up on Red Hat. The installation documentation for the driver doesn't mention things like the passcode, because those are machine-specific. Katie says that if he doesn't come on Monday, she'll make an inquiry. Mac OS X now working, IT guy should be here week of June 26th Did he ever come? No, he didn't, and did not respond to a voice message left. Will call again.

Completed

  • The computer that was once improv, then quark, is now feynman. Jim Williams had the name quark first.
  • Removed the ancient kernels from symanzik's boot partition, because they were taking up space needed by kernels from up2date
  • Figure out how to password-protect a webpage for Silas. He hosts from his personal space on nuclear.unh.edu http://httpd.apache.org/docs/2.0/howto/auth.html#gettingitworking
  • pepper, taro got kernel updates, but we have to wait on some users to finish some long jobs. lzana says that he'll be finished around Tuesday (9/25/2007), so we should send out an e-mail on Monday to inform others. Tenetatively schedule the reboots for that Friday. He's still running his jobs. New estimate for completion is over the weekend. Done on 9/28
  • Jalapeno was hung when I came in, so I took the opportunity to boot it with the latest uniprocessor kernel. Let's see how long it can last with this. If it hangs again soon, then the issue probably isn't the SMP kernel. "Found" a newer SMP kernel, but it panics on boot. Tried the SMP again, but it made it to startup. Let's see how long it goes this time. It could be a power issue (e.g. Taro). Hung up again this morning (8/22). Let's look into the power angle. Hung up last night with the single-processor kernel (8/24). Hung sometime between the mornings of 8/26 and 8/27. Restarted this morning (8/27) with the default kernel. Was hung on 9/03 when the backup script came by, judging by the email records. Stopped by wed night, noticed jalapeno panicked. Copied down everything visible on-screen. Maybe we can use this to narrow down what's happening here.... (9/12, 7:40) Unsolved, just tidying; todo list has another jalapeno entry
  • Removed the "delete" set of fake users from the database
  • Updated clamav on roentgen so that the logwatch e-mails aren't filled with warnings about it being out-of-date. Had to create a symbolic link ln -s libclamav.so.2.0.8 libclamav.so.1 and slightly modify the /etc/clamd.conf file to get service clamd to start Turns out that clamd wanted libclamav.so.1 because it was an old version. Updating the clamd package fixed everything, and let me revert clamd.conf to its proper form. I wonder what led to them deciding to have two seperate packages if one depends on the other…
  • The latest kernel on pepper doesn't have a SMP version? Had to go back to the second-most recent. Using most-recent version now; it just wasn't automatically added to the lilo menu.
  • Fixed some things warned about by UNH's "Nessus":
    • snmpd (mainly used for monitoring by cacti) on pepper was accepting the default community for v1 and v2c. /etc/snmp/snmpd.conf was changed to be more like einstein's and to not accept the public community. snmpwalk -c public -v 1 localhost and snmpwalk -c public -v 2c localhost return with "No response" so the changes seem to have worked.
    • Issue with named on tomato is mysterious. Removed some Aaron chaff, but it's otherwise identical to einstein's /etc/named.conf
  • Wilson can't download http://physics.unh.edu/wheel/custom/rhel-4/i386/repodata/repomd.xml and get updates from the npg-custom repository. wget says that a connection is made, but gets a 404 File Not Found error. I'm not sure that it's a settings issue, because blackbody is able to successfully download the file with wget and Opera. Bigger trouble: Parikshit rebooted wilson while I was trying to solve some interdependecy problems, and so "e2fsprogs" was uninstalled. This package contains programs dealing with ext2 filesystems, including fsck. So, when wilson tries to boot, it wants to do a check, but can't find fsck, and just gives up booting. I tried using the backtrack CD, mounting the LVM, chrooting it, and using yum, but it's not finding e2fsprogs in the two repositories that I added. This could probably be fixed if the http issue is figured out. Fortunately for Parry, wilson dual-boots Windows, so he can run that in the meantime. Where is wilson anyways? It's the computer nearest the window in 303. Set Parry up with ennui for now. Wilson is currently in 202. My plan is to just install CentOS 5 on it.

Previous Months Completed

June 2007

July 2007

August 2007

September 2007