Difference: CrossOSGCEInstFE (1 vs. 7)

Revision 72014/07/29 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="CrossOSGCE"

Installation instructions for the CrossOSG Frontend

Added:
>
>
Note: This page is deprecated!
 

Location

osg-glidein-fe.t2.ucsd.edu

Revision 62013/05/16 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="CrossOSGCE"

Installation instructions for the CrossOSG Frontend

Line: 149 to 149
 
META FILEATTACHMENT attachment="save_env.sh" attr="" comment="Script to save the grid environment for later retrieval" date="1368469941" name="save_env.sh" path="save_env.sh" size="830" stream="save_env.sh" tmpFilename="/usr/tmp/CGItemp63391" user="IgorSfiligoi" version="1"
META FILEATTACHMENT attachment="restore_env.source" attr="" comment="Wrapper script to restore the Grid environtment" date="1368469964" name="restore_env.source" path="restore_env.source" size="2109" stream="restore_env.source" tmpFilename="/usr/tmp/CGItemp63419" user="IgorSfiligoi" version="1"
META FILEATTACHMENT attachment="fix_proxy.source" attr="" comment="Wrapper to point the environtment to the user proxy file" date="1368470005" name="fix_proxy.source" path="fix_proxy.source" size="365" stream="fix_proxy.source" tmpFilename="/usr/tmp/CGItemp63518" user="IgorSfiligoi" version="1"
Changed:
<
<
META FILEATTACHMENT attachment="refresh_proxy.sh" attr="" comment="Service script that refreshes the proxies" date="1368658131" name="refresh_proxy.sh" path="refresh_proxy.sh" size="1611" stream="refresh_proxy.sh" tmpFilename="/usr/tmp/CGItemp63410" user="IgorSfiligoi" version="1"
>
>
META FILEATTACHMENT attachment="refresh_proxy.sh" attr="" comment="Service script that refreshes the proxies" date="1368744120" name="refresh_proxy.sh" path="refresh_proxy.sh" size="1611" stream="refresh_proxy.sh" tmpFilename="/usr/tmp/CGItemp7134" user="IgorSfiligoi" version="2"
 
META FILEATTACHMENT attachment="frontend.xml" attr="" comment="FE config file" date="1368660014" name="frontend.xml" path="frontend.xml" size="5221" stream="frontend.xml" tmpFilename="/usr/tmp/CGItemp63483" user="IgorSfiligoi" version="1"

Revision 52013/05/15 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="CrossOSGCE"

Installation instructions for the CrossOSG Frontend

Line: 12 to 12
 

Maintenance

Changed:
<
<
TBW
  • Every time the host certs get updated in /etc/grid-security, they must be copied into ~frotnend/.globus as well
>
>
The frontend processes will be started and stopped as user frontend.
cd ~frontend/frontstage/frontend_CrossOSGCE-v3_0
./frontend_startup [start|stop]

To change the configuration, edit

/home/frontend/frontstage/instance_v3_0.cfg/frontend.xml
then run
cd ~frontend/frontstage/frontend_CrossOSGCE-v3_0
./frontend_startup reconfig

Certificates must be updated once a year.
Plus, every time the host certs get updated in /etc/grid-security, they must be copied into ~fronrend/.globus as well.

 

Detailed instructions

Line: 60 to 73
 
Changed:
<
<

Requesting a service certificate

>
>

Request the service certificates

 
Added:
>
>
# # As user frontend #
 python /usr/bin/osg-cert-request -t 'crossosg-glow/osg-glidein-fe.t2.ucsd.edu' -e isfiligoi@ucsd.edu -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
Line: 71 to 88
 

Installation as the frontend user

Added:
>
>
# # As user frontend #
 # finish the WWW setup mkdir /var/www/html/vofrontend/stage mkdir /var/www/html/vofrontend/monitor
Added:
>
>
# put in place the proxy refresh script cd .globus wget http://www.t2.ucsd.edu/twiki2/pub/UCSDTier2/CrossOSGCEInstFE/refresh_script.sh -O .globus/refresh_script.sh chmod a+x .globus/refresh_script.sh

# put it in crontab crontab -e 9 9,21 * * * /home/frontend/.globus/refresh_proxy.sh > /home/frontend/.globus/refresh_proxy.log 2> /home/frontend/.globus/refresh_proxy.err </dev/null # end crontab

#run it once by hand, to create the proxies ./globus/refresh_proxy.sh

 # create a service dir mkdir Downloads
Line: 99 to 133
 wget http://www.t2.ucsd.edu/twiki2/pub/UCSDTier2/CrossOSGCEInstFE/fix_proxy.source -O fix_proxy.source

# get the actual XML file

Changed:
<
<
TBW
>
>
wget http://www.t2.ucsd.edu/twiki2/pub/UCSDTier2/CrossOSGCEInstFE/frontend.xml -O frontend.xml
  # create the instance ~/glideinwms/creation/create_frontend $PWD/frontend.xml
Line: 111 to 145
 

-- IgorSfiligoi

Deleted:
<
<
  • save_env.sh: Script to save the grid environment for later retrieval

 
