<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:2018385616;
mso-list-type:hybrid;
mso-list-template-ids:-1589599084 134807567 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Chris,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The system status app that we currently use at OSC has its rpm at
<a href="https://yum.osc.edu/ondemand/latest/web/el7/x86_64/ondemand-systemstatus-1.4.0-1.el7.x86_64.rpm">
https://yum.osc.edu/ondemand/latest/web/el7/x86_64/ondemand-systemstatus-1.4.0-1.el7.x86_64.rpm</a> and the GitHub repo is currently at
<a href="https://github.com/AweSim-OSC/osc-systemstatus">https://github.com/AweSim-OSC/osc-systemstatus</a> (we haven’t moved it yet to the OSC org but will be doing so soon). This app depends on both moab and ganglia.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This app to work you will need to add to the cluster config files a custom section for moab and ganglia. This is what that section looks like in our cluster config:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">v2:<o:p></o:p></p>
<p class="MsoNormal"> metadata:<o:p></o:p></p>
<p class="MsoNormal"> title: "Owens"<o:p></o:p></p>
<p class="MsoNormal"> url: "https://www.osc.edu/supercomputing/computing/owens"<o:p></o:p></p>
<p class="MsoNormal"> hidden: false<o:p></o:p></p>
<p class="MsoNormal"> login:<o:p></o:p></p>
<p class="MsoNormal"> host: "owens.osc.edu"<o:p></o:p></p>
<p class="MsoNormal"> job:<o:p></o:p></p>
<p class="MsoNormal"> adapter: "torque"<o:p></o:p></p>
<p class="MsoNormal"> host: "owens-batch.ten.osc.edu"<o:p></o:p></p>
<p class="MsoNormal"> lib: "/opt/torque/lib64"<o:p></o:p></p>
<p class="MsoNormal"> bin: "/opt/torque/bin"<o:p></o:p></p>
<p class="MsoNormal"> version: "6.0.1"<o:p></o:p></p>
<p class="MsoNormal"> custom:<o:p></o:p></p>
<p class="MsoNormal"> moab:<o:p></o:p></p>
<p class="MsoNormal"> host: "owens-batch.ten.osc.edu"<o:p></o:p></p>
<p class="MsoNormal"> bin: "/opt/moab/bin"<o:p></o:p></p>
<p class="MsoNormal"> version: "9.0.1"<o:p></o:p></p>
<p class="MsoNormal"> homedir: "/var/spool/moab"<o:p></o:p></p>
<p class="MsoNormal"> ganglia:<o:p></o:p></p>
<p class="MsoNormal"> host: "ganglia.osc.edu"<o:p></o:p></p>
<p class="MsoNormal"> scheme: "https://"<o:p></o:p></p>
<p class="MsoNormal"> segments:<o:p></o:p></p>
<p class="MsoNormal"> - "graph.php"<o:p></o:p></p>
<p class="MsoNormal"> req_query:<o:p></o:p></p>
<p class="MsoNormal"> c: "Owens"<o:p></o:p></p>
<p class="MsoNormal"> opt_query:<o:p></o:p></p>
<p class="MsoNormal"> h: "%{h}.ten.osc.edu"<o:p></o:p></p>
<p class="MsoNormal"> version: "3"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">No thought has been given to making this app working outside of OSC or with something other than moab and ganglia, which is why it was never advertised as an Open OnDemand app. If you have success running then that will be helpful to know
and we can consider including this as an optional installable app in the stable rpms folder and mention it in the documentation. Note that an updated version of this simple app will be available this week that has a much simpler code base, similar to the tutorial
app <a href="https://osc.github.io/ood-documentation/master/app-development/tutorials-passenger-apps/ps-to-quota.html">
https://osc.github.io/ood-documentation/master/app-development/tutorials-passenger-apps/ps-to-quota.html</a>.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As for getting this and the Ganglia graphs in Active Jobs to work, at OSC we depend on the same ganglia config section in the “custom” section above. That would need to exist and be properly set in order to work. I will say in both cases
I would consider this feature “experimental”. It is reliable enough to work at OSC that we use it in production, but we are just making use of the query param “api” exposed by Ganglia’s graph.php script that generates the graph images, instead of using a supported
API provided by Ganglia or reading the RRD itself.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In regards to file uploads or file selection in an interactive app, we have not tried or demonstrated that yet, so I don’t know. I can look into it and follow up this week on this thread.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Eric<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">---<o:p></o:p></p>
<p class="MsoNormal">Eric Franz, Senior Web & Interface App Engineer<o:p></o:p></p>
<p class="MsoNormal">Ohio Supercomputer Center<o:p></o:p></p>
<p class="MsoNormal">An Ohio Technology Consortium (OH-TECH) Member<o:p></o:p></p>
<p class="MsoNormal">1224 Kinnear Road<o:p></o:p></p>
<p class="MsoNormal">Columbus, OH 43212<o:p></o:p></p>
</div>
<p class="MsoNormal">email: efranz@osc.edu<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">OOD-users <ood-users-bounces@lists.osc.edu> on behalf of Chris Collins <Chris.Collins@hull.ac.uk><br>
<b>Reply-To: </b>User support mailing list for Open OnDemand <ood-users@lists.osc.edu><br>
<b>Date: </b>Monday, July 16, 2018 at 6:38 AM<br>
<b>To: </b>"ood-users@lists.osc.edu" <ood-users@lists.osc.edu><br>
<b>Subject: </b>[OOD-users] OOD - couple of initial setup questions<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I’ve just started playing with OOD in a VM environment, just to get a feel for how it works and how it could benefit our HPC user community. It does look like it could be a really useful tool (great work by those involved!) but I just have
a few questions, the first two regarding differences between my initial setup and what appears on the various video/presentation versions –
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">I can’t seem to find the “System Status” app on the couple of simple installations I’ve done (btw my install is ondemand-1.3.7-1.el7.x86_64, ondemand-release-web-1.3-1.el7.noarch)<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">This may be a simple one, but how do you integrate ganglia rrd graphs into the active job display?
<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo2">Finally, has anyone got any advice/examples of including ‘widgets’ like file uploads or file selection in an interactive app? While the job composer is really great for the majority,
I’d like to make a very simple job submission entry point based on the interactive app setup. Most of it is there, bar the option to select an input file etc.<o:p></o:p></li></ol>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Sorry for the very simple questions or if I’ve missed something obvious here, I have tried going through the documentation<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Many thanks,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Chris<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</body>
</html>