[MarkLogic Dev General] Can we run multiple instances of MarkLogic on the same server?

Michael Blakeley michael.blakeley at marklogic.com
Thu Feb 5 09:32:00 PST 2009


Mike,

Multiple instances on a single host are not supported, and I wouldn't 
recommend trying it. There are significant risks to stability and data 
integrity. I believe the overall effect would be increased complexity, 
not simplicity.

Maintaining multiple modules databases is fairly simple, though. You can 
give them different names, and set the app-server configurations 
appropriately: modules-app1, modules-app2, etc. It's very rare that any 
of your XQuery code will actually refer to a modules database by name, 
but you can audit for that.

But you might also be ok with a single modules database, and multiple 
roots. Each application could have its own root, plus a webdav server 
tied to that root, for module updates: app1/, app2/, etc.

I would try to avoid having multiple security databases, as well. If you 
use XQSync to copy content from, say, a windows content database to a 
linux content database, XQSync will transfer any document permissions by 
role name. These role names must exist in the target system's Security 
database.

   http://developer.marklogic.com/svn/xqsync/trunk/README.html

So if your role names do not overlap, then you may be ok with a single 
Security database. If they do overlap, you'll need to introduce some 
sort of domaining into your role names - perhaps "app-name.role-name"? 
That can be done before running XQSync.

thanks,
-- Mike

On 2009-02-05 09:06, Mike Bowers wrote:
> Can we run multiple instances of MarkLogic on the same server?
>
> We are running MarkLogic on Windows and on Linux. We would like to consolidate servers. Rather than creating multiple security and modules databases within the same instance of MarkLogic, we would prefer the simplicity of having multiple instances of MarkLogic run on the same server.
>
>
>
>   NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general



More information about the General mailing list