Skip to content

Commit

Permalink
[ci skip] Autodoc commit for f93829df5d62a4e1542b1a23c1c2fc108a12066d.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscwiag committed Sep 5, 2024
1 parent 55869ed commit 83ee5e3
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 144 deletions.
2 changes: 1 addition & 1 deletion develop/_sources/authentication/oidc.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The following prerequisites need to be satisfied:

.. note::

OnDemand repos provide the ``httpd24-mod_auth_openidc`` RPM for RHEL 7 and CentOS 7 as it must be built against SCL Apache. The OnDemand repos also have the ``mod_auth_openidc`` RPM for RHEL 8 and Rocky 8 that are newer than what the OS provides to make use of some newer features.
The OnDemand repos have the ``mod_auth_openidc`` RPM for RHEL 8 and Rocky 8 that are newer than what the OS provides to make use of some newer features.

The following is an example :program:`ood-portal-generator` configuration file:

Expand Down
13 changes: 0 additions & 13 deletions develop/_sources/how-tos/debug/debug-apache.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ Restart services

.. tabs::

.. tab:: RHEL/CentOS 7

.. code-block:: sh
sudo systemctl try-restart httpd24-httpd
.. tab:: RHEL/Rocky 8 & 9

.. code-block:: sh
Expand Down Expand Up @@ -61,12 +54,6 @@ Or you're using the wrong hostname in your browser.

.. tabs::

.. tab:: RHEL/CentOS 7

.. code-block:: sh
sudo /opt/rh/httpd24/root/sbin/httpd -S
.. tab:: RHEL/Rocky 8 & 9

.. code-block:: sh
Expand Down
14 changes: 0 additions & 14 deletions develop/_sources/how-tos/monitoring/prometheus.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,13 @@ For yum/dnf based systems the `ondemand_exporter`_ can be installed via RPM.
The RPM will install the following files that should work out of the box:

- **RHEL/CentOS 7 only**: /opt/rh/httpd24/root/etc/httpd/conf.d/ondemand_exporter.conf
- **RHEL/Rocky/AlmaLinux 8 & 9 only**: /etc/httpd/conf.d/ondemand_exporter.conf
- /etc/sudoers.d/ondemand_exporter

Ensure that the new Apache configuration is loaded by restarting Apache

.. tabs::

.. tab:: RHEL/CentOS 7

.. code-block:: sh
sudo systemctl restart httpd24-httpd
.. tab:: RHEL/Rocky/Alma Linux 8 & 9

.. code-block:: sh
Expand Down Expand Up @@ -82,13 +75,6 @@ Check for the `ondemand_exporter Latest Release`_ version number. Replace ``VER
.. tabs::

.. tab:: RHEL/CentOS 7

.. code-block:: sh
sudo install -o root -g root -m 0440 /tmp/${ARCHIVE}/files/apache.conf /opt/rh/httpd24/root/etc/httpd/conf.d/ondemand_exporter.conf
sudo systemctl restart httpd24-httpd
.. tab:: RHEL/Rocky/Alma Linux 8 & 9

.. code-block:: sh
Expand Down
2 changes: 1 addition & 1 deletion develop/_sources/installation.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Installation
The OnDemand host machine needs to be setup *similarly* to a login node. This
means that it will need:

- RedHat/CentOS 7+ or Ubuntu 20.04-22.04 or Debian 12 or Amazon Linux 2023
- RedHat/RockyLinux/AlmaLinux 8+ or Ubuntu 20.04-22.04 or Debian 12 or Amazon Linux 2023
- the resource manager (e.g., Torque, Slurm, or LSF) client binaries and
libraries used by the batch servers installed
- configuration on both OnDemand node **and batch servers** to be able to
Expand Down
23 changes: 0 additions & 23 deletions develop/_sources/installation/install-software.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ Some operating systems use `Software Collections`_ to satisfy these.

.. tabs::

.. tab:: CentOS 7

.. code-block:: sh
sudo yum install centos-release-scl epel-release
.. tab:: RockyLinux/Alma Linux 8

.. code-block:: sh
Expand Down Expand Up @@ -79,14 +72,6 @@ Some operating systems use `Software Collections`_ to satisfy these.

.. tabs::

.. tab:: RedHat/CentOS 7

.. code-block:: sh
sudo yum install https://yum.osc.edu/ondemand/{{ ondemand_version }}/ondemand-release-web-{{ ondemand_version }}-1.el7.noarch.rpm
sudo yum install ondemand
.. tab:: RedHat/Rocky Linux/AlmaLinux 8

