Tag Archives: archipel

Setting up Archipel agent on Fedora 18

Archipel logo

Recently I became quite interested in Archipel.

However, as it turns out their installation instruction can not be used on Fedora 18 without some minor modifications.

Requirements:

First it is necessary to install all dependencies, activate libvirt and then install Archipel through easy_install:

yum -y install python-imaging python-numeric python-devel gcc
yum -y install python-setuptools numpy python-xmpp python-sqlalchemy
yum -y install  qemu-kvm qemu-img libvirt libvirt-python psmisc
service libvirtd start
chkconfig libvirtd on
easy_install archipel-agent

There is a bug in the agent install routine preventing the systemd/init script from being deployed, we have to work around this:

cp /usr/lib/python2.7/site-packages/archipel_agent-0.6.0beta-py2.7.egg/install/etc/init.d/archipel /etc/init.d/
chmod +x /etc/init.d/archipel
chkconfig archipel on

The next step is to do the necessary configuration to prepare ejabberd for the use with Archipel.

archipel-tagnode --jid=admin@example.com --password=changeme --create
archipel-rolesnode --jid=admin@example.com --password=changeme --create
archipel-adminaccounts --jid=admin@example.com --password=changeme --create
archipel-vmparkingnode --jid=admin@example.com --password=changeme --create
archipel-vmrequestnode --jid=admin@example.com --password=changeme --create
archipel-testxmppserver --jid=admin@example.com --password=changeme

I hope you will be able to get everything running.

Advertisements