Skip to content

Commit

Permalink
Merge pull request #139 from mwestphall/pr/add-ospool-ep-rpm-docs
Browse files Browse the repository at this point in the history
Add section on ospool-ep rpm to OSPool Backfill Containers
  • Loading branch information
mwestphall authored Dec 7, 2023
2 parents 5562c4f + 1f98189 commit 27d11b7
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions docs/resource-sharing/os-backfill-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,46 @@ Privileged mode (`--privileged`) requested in the above `docker run` allows the
to mount [CVMFS using cvmfsexec](#cvmfsexec) and invoke `singularity` for user jobs.
Singularity (now known as Apptainer) allows OSPool users to use their own container for their job (e.g., a common use case for GPU jobs).

Running the Container via RPM
---------------------------------

On EL hosts, the pilot container can also be managed via a systemctl service provided by the `ospool-ep` rpm. To install this RPM:

1. [Enable OSG yum repos](../common/yum.md).

!! note "Under active development"
The RPM is currently only available in the development repo.

1. Install the service

:::console
root@host # yum install ospool-ep --enablerepo=osg-development

1. Copy your OSPool Access Token to `/etc/osg/ospool-ep.tkn`

!! note "Token file ownership"
The EP is run under uid 1000.
Ensure this user has read access to the token file.

:::console
root@host # chown 1000:1000 /etc/osg/ospool-ep.tkn

1. Configure the container service by editing `/etc/osg/ospool-ep.cfg`

- Set `GLIDEIN_Site` to your OSG Topology Site identifier
- Set `GLIDEIN_ResourceName` to your OSG Topology Resource Name identifier

1. Start the OSPool EP container service:

:::console
root@host # systemctl start ospool-ep

1. (Optional) monitor the systemctl service logs to see if the container starts successfully:

:::console
root@host # journalctl -f -u ospool-ep


Optional Configuration
----------------------

Expand Down

0 comments on commit 27d11b7

Please sign in to comment.