<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
text="#000000" bgcolor="#FFFFFF">
<p>The cluster config doesn't contain qos rules definitions. It only
contains mappings of qos to users/accounts.</p>
<p>Currently it is impossible to dump and edit qos rules, although
it is possible to add and remove defined qos from/to users.</p>
<p><br>
</p>
<p>Regards,</p>
<p>--Dani_L.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 8/12/19 8:44 AM, Barbara Krašovec
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:48aab0e0-101a-2a88-e455-e77f686781d9@ijs.si">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Yes, afaik you can only dump the whole cluster config, not a
specific entity. If you dump the cluster config, also qos rules
are included, so you can modify the rules in the cluster config
and load it.</p>
<p><br>
</p>
<p>If you don't want to do that, then just use the sacctmgr
modify option.</p>
<p><br>
</p>
<p>Cheers,</p>
<p>Barbara</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 8/5/19 12:02 PM, Daniel Letai
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:57b0e21f-4948-8ca4-dcda-1db27de3b0ec@letai.org.il">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
<p>The documentation clearly states <br>
</p>
<dt><b>dump</b> <<i>ENTITY</i>> <<i>File=FILENAME</i>></dt>
<dd> Dump cluster data to the specified file. If the filename is
not specified it uses clustername.cfg filename by default. </dd>
<p>However, the only entity sacctmgr dump seems to accept is
<cluster name>.</p>
<p>Glancing over the code at <a class="moz-txt-link-freetext"
href="https://github.com/SchedMD/slurm/blob/master/src/sacctmgr/cluster_functions.c#L1006"
moz-do-not-send="true">https://github.com/SchedMD/slurm/blob/master/src/sacctmgr/cluster_functions.c#L1006</a>
</p>
<p>it doesn't seem like sacctmgr will accept anything other than
a cluster name either.</p>
<p><br>
</p>
<p>How can I easily dump to file qos rules, in a way that would
allow me to modify and upload new qos as required?</p>
<p><br>
</p>
<p>BTW, just noticed "archive" is not in the 'commands' section
of sacctmgr man, but is treated as a command in later sections
of the man page.<br>
</p>
</blockquote>
</blockquote>
</body>
</html>