We're Hiring!

Configuring the Managed Repository

Having a problem deploying OMERO? Please ask 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

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Configuring the Managed Repository

Postby sbesson » Thu Aug 11, 2016 12:56 pm

Hi Julia,

In the command you pasted below, you did not pass the configuration key (omero.fs.repo.path) as a first argument to the `config set` command. Can you check the content of your current OMERO.server configuration using

Code: Select all
bin/omero config get --hide-password



Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: Configuring the Managed Repository

Postby Lipplab » Thu Aug 11, 2016 1:52 pm

Dear Sebastien,

here is the configuration.

Code: Select all
ome-www:5.2.5 benjaminS$ omero config get --hide-password
omero.data.dir=/Volumes/Drobo_Ex02/OMERO_DATA_PIC/
omero.db.name=omeroDB
omero.db.pass=********
omero.db.user=omeroDBuser
omero.web.application_server=development
omero.web.debug=True

Maybe it didn't work correctly
thanks julia
Lipplab
 
Posts: 54
Joined: Thu Sep 12, 2013 9:56 am

Re: Configuring the Managed Repository

Postby sbesson » Thu Aug 11, 2016 2:38 pm

Hi Julia,

indeed, it looks like the command did not work as you expect. Can you run:
Code: Select all
bin/omero config set omero.fs.repo.path 'omero_data_pic_extent/%user%_%userID%//%year%-%month%/%day%/%time%'


and check the server configuration again before trying a file import?

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: Configuring the Managed Repository

Postby Lipplab » Thu Aug 11, 2016 3:40 pm

Dear Sebastien ,

now I think the fs.path looks ok
Code: Select all
ome-www:5.2.5 benjaminS$ omero config get --hide-password
omero.data.dir=/Volumes/Drobo_Ex02/OMERO_DATA_PIC/
omero.db.name=omeroDB
omero.db.pass=********
omero.db.user=omeroDBuser
omero.fs.repo.path=omero_data_pic_extent/%user%_%userID%//%year%-%month%/%day%/%time%
omero.web.application_server=development
omero.web.debug=True

