Differences between revisions 1 and 2
Revision 1 as of 2008-02-02 00:27:48
Size: 3870
Editor: HolgerLevsen
Comment: copied from http://wiki.skolelinux.no/DebianEdu/Documentation/Etch/Maintainance
Revision 2 as of 2008-03-02 01:23:59
Size: 3896
Editor: HolgerLevsen
Comment: add toc
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

[[TableOfContents(2)]]

Maintainance

?TableOfContents(2)

Updating the software

This section explains how to use aptitude upgrade and kde-update-notifier.

Using aptitude is really simply. To update a system you need to execute two commands on the command line as root: aptitude update (updates the lists of available packages) and aptitude upgrade (upgrades the packages for which an upgrade is available).

Instead of using the command line you can also use kde-update-notifier. FIXME: Explain how, maybe with a screenshot.

It is also a good idea to install cron-apt and apt-listchanges and configure them to send mail to an address you are reading.

cron-apt will notify you once a day via email, which packages need an update. It does not install these updates, but downloads them (usually in the night), so you don't have to wait for the download, when you do aptitude upgrade.

apt-listchanges can send new changelog entries to you.

Backup Management

For the backup management point your browser to https://www/slbackup-php. Please note that you have to access this site via ssl, since you have to enter the root password there. If you try to access this site without using ssl it will fail.

Per default the tjener will backup /skole/tjener/home0, /etc/ and the ldap to /skole/backup which is in the lvm. If you only want to have things twice (if you delete something) this setup should be fine for you.

/root/.svk will also be backed up if you install from etch-test today. (FIXME this, once it's in etch.)

/!\ Be aware that this backup doesn't protect you from failing harddrives.

If you want to backup your data to an external server, a tape device or another harddrive you'll have to modify the existing configuration a bit.

  • FIXME: I have to have a look on the webpage of slbackup-php to describe this further

Server Monitoring

Munin

Munin trend reporting system is available from [https://www/munin/]. It provides system status measurement graphis on a daily, weekly, monthly and yearly basis, and allow the system administrator help when looking for bottlenecks and the source of system problems.

The list of machines being monitored using munin is generated automatically based on the list of hosts reporting to sitesummary. All hosts with the package munin-node installed is registered for munin monitoring. It will normally take two days from a machine is installed until munin monitoring start, because of the order the cron jobs are executed. To speed up the process, run /etc/cron.daily/sitesummary-client as root on the freshly installed machine, and /etc/cron.daily/sitesummary as root on the sitesummary server (normally the main-server).

Information about the munin system is available from http://munin.projects.linpro.no/ .

Nagios

Nagios system and service monitoring is available from [https://www/nagios2/].

The username is nagiosadmin and the password is undefined, you must set your own password before you can login and use nagios. For security reasons, avoid using the samme password as root. To change the password you can run the following command as root:

htpasswd /etc/nagios2/htpasswd.users nagiosadmin

By default from Debian-Edu 3.0r1 Nagios does not send email. This can be changed by replacing notify-by-nothing with host-notify-by-email and notify-by-email in the file /etc/nagios2/debian-edu/contacts.cfg.

Information about the nagios system is available from http://www.nagios.org/ or in the nagios2-doc package.

Sitesummary

A simple report from sitesummary is available from [https://www/sitesummary/].

Some documentation on sitesummary is available from http://wiki.debian.org/DebianEdu/HowTo/SiteSummary