Hi Vikas,

You don’t need to specify multiple hosts. MLCP will read out the list of hosts 
of the cluster automatically through the connect host, and will distribute the 
load among them. It is essential though that host names as listed inside 
MarkLogic work as identification on the network too..

Cheers,
Geert

From: 
<general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>
 on behalf of "vikas.sin...@cognizant.com<mailto:vikas.sin...@cognizant.com>" 
<vikas.sin...@cognizant.com<mailto:vikas.sin...@cognizant.com>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Wednesday, January 31, 2018 at 8:12 PM
To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>" 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] mlcp for multiple host

Hi All,

I am customizing mlcp bean to run content pump through java code. I am able to 
set host name where I have single host .In cluster environment ,  I changed my 
code to set host as comma separated list  but getting illegal Argument 
exception . Do we have any other way to connect mlcp for multiple host.

Regards,
Vikas Singh
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to