[MOBY-l] Multiple Centrals on Same server

Rajasekar Karthik karthik085 at gmail.com
Mon Feb 12 03:35:51 UTC 2007


Mark,

You are right. I will just setup multiple central on different machine.
After I am more comfortable with MOBY, I will try it.

On 2/11/07, Mark Wilkinson <markw at illuminae.com> wrote:
>
> As far as I know, nobody has ever tried this, so you are breaking new
> ground (and as someone new to MOBY, that might not be the easiest thing to
> do :-) )
>
> But the answer to your question is that you can only run one instance of
> MOBY Central per instance of the Apache server.  You can run multiple
> instances of Apache, each with their own config file, where each config
> file points to a different mobycentral.config file.  On the client side
> (in Perl, I don't know about Java) you can create an instance of
> MOBY::Client::Central that connects to two different MOBY Centrals by name
> (you create the name when you assign the URL during creation of the
> object), and you have to specify the name of the MOBY Central you are
> addressing when you make your MOBY Central call using the "Registry =>
> "somename"" parameter.
>
> Some MOBY::Client::Central calls don't allow you to address more than one
> registry.  In particular, ones that involve registration of new objects,
> service types, or namespaces.  That's because the ontologies are assumed
> to be canonical, and can only exist in one place -
> mobycentral.icapture.ubc.ca - if you create your own registry and chose to
> run your own ontologies there is NO guarantee that you will continue to be
> interoperable with any other services in the world.
>
> Having said that, for other calls (like findService and registerService)
> you should be able to run as many registries as you wish.
>
> ... caveat emptor... I don't think anyone has EVER tried to do this, so
> the code might not work...
>
> M
>
>
>
>
>
> On Sun, 11 Feb 2007 19:20:56 -0800, Rajasekar Karthik
> <karthik085 at gmail.com> wrote:
>
> > Hi,
> >
> > Is it possible to setup multiple local centrals on a same server? With
> > the
> > databases, there can be multiple ones created. All the executables like
> > MOBY-Central.PL, OntologyServer.cgi....can be moved into two directories
> > of
> > webserver cgi-bin folder. But, what about httpd.conf configuration file
> > in
> > apache? How do I modify that?
> >
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>



-- 
Best Regards,
Rajasekar Karthik
karthik085 at gmail.com



More information about the moby-l mailing list