Eucalyptus15rc 2 Notes

Installation from source

Wiki instructions

b. Axis2/C

 CFLAGS="-w" ./configure --prefix=${AXIS2C_HOME} --with-apache2=/usr/include/apache2 --with-apr=/usr/include/apr-1.0

On CentOS 5 and Fedora Core 8 location of Apache devel package (httpd-devel) and arp v 1.0 is a bit other, so the correct configure string is:

 CFLAGS="-w" ./configure --prefix=${AXIS2C_HOME} --with-apache2=/usr/include/httpd --with-apr=/usr/include/apr-1/

c. Rampart/C

If you want to automate enabling of Security in axis.xml, you could also issue something like this:

 sed -i 's#<!--phase name="Security"/-->#<phase name="Security"/>#' $AXIS2C_HOME/axis2.xml

libvirt

It says that libvirt version 0.6.0 or higher development files and libvirtd configured and running properly is required. CentOS5 comes with libvirt 0.3. Configuration script validates that ok. Will see if that will be a problem when running. Apparently, doesn't work with 0.4 as well (FC8), install the latest.

To do that:

 wget http://libvirt.org/sources/libvirt-0.6.3.tar.gz
 tar xvfz libvirt-0.6.3.tar.gz
 cd libvirt-0.6.3
 ./configure --prefix=$EUCALYPTUS/packages/libvirt-0.6.3
 make && make install

And then when building Eucalyptus also add --with-libvirt=$EUCALYPTUS/packages/libvirt-0.6.3

Sockets: libvirt can create socket in an unexpected (by Eucalyptus) place. To find the location of the currently working socket, one could try e.g.

 # lsof | grep libvirt | grep sock

vblade

'vblade is required for the program to function! Note that it is possible to install and start Eucalyptus without it. Look for the following lines in the cloud-output.log after startup:

 which: no vblade in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local
 /bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

Vblade is not available from the CentOS 5 repos, download here. Download, untar, make; make install.

User access rights

On the node running NC, if a non-root user is used, it must be added to the corresponding group and /etc/libvirt/libvirtd.conf modified correspondently (unix_sock_group = "libvirt"). This won't help too much if you are running xen though. Xen expects only root to manage installations (in case of socket-based access).

Talks and presentations

Cloud administration

Cloud usage

Reading

Blix theme adapted by David Gilbert, powered by PmWiki