Changes between Version 14 and Version 15 of installation_QCG_Broker_Client
- Timestamp:
- 05/20/11 08:47:19 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
installation_QCG_Broker_Client
v14 v15 7 7 For SL5.x 8 8 {{{#!sh 9 #yum install java-1.6.0-sun-compat.x86_649 yum install java-1.6.0-sun-compat.x86_64 10 10 }}} 11 11 }}} … … 15 15 For SL5.x 16 16 {{{#!sh 17 #yum install ant.x86_64 ant-nodeps.x86_6417 yum install ant.x86_64 ant-nodeps.x86_64 18 18 }}} 19 19 }}} … … 23 23 For SL5.x 24 24 {{{#!sh 25 #yum install xml-commons.x86_64 xml-commons-apis.x86_6425 yum install xml-commons.x86_64 xml-commons-apis.x86_64 26 26 }}} 27 27 }}} … … 33 33 #!div style="font-size: 90%" 34 34 {{{#!sh 35 $wget https://dist.eugridpma.info/distribution/igtf/current/accredited/RPMS/ca_PolishGrid-1.38-1.noarch.rpm36 $wget http://software.plgrid.pl/packages/general/ca_PLGRID-SimpleCA-1.0-2.noarch.rpm37 $wget https://dist.eugridpma.info/distribution/util/fetch-crl/fetch-crl-2.8.5-1.noarch.rpm38 39 #rpm -i ca_PolishGrid-1.38-1.noarch.rpm40 #rpm -i ca_PLGRID-SimpleCA-1.0-2.noarch.rpm41 42 #install certificate revocation list fetching utility43 #rpm -i fetch-crl-2.8.5-1.noarch.rpm44 45 #get fresh CRLs now46 #/usr/sbin/fetch-crl47 48 #install cron job for it49 #cat > /etc/cron.daily/fetch-crl.cron << EOF50 ##!/bin/sh51 #/usr/sbin/fetch-crl52 #EOF53 54 #chmod a+x /etc/cron.daily/fetch-crl.cron35 wget https://dist.eugridpma.info/distribution/igtf/current/accredited/RPMS/ca_PolishGrid-1.38-1.noarch.rpm 36 wget http://software.plgrid.pl/packages/general/ca_PLGRID-SimpleCA-1.0-2.noarch.rpm 37 wget https://dist.eugridpma.info/distribution/util/fetch-crl/fetch-crl-2.8.5-1.noarch.rpm 38 39 rpm -i ca_PolishGrid-1.38-1.noarch.rpm 40 rpm -i ca_PLGRID-SimpleCA-1.0-2.noarch.rpm 41 42 #install certificate revocation list fetching utility 43 rpm -i fetch-crl-2.8.5-1.noarch.rpm 44 45 #get fresh CRLs now 46 /usr/sbin/fetch-crl 47 48 #install cron job for it 49 cat > /etc/cron.daily/fetch-crl.cron << EOF 50 #!/bin/sh 51 /usr/sbin/fetch-crl 52 EOF 53 54 chmod a+x /etc/cron.daily/fetch-crl.cron 55 55 }}} 56 56 }}} … … 68 68 #!div style="font-size: 90%" 69 69 {{{#!sh 70 $wget http://node2.qoscosgrid.man.poznan.pl/~piontek/qcg-broker/qcg-broker.tgz70 wget http://node2.qoscosgrid.man.poznan.pl/~piontek/qcg-broker/qcg-broker.tgz 71 71 }}} 72 72 }}} … … 75 75 #!div style="font-size: 90%" 76 76 {{{#!sh 77 $tar xzf qcg-broker.tgz77 tar xzf qcg-broker.tgz 78 78 }}} 79 79 }}} … … 85 85 #!div style="font-size: 90%" 86 86 {{{#!sh 87 $cd qcg-broker-<VERSION>88 $ant client-stubs client87 cd qcg-broker-<VERSION> 88 ant client-stubs client 89 89 }}} 90 90 }}} … … 102 102 #!div style="font-size: 90%" 103 103 {{{#!sh 104 #ant deploy-client104 ant deploy-client 105 105 }}} 106 106 }}} … … 114 114 #!div style="font-size: 90%" 115 115 {{{#!sh 116 #rpm -Uvh http://software.plgrid.pl/packages/repos/plgrid-repos-2010-2.noarch.rpm116 rpm -Uvh http://software.plgrid.pl/packages/repos/plgrid-repos-2010-2.noarch.rpm 117 117 }}} 118 118 }}} … … 121 121 #!div style="font-size: 90%" 122 122 {{{#!sh 123 #cat > /etc/yum.repos.d/qcg.repo << EOF124 #[qcg]125 #name=QosCosGrid YUM repository126 #baseurl=http://fury.man.poznan.pl/qcg-packages/sl/x86_64/127 #enabled=1128 #gpgcheck=0129 #EOF123 cat > /etc/yum.repos.d/qcg.repo << EOF 124 [qcg] 125 name=QosCosGrid YUM repository 126 baseurl=http://fury.man.poznan.pl/qcg-packages/sl/x86_64/ 127 enabled=1 128 gpgcheck=0 129 EOF 130 130 }}} 131 131 }}} … … 134 134 #!div style="font-size: 90%" 135 135 {{{#!sh 136 #yum install qcg-broker-client136 yum install qcg-broker-client 137 137 }}} 138 138 }}} … … 142 142 #!div style="font-size: 90%" 143 143 {{{#!sh 144 #vim /opt/plgrid/qcg/qcg-broker/client/etc/qcg-broker-client.conf144 vim /opt/plgrid/qcg/qcg-broker/client/etc/qcg-broker-client.conf 145 145 }}} 146 146 }}} … … 153 153 #!div style="font-size: 90%" 154 154 {{{#!default 155 It first checks the X509_USER_PROXY system property. If the property156 is not set, it checks next the 'proxy' property in the current157 configuration. If that property is not set, then it defaults to a158 value based on the following rules:159 If a UID system property is set, and running on a Unix machine it160 returns /tmp/x509up_u${UID}. If any other machine then Unix, it returns161 ${tempdir}/x509up_u${UID}, where tempdir is a platform-specific162 temporary directory as indicated by the java.io.tmpdir system property.163 If a UID system property is not set, the username will be used instead164 of the UID. That is, it returns ${tempdir}/x509up_u_${username}155 It first checks the X509_USER_PROXY system property. If the property 156 is not set, it checks next the 'proxy' property in the current 157 configuration. If that property is not set, then it defaults to a 158 value based on the following rules: 159 If a UID system property is set, and running on a Unix machine it 160 returns /tmp/x509up_u${UID}. If any other machine then Unix, it returns 161 ${tempdir}/x509up_u${UID}, where tempdir is a platform-specific 162 temporary directory as indicated by the java.io.tmpdir system property. 163 If a UID system property is not set, the username will be used instead 164 of the UID. That is, it returns ${tempdir}/x509up_u_${username} 165 165 }}} 166 166 }}} … … 170 170 #!div style="font-size: 90%" 171 171 {{{#!sh 172 It first checks the X509_CERT_DIR system property. If the property173 is not set, it checks next the 'cacert' property in the current174 configuration. If that property is not set, it tries to find175 the certificates using the following rules:176 First the ${user.home}/.globus/certificates directory is checked.177 If the directory does not exist, and on a Unix machine, the178 /etc/grid-security/certificates directory is checked next.179 If that directory does not exist and GLOBUS_LOCATION180 system property is set then the ${GLOBUS_LOCATION}/share/certificates181 directory is checked.172 It first checks the X509_CERT_DIR system property. If the property 173 is not set, it checks next the 'cacert' property in the current 174 configuration. If that property is not set, it tries to find 175 the certificates using the following rules: 176 First the ${user.home}/.globus/certificates directory is checked. 177 If the directory does not exist, and on a Unix machine, the 178 /etc/grid-security/certificates directory is checked next. 179 If that directory does not exist and GLOBUS_LOCATION 180 system property is set then the ${GLOBUS_LOCATION}/share/certificates 181 directory is checked. 182 182 }}} 183 183 }}} … … 303 303 #!div style="font-size: 90%" 304 304 {{{#!sh 305 $qcg-client submit_job ../examples/usecase8.xml305 qcg-client submit_job ../examples/usecase8.xml 306 306 Your identity: C=PL,O=GRID,O=PSNC,CN=Tomasz Piontek 307 307 Creating proxy, please wait... … … 320 320 #!div style="font-size: 90%" 321 321 {{{#!sh 322 $qcg-client list_jobs 5322 qcg-client list_jobs 5 323 323 UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 324 324 ProxyLifetime = 0 Days 11 Hours 58 Minutes 47 Seconds … … 339 339 #!div style="font-size: 90%" 340 340 {{{#!sh 341 $qcg-client job_info 1305550554579_calendar_example_5366 false341 qcg-client job_info 1305550554579_calendar_example_5366 false 342 342 UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 343 343 ProxyLifetime = 0 Days 11 Hours 58 Minutes 18 Seconds … … 617 617 #!div style="font-size: 90%" 618 618 {{{#!sh 619 $qcg-broker tasks_statuses 1305550554579_calendar_example_5366619 qcg-broker tasks_statuses 1305550554579_calendar_example_5366 620 620 UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 621 621 ProxyLifetime = 0 Days 11 Hours 41 Minutes 30 Seconds … … 644 644 #!div style="font-size: 90%" 645 645 {{{#!sh 646 $qcg-broker task_info 1305550554579_calendar_example_5366 calendar_PSit0646 qcg-broker task_info 1305550554579_calendar_example_5366 calendar_PSit0 647 647 UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 648 648 ProxyLifetime = 0 Days 11 Hours 40 Minutes 11 Seconds
