5.7. Example Install gums server + squid + cvmfs

gums + squid + cvmfs can be installed as follow.

$ su - root
#
###set public interface
#
#rocks set host interface ip gums-0-0 iface=eth1 ip=1.2.3.6
#rocks set host interface name gums-0-0 iface=eth1 name=rocks-gums
#rocks set host interface subnet gums-0-0 eth1 public
#rocks set host attr gums-0-0 primary_net public
#rocks add host route gums-0-0 0.0.0.0 1.2.3.1 netmask=0.0.0.0
#rocks add host attr gums-0-0 OSG_GUMS value=true
#rocks add host attr gums-0-0 OSG_SQUID value=true
#rocks add host attr gums-0-0 OSG_CVMFS value=true
#
#
###sample of customizing/changing attribute
# gums attrs
#rocks set host attr gums-0-0 OSG_GUMSBackupDir value=/home/myusers/mygumsbackups
#rocks set host attr gums-0-0 OSG_GUMSRunScript value=UpgradeFromRPM
# squid frontier attrs
#rocks set host attr gums-0-0 OSG_SquidCacheDir value=/scratch/squid
#rocks set host attr gums-0-0 OSG_SquidCacheDirSize value=30000
# cvmfs attrs
#rocks set host attr gums-0-0 OSG_CMS_LOCAL_SITE value=T3_US_MySite
#rocks set host attr gums-0-0 OSG_CVMFS_CACHE_BASE value=/scratch/cvmfs
#rocks set host attr gums-0-0 OSG_CVMFS_HTTP_PROXY value="http://gums-0-0:3128"
###setting service certs 
###preferred method
#  rocks add host sec_attr gums-0-0 attr=hostcert value="/path/to/cert/hostcert.pem" crypted=true
#  rocks add host sec_attr gums-0-0 attr=hostkey value="/path/to/certkey/hostkey.pem" crypted=true
#  rocks add host sec_attr gums-0-0 attr=hostcert value="/path/to/cert/httpcert.pem" crypted=true
#  rocks add host sec_attr gums-0-0 attr=hostkey value="/path/to/certkey/httpkey.pem" crypted=true
###alternative 
#  rocks set host atrr gums-0-0 OSG_StoredCertsDir value="/my/nfs/path/for/certs"

#
# reinstall
#
#shoot-node gums-0-0

#
# post install
#
#for services gums
#https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallGums
#rocks run host gums-0-0 command='fetch-crl'
#rocks run host gums-0-0 command='service fetch-crl-boot start'
#rocks run host gums-0-0 command='service fetch-crl-cron start'
#rocks run host gums-0-0 command='service tomcat6 start'
#rocks run host gums-0-0 command='chkconfig fetch-crl-cron on'
#rocks run host gums-0-0 command='chkconfig fetch-crl-boot on'
#rocks run host gums-0-0 command='chkconfig tomcat6 on'
#rocks run host gums-0-0 command='chkconfig mysqld on'
#
#services frontier squid
#https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallFrontierSquid
#rocks sync host osg squid gums-0-0
#rocks run host gums-0-0 command='service frontier-squid start'
#rocks run host gums-0-0 command='chkconfig frontier-squid on'
#
#services cvmfs
#https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallCvmfs
#rocks run host gums-0-0 command='service autofs restart'