edit · history · print

Creating a OpenNode EMI1 Torque Server OVF template

Relevant documentation:

Preparation work

Deploy SL5.x OpenVZ template (x86_64)

opennode
#Create VM->openvz->scientific-5.7-x86_64-asys
#Mem: 0.512
#Disk: 2GB
#Exit

#Get and set $VEID for scripts
vzlist
export VEID=xxx

#Update OS and add yum plugins
vzctl enter $VEID
yum update -y
yum install yum-priorities yum-protectbase nano -y

Install EPEL repository

cd /tmp
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -i epel-release-5-4.noarch.rpm
nano -w /etc/yum.repos.d/epel.repo
#--- ADD ---
priority=50
#--- ADD ---

Install EMI repository

wget https://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/updates/emi-release-1.0.1-1.sl5.noarch.rpm
rpm -i emi-release-1.0.1-1.sl5.noarch.rpm
#check EMI repo configs
cat /etc/yum.repos.d/emi1-base.repo 
cat /etc/yum.repos.d/emi1-updates.repo
cat /etc/yum.repos.d/emi1-third-party.repo

Install Certification Authority repository

cd /etc/yum.repos.d/
wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI-trustanchors.repo

Torque Server software installation

yum install ca-policy-egi-core -y
yum install emi-torque-server -y
yum install emi-torque-utils -y

Create OpenNode template

vzctl stop $VEID
opennode
#Choose Templates->Create a new template from VM->openvz
rsync -av /storage/local/openvz/torque-emi1-x86_64-kbfi.tar \
activesy@awh1.active.ee:activesys.org/html/opennode/templates/kbfi/openvz/
edit · history · print
Page last modified on December 09, 2011, at 04:27 AM