<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>OneSlurm References on</title><link>https://docs.opennebula.io/7.4/platform_services/slurm/references/</link><description>Recent content in OneSlurm References on</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 07 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://docs.opennebula.io/7.4/platform_services/slurm/references/index.xml" rel="self" type="application/rss+xml"/><item><title>Service Architecture</title><link>https://docs.opennebula.io/7.4/platform_services/slurm/references/service_architecture/</link><pubDate>Wed, 07 Oct 2026 00:00:00 +0000</pubDate><guid>https://docs.opennebula.io/7.4/platform_services/slurm/references/service_architecture/</guid><description>&lt;h2 id="components"&gt;
 Components
 &lt;a class="anchor-link" href="#components" aria-label="Link to this section"&gt;
 &lt;i class="fas fa-link fa-xs"&gt;&lt;/i&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;strong&gt;Component&lt;/strong&gt;&lt;/th&gt;
 &lt;th&gt;&lt;strong&gt;Where&lt;/strong&gt;&lt;/th&gt;
 &lt;th&gt;&lt;strong&gt;Role&lt;/strong&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;OneFlow service &lt;code&gt;OneSlurm&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;OpenNebula Front-end&lt;/td&gt;
 &lt;td&gt;Creates the roles in order and scales the workers&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;controller&lt;/code&gt; role&lt;/td&gt;
 &lt;td&gt;1 VM&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;slurmctld&lt;/code&gt;, Munge, optional OpenLDAP, reconciler&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;worker&lt;/code&gt; role&lt;/td&gt;
 &lt;td&gt;1 or more VMs, child of &lt;code&gt;controller&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;slurmd&lt;/code&gt;, Munge, self-drain hook&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;OneGate&lt;/td&gt;
 &lt;td&gt;OpenNebula Front-end&lt;/td&gt;
 &lt;td&gt;Shares data between the VMs of the service&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Service network&lt;/td&gt;
 &lt;td&gt;Virtual Network&lt;/td&gt;
 &lt;td&gt;Connects all the VMs. Chosen when the service is created&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The service uses &lt;code&gt;deployment: straight&lt;/code&gt; and &lt;code&gt;ready_status_gate: true&lt;/code&gt;. OneFlow creates the controller first and the workers only after the controller reports &lt;code&gt;READY=YES&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Configuration Parameters</title><link>https://docs.opennebula.io/7.4/platform_services/slurm/references/configuration_parameters/</link><pubDate>Wed, 07 Oct 2026 00:00:00 +0000</pubDate><guid>https://docs.opennebula.io/7.4/platform_services/slurm/references/configuration_parameters/</guid><description>&lt;h2 id="service-network"&gt;
 Service Network
 &lt;a class="anchor-link" href="#service-network" aria-label="Link to this section"&gt;
 &lt;i class="fas fa-link fa-xs"&gt;&lt;/i&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/th&gt;
 &lt;th&gt;&lt;strong&gt;Mandatory&lt;/strong&gt;&lt;/th&gt;
 &lt;th&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;Service&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Yes&lt;/td&gt;
 &lt;td&gt;Virtual Network for the controller and the workers&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="service-inputs"&gt;
 Service Inputs
 &lt;a class="anchor-link" href="#service-inputs" aria-label="Link to this section"&gt;
 &lt;i class="fas fa-link fa-xs"&gt;&lt;/i&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;All the inputs are optional. You set them when you create the service.&lt;/p&gt;
&lt;h3 id="ldap"&gt;
 LDAP
 &lt;a class="anchor-link" href="#ldap" aria-label="Link to this section"&gt;
 &lt;i class="fas fa-link fa-xs"&gt;&lt;/i&gt;
 &lt;/a&gt;