.. code-block:: sh
Expand Down Expand Up @@ -149,14 +134,6 @@ Some operating systems use `Software Collections`_ to satisfy these.

.. tabs::

.. tab:: RHEL/CentOS 7

.. code-block:: sh
sudo systemctl start httpd24-httpd
sudo systemctl enable httpd24-httpd
.. tab:: RHEL/Rocky 8 & 9

.. code-block:: sh
Expand Down
12 changes: 0 additions & 12 deletions develop/_sources/installation/resource-manager/test.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ configuration files.
#. We will now list all available tasks that we can run:

.. rubric:: If your operating system is CentOS 7 or RHEL 7, run this command:

.. code-block:: sh
scl enable ondemand -- bin/rake -T test:jobs
# rake test:jobs # Test all clusters
# rake test:jobs:cluster1 # Test the cluster: cluster1
# rake test:jobs:cluster2 # Test the cluster: cluster2
.. rubric:: Otherwise, run this command:

.. code-block:: sh
source /opt/ood/ondemand/enable
Expand Down
6 changes: 1 addition & 5 deletions develop/_sources/reference/files/nginx-stage-yml.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -788,16 +788,12 @@ Configuration Options
min_uid: 1000
Example
Using CentOS 6
Define new minimum UID

.. code-block:: yaml
min_uid: 500
.. note::

For RHEL6 and CentOS 6 the user id's begin at ``500``.

.. _disabled_shell:

.. describe:: disabled_shell (String)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Basic Batch Connect Options
# careful now, we can't override run_file or we have to
# change it here too! This also doesn't account for timeout,
# if it's provided.
IMAGE=/opt/images/centos7.sif
IMAGE=/opt/images/el9.sif
singularity exec -p $IMAGE /bin/bash script.sh
.. describe:: script_file (String, "./script.sh")
Expand Down
1 change: 0 additions & 1 deletion develop/_sources/requirements.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ At this time OnDemand only supports the following operating systems and architec
:header: "","x86_64","aarch64/arm64","ppc64le"
:stub-columns: 1

