Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @

Fedcloud-tf:How to use Vcycle

From EGIWiki
Jump to navigation Jump to search

An Admin Guide for Vcycle is in preparation and will be available on the Vcycle website.

VCycle on EGI

Create/Use a machine with a recent version of SL6 and where you have root access. Create a host certificate for this machine and ensure that both the hostkey.pem and hostcert.pem are available in /etc/grid-security. Communicate the DN to the VO if it is required to be known to the experiment framework in order to run the pilot job or job wrapper.


wget -O /etc/yum.repos.d/rocci-cli.repo
yum localinstall python-novaclient-2012.1-1.el6.noarch.rpm 
yum install -y rpm-build git httpd mod_ssl python-novaclient occi-cli  ca-policy-egi-core voms-clients

#git clone
git clone
cd vcycle; make rpm; cd ..
yum localinstall /root/vcycle/trunk/RPMTMP/RPMS/noarch/vcycle-0.3.0-1.noarch.rpm


Add each tennat to /etc/vcycle.conf.

[tenancy xyz] 
tenancy_name = egi
url = https://host-invalid:8787/ 
proxy = /tmp/x509up_u0
max_machines = 16
type = occi

[vmtype xyz queue]
ce_name =
max_machines = 16
backoff_seconds = 600
fizzle_seconds = 400
max_wallclock_seconds = 14400
image_name = 1b06a044-024d-43ce-97df-8fb14d1fea6c
flavor_name = small-1core3gb50gb 
x509dn = /DC=ch/DC=cern/OU=computers/CN=host-invalid
heartbeat_file = vm-heartbeat
heartbeat_seconds = 14400
network = /network/public 

The DN is the DN of the host certificate. The proxy should be the user proxy of a user from the VO who is able to start VMs on the EGI Federated Cloud. The site specific parameters can be found in the

Create the userdata file for the site and place it in /var/lib/vcycle/user_data with the naming convention xzy:queue

Copy the vcycle-httpd.conf file (in the git directory) to "/etc/httpd/conf/httpd.conf"

service httpd restart 

service vcycle restart