&lt;/h3&gt;&lt;p&gt;Used by the controller. The workers get the LDAP settings from the controller through OneGate. See &lt;a href="https://docs.opennebula.io/7.4/platform_services/slurm/management/identity_management/"&gt;Identity Management&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>OneSlurm CLI</title><link>https://docs.opennebula.io/7.4/platform_services/slurm/references/oneslurm_cli/</link><pubDate>Wed, 07 Oct 2026 00:00:00 +0000</pubDate><guid>https://docs.opennebula.io/7.4/platform_services/slurm/references/oneslurm_cli/</guid><description>&lt;h2 id="opennebula-commands"&gt;
 OpenNebula Commands
 &lt;a class="anchor-link" href="#opennebula-commands" aria-label="Link to this section"&gt;
 &lt;i class="fas fa-link fa-xs"&gt;&lt;/i&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;Run these on the OpenNebula Front-end.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;strong&gt;Command&lt;/strong&gt;&lt;/th&gt;
 &lt;th&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;onemarketapp export 'Service OneSlurm' 'Service OneSlurm' --datastore default&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Import the appliance from the Marketplace&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;onetemplate update &amp;lt;TEMPLATE_ID&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Change a controller or worker VM template&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;oneflow-template update &amp;lt;SERVICE_TEMPLATE_ID&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Change the service template&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;oneflow-template instantiate 'Service OneSlurm'&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Create a Cluster&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;oneflow list&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;List the Clusters&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;oneflow show &amp;lt;SERVICE_ID&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Show the roles and VMs of a Cluster&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;oneflow scale &amp;lt;SERVICE_ID&amp;gt; worker &amp;lt;NUMBER&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Change the number of workers&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;oneflow delete &amp;lt;SERVICE_ID&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Delete a Cluster&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;onevm ssh &amp;lt;VM_ID&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Connect to a VM of the Cluster&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="commands-inside-the-vms"&gt;
 Commands Inside the VMs
 &lt;a class="anchor-link" href="#commands-inside-the-vms" aria-label="Link to this section"&gt;
 &lt;i class="fas fa-link fa-xs"&gt;&lt;/i&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;strong&gt;Command&lt;/strong&gt;&lt;/th&gt;
 &lt;th&gt;&lt;strong&gt;Where&lt;/strong&gt;&lt;/th&gt;
 &lt;th&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;sinfo&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controller&lt;/td&gt;
 &lt;td&gt;Partitions and node states&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;scontrol show nodes&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controller&lt;/td&gt;
 &lt;td&gt;Details of each node&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;squeue&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controller&lt;/td&gt;
 &lt;td&gt;Job queue&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;srun -N1 hostname&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controller&lt;/td&gt;
 &lt;td&gt;Run a test job&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;scontrol update NodeName=&amp;lt;node&amp;gt; State=DRAIN Reason=&amp;lt;text&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controller&lt;/td&gt;
 &lt;td&gt;Drain a node before you remove it&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;scontrol update NodeName=&amp;lt;node&amp;gt; State=RESUME&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controller&lt;/td&gt;
 &lt;td&gt;Put a drained or down node back in service&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;scontrol delete NodeName=&amp;lt;node&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controller&lt;/td&gt;
 &lt;td&gt;Delete a dynamic node&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;journalctl -u oneslurm-reconcile&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Controller&lt;/td&gt;
 &lt;td&gt;Log of the reconciler&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;onegate service show&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Any VM&lt;/td&gt;
 &lt;td&gt;The service, as OneGate sees it&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;getent passwd &amp;lt;user&amp;gt;&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Any VM&lt;/td&gt;
 &lt;td&gt;Check an LDAP user&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;findmnt /home&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Any VM&lt;/td&gt;
 &lt;td&gt;Check the NFS mount&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;cat /etc/one-appliance/status&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Any VM&lt;/td&gt;
 &lt;td&gt;Result of the appliance configuration&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;</description></item><item><title>OneSlurm API</title><link>https://docs.opennebula.io/7.4/platform_services/slurm/references/oneslurm_api/</link><pubDate>Wed, 07 Oct 2026 00:00:00 +0000</pubDate><guid>https://docs.opennebula.io/7.4/platform_services/slurm/references/oneslurm_api/</guid><description>&lt;p&gt;OneSlurm has no API of its own. A OneSlurm cluster is a OneFlow service, so you create, scale and delete it with the &lt;a href="https://docs.opennebula.io/7.4/product/integration_references/system_interfaces/appflow_api/"&gt;OneFlow Server API&lt;/a&gt;. This page shows the calls relevant to OneSlurm.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;strong&gt;Item&lt;/strong&gt;&lt;/th&gt;
 &lt;th&gt;&lt;strong&gt;Value&lt;/strong&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Endpoint&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;http://&amp;lt;FRONT_END_IP&amp;gt;:2474&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Authentication&lt;/td&gt;
 &lt;td&gt;HTTP Basic, with an OpenNebula user and password&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Format&lt;/td&gt;
 &lt;td&gt;JSON&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The examples use these variables.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;FLOW&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;http://localhost:2474
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;AUTH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;oneadmin:&amp;lt;password&amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="find-the-service-template"&gt;
 Find the Service Template
 &lt;a class="anchor-link" href="#find-the-service-template" aria-label="Link to this section"&gt;
 &lt;i class="fas fa-link fa-xs"&gt;&lt;/i&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;curl -s -u &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$AUTH&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt; &lt;span class="nv"&gt;$FLOW&lt;/span&gt;/service_template
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The response lists the service templates in &lt;code&gt;DOCUMENT_POOL.DOCUMENT&lt;/code&gt;. Take the &lt;code&gt;ID&lt;/code&gt; of the one named &lt;code&gt;Service OneSlurm&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>