5.1. Example install CE server Automatic (condor)

ce-condor can be installed as follow.

$ 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"
#
##Automatic throughout attributes (survive reinstalls)
##Example
## Attrs used to fill gip (only need to set one time)
#rocks add host attr ce-0-0 OSG_CE_gip_multicluster value=2
#rocks add host attr ce-0-0 OSG_CE_gip_SubCluster1 value="MyClusterID"
#rocks add host attr ce-0-0 OSG_CE_gip_ClusterName1 value="MyClusterName"
#rocks add host attr ce-0-0 OSG_CE_gip_SubCluster2 value="MyClusterID2"
#rocks add host attr ce-0-0 OSG_CE_gip_ClusterName2 value="MyClusterName2"
## Attrs used to fill siteinfo
#rocks add host attr ce-0-0 OSG_CE_siteinfo_sponsor value="uscms"
#rocks add host attr ce-0-0 OSG_CE_siteinfo_contact value="Your Admin Name"
#rocks add host attr ce-0-0 OSG_CE_siteinfo_email value="your_admin@mail.edu"
#rocks add host attr ce-0-0 OSG_CE_siteinfo_OIM_name value="your resource OIM registered"
#rocks add host attr ce-0-0 OSG_CE_siteinfo_OIM_group value="your resource group OIM registered"
#
##Set hostcert/hostkey
#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

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

#
# post install
#
#rocks sync host sec_attr ce-0-0

#set services to run on reboot
#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-crl3-cron on'
#rocks run host ce-0-0 command='chkconfig fetch-crl3-boot on'

#start htcondor before running CE configurator (osg-configure needs condor running)
#rocks run host ce-0-0 command='service condor start'
#rocks sync host osg CE ce-0-0

#start gatekeeper
#rocks run host ce-0-0 command='service globus-gatekeeper start'