but I can't upload a tif anymore.
The tail of the Blitz-0.log looks like:
Code: Select all
8ed6cd8omero.api.ThumbnailStore(omero.api._ThumbnailStoreTie@b4391e00)
2016-08-11 17:29:49,876 INFO  [                      omero.cmd.SessionI] (l.Server-4) Unregistered servant:99d35368-8360-4982-baeb-151eb44007f4/51d420c3-4dd6-4725-be12-08ebdc5e3cfbomero.api.MetadataStore(omero.api._MetadataStoreTie@b4bef293)
2016-08-11 17:30:00,012 INFO  [ ome.services.blitz.fire.SessionManagerI] (2-thread-1) Performing requestHeartbeats
2016-08-11 17:30:13,016 INFO  [            ome.services.blitz.fire.Ring] (2-thread-4) Checking cluster
2016-08-11 17:30:13,019 INFO  [        ome.services.blitz.fire.Registry] (2-thread-4) Found 1 cluster node(s) : [ClusterNode/370fc444-4454-4220-83f8-2300d4f8bca4 -t -e 1.1:tcp -h 134.96.155.200 -p 51161]
2016-08-11 17:30:13,019 INFO  [            ome.services.blitz.fire.Ring] (2-thread-4) Got 1 cluster uuids : [370fc444-4454-4220-83f8-2300d4f8bca4]
2016-08-11 17:30:13,019 INFO  [        ome.services.util.ServiceHandler] (2-thread-4)  Executor.doWork -- ome.services.blitz.fire.Ring.getManagerList[]
2016-08-11 17:30:13,019 INFO  [        ome.services.util.ServiceHandler] (2-thread-4)  Args:   [null, InternalSF@1061524640]
2016-08-11 17:30:13,021 INFO  [         ome.security.basic.EventHandler] (2-thread-4)  Auth:   user=0,group=0,event=null(Internal),sess=370fc444-4454-4220-83f8-2300d4f8bca4
2016-08-11 17:30:13,094 INFO  [                 org.perf4j.TimingLogger] (2-thread-4) start[1470929413019] time[74] tag[omero.call.success.ome.services.blitz.fire.Ring$2.doWork]
2016-08-11 17:30:13,094 INFO  [        ome.services.util.ServiceHandler] (2-thread-4)  Rslt:   (370fc444-4454-4220-83f8-2300d4f8bca4)
2016-08-11 17:33:00,016 INFO  [ ome.services.blitz.fire.SessionManagerI] (2-thread-2) Performing requestHeartbeats
2016-08-11 17:34:17,247 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Meth:   interface ome.api.IMetadata.loadAnnotations
2016-08-11 17:34:17,248 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Args:   [class ome.model.containers.Dataset, (11668), (), (), PARAMS]
2016-08-11 17:34:17,258 INFO  [         ome.security.basic.EventHandler] (l.Server-0)  Auth:   user=368,group=3,event=null(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:17,268 INFO  [                 org.perf4j.TimingLogger] (l.Server-0) start[1470929657248] time[19] tag[omero.call.success.ome.logic.MetadataImpl.loadAnnotations]
2016-08-11 17:34:17,268 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Rslt:   {11668=()}
2016-08-11 17:34:19,058 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Meth:   interface ome.api.IRepositoryInfo.getFreeSpaceInKilobytes
2016-08-11 17:34:19,058 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Args:   ()
2016-08-11 17:34:19,059 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Meth:   interface ome.api.IContainer.loadContainerHierarchy
2016-08-11 17:34:19,059 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Args:   [class ome.model.containers.Project, (), PARAMS:O[O]]
2016-08-11 17:34:19,068 INFO  [         ome.security.basic.EventHandler] (l.Server-0)  Auth:   user=368,group=3,event=null(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:19,078 INFO  [         ome.security.basic.EventHandler] (l.Server-5)  Auth:   user=368,group=3,event=1082568(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:19,082 INFO  [            ome.logic.RepositoryInfoImpl] (l.Server-5) Total kilobytes free: 6776143536
2016-08-11 17:34:19,085 INFO  [                 org.perf4j.TimingLogger] (l.Server-5) start[1470929659058] time[26] tag[omero.call.success.ome.logic.RepositoryInfoImpl.getFreeSpaceInKilobytes]
2016-08-11 17:34:19,085 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Rslt:   6776143536
2016-08-11 17:34:19,438 INFO  [                 org.perf4j.TimingLogger] (l.Server-0) start[1470929659060] time[378] tag[omero.call.success.ome.logic.PojosImpl.loadContainerHierarchy]
2016-08-11 17:34:19,438 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Rslt:   (ome.model.containers.Project:Id_1901, ome.model.containers.Project:Id_2251, ome.model.containers.Project:Id_152, ... 142 more)
2016-08-11 17:34:40,633 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Meth:   interface ome.api.IQuery.find
2016-08-11 17:34:40,633 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Args:   [class ome.model.containers.Dataset, 11668]
2016-08-11 17:34:40,636 INFO  [         ome.security.basic.EventHandler] (l.Server-5)  Auth:   user=368,group=3,event=null(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:40,638 INFO  [                 org.perf4j.TimingLogger] (l.Server-5) start[1470929680633] time[5] tag[omero.call.success.ome.logic.QueryImpl.find]
2016-08-11 17:34:40,638 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Rslt:   ome.model.containers.Dataset:Id_11668
2016-08-11 17:34:40,668 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Meth:   interface ome.api.IAdmin.getEventContext
2016-08-11 17:34:40,668 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Args:   ()
2016-08-11 17:34:40,670 INFO  [         ome.security.basic.EventHandler] (l.Server-5)  Auth:   user=368,group=3,event=null(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:40,671 INFO  [        ome.services.util.ServiceHandler] (3-thread-4)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.reload[99d35368-8360-4982-baeb-151eb44007f4]
2016-08-11 17:34:40,671 INFO  [        ome.services.util.ServiceHandler] (3-thread-4)  Args:   [null, InternalSF@1061524640]
2016-08-11 17:34:40,673 INFO  [         ome.security.basic.EventHandler] (3-thread-4)  Auth:   user=0,group=0,event=null(Sessions),sess=370fc444-4454-4220-83f8-2300d4f8bca4
2016-08-11 17:34:40,683 INFO  [                 org.perf4j.TimingLogger] (3-thread-4) start[1470929680671] time[11] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$6.doWork]
2016-08-11 17:34:40,683 INFO  [        ome.services.util.ServiceHandler] (3-thread-4)  Rslt:   (ome.model.meta.Experimenter:Id_368, ome.model.meta.ExperimenterGroup:Id_3, (3, 0, 1, ... 3 more), ... 4 more)
2016-08-11 17:34:40,683 INFO  [                 org.perf4j.TimingLogger] (l.Server-5) start[1470929680669] time[14] tag[omero.call.success.ome.logic.AdminImpl.getEventContext]
2016-08-11 17:34:40,683 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Rslt:   ome.system.SimpleEventContext@1ceec4b6
2016-08-11 17:34:40,688 INFO  [                      omero.cmd.SessionI] (.Server-10) Added servant to adapter: 99d35368-8360-4982-baeb-151eb44007f4/88c80878-9cfd-40e9-9fdf-073f7d560b86omero.api.RawFileStore(omero.api._RawFileStoreTie@aa3a0120)
2016-08-11 17:34:40,690 INFO  [                      omero.cmd.SessionI] (l.Server-5) Added servant to adapter: 99d35368-8360-4982-baeb-151eb44007f4/6e99f314-9cbd-4522-aaa1-036b594a51b8omero.api.RawPixelsStore(omero.api._RawPixelsStoreTie@845fb17e)
2016-08-11 17:34:40,692 INFO  [                      omero.cmd.SessionI] (l.Server-0) Added servant to adapter: 99d35368-8360-4982-baeb-151eb44007f4/9af2cb45-b5bf-4cd5-9b7f-d473c2359723omero.api.ThumbnailStore(omero.api._ThumbnailStoreTie@77694c37)
2016-08-11 17:34:40,698 INFO  [                      omero.cmd.SessionI] (.Server-10) Added servant to adapter: 99d35368-8360-4982-baeb-151eb44007f4/51d420c3-4dd6-4725-be12-08ebdc5e3cfbomero.api.MetadataStore(omero.api._MetadataStoreTie@45b72bf9)
2016-08-11 17:34:40,703 INFO  [        ome.services.util.ServiceHandler] (.Server-10)  Executor.doWork -- ome.services.blitz.impl.SharedResourcesI.acquireRepositories[]
2016-08-11 17:34:40,703 INFO  [        ome.services.util.ServiceHandler] (.Server-10)  Args:   [null, InternalSF@1061524640]
2016-08-11 17:34:40,704 INFO  [         ome.security.basic.EventHandler] (.Server-10)  Auth:   user=368,group=3,event=null(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:40,710 INFO  [                 org.perf4j.TimingLogger] (.Server-10) start[1470929680703] time[7] tag[omero.call.success.ome.services.blitz.impl.SharedResourcesI$1.doWork]
2016-08-11 17:34:40,710 INFO  [        ome.services.util.ServiceHandler] (.Server-10)  Rslt:   (ome.model.core.OriginalFile:Id_51201, ome.model.core.OriginalFile:Id_13, ome.model.core.OriginalFile:Id_12, ... 1 more)
2016-08-11 17:34:40,712 INFO  [        ome.services.blitz.fire.Registry] (.Server-10) Found 3 repo(s) : [InternalRepository-ScriptRepo -t -e 1.1:tcp -h 134.96.155.200 -p 51161, InternalRepository-9e67df8e-0e10-4b3c-af0d-7c105f2a7c27 -t -e 1.1:tcp -h 134.96.155.200 -p 51161, InternalRepository-eeb134e0-4c26-445b-96cc-ee70299f0dc9 -t -e 1.1:tcp -h 134.96.155.200 -p 51161]
2016-08-11 17:34:40,730 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Executor.doWork -- ome.services.blitz.repo.RepositoryDaoImpl.getEventContext[]
2016-08-11 17:34:40,730 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Args:   [null, InternalSF@1061524640]
2016-08-11 17:34:40,731 INFO  [         ome.security.basic.EventHandler] (l.Server-0)  Auth:   user=368,group=3,event=null(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:40,732 INFO  [                 org.perf4j.TimingLogger] (l.Server-0) start[1470929680730] time[2] tag[omero.call.success.ome.services.blitz.repo.RepositoryDaoImpl$20.doWork]
2016-08-11 17:34:40,732 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Rslt:   ome.system.SimpleEventContext@53b5455
2016-08-11 17:34:40,735 INFO  [        ome.services.util.ServiceHandler] (.Server-10)  Meth:   interface ome.api.StatefulServiceInterface.close
2016-08-11 17:34:40,735 INFO  [        ome.services.util.ServiceHandler] (.Server-10)  Args:   ()
2016-08-11 17:34:40,743 INFO  [         ome.security.basic.EventHandler] (.Server-10)  Auth:   user=368,group=3,event=1082569(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:40,745 INFO  [                 org.perf4j.TimingLogger] (.Server-10) start[1470929680735] time[9] tag[omero.call.success.ome.services.RawFileBean.close]
2016-08-11 17:34:40,745 INFO  [        ome.services.util.ServiceHandler] (.Server-10)  Rslt:   null
2016-08-11 17:34:40,745 INFO  [        ome.services.util.ServiceHandler] (.Server-10) Cleanup: ome.services.RawFileBean@7a1d9b21
2016-08-11 17:34:40,745 INFO  [                      omero.cmd.SessionI] (.Server-10) Unregistered servant:99d35368-8360-4982-baeb-151eb44007f4/88c80878-9cfd-40e9-9fdf-073f7d560b86omero.api.RawFileStore(omero.api._RawFileStoreTie@aa3a0120)
2016-08-11 17:34:40,748 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Meth:   interface ome.api.StatefulServiceInterface.close
2016-08-11 17:34:40,748 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Args:   ()
2016-08-11 17:34:40,755 INFO  [         ome.security.basic.EventHandler] (l.Server-5)  Auth:   user=368,group=3,event=1082570(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:40,756 INFO  [                 org.perf4j.TimingLogger] (l.Server-5) start[1470929680748] time[7] tag[omero.call.success.ome.services.RawPixelsBean.close]
2016-08-11 17:34:40,756 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Rslt:   null
2016-08-11 17:34:40,756 INFO  [        ome.services.util.ServiceHandler] (l.Server-5) Cleanup: ome.services.RawPixelsBean@1d3b73e8
2016-08-11 17:34:40,756 INFO  [                      omero.cmd.SessionI] (l.Server-5) Unregistered servant:99d35368-8360-4982-baeb-151eb44007f4/6e99f314-9cbd-4522-aaa1-036b594a51b8omero.api.RawPixelsStore(omero.api._RawPixelsStoreTie@845fb17e)
2016-08-11 17:34:40,758 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Meth:   interface ome.api.StatefulServiceInterface.close
2016-08-11 17:34:40,759 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Args:   ()
2016-08-11 17:34:40,760 INFO  [         ome.security.basic.EventHandler] (l.Server-0)  Auth:   user=368,group=3,event=null(User),sess=99d35368-8360-4982-baeb-151eb44007f4
2016-08-11 17:34:40,761 INFO  [                 org.perf4j.TimingLogger] (l.Server-0) start[1470929680759] time[1] tag[omero.call.success.ome.services.ThumbnailBean.close]
2016-08-11 17:34:40,761 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Rslt:   null
2016-08-11 17:34:40,761 INFO  [        ome.services.util.ServiceHandler] (l.Server-0) Cleanup: ome.services.ThumbnailBean@65962034
2016-08-11 17:34:40,761 INFO  [                      omero.cmd.SessionI] (l.Server-0) Unregistered servant:99d35368-8360-4982-baeb-151eb44007f4/9af2cb45-b5bf-4cd5-9b7f-d473c2359723omero.api.ThumbnailStore(omero.api._ThumbnailStoreTie@77694c37)
2016-08-11 17:34:40,762 INFO  [                      omero.cmd.SessionI] (.Server-10) Unregistered servant:99d35368-8360-4982-baeb-151eb44007f4/51d420c3-4dd6-4725-be12-08ebdc5e3cfbomero.api.MetadataStore(omero.api._MetadataStoreTie@45b72bf9)
Lipplab
 
Posts: 54
Joined: Thu Sep 12, 2013 9:56 am

Re: Configuring the Managed Repository

Postby cblackburn » Fri Aug 12, 2016 9:48 am

Hi Julia,

First of all I have split a few posts of from the previous thread to make the topic clearer.

I'm sorry for the ongoing problems. In this case there is a small, but crucial, typo in the config you used which we failed to spot. The 'd'' of 'UserId' needs to be in lowercase. Could you please try again with the following command:

Code: Select all
bin/omero config set omero.fs.repo.path 'omero_data_pic_extent/%user%_%userId%//%year%-%month%/%day%/%time%'


Cheers,

Colin
cblackburn
 
Posts: 85
Joined: Mon May 25, 2009 9:03 pm

Re: Configuring the Managed Repository

Postby Lipplab » Fri Aug 12, 2016 1:05 pm

Dear Colin,

I'm sorry. I didn't recognized the mistake.

The porblem is now that the data are stored in a new created folder on the Drobo_Ex02 instead of the new Destination Drobo16TB.

I'm sorry for making so much trouble.


Thanks Julia
Attachments
Bildschirmfoto-2016-08-12-um-14.53.23.jpg
Bildschirmfoto-2016-08-12-um-14.53.23.jpg (34.26 KiB) Viewed 5895 times
Lipplab
 
Posts: 54
Joined: Thu Sep 12, 2013 9:56 am

Re: Configuring the Managed Repository

Postby mtbc » Wed Aug 17, 2016 8:30 am

Dear Julia,

I'm a little confused by your previous ln -s command which looks backward to me. If the managed repository is on Drobo_Ex_02 but you want new files to upload to Drobo16TB then presumably there should be a link from omero_data_pic_extent on Drobo_Ex02 to Drobo16TB? Does that make sense, or am I misapprehending your thinking? Could you do a `ls -l` with the absolute pathname of omero_data_pic_extent and show us that full command and output so we can see exactly which symlink is set up from where?

I should mention that I'm not familiar with the graphical finder thing you showed: if omero_data_pic_extent were a symlink over to Drobo16TB then it would show something different I assume? Perhaps I'm not understanding the situation and intended solution.

Cheers,

Mark
User avatar
mtbc
Team Member
 
Posts: 282
Joined: Tue Oct 23, 2012 10:59 am
Location: Dundee, Scotland

Re: Configuring the Managed Repository

Postby Lipplab » Tue Aug 30, 2016 11:03 am

Dear Mark,

I'm sorry for my really late response.
I think you're right. T thought in the opposite direction.
I removed the symolic link. And I set a new link.

Code: Select all
drwxr-xr-x+ 5 root       staff  170  9 Dez  2014 Backups.backupdb
drwxr-xr-x  4 benjaminS  staff  136 12 Aug 09:39 omero_data_pic_extent
ome-www:Drobo16TB benjaminS$ cd omero_data_pic_extent
ome-www:omero_data_pic_extent benjaminS$ ls -l
total 32
lrwxr-xr-x  1 benjaminS  staff  20 12 Aug 09:39 Drobo_Ex02 -> /Volumes/Drobo_Ex02/
ome-www:omero_data_pic_extent benjaminS$ unlink Drobo_Ex02
ome-www:omero_data_pic_extent benjaminS$ ls -l
ome-www:omero_data_pic_extent benjaminS$ ln -s /Volumes/Drobo16TB/omero_data_pic_extent/ /Volumes/Drobo_Ex02
ome-www:omero_data_pic_extent benjaminS$ ls -l
ome-www:omero_data_pic_extent benjaminS$ cd /Volumes/Drobo_Ex02
ome-www:Drobo_Ex02 benjaminS$ ls -l
total 32
drwxr-xr-x  11 benjaminS  staff  374  1 Mär 16:10 OMERO_DATA_PIC
lrwxr-xr-x   1 benjaminS  staff   41 30 Aug 11:36 omero_data_pic_extent -> /Volumes/Drobo16TB/omero_data_pic_extent/
ome-www:Drobo_Ex02 benjaminS$ cd ..
ome-www:OMERO_DATA_PIC benjaminS$ ls -l
total 32
drwxr-xr-x     4 benjaminS  staff    136 25 Jun  2014 BioFormatsCache
drwxr-xr-x     2 benjaminS  staff     68  9 Nov  2013 DropBox
drwxr-xr-x   905 benjaminS  staff  30770 10 Aug 16:12 Files
drwxr-xr-x   196 benjaminS  staff   6664 22 Mai  2014 FullText
drwxr-xr-x    14 benjaminS  staff    476 12 Aug 14:52 ManagedRepository
drwxr-xr-x@ 1043 benjaminS  staff  35462  4 Aug 12:25 Pixels
drwxr-xr-x  1053 benjaminS  staff  35802  2 Aug 14:35 Thumbnails
lrwxr-xr-x     1 benjaminS  staff     41 30 Aug 11:50 omero_data_pic_extent -> /Volumes/Drobo16TB/omero_data_pic_extent


I think I should change the omero.fs.repo.path back to the previous defalt mode.
I've compared the config.xml file before and after the update of omero. So in principle I should replace the config.xml file.

I wanted to ask, because i don't want to mess it up.
Thanks a lot
Julia
Code: Select all
ome-www:OMERO_DATA_PIC benjaminS$ omero config get --hide-password
omero.data.dir=/Volumes/Drobo_Ex02/OMERO_DATA_PIC/
omero.db.name=omeroDB
omero.db.pass=********
omero.db.user=omeroDBuser
omero.fs.repo.path=omero_data_pic_extent/%user%_%userId%//%year%-%month%/%day%/%time%
omero.web.application_server=development
omero.web.debug=True
Lipplab
 
Posts: 54
Joined: Thu Sep 12, 2013 9:56 am

Re: Configuring the Managed Repository

Postby mtbc » Wed Aug 31, 2016 9:38 am

Dear Julia,

No problem, I'm sure you have plenty of other things keeping you busy!

Your proposed configuration does look good to me. Nonetheless, data is precious: you may well want to carefully watch what happens with a simple import before and after the change to see where the files are and that everything ends up as you want. You can also play around with the "bin/omero fs" command-line tool: appending "-h" tells you help, and options like "repos" and "ls" might help you decide if from the client side all now looks good. If you see anything puzzling or disturbing in that testing, go ahead and let us know and we'll try to help.

Cheers, and good luck,

Mark
User avatar
mtbc
Team Member
 
Posts: 282
Joined: Tue Oct 23, 2012 10:59 am
Location: Dundee, Scotland

Re: Configuring the Managed Repository

Postby Lipplab » Fri Dec 09, 2016 2:35 pm

Dear Mark,

I've tried it sereral things.

At the moment I had to transfer tha data to Drobo16TB. So the data are stored on Drobo16TB.

The new data shoud be stored on the second Drobo_Ex01.

I've created a sym link with:

Code: Select all
cd /Volumes/Drobo16TB/OMERO_DATA_PIC/ManagedRepository/Drobo_Ex01
ln -s /Volumes/Drobo_Ex01/ /Volumes/Drobo16TB/OMERO_DATA_PIC/ManagedRepository/
ome-www:ManagedRepository benjaminS$ ls -ltr
total 32
drwxr-xr-x   5 benjaminS  staff  170 19 Mai  2014 benjaminS_13
drwxr-xr-x   3 benjaminS  staff  102  7 Jul  2014 larsK_4
drwxr-xr-x   5 benjaminS  staff  170  1 Mai  2015 xinH_10
drwxr-xr-x   3 benjaminS  staff  102 21 Dez  2015 christinaT_502
drwxr-xr-x   5 benjaminS  staff  170 25 Feb  2016 uliW_454
drwxr-xr-x  17 benjaminS  staff  578  1 Aug 13:54 qinghaiT_20
drwxr-xr-x  19 benjaminS  staff  646  4 Aug 10:18 peterL_5
drwxr-xr-x   4 benjaminS  staff  136 26 Okt 11:47 elisabethK_307
drwxr-xr-x   9 benjaminS  staff  306  8 Dez 14:34 juliaS_368
lrwxr-xr-x   1 benjaminS  staff   20  8 Dez 15:46 Drobo_Ex01 -> /Volumes/Drobo_Ex01/


I'm quite sure the link is created correctly, because I could create a test file test.txt with the command touch on the Drobo_Ex01.

I've changed the omero fs. repo. path.
Code: Select all
ome-www:bin benjaminS$ omero config get --hide-password
omero.data.dir=/Volumes/Drobo16TB/OMERO_DATA_PIC/
omero.db.name=omeroDB
omero.db.pass=********
omero.db.user=omeroDBuser
omero.fs.repo.path=Drobo_Ex01//%user%_%userId%//%year%-%month%/%day%/%time%
omero.web.application_server=development
omero.web.debug=True
ome-www:bin benjaminS$


The problem is that new files are still uploaded to the ManagedRepository on the Drobo16TB.
And a new folder " Volume" within the ManagedRepository is created.
I've tried to change the omero fs. repo. path with // or ./ and added more path definitions like
Code: Select all
ome-www:bin benjaminS$ omero config get --hide-password
omero.data.dir=/Volumes/Drobo16TB/OMERO_DATA_PIC/
omero.db.name=omeroDB
omero.db.pass=********
omero.db.user=omeroDBuser
omero.fs.repo.path=//Volumes//Drobo16TB//OMERO_DATA_PIC//ManagedRepository//Drobo_Ex01//%user%_%userId%//%year%-%month%/%day%/%time%
omero.web.application_server=development
omero.web.debug=True


But the files are still uploaded to the Drobo16TB.
I've no clue, what should I try next.
I assume there are some missing path information for the omero ManagedRepository.
In principle I want to extent the storage volumes to more than one harddrive (infinite number of Drobo-raid-systems, in my case. Ok my mac doesn't have infinite ports).

Many thanks
Julia
Attachments
Bildschirmfoto-2016-12-09-um-11.29.02.jpg
https://www.openmicroscopy.org/community/download/file.php?mode=view&id=464&sid=cd56f15dd14b6585192dee671cdad522
Bildschirmfoto-2016-12-09-um-11.29.02.jpg (11.8 KiB) Viewed 5160 times
Bildschirmfoto-2016-12-09-um-11.29.16.jpg
https://www.openmicroscopy.org/community/download/file.php?mode=view&id=463&sid=cd56f15dd14b6585192dee671cdad522
Bildschirmfoto-2016-12-09-um-11.29.16.jpg (21.48 KiB) Viewed 5160 times
Lipplab
 
Posts: 54
Joined: Thu Sep 12, 2013 9:56 am

Next

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest