KVM Cluster

In the August 6, 2013 Nova.org Technical Meeting it was decided that we needed to virtualize our infrastructure to better utilize our hardware and to be able to upgrade hardware more easily with less downtime.

There are several machines currently in service. Peter Beckman and Matt Rowley have the root passwords. These hosts are NOT accessible from the Internet. They are accessible from a bastion host.

Hosts

tank1.nova.org

  • Sun SunFire X4140
  • 838 GB RAID 6
  • 32GB Memory
  • CentOS 6.
  • 2x Quad-Core AMD Opteron 2347 HE @ 1.9 GHz 512k cache
  • 70.164.18.32

tank2.nova.org

  • Sun SunFire X4140
  • 838 GB RAID 6
  • 32GB Memory
  • CentOS 6.
  • 2x Quad-Core AMD Opteron 2347 HE @ 1.9 GHz 512k cache
  • 70.164.18.33

Install Procedure

yum groupinstall "Virtualization"
yum install dejavu-lgc-sans-fonts xorg-x11-xauth avahi libvirt 
service libvirtd start
chkconfig messagebus on
chkconfig avahi-daemon on
chkconfig libvirtd on
yum install virt-manager virt-viewer
service ksm start

New VM Procecure

#Create LVM Volumes
lvcreate -L12G -n LV$VMNAME-root vg0
lvcreate -L1G -n LV$VMNAME-swap vg0

mkfs.ext4 /dev/mapper/vg0-LV$VMNAME--root
mkswap -f /dev/mapper/vg0-LV$VMNAME--swap

virt-install --name=$VMNAME --ram=1024 --os-type=linux --os-variant=rhel6 --cdrom=/home/CentOS-6.4-x86_64-minimal.iso  --disk path=/dev/mapper/vg0-LV$VMNAME--root --disk path=/dev/mapper/vg0-LV$VMNAME--swap --network bridge=br0 --accelerate --vnc



IBM KVM Best Practices: http://pic.dhe.ibm.com/infocenter/lnxinfo/v3r0m0/topic/liaat/liaatbestpractices_pdf.pdf


welcome.txt · Last modified: 2017/08/21 08:20 by paco