5.5. 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
#rocks set host attr gums-0-0 OSG_GUMSBackupDir value=/home/myusers/mygumsbackups
#rocks set host attr gums-0-0 OSG_SquidCacheDir value=/scratch/squid
#rocks set host attr gums-0-0 OSG_SquidCacheDirSize value=30000
#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://mysquid-0-0:3128"
###setting service certs
#rocks set host atrr gums-0-0 OSG_StoredCertsDir value="/my/nfs/path/for/certs"
#rocks 5.5
#  rocks add host sec_attr gums-0-0 attr=hostcert value="`cat /path/to/cert/hostcert.pem`" crypted=true
#  rocks add host sec_attr gums-0-0 attr=hostkey value="`cat /path/to/certkey/hostkey.pem`" crypted=true

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

#
# post install
#
#for services gums
#https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallGums
#rocks sync host sec_attr gums-0-0
#rocks run host gums-0-0 command='/root/install_gums_cert.sh'
#rocks run host gums-0-0 command='/root/ConfigureGumsUpgradeFromPacman.sh'
#rocks run host gums-0-0 command='fetch-crl3'
#rocks run host gums-0-0 command='service fetch-crl3-boot start'
#rocks run host gums-0-0 command='service fetch-crl3-cron start'
#rocks run host gums-0-0 command='service tomcat5 start'
#rocks run host gums-0-0 command='chkconfig fetch-crl3-cron on'
#rocks run host gums-0-0 command='chkconfig fetch-crl3-boot on'
#rocks run host gums-0-0 command='chkconfig tomcat5 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 5.5/6.0 (maybe 5.6/6.1)#rocks run host gums-0-0 command='usermod -G fuse cvmfs'
#rocks run host gums-0-0 command='service autofs restart'