Skip to content

Commit 0b8c7df

Browse files
committed
Get rid of global uniqueness constraint for Pilot and Subcluster sections and suggest names for pilot types (SOFTWARE-4430)
1 parent aa11edf commit 0b8c7df

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -417,11 +417,14 @@ If you would like to properly advertise multiple CEs per cluster, make sure that
417417

418418
#### Subcluster Configuration ####
419419

420-
Each homogeneous set of worker node hardware is called a **subcluster**. For each subcluster in your cluster, fill in the information about the worker node hardware by creating a new Subcluster section with a unique name in the following format: `[Subcluster CHANGEME]`, where CHANGEME is the globally unique subcluster name (yes, it must be a **globally** unique name for the whole grid, not just unique to your site. Get creative.)
420+
Each homogeneous set of worker node hardware is called a **subcluster**.
421+
For each subcluster in your cluster, fill in the information about the worker node hardware by creating a new Subcluster section in the following format:
422+
`[Subcluster CHANGEME]`, where CHANGEME is the subcluster name.
423+
If you have multiple subclusters, they must have different names.
421424

422425
| Option | Values Accepted | Explanation |
423426
|----------------------|-----------------------------|-------------------------------------------------------------------------------|
424-
| **name** | String | The same name that is in the Section label; it should be **globally unique** |
427+
| **name** | String | The same name that is in the Section label |
425428
| **ram\_mb** | Positive Integer | Megabytes of RAM per node |
426429
| **cores\_per\_node** | Positive Integer | Number of cores per node |
427430
| **allowed\_vos** | Comma-separated List or `*` | The VOs that are allowed to run jobs on this subcluster (autodetected if `*`) |
@@ -463,9 +466,10 @@ The following attributes are optional:
463466
These sections describe the size and scale of GlideinWMS pilots that your site is willing to accept.
464467
This file contains multiple sections of the form `[Pilot <PILOT_TYPE>]`,
465468
where `<PILOT_TYPE>` is a free-form name of a type of pilot.
466-
The name must be globally unique; we recommend including the resource name of your CE in the PILOT_TYPE.
467-
For example, if your CE is registered in topology as `UW-ITB-CE1` and you are describing a type of pilot with 4 cores,
468-
then use `UW-ITB-CE1_4CORE`.
469+
The name should only have lower-case letters, numbers, and `-` or `_` characters.
470+
In addition, it must be unique within your cluster.
471+
We recommend a name that describes the capabilities of the pilots you accept.
472+
Good names are `singularity_8core`, `gpu`, `bigmem`, `main`.
469473

470474
The following attributes are required:
471475
| Option | Values Accepted | Explanation |

config/30-gip.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
;===================================================================
44

55
; For each subcluster, add a new subcluster section.
6-
; Each subcluster name must be unique for the entire grid, so make sure to not
7-
; pick anything generic like "MAIN". Each subcluster section must start with
8-
; the words "Subcluster", and cannot be named "CHANGEME".
6+
; Each subcluster section must start with the words "Subcluster", and cannot be
7+
; named "CHANGEME".
98

109
; There should be one subcluster section per set of homogeneous nodes in the
1110
; cluster.

config/35-pilot.ini

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@
33
;===================================================================
44

55
; For each pilot type, add a new pilot section.
6-
; The name of each pilot type must be unique for the entire grid, so make sure
7-
; to not pick anything generic like "MAIN". The name will be used as-is as the
8-
; "Name" attribute in the OSG_ResourceCatalog entry.
6+
; If you accept multiple pilot types, each section must have a different name.
7+
; Names should only contain lowercase letters, numbers, "-" or "_", and should
8+
; describe the capabilities of that type of pilot.
9+
10+
; Good names are "singularity_8core", "gpu", "bigmem", "main".
11+
12+
; The name will be used as-is as the "Name" attribute in the
13+
; OSG_ResourceCatalog entry.
914

1015
; This data is used to determine the resources requested by pilot jobs submitted by the OSG, so it's
1116
; important to keep it up to date.

0 commit comments

Comments
 (0)