OS Installs

Linux

Basic OS

  1. Put kickstart file on tintin (copy and modify a similar existing file).
  2. Get install kernel & initrd from images/xen/ in install distro repository.

    1. 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).
    2. For bare metal, put xen initrd.img and vmlinuz on a PXE server.
  3. edit kernel args (on PXE server or in Xen config) to use kickstart file
  4. install OS
  5. if it's a xen host, put "xen.independent_wallclock = 1" into /etc/sysctl.conf
  6. add epel.repo to centos
  7. 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

  8. install custom perl modules
  9. 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

  1. 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...
  2. if this is a part of a HA cluster, set up rsync copies.
  3. install obvious software (web server? NTP?)
  4. configure new nagios host for new host with same tests as original
  5. make it pass those tests
  6. if there is still something visibly wrong, add a test to nagios
  7. sync up perl modules - get autobundle from original parse a little by machine, but mostly do this by hand.
  8. sync up RPMS - Again, don't just blindly install everything.


CategoryNotes

OS Installs (last edited 2008-07-14 23:44:21 by dmartin)