Skip to content
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

Update admin installation documentation #1035

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Conversation

nedvedba
Copy link
Collaborator

@nedvedba nedvedba commented Nov 6, 2024

This pull request aims to address #1003

Summary by Sourcery

Documentation:

  • Update the admin installation documentation to improve clarity and accuracy.

Copy link

sourcery-ai bot commented Nov 6, 2024

Reviewer's Guide by Sourcery

This PR updates the admin installation documentation by reorganizing and splitting the installation guides into separate files for bare metal and Docker installations. The changes include updating the changelog to reflect this documentation update.

Documentation structure update for admin installation

graph TD;
    A[Admin Installation Documentation] -->|Split into| B(Bare Metal Installation Guide);
    A -->|Split into| C(Docker Installation Guide);
    A -->|Updated| D(Changelog);
    B -->|New File| E[install_bare_metal.rst];
    C -->|New File| F[install_docker.rst];
    D -->|Reflects Update| G[CHANGELOG.md];
Loading

File-Level Changes

Change Details Files
Reorganized admin installation documentation by splitting it into separate guides
  • Renamed general installation guide to bare metal installation guide
  • Created new Docker installation guide file
  • Updated changelog to reflect documentation changes
doc_source/source/admin/general.rst
doc_source/source/admin/install_bare_metal.rst
doc_source/source/admin/install_docker.rst
CHANGELOG.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@nedvedba nedvedba self-assigned this Nov 6, 2024
@nedvedba nedvedba linked an issue Nov 6, 2024 that may be closed by this pull request
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @nedvedba - I've reviewed your changes - here's some feedback:

Overall Comments:

  • Please provide a more detailed PR description explaining what specific changes were made to the admin installation documentation and why they were needed. This helps reviewers understand the context and purpose of the changes.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟡 Documentation: 3 issues found

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment on lines +63 to +75
1. DATAFED_GLOBUS_APP_SECRET
2. DATAFED_GLOBUS_APP_ID
3. DATAFED_ZEROMQ_SESSION_SECRET
4. DATAFED_ZEROMQ_SYSTEM_SECRET
5. DATAFED_DATABASE_PASSWORD
6. DATAFED_DATABASE_IP_ADDRESS
7. DATAFED_GCS_ROOT_NAME
8. DATAFED_GCS_IP
9. DATAFED_REPO_ID_AND_DIR
10. DATAFED_HOST_COLLECTION_MOUNT
11. DATAFED_GLOBUS_SUBSCRIPTION
12. DATAFED_GCS_COLLECTION_BASE_PATH
13. DATAFED_GCS_COLLECTION_ROOT_PATH
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (documentation): Environment variables need descriptions

Consider adding brief descriptions for each environment variable to help users understand their purpose and required values.

1. DATAFED_GLOBUS_APP_SECRET - Secret key for Globus authentication
2. DATAFED_GLOBUS_APP_ID - Application ID from Globus registration
3. DATAFED_ZEROMQ_SESSION_SECRET - ZeroMQ session encryption key
4. DATAFED_ZEROMQ_SYSTEM_SECRET - ZeroMQ system-wide encryption key
5. DATAFED_DATABASE_PASSWORD - Password for database access
6. DATAFED_DATABASE_IP_ADDRESS - IP address of the database server
7. DATAFED_GCS_ROOT_NAME - Root name for Globus Collection Store
8. DATAFED_GCS_IP - IP address of Globus Collection Store
9. DATAFED_REPO_ID_AND_DIR - Repository ID and directory path
10. DATAFED_HOST_COLLECTION_MOUNT - Host collection mount point
11. DATAFED_GLOBUS_SUBSCRIPTION - Globus subscription identifier
12. DATAFED_GCS_COLLECTION_BASE_PATH - Base path for GCS collections
13. DATAFED_GCS_COLLECTION_ROOT_PATH - Root path for GCS collections

#. Navigate to Add an App > Advanced Registration.
#. Choose an accurate name for your app, and in the redirects field add the single redirect ``https://localhost/ui/authn`` for development, or your domain/IP for production
#. Click Add Client Secret and choose a descriptive name.
#. Take note of the Secret that it generates and the Client UUID of the Globus application and remember them for future steps.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (documentation): Specify required Globus app permissions

Please document which Globus permissions/scopes need to be configured for the application to function correctly.

==========

If the web server and core server are on different machines you will need to
ensure that they can communicate, this will require exchanging the public keys
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (documentation): Add instructions for key exchange

Please provide specific steps or commands for exchanging public keys between web and core servers.

ensure that they can communicate. This requires copying the public key files between servers:
1. On the web server, copy /opt/datafed/keys/web.pub to the core server
2. On the core server, copy /opt/datafed/keys/core.pub to the web server
3. Place each copied key in the respective /opt/datafed/keys directory

@JoshuaSBrown
Copy link
Collaborator

Add labels when you create a PR, this one would fall under documentation.

@nedvedba nedvedba added the Type: Docs - User User / admin documentation label Nov 6, 2024
@JoshuaSBrown JoshuaSBrown merged commit 2458c1f into release_June_2024 Nov 6, 2024
11 of 12 checks passed
@JoshuaSBrown JoshuaSBrown deleted the 1003-feature branch November 6, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Docs - User User / admin documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release June 2024 Documentation - Admin Deployment Documentation
2 participants