Installation instructions for the CrossOSG? CE Collector node


Node type

CentOS? 6


Start/stop Condor

Use the standard

service condor

Detailed instructions

# Node came pre-installed with the osg-ca-certs

# Basic OSG client installation
# Note: Not essential, but I like to have it
yum install osg-client

# Create condor user
useradd condor

# Install basic condor
yum install condor

# Install glideinWMS RPM
# Note: Not fully ready yet, so I had to hack around it a bit
yum install --enablerepo=osg-development glideinwms-usercollector

yum install git
cd /root
# had to use a dev branch since the needed tools were not yet merged into the v2_7_1 series
# but they are supposed to be
git clone -b branch_v2plus_igor_3777
cd /root/glideinwms/install/templates
cp 00_gwms_general.config  01_gwms_collectors.config 03_gwms_local.config 11_gwms_secondary_collectors.config 90_gwms_dns.config /etc/condor/config.d/
echo "DAEMON_LIST=MASTER" >/etc/condor/config.d/01_aa_fixdaemonlist.config

# put in place the common files 
wget -O /etc/condor/config.d/80_crossosgce_domain.config 

# set the number of sec collectors
cd /root/glideinwms/install
./glidecondor_createSecCol -useportasname -commonlog 9620-9819

# Add the DNs

# Get the list of DNs
wget -O /root/dns.list

# now create the necessary files
cd /root/glideinwms/install
./glidecondor_addDN -recreate -disable-checks -import /root/dns.list

# Condor is fully configured now

# open the firewall

# we should put this somewhere, but do on the fly for now
cat >/root/iptable.patch 
***   2013-05-03 14:42:28.158285499 -0700
--- etc/sysconfig/iptables   2013-05-03 14:36:57.086472862 -0700
*** 9,12 ****
--- 9,14 ----
  -A INPUT -i lo -j ACCEPT
  -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
+ -A INPUT  -m state --state NEW -p tcp -m tcp --dport 9618:9819 -j ACCEPT
+ -A INPUT  -m state --state NEW -p udp -m udp --dport 9618:9819 -j ACCEPT
  -A INPUT -j REJECT --reject-with icmp-host-prohibited
  -A FORWARD -j REJECT --reject-with icmp-host-prohibited

patch /etc/sysconfig/iptables /root/iptable.patch 

service iptables restart

# Start Condor
service condor start

# Start Condor on reboot
chkconfig condor on

-- IgorSfiligoi - 2013/05/02

Topic attachments
I Attachment Action Size Date Who Comment
elselist dns.collector.list manage 0.4 K 2013/05/03 - 16:51 IgorSfiligoi List of all the DNs used in the CrossOSGCE pool
Edit | Attach | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r5 - 2013/05/08 - 00:01:31 - IgorSfiligoi
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback