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_Condor_Daemons value="MASTER, SCHEDD"
#
### gridftp attrs
#
#rocks add host attr ce-0-0 OSG_GRIDFTP value=true
#rocks set host attr ce-0-0 OSG_SRMsupportedProtocolList value="gsiftp://rocks-ce.mypublic.edu:2811"
#
### rsv attrs (use high http ports)
#
#rocks add host attr ce-0-0 OSG_RSV value=true
#rocks add host attr ce-0-0 OSG_RSV_Port value="8000"
#rocks add host attr ce-0-0 OSG_RSV_SPort value="8443"
#
###Set hostcert/hostkey httpcert/httpkey rsvcert/rsvkey
#
#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
#rocks add host sec_attr ce-0-0 attr=httpcert value="/path/to/cert/httpcert.pem" crypted=true
#rocks add host sec_attr ce-0-0 attr=httpkey value="/path/to/certkey/httpkey.pem" crypted=true
#rocks add host sec_attr ce-0-0 attr=rsvcert value="/path/to/cert/rsvcert.pem" crypted=true
#rocks add host sec_attr ce-0-0 attr=rsvpkey value="/path/to/certkey/rsvkey.pem" crypted=true

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

#
# post install 
# (fetch-crl, osg-configure are run in rocks sync command)
#
#rocks run host ce-0-0 command='service condor start'
#rocks sync host osg CE ce-0-0

#services for gatekeeper(GRAM)
#rocks run host ce-0-0 command='service globus-gatekeeper start'
#services for gatekeeper(HTCONDOR-CE)
#rocks run host ce-0-0 command='service condor-ce 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 httpd start'

#set services on boot
#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 condor-ce 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'