| 61 | 1. Recherchez toutes les VO acceptées par le RB du site |
| 62 | |
| 63 | {{{ |
| 64 | ldapsearch -x -h bdii.grif.fr -p 2170 -b 'GlueServiceUniqueID=node04.datagrid.cea.fr:7772,mds-vo-name=GRIF-IRFU,mds-vo-name=GRIF,o=grid' 'objectclass=GlueService' GlueServiceOwner |
| 65 | }}} |
| 66 | |
| 67 | 1. Recherchez les tags logiciels présents sur les CEs du site GRIF |
| 68 | |
| 69 | {{{ |
| 70 | ldapsearch -x -h bdii.grif.fr -p 2170 -b 'mds-vo-name=GRIF, o=grid' objectclass=GlueSubCluster GlueHostApplicationSoftwareRunTimeEnvironment |
| 71 | }}} |
| 72 | |
| 73 | |
| 74 | === lcg-info === |
| 75 | |
| 76 | The "lcg-info" command is similar to the "lcg-infosites" except that it is used to list either CE's or SEs satisfying a given set of conditions on their attributes and to print, for each of them, the values of a given set of attributes. |
| 77 | |
| 78 | 1. The first step is to view the list of attributes available for both the matching and printing aspects of ‘lcg-info’ : |
| 79 | |
| 80 | |
| 81 | {{{ |
| 82 | lcg-info --list-attrs |
| 83 | }}} |
| 84 | |
| 85 | |
| 86 | 1. "lcg-info" is very similar to the usage of the "Requirements" tag in a JDL file along with the command "glite-job-list-match". The "lcg-info" command can therefore be useful when constructing the "Requirements" tag in a JDL file. Note that "lcg-info" does not in most (but not all) cases need a VO to be specified. |
| 87 | |
| 88 | |
| 89 | {{{ |
| 90 | lcg-info --vo vo.llr.in2p3.fr --list-ce --query 'Tag=MPICH' --attrs 'FreeCPUs,Tag' |
| 91 | }}} |
| 92 | |
| 93 | 1. "lcg-info" can also query the attributes of CE's and searches for the closest CE to the SE "polgrid4.in2p3.fr". |
| 94 | |
| 95 | |
| 96 | {{{ |
| 97 | lcg-info --list-se --query 'SE=polgrid4.in2p3.fr' --attrs CloseCE |
| 98 | }}} |
| 99 | |
| 100 | __Exercices__ : |
| 101 | 1. Rechercher la WallTime et le CpuTime Maximal pour les CEs de votre VO |
| 102 | |
| 103 | {{{ |
| 104 | lcg-info --vo vo.dapnia.cea.fr --list-ce --query 'CEVOs=VO:vo.dapnia.cea.fr' --attrs 'MaxCPUTime,MaxWCTime' |
| 105 | }}} |
| 106 | |
| 107 | |