OS Installs
Linux
Basic OS
- Put kickstart file on tintin (copy and modify a similar existing file).
Get install kernel & initrd from images/xen/ in install distro repository.
- For Xen VM, copy xen initrd.img and vmlinuz to dom0 and use 'kernel','extras' and 'initrd' config vars (copy and edit existing config file).
- For bare metal, put xen initrd.img and vmlinuz on a PXE server.
- edit kernel args (on PXE server or in Xen config) to use kickstart file
- install OS
- if it's a xen host, put "xen.independent_wallclock = 1" into /etc/sysctl.conf
- add epel.repo to centos
install perl-Module-Build, perl-YAML, perl-libwww-perl, perl-AppConfig, perl-Readonly, perl-Crypt-CBC, perl-Crypt-Blowfish, perl-BSD-Resource, perl-Mail-Sendmail & perl-version
- install custom perl modules
- install cfrun
Sync with Existing
If you're moving an existing system to new hardware, or installing as an upgrade, you need to make it act like the old box
- use rsync or whatever to make a copy of the original hosts /etc, /root, /usr/local and possibly /home. These should be copies used as a reference, not used to overwrite the new host's /etc/, /root/, /usr/local etc...
- if this is a part of a HA cluster, set up rsync copies.
- install obvious software (web server? NTP?)
- configure new nagios host for new host with same tests as original
- make it pass those tests
- if there is still something visibly wrong, add a test to nagios
- sync up perl modules - get autobundle from original parse a little by machine, but mostly do this by hand.
- sync up RPMS - Again, don't just blindly install everything.
