#Here are the instructions to install the osg roll #The initial default configuration is as follow: #compute-0-0 (hadoop namenode) #compute-0-1 (hadoop secondary) #login-0-0 (CE + gridftp ) also public name rocks-ce.+kickstart.domain #login-0-1 (SE + gridftp-hdfs)also public name rocks-se.+kickstart.domain #(no default machine) gums server rocks-gums.+kickstart.domain #/hadoop (default hadoop base data dir ) #/hadoop/data (default hadoop data dir ) #all services are off #after frontend installation default can be changed #to desired state and services. #compute are the worker nodes in which install wnclient + glexec #method1: # when installing a new frontend provide the osg-3.1.10-0.x86_64.disk1.iso #method2: #on a running system # # as root #rocks add roll osg-3.1.10-0.x86_64.disk1.iso #rocks enable roll osg #cd /export/rocks/install #rocks create distro #rocks run roll osg | bash #shutdown -r now #############Example for setting a SE (Bestman2 Server)############# # #set public interface # #rocks set host interface ip se-0-0 iface=eth1 ip=1.2.3.4 #rocks set host interface name se-0-0 iface=eth1 name=rocks-se #rocks set host interface subnet se-0-0 eth1 public #rocks set host attr se-0-0 primary_net public #rocks add host route se-0-0 0.0.0.0 1.2.3.1 netmask=0.0.0.0 #rocks add host attr se-0-0 OSG_SE value=true #rocks add host attr se-0-0 OSG_GFTP_HDFS value=false # # reinstall # #shoot-node se-0-0 # # post install # #copy hostcert.pem and hostkey.pem to /root/. #/root/install_cert_se.sh #chkconfig bestman2 on #chkconfig globus-gridftp-server on #############Example for setting a CE (Gatekeeper)############# # #set public interface # #rocks set host interface ip grid-0-0 iface=eth1 ip=1.2.3.5 #rocks set host interface name grid-0-0 iface=eth1 name=rocks-ce #rocks set host interface subnet grid-0-0 eth1 public #rocks set host attr grid-0-0 primary_net public #rocks add host route grid-0-0 0.0.0.0 1.2.3.1 netmask=0.0.0.0 #rocks add host attr grid-0-0 OSG_CE value=true #rocks add host attr grid-0-0 OSG_GRIDFTP value=true #rocks add host attr grid-0-0 OSG_Condor_Daemons value="MASTER, SCHEDD" # # reinstall # #shoot-node grid-0-0 # # post install # ## copy hostcert.pem and hostkey.pem to /root/. #/root/install_cert_ce.sh ## set hostproxy distribution to wnclients ## copy /root/.ssh/id_rsa(.pub) from frontend #cp /opt/hostproxy/update-hostproxy.cron /etc/cron.d/. ## edit if needed /opt/hostproxy/host_dist.nodes #/opt/hostproxy/host_dist.nodes ## put your cluster in at least two files ## edit /etc/osg/config.d/30-gip.ini ## edit /etc/osg/config.d/40-siteinfo.ini ## maybe edit /etc/osg/config.d/10-storage.ini (could be done later to) #configure-osg -v #configure-osg -c #chkconfig condor on #chkconfig globus-gatekeeper on #/etc/init.d/condor start #/etc/init.d/globus-gatekeeper start # # run test from an interactive node # #globus-job-run rocks-ce.mydomain.edu:2119/jobmanager-fork /usr/bin/id