[OOD-users] OOD - couple of initial setup questions

Franz, Eric efranz at osc.edu
Mon Jul 16 12:26:22 EDT 2018


Chris,

The system status app that we currently use at OSC has its rpm at https://yum.osc.edu/ondemand/latest/web/el7/x86_64/ondemand-systemstatus-1.4.0-1.el7.x86_64.rpm and the GitHub repo is currently at https://github.com/AweSim-OSC/osc-systemstatus (we haven’t moved it yet to the OSC org but will be doing so soon). This app depends on both moab and ganglia.

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:

v2:
  metadata:
    title: "Owens"
    url: "https://www.osc.edu/supercomputing/computing/owens"
    hidden: false
  login:
    host: "owens.osc.edu"
  job:
    adapter: "torque"
    host: "owens-batch.ten.osc.edu"
    lib: "/opt/torque/lib64"
    bin: "/opt/torque/bin"
    version: "6.0.1"
  custom:
    moab:
      host: "owens-batch.ten.osc.edu"
      bin: "/opt/moab/bin"
      version: "9.0.1"
      homedir: "/var/spool/moab"
    ganglia:
      host: "ganglia.osc.edu"
      scheme: "https://"
      segments:
        - "graph.php"
      req_query:
        c: "Owens"
      opt_query:
        h: "%{h}.ten.osc.edu"
      version: "3"

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 https://osc.github.io/ood-documentation/master/app-development/tutorials-passenger-apps/ps-to-quota.html.

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.

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.

Thanks,
Eric

---
Eric Franz, Senior Web & Interface App Engineer
Ohio Supercomputer Center
An Ohio Technology Consortium (OH-TECH) Member
1224 Kinnear Road
Columbus, OH 43212
email: efranz at osc.edu

From: OOD-users <ood-users-bounces at lists.osc.edu> on behalf of Chris Collins <Chris.Collins at hull.ac.uk>
Reply-To: User support mailing list for Open OnDemand <ood-users at lists.osc.edu>
Date: Monday, July 16, 2018 at 6:38 AM
To: "ood-users at lists.osc.edu" <ood-users at lists.osc.edu>
Subject: [OOD-users] OOD - couple of initial setup questions

Hi All,

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 –


  1.  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)
  2.  This may be a simple one, but how do you integrate ganglia rrd graphs into the active job display?
  3.  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.

Sorry for the very simple questions or if I’ve missed something obvious here, I have tried going through the documentation

Many thanks,

Chris


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/ood-users/attachments/20180716/f8941c46/attachment.html>


More information about the OOD-users mailing list