AoE on CentOS

From PrgmrWiki
Revision as of 03:27, 11 January 2010 by Nick (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

here are my notes on installing an AoE server (vblade) on a CentOS 5.3 host:

 su -c 'rpm -Uvh

then install yum-priorities, set priority=22 or so in /etc/yum.repos.d/epel.repo

(move this to 3.3 not needed)


yum install vblade tar -zxvf aoetools-30.tar.gz cd aoetools

yum install gcc make all install

(no idea why CentOS has vblade but no aoetools? maybe a

vblade in epel doesn't have udev stuff

in /etc/udev/rules.d/60-aoe.rules

SUBSYSTEM=="aoe", KERNEL=="discover",	NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM=="aoe", KERNEL=="err",	NAME="etherd/%k", GROUP="disk", MODE="0440"
SUBSYSTEM=="aoe", KERNEL=="interfaces",	NAME="etherd/%k", GROUP="disk", MODE="0220"
SUBSYSTEM=="aoe", KERNEL=="revalidate",	NAME="etherd/%k", GROUP="disk", MODE="0220"

# aoe block devices     
KERNEL=="etherd*",       NAME="%k", GROUP="disk"

note how the equality tests are == and the assignments are =  ? note that the kernel documentation is wrong for redhat in this regard.

[root@curly xen]# virt-install 
What is the name of your virtual machine? teste
 How much RAM should be allocated (in megabytes)? 1024
 What would you like to use as the disk (file path)? /dev/etherd/e0.0
 Would you like to enable graphics support? (yes or no) no
 What is the install location?

then edit /etc/xen/xend-config.sxp

(xend-relocation-server yes)
(xend-relocation-address '999.999.999.999')
(xend-relocation-hosts-allow )

on the destination host (xend must be restarted. Also be aware of security aspects of this)