-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INF-2227: Add documentation for COManage CO Group provisioning. #144
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,71 @@ | ||||||||||||||||||||||||
COManage Recipes | ||||||||||||||||||||||||
============================== | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Just for visual alignment of the article title |
||||||||||||||||||||||||
|
||||||||||||||||||||||||
A collection of step-by-step instructions for common actions for use by administrators of the OSG COManage. | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Just a little bit of brevity here. Also, the appropriate capitalization is COmanage |
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Steps for Common COManage Actions | ||||||||||||||||||||||||
---- | ||||||||||||||||||||||||
This section contains some common actions administrators perform on the OSG COManage, and how to do so. | ||||||||||||||||||||||||
Comment on lines
+7
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
All of this basically just repeats what you say in the sentence above. Also, adding a section level here adds noise to the section hierarchy and it's not entirely clear why we need it (if we have another section in this doc at the same level, what would it actually be?) |
||||||||||||||||||||||||
|
||||||||||||||||||||||||
### Provisioning a CO Group in COManage | ||||||||||||||||||||||||
In order for a CO Group from COManage to show up in LDAP (and thus be made available for reference on Hosts), | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Adding a linebreak between the heading and content for readability, not sure why hosts was capitalized |
||||||||||||||||||||||||
it must first be provisioned. | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
You don't need the leading space here as the newline will be replaced by a space (unless there are multiple newlines) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it'd be worth adding an admonition here to speak to the fact that OIDC clients needing groups don't need any of these steps outside of the group creation (see https://osg-htc.org/technology/documentation/style-guide/#notes and https://squidfunk.github.io/mkdocs-material/reference/admonitions/#supported-types)
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Follow these steps to provision a CO Group into LDAP: | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
1. #### Create CO Group in COManage and add members (or use existing CO Group) | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I don't think we need to make something a section header AND an enumerated step |
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Skip the first bullet point if using an existing Group. | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
- Navigate to the `All Groups` page in COManage and click the `+ Add Group` button near the top-right. | ||||||||||||||||||||||||
Comment on lines
+19
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Combining and bolding here helps with clarity. Also, this section has two steps that should happen in order (if doing both). We use bulleted lists more when we're describing exclusive options, or an unordered list |
||||||||||||||||||||||||
![Create-Group-pt1](../img/comanage-create-group.png) | ||||||||||||||||||||||||
Give the group a name then click `ADD`, which will bring you to the Edit page for the new group | ||||||||||||||||||||||||
![Create-Group-pt2](../img/comanage-group-edit-page.png) | ||||||||||||||||||||||||
- Click on `MEMBERS`, then type in the name or identifier for a user you want to give membership to, | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
then select the user from the drop-down and click the `ADD` button. | ||||||||||||||||||||||||
Repeat as necessary for each group member. | ||||||||||||||||||||||||
As the creator of the Group, you will already have both Membership in, and Ownership over, the new group. | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Make sure to use consistent capitalization |
||||||||||||||||||||||||
![Add-Members](../img/comanage-add-group-members.png) | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
1. #### Find lowest unclaimed OSG GID in the range of non-user GIDS | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Brevity |
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Each group needs a unique OSG group id number or `OSG GID`, assigned from the non-user range starting at `200000`. | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Fix capitalization |
||||||||||||||||||||||||
|
||||||||||||||||||||||||
- Run the following command on a host with `ldapsearch` capability (like ap40) to find | ||||||||||||||||||||||||
the highest / most recently assigned `OSG GID`. | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
:::console | ||||||||||||||||||||||||
sudo ldapsearch -H ldaps://ldap.cilogon.org -D uid=readonly_user,ou=system,o=OSG,o=CO,dc=cilogon,dc=org\ | ||||||||||||||||||||||||
-w $(sudo awk '/ldap_default_authtok/ {print $3}' /etc/sssd/conf.d/0060_domain_CILOGON.ORG.conf)\ | ||||||||||||||||||||||||
-b ou=groups,o=OSG,o=CO,dc=cilogon,dc=org -s one '(cn=*)' | grep "gidNumber" | sort | tail | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
1. #### Set OSG GID and OSG Group Name Identifiers | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Navigate back to the `PROPERTIES` tab of Edit page for the group you are trying to provision, | ||||||||||||||||||||||||
then click the `+ Add Identifier` button. | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
- Add an Identifier of type `OSG GID` with a value one greater than the highest one assigned so far | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
(found in the last step). | ||||||||||||||||||||||||
- Add an Identifier of type `OSG Group Name` with the group's name as it should appear in LDAP. | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
![Add-Identifiers](../img/comanage-group-add-identifiers.png) | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
1. #### Create Unix Cluster Group | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
Each COManage Group needs a Unix Cluster Group in order to be provisioned. | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
- On COManage, navigate to `Configuration` -> `Clusters` -> `Configure` -> `Manage Unix Cluster Groups` | ||||||||||||||||||||||||
-> `+ Add Unix Cluster Group` | ||||||||||||||||||||||||
- Select the name of the Group you are trying to provision from the drop-down menu, then click `ADD` | ||||||||||||||||||||||||
Comment on lines
+58
to
+60
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
![Create-Unix-Cluster-Group](../img/comanage-create-unix-cluster-group.png) | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
1. #### Provision group | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
- In the `PROVISIONED SERVICES` tab of the Edit page for the Group, | ||||||||||||||||||||||||
click the `⚙ Provision` button, then on `Provision`. | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
![Provision-Group](../img/comanage-group-provision.png) | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
If all prior steps have been completed, you should get a message that the Group was successfully provisioned. | ||||||||||||||||||||||||
Comment on lines
+66
to
+71
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There aren't multiple actions to take here so you don't need to toss this under a list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.