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.


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 --password=changeme --create
archipel-rolesnode --password=changeme --create
archipel-adminaccounts --password=changeme --create
archipel-vmparkingnode --password=changeme --create
archipel-vmrequestnode --password=changeme --create
archipel-testxmppserver --password=changeme

I hope you will be able to get everything running.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s