Changes between Version 14 and Version 15 of installation_QCG_Broker_Client

Show
Ignore:
Timestamp:
05/20/11 08:47:19 (10 years ago)
Author:
bartek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • installation_QCG_Broker_Client

    v14 v15  
    77For SL5.x 
    88{{{#!sh 
    9  # yum install java-1.6.0-sun-compat.x86_64 
     9yum install java-1.6.0-sun-compat.x86_64 
    1010}}} 
    1111}}} 
     
    1515For SL5.x 
    1616{{{#!sh 
    17  # yum install ant.x86_64 ant-nodeps.x86_64 
     17yum install ant.x86_64 ant-nodeps.x86_64 
    1818}}} 
    1919}}} 
     
    2323For SL5.x 
    2424{{{#!sh 
    25  # yum install xml-commons.x86_64 xml-commons-apis.x86_64 
     25yum install xml-commons.x86_64 xml-commons-apis.x86_64 
    2626}}} 
    2727}}} 
     
    3333#!div style="font-size: 90%" 
    3434{{{#!sh 
    35  $ 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 
     35wget https://dist.eugridpma.info/distribution/igtf/current/accredited/RPMS/ca_PolishGrid-1.38-1.noarch.rpm 
     36wget http://software.plgrid.pl/packages/general/ca_PLGRID-SimpleCA-1.0-2.noarch.rpm 
     37wget https://dist.eugridpma.info/distribution/util/fetch-crl/fetch-crl-2.8.5-1.noarch.rpm 
     38 
     39rpm -i ca_PolishGrid-1.38-1.noarch.rpm  
     40rpm -i ca_PLGRID-SimpleCA-1.0-2.noarch.rpm  
     41 
     42#install certificate revocation list fetching utility  
     43rpm -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 
     49cat > /etc/cron.daily/fetch-crl.cron << EOF 
     50#!/bin/sh  
     51/usr/sbin/fetch-crl 
     52EOF 
     53 
     54chmod a+x /etc/cron.daily/fetch-crl.cron 
    5555}}} 
    5656}}} 
     
    6868#!div style="font-size: 90%" 
    6969{{{#!sh 
    70 $ wget http://node2.qoscosgrid.man.poznan.pl/~piontek/qcg-broker/qcg-broker.tgz 
     70wget http://node2.qoscosgrid.man.poznan.pl/~piontek/qcg-broker/qcg-broker.tgz 
    7171}}} 
    7272}}} 
     
    7575#!div style="font-size: 90%" 
    7676{{{#!sh 
    77 $ tar xzf qcg-broker.tgz 
     77tar xzf qcg-broker.tgz 
    7878}}} 
    7979}}} 
     
    8585#!div style="font-size: 90%" 
    8686{{{#!sh 
    87 $ cd qcg-broker-<VERSION> 
    88 $ ant client-stubs client 
     87cd qcg-broker-<VERSION> 
     88ant client-stubs client 
    8989}}} 
    9090}}} 
     
    102102#!div style="font-size: 90%" 
    103103{{{#!sh 
    104 # ant deploy-client 
     104ant deploy-client 
    105105}}} 
    106106}}} 
     
    114114#!div style="font-size: 90%" 
    115115{{{#!sh 
    116 # rpm -Uvh http://software.plgrid.pl/packages/repos/plgrid-repos-2010-2.noarch.rpm 
     116rpm -Uvh http://software.plgrid.pl/packages/repos/plgrid-repos-2010-2.noarch.rpm 
    117117}}} 
    118118}}} 
     
    121121#!div style="font-size: 90%" 
    122122{{{#!sh 
    123 # 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 
     123cat > /etc/yum.repos.d/qcg.repo << EOF 
     124[qcg] 
     125name=QosCosGrid YUM repository 
     126baseurl=http://fury.man.poznan.pl/qcg-packages/sl/x86_64/ 
     127enabled=1 
     128gpgcheck=0 
     129EOF 
    130130}}} 
    131131}}} 
     
    134134#!div style="font-size: 90%" 
    135135{{{#!sh 
    136 # yum install qcg-broker-client 
     136yum install qcg-broker-client 
    137137}}} 
    138138}}} 
     
    142142#!div style="font-size: 90%" 
    143143{{{#!sh 
    144 # vim /opt/plgrid/qcg/qcg-broker/client/etc/qcg-broker-client.conf 
     144vim /opt/plgrid/qcg/qcg-broker/client/etc/qcg-broker-client.conf 
    145145}}} 
    146146}}} 
     
    153153#!div style="font-size: 90%" 
    154154{{{#!default 
    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} 
     155It first checks the X509_USER_PROXY system property. If the property 
     156is not set, it checks next the 'proxy' property in the current 
     157configuration. If that property is not set, then it defaults to a 
     158value based on the following rules:  
     159If a UID system property is set, and running on a Unix machine it 
     160returns /tmp/x509up_u${UID}. If any other machine then Unix, it returns 
     161${tempdir}/x509up_u${UID}, where tempdir is a platform-specific 
     162temporary directory as indicated by the java.io.tmpdir system property. 
     163If a UID system property is not set, the username will be used instead 
     164of the UID. That is, it returns ${tempdir}/x509up_u_${username} 
    165165}}} 
    166166}}} 
     
    170170#!div style="font-size: 90%" 
    171171{{{#!sh 
    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.  
     172It first checks the X509_CERT_DIR system property. If the property 
     173is not set, it checks next the 'cacert' property in the current 
     174configuration. If that property is not set, it tries to find 
     175the certificates using the following rules: 
     176First the ${user.home}/.globus/certificates directory is checked. 
     177If the directory does not exist, and on a Unix machine, the 
     178/etc/grid-security/certificates directory is checked next. 
     179If that directory does not exist and GLOBUS_LOCATION 
     180system property is set then the ${GLOBUS_LOCATION}/share/certificates 
     181directory is checked.  
    182182}}} 
    183183}}} 
     
    303303#!div style="font-size: 90%" 
    304304{{{#!sh 
    305 $ qcg-client submit_job ../examples/usecase8.xml 
     305qcg-client submit_job ../examples/usecase8.xml 
    306306Your identity: C=PL,O=GRID,O=PSNC,CN=Tomasz Piontek 
    307307Creating proxy, please wait... 
     
    320320#!div style="font-size: 90%" 
    321321{{{#!sh 
    322 $ qcg-client list_jobs 5 
     322qcg-client list_jobs 5 
    323323UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
    324324ProxyLifetime = 0 Days 11 Hours 58 Minutes 47 Seconds 
     
    339339#!div style="font-size: 90%" 
    340340{{{#!sh 
    341 $ qcg-client job_info 1305550554579_calendar_example_5366 false 
     341qcg-client job_info 1305550554579_calendar_example_5366 false 
    342342UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
    343343ProxyLifetime = 0 Days 11 Hours 58 Minutes 18 Seconds 
     
    617617#!div style="font-size: 90%" 
    618618{{{#!sh 
    619 $ qcg-broker tasks_statuses 1305550554579_calendar_example_5366 
     619qcg-broker tasks_statuses 1305550554579_calendar_example_5366 
    620620UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
    621621ProxyLifetime = 0 Days 11 Hours 41 Minutes 30 Seconds 
     
    644644#!div style="font-size: 90%" 
    645645{{{#!sh 
    646 $ qcg-broker task_info 1305550554579_calendar_example_5366 calendar_PSit0 
     646qcg-broker task_info 1305550554579_calendar_example_5366 calendar_PSit0 
    647647UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 
    648648ProxyLifetime = 0 Days 11 Hours 40 Minutes 11 Seconds