<div dir="ltr">Hi Josh,<div><br></div><div>What i want to achieve is HA for Omero Server, scalability is good to have but i can do away with that. I currently already configure Patroni for Postgres and i would like to have Omero Server to be HA also.</div><div><br></div><div>Regards,</div><div><br></div><div>Cw</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 28, 2019 at 5:09 AM Josh Moore <<a href="mailto:josh@glencoesoftware.com">josh@glencoesoftware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Mar 27, 2019 at 7:34 AM qingwei wei <<a href="mailto:tchengwee@gmail.com" target="_blank">tchengwee@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
<br>
Hi Cw,<br>
<br>
<br>
> I manage to setup Omero Server and Omero Web and i am currently planning to setup Omero Server cluster. I am currently looking at the following links:<br>
><br>
> <a href="https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/grid.html" rel="noreferrer" target="_blank">https://docs.openmicroscopy.org/omero/5.4.0/sysadmins/grid.html</a><br>
> <a href="https://docs.openmicroscopy.org/omero/5.4.0/developers/Server/Clustering.html" rel="noreferrer" target="_blank">https://docs.openmicroscopy.org/omero/5.4.0/developers/Server/Clustering.html</a><br>
><br>
> 1. Am i right to say that grid is for distributed background processing and blitz is for user session?<br>
<br>
Generally, yes. The "Processor" described in the documentation is for<br>
running OMERO.scripts<br>
(<a href="https://docs.openmicroscopy.org/omero/5.4.10/developers/scripts/index.html" rel="noreferrer" target="_blank">https://docs.openmicroscopy.org/omero/5.4.10/developers/scripts/index.html</a>).<br>
<br>
> 2. For the grid setup, the example on multiple nodes is assigning slave-node for processor node. Can we have both master and slave running as processor node?<br>
<br>
Yes, that's fine. There are two layers here.<br>
<br>
 * Masters and slaves are nodes. The only thing that the master _must_<br>
run is the router:<br>
<a href="https://github.com/openmicroscopy/openmicroscopy/blob/develop/etc/templates/grid/default.xml#L50" rel="noreferrer" target="_blank">https://github.com/openmicroscopy/openmicroscopy/blob/develop/etc/templates/grid/default.xml#L50</a><br>
<br>
 * The OMERO "servers" run inside of those nodes. Processors can be<br>
any. It's best to only have one Blitz server in the master node. It's<br>
a bit out of date, but you might find looking at<br>
<a href="https://github.com/openmicroscopy/omero-grid-docker#running-the-images" rel="noreferrer" target="_blank">https://github.com/openmicroscopy/omero-grid-docker#running-the-images</a><br>
informative for how to launch different servers.<br>
<br>
<br>
> 3. For the blitz setup, am i right to say i just need to follow the grid setup guide but make sure i add the blitz server instance on both master and slave node?<br>
<br>
No. There should be only one blitz service. Unfortunately, the user<br>
session component is not horizontally scalable. If that's what you<br>
want, you might prefer to look at a read-only copy:<br>
<a href="https://docs.openmicroscopy.org/omero/5.4.10/developers/Server/Clustering.html#read-only" rel="noreferrer" target="_blank">https://docs.openmicroscopy.org/omero/5.4.10/developers/Server/Clustering.html#read-only</a><br>
<br>
<br>
> 4. I need to run this config for blitz cluster setup?<br>
><br>
> bin/omero config set omero.cluster.redirector configRedirector<br>
<br>
That's an extension point that's not particularly used. Depending on<br>
what you are trying to achieve,<br>
it might become of value. Can you tell us more about what you would<br>
like to do with OMERO?<br>
<br>
<br>
> Thanks,<br>
> Cw<br>
<br>
~J.<br>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="https://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">https://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</blockquote></div>