META FILEATTACHMENT attachment="save_env.sh" attr="" comment="Script to save the grid environment for later retrieval" date="1368469941" name="save_env.sh" path="save_env.sh" size="830" stream="save_env.sh" tmpFilename="/usr/tmp/CGItemp63391" user="IgorSfiligoi" version="1"
META FILEATTACHMENT attachment="restore_env.source" attr="" comment="Wrapper script to restore the Grid environtment" date="1368469964" name="restore_env.source" path="restore_env.source" size="2109" stream="restore_env.source" tmpFilename="/usr/tmp/CGItemp63419" user="IgorSfiligoi" version="1"
META FILEATTACHMENT attachment="fix_proxy.source" attr="" comment="Wrapper to point the environtment to the user proxy file" date="1368470005" name="fix_proxy.source" path="fix_proxy.source" size="365" stream="fix_proxy.source" tmpFilename="/usr/tmp/CGItemp63518" user="IgorSfiligoi" version="1"
Added:
>
>
META FILEATTACHMENT attachment="refresh_proxy.sh" attr="" comment="Service script that refreshes the proxies" date="1368658131" name="refresh_proxy.sh" path="refresh_proxy.sh" size="1611" stream="refresh_proxy.sh" tmpFilename="/usr/tmp/CGItemp63410" user="IgorSfiligoi" version="1"
META FILEATTACHMENT attachment="frontend.xml" attr="" comment="FE config file" date="1368660014" name="frontend.xml" path="frontend.xml" size="5221" stream="frontend.xml" tmpFilename="/usr/tmp/CGItemp63483" user="IgorSfiligoi" version="1"

Revision 42013/05/15 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="CrossOSGCE"

Installation instructions for the CrossOSG Frontend

Line: 61 to 61
 

Requesting a service certificate

Changed:
<
<
python /usr/bin/osg-cert-request -t 'crossosg-glow/osg-glidein-fe.t2.ucsd.edu' -e isfiligoi@ucsd.edu -n "Igor Sfiligoi" -p 6193126199  -m "This certificate will be used to impersonate GLOW users running under the CrossOSG CE"
>
>
python /usr/bin/osg-cert-request -t 'crossosg-glow/osg-glidein-fe.t2.ucsd.edu' -e isfiligoi@ucsd.edu -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
Changed:
<
<
mv hostkey.pem .globus/service_glow_key.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/
wget http://www.uscms.org/SoftwareComputing/Grid/WMS/glideinWMS/glideinWMS_v2_7_1_frontend.tgz
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 http://www.t2.ucsd.edu/twiki2/pub/UCSDTier2/CrossOSGCEInstFE/save_env.sh -O save_env.sh
wget http://www.t2.ucsd.edu/twiki2/pub/UCSDTier2/CrossOSGCEInstFE/restore_env.source -O restore_env.source
wget http://www.t2.ucsd.edu/twiki2/pub/UCSDTier2/CrossOSGCEInstFE/fix_proxy.source -O fix_proxy.source
 
# get the actual XML file
TBW

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

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

  -- IgorSfiligoi
  • save_env.sh: Script to save the grid environment for later retrieval

Revision 32013/05/15 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="CrossOSGCE"

Installation instructions for the CrossOSG Frontend

Line: 13 to 13
 

Maintenance

TBW

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

Detailed instructions

Changed:
<
<
TBW
>
>

Base root-level installation

# Node came pre-installed with the osg-ca-certs
# If not, follow the instructions at
# https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallOSGClient#Install_the_CA_Certificates_A_qu

# 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/osg-glidein-fe.t2.ucsd.edu' -e isfiligoi@ucsd.edu -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 

Revision 22013/05/13 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="CrossOSGCE"

Installation instructions for the CrossOSG Frontend

Line: 17 to 17
 

Detailed instructions

TBW

Added:
>
>

Requesting a service certificate

python /usr/bin/osg-cert-request -t 'crossosg-glow/osg-glidein-fe.t2.ucsd.edu' -e isfiligoi@ucsd.edu -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
  -- IgorSfiligoi
Added:
>
>
  • save_env.sh: Script to save the grid environment for later retrieval

META FILEATTACHMENT attachment="save_env.sh" attr="" comment="Script to save the grid environment for later retrieval" date="1368469941" name="save_env.sh" path="save_env.sh" size="830" stream="save_env.sh" tmpFilename="/usr/tmp/CGItemp63391" user="IgorSfiligoi" version="1"
META FILEATTACHMENT attachment="restore_env.source" attr="" comment="Wrapper script to restore the Grid environtment" date="1368469964" name="restore_env.source" path="restore_env.source" size="2109" stream="restore_env.source" tmpFilename="/usr/tmp/CGItemp63419" user="IgorSfiligoi" version="1"
META FILEATTACHMENT attachment="fix_proxy.source" attr="" comment="Wrapper to point the environtment to the user proxy file" date="1368470005" name="fix_proxy.source" path="fix_proxy.source" size="365" stream="fix_proxy.source" tmpFilename="/usr/tmp/CGItemp63518" user="IgorSfiligoi" version="1"

Revision 12013/05/10 - Main.IgorSfiligoi

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CrossOSGCE"

Installation instructions for the CrossOSG Frontend

Location

osg-glidein-fe.t2.ucsd.edu

Node type

CentOS? 5

Maintenance

TBW

Detailed instructions

TBW

-- 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