Sunday, 9 March 2014

Rebuild VM host with bigger disks

Disk partitioning

/boot - 500MB
swap - 18GB
/ - 30 GB
/usr - 30GB
/tmp - 10GB
/home - 100GB
/var - the remaining space

3 disks - 2x2TB + 1x1TB

Setup the 2TB disks as a RAID 1 pair - two md devices - md0 for /boot and /md1 for LVM Physical Volume

Put swap on the 1TB disk (no raid) and mounted the rest of the 1TB as /single

OS Install

Installed CentOS 6.5 - software selection - Virtulization Host

Install EPEL:
rpm -Uvh http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

yum install ntp ntpdate
chkconfig ntpd on

OpenStack Install


The following instructions are from  RDO Quickstart : http://openstack.redhat.com/Quickstart

yum install -y http://rdo.fedorapeople.org/rdo-release.rpm

packstack --allinone

xymon

Add my local basetwo yum repo (or the http://terabithia.org/rpms/xymon/ repo)

yum install xymon-client

Set XYMONSERVERS in /etc/default/xymon-client

service xymon-client start

Add br0 bridge

This is for non-openstack kvm images




Remember to remove this server from known_hosts on any client running virt-manager, otherwise you get a 'is libvirtd running' error.

Create /etc/polkit-1/localauthority/50-local.d/50-libvirt-remote-access.pkla
With something like

[libvirt Management Access]
Identity=unix-user:markd
Action=org.libvirt.unix.manage
ResultAny=yes
ResultInactive=yes
ResultActive=yes






 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.