Installation instructions for the CrossOSG Frontend


Node type

CentOS? 5



  • Every time the host certs get updated in /etc/grid-security, they must be copied into ~frotnend/.globus as well

Detailed instructions

Base root-level installation

# Node came pre-installed with the osg-ca-certs
# If not, follow the instructions at

# Basic OSG client installation
# Note: Not essential, but I like to have it in advance
yum install osg-client

# Install basic condor, make sure it is client only
yum install condor
echo -e "#Disable daemons, this is client only\nDAEMON_LIST=NONE" >/etc/condor/config.d/99_client_only.config

# Make sure m2crypto and python-rrdtool are installed
yum install m2crypto python-rrdtool

# Make sure httpd is installed
yum install httpd
# hide the directory structure
touch /var/www/html/index.html

#now create the needed user
useradd frontend

# give it a copy of the host cert
# not the most elsegant solution, but it works
mkdir ~frontend/.globus
cp /etc/grid-security/host*pem ~frontend/.globus/
chown -R frontend:frontend ~frontend/.globus

# And do whatever needed to be able to log in

# Create frontend web dir
mkdir /var/www/html/vofrontend
chown frontend:frontend /var/www/html/vofrontend

# start httpd
service httpd start
chkconfig httpd on

Requesting a service certificate

python /usr/bin/osg-cert-request -t 'crossosg-glow/' -e -n "Igor Sfiligoi" -p 6193126199  -m "This certificate will be used to impersonate GLOW users running under the CrossOSG CE"
osg-cert-retrieve -i XYZ 
mv hostcert.pem .globus/service_glow_cert.pem
mv hostkey.pem .globus/service_glow_key.pem

Installation as the frontend user

# finish the WWW setup
mkdir /var/www/html/vofrontend/stage
mkdir /var/www/html/vofrontend/monitor

# create a service dir
mkdir Downloads

# Get the glideinwms software
cd Downloads/
cd ..
tar -xzf Downloads/glideinWMS_v2_7_1_frontend.tgz 

# now configure the frontend

# create the base directories
mkdir frontstage frontlogs

# create the actual instance
mkdir frontstage/instance_v3_0.cfg
cd  frontstage/instance_v3_0.cfg

# get the helper files
wget -O
wget -O restore_env.source
wget -O fix_proxy.source
# get the actual XML file

# create the instance
~/glideinwms/creation/create_frontend $PWD/frontend.xml

# start the frontend
cd ~/frontstage/frontend_CrossOSGCE-v3_0/
./frontend_startup start

-- IgorSfiligoi

  • Script to save the grid environment for later retrieval

Topic attachments
I Attachment Action Size Date Who Comment
elsesource fix_proxy.source manage 0.4 K 2013/05/13 - 18:33 IgorSfiligoi Wrapper to point the environtment to the user proxy file
elsesource restore_env.source manage 2.1 K 2013/05/13 - 18:32 IgorSfiligoi Wrapper script to restore the Grid environtment
shsh manage 0.8 K 2013/05/13 - 18:32 IgorSfiligoi Script to save the grid environment for later retrieval
Edit | Attach | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2013/05/15 - 21:41:14 - IgorSfiligoi
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback