5.3. Example Install CE server (condor) + gridftp + rsv

ce-condor + gridftp + rsv can be installed as follow. (rsv is configured like in OSG 1.2)

$ su - root
#
###set public interface
#
#rocks set host interface ip ce-0-0 iface=eth1 ip=1.2.3.5
#rocks set host interface name ce-0-0 iface=eth1 name=rocks-ce
#rocks set host interface subnet ce-0-0 eth1 public
#rocks set host attr ce-0-0 primary_net public
#rocks add host route ce-0-0 0.0.0.0 1.2.3.1 netmask=0.0.0.0
#rocks add host attr ce-0-0 OSG_CE value="condor"
#rocks add host attr ce-0-0 OSG_GRIDFTP value=true
#rocks add host attr ce-0-0 OSG_RSV value=true
#rocks add host attr ce-0-0 OSG_Condor_Daemons value="MASTER, SCHEDD"
#
###sample of customizing/changing attribute
#rocks set host attr ce-0-0 OSG_SRMsupportedProtocolList value="gsiftp://rocks-ce.mypublic.edu:2811"
###place where grid certs are stored 
###this example needs hostcert, httpcert, rsvcert
###    /my/nfs/path/for/certs/ce-0-0/rsvcert.pem
###    /my/nfs/path/for/certs/ce-0-0/rsvkey.pem
###    /my/nfs/path/for/certs/ce-0-0/httpcert.pem
###    /my/nfs/path/for/certs/ce-0-0/httpkey.pem
#rocks set host atrr ce-0-0 OSG_StoredCertsDir value="/my/nfs/path/for/certs"
###setting service certs
#rocks 5.5
#  rocks add host sec_attr ce-0-0 attr=hostcert value="`cat /path/to/cert/hostcert.pem`" crypted=true
#  rocks add host sec_attr ce-0-0 attr=hostkey value="`cat /path/to/certkey/hostkey.pem`" crypted=true
#rocks 6.1.1
#  rocks add host sec_attr ce-0-0 attr=hostcert value="/path/to/cert/hostcert.pem" crypted=true
#  rocks add host sec_attr ce-0-0 attr=hostkey value="/path/to/certkey/hostkey.pem" crypted=true

#
# reinstall
#
#shoot-node ce-0-0

#
# post install
#
#rocks5.5#rocks sync host sec_attr ce-0-0
#rocks run host ce-0-0 command='/root/install_rsv_cert.sh'
#edit for your site /etc/osg/config.d/30-gip.ini
#edit for your site /etc/osg/config.d/40-siteinfo.ini
#rocks run host ce-0-0 command='fetch-crl'
#rocks run host ce-0-0 command='service condor start'
#rocks run host ce-0-0 command='configure-osg -v'
#rocks run host ce-0-0 command='configure-osg -c'

#services for gatekeeper
#rocks run host ce-0-0 command='service globus-gatekeeper start'
#services for gridftp
#rocks run host ce-0-0 command='service globus-gridftp-server start'
#services for rsv
#rocks run host ce-0-0 command='service condor-cron start'
#rocks run host ce-0-0 command='service rsv start'
#rocks run host ce-0-0 command='service http start'

#rocks run host ce-0-0 command='chkconfig condor on'
#rocks run host ce-0-0 command='chkconfig globus-gatekeeper on'
#rocks run host ce-0-0 command='chkconfig fetch-crl-cron on'
#rocks run host ce-0-0 command='chkconfig fetch-crl-boot on'
#rocks run host ce-0-0 command='chkconfig globus-gridftp-server on'
#rocks run host ce-0-0 command='chkconfig condor-cron on'
#rocks run host ce-0-0 command='chkconfig rsv on'