"RedHat/CentOS 7",:raw-html:`✅`,:raw-html:`✅`,:raw-html:`✅`
"RedHat/Rocky Linux/AlmaLinux 8",:raw-html:`✅`,:raw-html:`✅`,:raw-html:`✅`
"RedHat/Rocky Linux/AlmaLinux 9",:raw-html:`✅`,:raw-html:`✅`,:raw-html:`✅`
"Ubuntu 20.04",:raw-html:`✅`,:raw-html:`✅`,:raw-html:`❌`
Expand Down
2 changes: 1 addition & 1 deletion develop/authentication/oidc.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
</ul>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>OnDemand repos provide the <code class="docutils literal notranslate"><span class="pre">httpd24-mod_auth_openidc</span></code> RPM for RHEL 7 and CentOS 7 as it must be built against SCL Apache. The OnDemand repos also have the <code class="docutils literal notranslate"><span class="pre">mod_auth_openidc</span></code> RPM for RHEL 8 and Rocky 8 that are newer than what the OS provides to make use of some newer features.</p>
<p>The OnDemand repos have the <code class="docutils literal notranslate"><span class="pre">mod_auth_openidc</span></code> RPM for RHEL 8 and Rocky 8 that are newer than what the OS provides to make use of some newer features.</p>
</div>
<p>The following is an example <strong class="program">ood-portal-generator</strong> configuration file:</p>
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="c1"># /etc/ood/config/ood_portal.yml</span><span class="w"></span>
Expand Down
14 changes: 4 additions & 10 deletions develop/how-tos/debug/debug-apache.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,10 @@ <h2>Log locations<a class="headerlink" href="#log-locations" title="Permalink to
<span id="restart-apache"></span><h2>Restart services<a class="headerlink" href="#restart-services" title="Permalink to this headline"></a></h2>
<blockquote>
<div><div class="sphinx-tabs docutils container">
<div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-0-0-0" aria-selected="true" class="sphinx-tabs-tab" id="tab-0-0-0" name="0-0" role="tab" tabindex="0">RHEL/CentOS 7</button><button aria-controls="panel-0-0-1" aria-selected="false" class="sphinx-tabs-tab" id="tab-0-0-1" name="0-1" role="tab" tabindex="-1">RHEL/Rocky 8 &amp; 9</button><button aria-controls="panel-0-0-2" aria-selected="false" class="sphinx-tabs-tab" id="tab-0-0-2" name="0-2" role="tab" tabindex="-1">Ubuntu &amp; Debian</button></div><div aria-labelledby="tab-0-0-0" class="sphinx-tabs-panel" id="panel-0-0-0" name="0-0" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo systemctl try-restart httpd24-httpd
<div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-0-0-0" aria-selected="true" class="sphinx-tabs-tab" id="tab-0-0-0" name="0-0" role="tab" tabindex="0">RHEL/Rocky 8 &amp; 9</button><button aria-controls="panel-0-0-1" aria-selected="false" class="sphinx-tabs-tab" id="tab-0-0-1" name="0-1" role="tab" tabindex="-1">Ubuntu &amp; Debian</button></div><div aria-labelledby="tab-0-0-0" class="sphinx-tabs-panel" id="panel-0-0-0" name="0-0" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo systemctl try-restart httpd
</pre></div>
</div>
</div><div aria-labelledby="tab-0-0-1" class="sphinx-tabs-panel" hidden="true" id="panel-0-0-1" name="0-1" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo systemctl try-restart httpd
</pre></div>
</div>
</div><div aria-labelledby="tab-0-0-2" class="sphinx-tabs-panel" hidden="true" id="panel-0-0-2" name="0-2" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo systemctl try-restart apache2
</div><div aria-labelledby="tab-0-0-1" class="sphinx-tabs-panel" hidden="true" id="panel-0-0-1" name="0-1" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo systemctl try-restart apache2
</pre></div>
</div>
</div></div>
Expand All @@ -253,13 +250,10 @@ <h2>Log locations<a class="headerlink" href="#log-locations" title="Permalink to
<p>Or you’re using the wrong hostname in your browser.</p>
<blockquote>
<div><div class="sphinx-tabs docutils container">
<div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-1-1-0" aria-selected="true" class="sphinx-tabs-tab" id="tab-1-1-0" name="1-0" role="tab" tabindex="0">RHEL/CentOS 7</button><button aria-controls="panel-1-1-1" aria-selected="false" class="sphinx-tabs-tab" id="tab-1-1-1" name="1-1" role="tab" tabindex="-1">RHEL/Rocky 8 &amp; 9</button><button aria-controls="panel-1-1-2" aria-selected="false" class="sphinx-tabs-tab" id="tab-1-1-2" name="1-2" role="tab" tabindex="-1">Ubuntu &amp; Debian</button></div><div aria-labelledby="tab-1-1-0" class="sphinx-tabs-panel" id="panel-1-1-0" name="1-0" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo /opt/rh/httpd24/root/sbin/httpd -S
</pre></div>
</div>
</div><div aria-labelledby="tab-1-1-1" class="sphinx-tabs-panel" hidden="true" id="panel-1-1-1" name="1-1" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo /sbin/httpd -S
<div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-1-1-0" aria-selected="true" class="sphinx-tabs-tab" id="tab-1-1-0" name="1-0" role="tab" tabindex="0">RHEL/Rocky 8 &amp; 9</button><button aria-controls="panel-1-1-1" aria-selected="false" class="sphinx-tabs-tab" id="tab-1-1-1" name="1-1" role="tab" tabindex="-1">Ubuntu &amp; Debian</button></div><div aria-labelledby="tab-1-1-0" class="sphinx-tabs-panel" id="panel-1-1-0" name="1-0" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo /sbin/httpd -S
</pre></div>
</div>
</div><div aria-labelledby="tab-1-1-2" class="sphinx-tabs-panel" hidden="true" id="panel-1-1-2" name="1-2" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>. /etc/apache2/envvars<span class="p">;</span> sudo -E /sbin/apache2 -S
</div><div aria-labelledby="tab-1-1-1" class="sphinx-tabs-panel" hidden="true" id="panel-1-1-1" name="1-1" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>. /etc/apache2/envvars<span class="p">;</span> sudo -E /sbin/apache2 -S
</pre></div>
</div>
</div></div>
Expand Down
12 changes: 2 additions & 10 deletions develop/how-tos/monitoring/prometheus.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,12 @@ <h2>Install via RPM<a class="headerlink" href="#install-via-rpm" title="Permalin
</div>
<p>The RPM will install the following files that should work out of the box:</p>
<ul class="simple">
<li><p><strong>RHEL/CentOS 7 only</strong>: /opt/rh/httpd24/root/etc/httpd/conf.d/ondemand_exporter.conf</p></li>
<li><p><strong>RHEL/Rocky/AlmaLinux 8 &amp; 9 only</strong>: /etc/httpd/conf.d/ondemand_exporter.conf</p></li>
<li><p>/etc/sudoers.d/ondemand_exporter</p></li>
</ul>
<p>Ensure that the new Apache configuration is loaded by restarting Apache</p>
<div class="sphinx-tabs docutils container">
<div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-0-0-0" aria-selected="true" class="sphinx-tabs-tab" id="tab-0-0-0" name="0-0" role="tab" tabindex="0">RHEL/CentOS 7</button><button aria-controls="panel-0-0-1" aria-selected="false" class="sphinx-tabs-tab" id="tab-0-0-1" name="0-1" role="tab" tabindex="-1">RHEL/Rocky/Alma Linux 8 &amp; 9</button></div><div aria-labelledby="tab-0-0-0" class="sphinx-tabs-panel" id="panel-0-0-0" name="0-0" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo systemctl restart httpd24-httpd
</pre></div>
</div>
</div><div aria-labelledby="tab-0-0-1" class="sphinx-tabs-panel" hidden="true" id="panel-0-0-1" name="0-1" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo systemctl restart httpd
<div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-0-0-0" aria-selected="true" class="sphinx-tabs-tab" id="tab-0-0-0" name="0-0" role="tab" tabindex="0">RHEL/Rocky/Alma Linux 8 &amp; 9</button></div><div aria-labelledby="tab-0-0-0" class="sphinx-tabs-panel" id="panel-0-0-0" name="0-0" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo systemctl restart httpd
</pre></div>
</div>
</div></div>
Expand Down Expand Up @@ -276,11 +272,7 @@ <h2>Install from Source<a class="headerlink" href="#install-from-source" title="
</pre></div>
</div>
<div class="sphinx-tabs docutils container">
<div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-1-1-0" aria-selected="true" class="sphinx-tabs-tab" id="tab-1-1-0" name="1-0" role="tab" tabindex="0">RHEL/CentOS 7</button><button aria-controls="panel-1-1-1" aria-selected="false" class="sphinx-tabs-tab" id="tab-1-1-1" name="1-1" role="tab" tabindex="-1">RHEL/Rocky/Alma Linux 8 &amp; 9</button></div><div aria-labelledby="tab-1-1-0" class="sphinx-tabs-panel" id="panel-1-1-0" name="1-0" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo install -o root -g root -m <span class="m">0440</span> /tmp/<span class="si">${</span><span class="nv">ARCHIVE</span><span class="si">}</span>/files/apache.conf /opt/rh/httpd24/root/etc/httpd/conf.d/ondemand_exporter.conf
sudo systemctl restart httpd24-httpd
</pre></div>
</div>
</div><div aria-labelledby="tab-1-1-1" class="sphinx-tabs-panel" hidden="true" id="panel-1-1-1" name="1-1" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo install -o root -g root -m <span class="m">0440</span> /tmp/<span class="si">${</span><span class="nv">ARCHIVE</span><span class="si">}</span>/files/apache.conf /etc/httpd/conf.d/ondemand_exporter.conf
<div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-1-1-0" aria-selected="true" class="sphinx-tabs-tab" id="tab-1-1-0" name="1-0" role="tab" tabindex="0">RHEL/Rocky/Alma Linux 8 &amp; 9</button></div><div aria-labelledby="tab-1-1-0" class="sphinx-tabs-panel" id="panel-1-1-0" name="1-0" role="tabpanel" tabindex="0"><div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>sudo install -o root -g root -m <span class="m">0440</span> /tmp/<span class="si">${</span><span class="nv">ARCHIVE</span><span class="si">}</span>/files/apache.conf /etc/httpd/conf.d/ondemand_exporter.conf
sudo systemctl restart httpd
</pre></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion develop/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
<p>The OnDemand host machine needs to be setup <em>similarly</em> to a login node. This
means that it will need:</p>
<ul class="simple">
<li><p>RedHat/CentOS 7+ or Ubuntu 20.04-22.04 or Debian 12 or Amazon Linux 2023</p></li>
<li><p>RedHat/RockyLinux/AlmaLinux 8+ or Ubuntu 20.04-22.04 or Debian 12 or Amazon Linux 2023</p></li>
<li><p>the resource manager (e.g., Torque, Slurm, or LSF) client binaries and
libraries used by the batch servers installed</p></li>
<li><p>configuration on both OnDemand node <strong>and batch servers</strong> to be able to
Expand Down
Loading

0 comments on commit 83ee5e3

Please sign in to comment.