DutchVirtual

dv1 configuration notes

www1

Has swap as partition on lv1.

dv2 configuration notes

Todo

New VPS

 ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
 ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa

Update MRTG

  /usr/bin/cfgmaker --ifref=descr --ifdesc=eth \
  --global 'HtmlDir: /var/www/mrtg' \
  --global 'ImageDir: /var/www/mrtg' --global 'LogDir: /var/lib/mrtg' \
  --global 'ThreshDir: /var/lib/mrtg' public@alpha > tmp.cfg
  grep "Target\[alpha_x\." tmp.cfg | sed -e 's/^.*\[//' \
  -e 's/\].*$//' -e 's/\(.*\)/#-#Total\[\1\]: Totals/' >> tmp.cfg

New test VPS

To do long term

VMs with:

Links

http://lonesysadmin.net/2007/06/21/how-to-configure-ipmi-on-a-dell-poweredge-running-red-hat-enterprise-linux/

Backing up an LVM

Plain backups:

  sudo cat /dev/vg0/my_lv0_name | gzip -c > my_lv0_name.img.gz

Or compression with partimage. Shut down the domU, then:

  sudo kpartx -a /dev/vg0/my_lv0_name
  sudo e2fsck /dev/vg0/my_lv0_name1
  ... Check all partitions ...
  sudo partimage -b -z1 -d save /dev/mapper/my_lv0_name1 \
        /mnt/backups/my_lv0_name1.partimg.gz