I’m coming from a more academic setting than research/HPC, but I’m still interested in this project. I maintain a cluster of 32 identical nodes that uses a weighted round robin to distribute students to various nodes – no scheduler, no exclusive access. Process clean up is handled by automated scripts. I would like to use OOD as a web portal to: access files and ephemeral shell (both of these work great with very little effort). I would also like to offer through OOD long lasting tmux and vnc/IDE sessions that students can re-attach to easily. I’m first working on trying vnc sessions. The linuxhost adapter seems to be the best fit, but I’m having some issues. I created a simple xfce desktop app. The session creates fine, and I can see the tmux session running Xvnc server on the node, but the “My Interactive Sessions” immediate shows the session as “Completed” instead of active so there is no “Launch” button. “Active jobs” shows the job as running, but “Time Used” is 44000+. I verified that the session itself is running without errors, and I can even connect to the websocket with noVNC after I do one additional step. I looked through the source code to figure out the Launch URL: /pun/sys/dashboard/noVNC-1.1.0/vnc.html?.. this launches noVNC set to connect to the reverse proxy websocket. For me, noVNC times out until I manually load the reverse proxy URL (/rnode///websockify) in my browser which of course gives a method not allowed error. However after that noVNC connects through just fine.
Is anyone using OOD as a teaching tool instead of a HPC tool? Maybe I’m missing it, but I’m not seeing support for connecting interactive shell sessions? Any suggestions for doing a “simple” tmux interactive session?
I’m just using a single node to simplify debugging. OOD server is CentOS 7, and cluster nodes are CentOS 8.
#clusters.d/birch.yml --- v2: metadata: title: "birch" login: host: birch.local job: adapter: "linux_host" submit_host: "birch.local" ssh_hosts: - birch.local site_timeout: 7200 debug: true singularity_bin: /usr/bin/singularity singularity_bindpath: /run,/etc,/home,/web,/opt,/usr,/var singularity_image: /home/shared/ood/centos8.simg strict_host_checking: false tmux_bin: /usr/bin/tmux batch_connect: basic: script_wrapper: | module purge %s vnc: script_wrapper: | module purge export PATH="/opt/TurboVNC/bin:$PATH" export WEBSOCKIFY_CMD="/opt/websockify/run" %s
#apps/bc_desktop/birch.yml --- title: "Graphical Desktop" cluster: "birch" form: - desktop - bc_num_hours attributes: bc_num_hours: value: 8 desktop: "xfce"