We're Hiring!

Importing 'public' images from OMERO5.server to ImageJ

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Re: Importing 'public' images from OMERO5.server to ImageJ

Postby jmoore » Fri Sep 12, 2014 9:13 am

Looking at your diagram, I'm missing how OMERO is started. I.e. how often is `bin/omero admin start` called and on which hosts. Here's a rough checklist of what I think you would need to get this to simply work:
  • a single OMERO master started with `bin/omero admin start`
  • optionally a second OMERO node started with `bin/omero node start`
  • two Blitz services defined in `etc/grid/default.xml`, both of which stay online as long as they have active sessions
  • a single view of PostgreSQL from the 2 Blitz services (i.e. via ssbd3)
If that's the case, then as soon as a user has a session, it will be "sticky" and continue going to that server. This still won't get you load-balancing, for that you will need some type of switch by which heartbeat can choose which server to send users to.

And with respect to the UUIDs, it shouldn't matter how you have OMERO.web, Apache, nor PostgreSQL load-balanced, though PostgreSQL will always have to be available.

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Previous

Return to Developer Discussion

Who is online

Users browsing this forum: No registered users and 1 guest