# Multiple OOD nodes on a single cluster

**URL:** <https://discourse.openondemand.org/t/multiple-ood-nodes-on-a-single-cluster/2148>\
**Category:** Get Help\
**Tags:** question\
**Created:** [June 30, 2022, 9:05am UTC](https://discourse.openondemand.org/t/multiple-ood-nodes-on-a-single-cluster/2148 "2022-06-30T09:05:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lost](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/lost/32/862_2.png) [@lost](https://discourse.openondemand.org/u/lost)\
**Post date:** [June 30, 2022, 9:05am UTC](https://discourse.openondemand.org/t/multiple-ood-nodes-on-a-single-cluster/2148/1 "2022-06-30T09:05:32Z")

</div>

Hi. We’re currently running OOD on a single login node. What are the implications of running it on multiple login nodes? E.g. if they’re behind a load balancer a user could end up hitting a different node when revisiting the load balanced URL. What does that mean in terms of them accessing already-running interactive sessions etc? I guess basically I’m asking does OOD store any state on the OOD server or is it all in the user’s $HOME?

many thanks (for help, and for OOD in general!)

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [June 30, 2022, 2:38pm UTC](https://discourse.openondemand.org/t/multiple-ood-nodes-on-a-single-cluster/2148/2 "2022-06-30T14:38:46Z")

</div>

Hi and thanks for the question.

The only way to get this to work is with sticky sessions. The information is in fact in the user’s $HOME directory so they would need to connect to the same login node to access running interactive sessions.

We don’t have any official docs on this, but there have been previous posts on Discourse about this that may help, this link might have what you are looking for to get going:

> [@Putting an entire OOD setup behind a web proxy?](https://discourse.openondemand.org/t/putting-an-entire-ood-setup-behind-a-web-proxy/519/4):
>
> Chris - it sounds like you are set with Nginx. We have just started testing with Proxy/ReverseProxy for Apache. For Apache 2.4 you need to add some proxy rules for web sockets. There are some useful tips here [https://www.happyassassin.net/2018/11/23/reverse-proxying-websockets-with-apache-a-generic-approach-that-works-even-with-firefox/](https://www.happyassassin.net/2018/11/23/reverse-proxying-websockets-with-apache-a-generic-approach-that-works-even-with-firefox/) . We follow this recipe and have updated our mod\_proxy configuration from Before ProxyPreserveHost On RewriteEngine on ProxyPass "/" "htt…

If not please post any questions you have as we are happy to help and interested in knowing how others have done this for their site for the community.

---

<div class="post-metadata">

**Author:** ![lost](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/lost/32/862_2.png) [@lost](https://discourse.openondemand.org/u/lost)\
**Post date:** [July 7, 2022, 2:49pm UTC](https://discourse.openondemand.org/t/multiple-ood-nodes-on-a-single-cluster/2148/3 "2022-07-07T14:49:15Z")

</div>

Thanks for the reply. Does this suggest that in fact the normal way is just to have a single OOD node (i.e. because generally this has been enough to support sufficient users)? I guess I was assuming it got run on every login node, but maybe that was a bad assumption?

---

<div class="post-metadata">

**Author:** ![alanc](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/alanc/32/2524_2.png) [@alanc](https://discourse.openondemand.org/u/alanc)\
**Post date:** [July 7, 2022, 5:53pm UTC](https://discourse.openondemand.org/t/multiple-ood-nodes-on-a-single-cluster/2148/4 "2022-07-07T17:53:39Z")

</div>

Yes, most sites have a single OOD node. Here are OSC we have it on a modestly sized VM and we have 6,000+ active clients with hundreds accessing it at the same time during certain periods.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [January 3, 2023, 5:54pm UTC](https://discourse.openondemand.org/t/multiple-ood-nodes-on-a-single-cluster/2148/5 "2023-01-03T17:54:12Z")

</div>

Closed on January 3, 2023, 5:54pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
