@@ -477,30 +477,30 @@ This section is contained in `/etc/osg/config.d/40-siteinfo.ini` which is provid
477
477
| ** resource\_ group** | String | The resource\_ group of this CE as registered in Topology. |
478
478
479
479
480
- OSG Resource Catalog Generator
481
- ==============================
480
+ OSG CE Attributes Generator
481
+ ===========================
482
482
483
- The Resource Catalog Generator is a standalone tool to create resource catalog attributes for a CE, that will be uploaded to the CE collector.
483
+ The CE Attributes Generator is a standalone tool to create resource catalog attributes for a CE, that will be uploaded to the CE collector.
484
484
It is a lightweight alternative to OSG-Configure, and it prints the attributes instead of modifying your CE's config files.
485
485
486
- It uses ` *.ini ` files from osg-configure as the source of the data.
486
+ It uses ` *.ini ` files from OSG-Configure as the source of the data.
487
487
488
488
Installation
489
489
------------
490
490
491
- The Resource Catalog Generator is typically installed via RPMs from the OSG repositories.
491
+ The CE Attributes Generator is typically installed via RPMs from the OSG repositories.
492
492
See [ OSG documentation for how to enable the repositories] ( https://opensciencegrid.org/docs/common/yum/ ) ;
493
493
once the repos are enabled, install by running
494
494
495
- yum install osg-resource-catalog -generator
495
+ yum install osg-ce-attributes -generator
496
496
497
- Note: osg-resource-catalog -generator is not available in the OSG 3.5 series.
497
+ Note: ` osg-ce-attributes -generator ` is not available in the OSG 3.5 series.
498
498
499
499
500
500
Configuration
501
501
-------------
502
502
503
- The Resource Catalog Generator uses the same config files that OSG-Configure uses.
503
+ The CE Attributes Generator uses the same config files that OSG-Configure uses.
504
504
See the [ 31-cluster.ini] ( #31-clusterini--subcluster-and-resource-entry-sections ) ,
505
505
[ 35-pilot.ini] ( #35-pilotini--pilot ) for attributes.
506
506
@@ -509,49 +509,45 @@ You will also need `resource` and `resource_group` from the `Site Information` s
509
509
You can also use ` --resource ` and ` --resource-group ` on the command line to specify these.
510
510
511
511
In addition, you should also have at least one batch system section with the attribute ` enabled=True ` , e.g.
512
- ```
512
+ ``` ini
513
513
[Condor]
514
514
enabled =True
515
515
```
516
516
The recognized batch systems are "Condor", "LSF", "PBS", "SGE", and "SLURM".
517
+ If you are using BOSCO, specify your batch system in ` 20-bosco.ini ` .
517
518
518
519
Alternatively, you can specify a comma-separated list with ` --batch-systems ` on the command line.
519
520
520
521
521
522
Invocation
522
523
----------
523
524
524
- osg-resource-catalog-generator [options]
525
-
526
- If invoked without any options, will read config from ` /etc/osg/config.d/*.ini ` and output to STDOUT.
527
-
528
- ### Options
529
-
530
- - ` -c FILE_OR_DIRECTORY ` , ` --config FILE_OR_DIRECTORY `
525
+ osg-ce-attributes-generator [<options>] [<config_location>] [<output>]
531
526
532
- Where to load configuration from; can be specified multiple times.
527
+ - ` config_location ` is a file or directory to load configuration from.
528
+ If this is a directory, load every ` *.ini ` file in that directory.
529
+ If ` - ` , read from STDIN. The default is to read ` /etc/osg/config.d ` ,
530
+ same as ` osg-configure ` .
533
531
534
- If this is a directory, will load every ` *.ini ` file in that directory.
532
+ - ` output ` is a file to write attributes to.
533
+ If ` - ` or unspecified, write to STDOUT.
535
534
536
- If not specified, ` /etc/osg/config.d ` is used.
537
535
538
- If ` - ` , will read from STDIN. STDIN will always be read last.
539
-
540
- - ` -o FILE ` , ` --output FILE `
541
-
542
- Write output to this file instead of STDOUT.
536
+ ### Options
543
537
544
538
- ` --resource RESOURCE_NAME `
545
539
546
540
The Resource name to use, which should match your Topology registration.
547
- This is an alternative to specifying ` Site Information. resource` in the config files .
541
+ Equivalent to ` resource ` in the ` Site Information ` section .
548
542
549
543
- ` --resource-group RESOURCE_GROUP_NAME `
550
544
551
545
The Resource Group name to use, which should match your Topology registration.
552
- This is an alternative to specifying ` Site Information. resource_group` in the config files .
553
-
546
+ Equivalent to ` resource_group ` in the ` Site Information ` section .
547
+
554
548
- ` --batch-systems BATCH_SYSTEMS_LIST `
555
549
556
550
A comma-separated list of batch systems used by the resource.
557
- Recognized batch systems are: "Condor", "LSF", "PBS", "SGE", "SLURM".
551
+ Recognized batch systems are: ` Condor ` , ` LSF ` , ` PBS ` , ` SGE ` , and ` SLURM ` .
552
+ Equivalent to enabling the batch system sections in the
553
+ ` 20-*.ini ` files, or, if using BOSCO, setting ` batch ` in the ` BOSCO ` section.
0 commit comments