Hi Josh,
thanks a lot for your reply.
That terminology is not used, but "Backup and Restore is what we use ourselves. This includes migrating the configuration from one installation to the next. Alternatively, we try to use some form of virtualization (docker, virtualbox, openstack) when we know more cloning is necessary.
Virtualization is not really "feasible" here since I need to prepare/rehearse for 2 upgrade tasks:
- migrate the existing productive system onto new hardware
- upgrade to the most recent OMERO version
Therefore, I wanted to first "backup and restore" the existing setup onto the new hardware, get it running there (as a test, non-productive), then rehearse the OMERO upgrade. If everything is fine, then repeat the procedure but this time
real.
OMERO uses a number of ports for finding the various services that are run. If you attempted to start 2 OMERO instances on the same machine, I would expect an error in at least one of them saying that a particular port (like 4063, 4064, or 4061) could not be bound.
Here, we have 2 instances on 2 distinct pieces of hardware. However, when OMERO on the the 2nd hardware (the new server) was started, certain features (image import) did not work correctly and we found from the logs that OMERO no. 2 apparently tries to communicate with OMERO no. 1 although we never ever told it to do so.
Now we are blocking those communication attempts by firewall rules on OMERO no. 1: do not allow any connections from OMERO no. 2. Nevertheless, OMERO no. 2 still tries when importing a new image (which fails!):
Blitz0.log:
2016-06-09 18:08:37,638 INFO [ ome.services.blitz.fire.Registry] (erver-1317) Found
3 repo(s) : [InternalRepository-ScriptRepo -t -e 1.1:tcp -h
131.152.26.240 -p 56624, InternalRepository-7ac6874a-d7b7-4237-888f-8ecef88ddb74 -t -e 1.1:tcp -h
10.1.0.172 -p 52072:tcp -h
131.152.25.172 -p 52072, InternalRepository-f49e4e5d-9854-4ab7-b547-2ca9df884cf6 -t -e 1.1:tcp -h
10.1.0.172 -p 52072:tcp -h
131.152.25.172 -p 52072]
It should find only
1 repo at
131.152.26.240 and nothing else?!? All other IP's (
10.1.0.172 +
131.152.25.172)are from OMERO no 1.
OMERO Config (which does not mention any other repo!):
- Code: Select all
Ice.Default.Host=131.152.26.240
Ice.IPv6=0
omero.data.dir=/export/omero/OMERO
omero.db.gist=localhost
omero.db.name=omerodb_dev
omero.db.pass=************************************
omero.db.poolsize=80
omero.db.user=omerouser
omero.jvmcfg.max_system_memory=96000
omero.jvmcfg.percent.blitz=30
omero.jvmcfg.percent.indexer=10
omero.jvmcfg.percent.pixeldata=30
omero.jvmcfg.percent.repository=10
omero.jvmcfg.strategy=percent
omero.jvmcfg.system_memory=96000
omero.ldap.base=SOME_LDAP_BASE
omero.ldap.config=true
omero.ldap.password=****************************
omero.ldap.urls=ldap://SOME_LDAP:3268
omero.ldap.user_mapping=omeName=sAMAccountName,firstName=givenName,lastName=sn,email=mail
omero.ldap.username=SOME_NAME
omero.mail.config=true
omero.mail.from=OMERONEW at IMCF <nikolaus.ehrenfeuchter@unibas.ch>
omero.pixeldata.threads=4
omero.sessions.timeout=600000
omero.upgrades.url=
omero.web.admins=[["Rainer Poehlmann", "rainer.poehlmann@unibas.ch"], ["Niko Ehrenfeuchter", "nikolaus.ehrenfeuchter@unibas.ch"]]
omero.web.application_server=fastcgi-tcp
omero.web.apps=["figure", "autotag", "tagsearch"]
omero.web.email_host=smtp.unibas.ch
omero.web.email_subject_prefix=OMERONEW@Biozentrum Notification
omero.web.server_email=omeronew-biozentrum@unibas.ch
omero.web.server_list=[["omeronew.biozentrum.unibas.ch", 4064, "OMERONEW@BZ"]]
omero.web.ui.center_plugins=[["Auto Tag", "autotag/auto_tag_init.js.html", "auto_tag_panel"]]
omero.web.ui.top_links=[["Data", "webindex", {"title": "Browse Data via Projects, Tags etc"}], ["History", "history", {"title": "History"}], ["Help", "http://help.openmicroscopy.org/", {"target": "new", "title": "Open OMERO user guide in a new tab"}], ["Tag Search", "tagsearch"], ["Figure", "figure_index", {"target": "figure", "title": "Open Figure in new tab"}]]
omero.web.webstart_host=omeronew.biozentrum.unibas.ch
Where could this other repo come from? From the database? (I of course dumped/restores the DB from OMERO no. 1 to no. 2). Puzzled!!!
The Ice.Default.Host property can be used to pick a single interface. If unset, all interfaces are used.
Great: I tried it and it worked (see above config list)!
Cheers,
-Rainer