Hi Mehul, You generally add a host to a cluster as part of a fresh installation. If you already have MarkLogic installed as a single-node, and you want that node to become part of a different cluster, then you do need to remove all of those forests. You can shut down the server and delete the data directory to start fresh. Then, when you bring that node up, you will enter the license key, then you will get the Join a Cluster screen. See the installation guide for details.
-Danny -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Shah, Mehul (LNG-NPV) Sent: Wednesday, May 18, 2011 12:48 PM To: General MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] ML 4.2 - how to add host in cluster Thanks Mike... I am puzzled with these statements: "Leaving a cluster is also a way to switch a host from a single host environment to a multi-host environment or vice versa." and " In a single-host environment, a host cannot leave a cluster because it will always have forests assigned to it." ML has following forests created by default during install: App Services Documents Fab Last Login Modules Schemas Security Triggers Do I need to delete them? Thanks, Mehul. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael Blakeley Sent: Wednesday, May 18, 2011 3:08 PM To: General MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] ML 4.2 - how to add host in cluster This might help: http://docs.marklogic.com/4.2doc/docapp.xqy#display.xqy?fname=http://pubs/4.2doc/xml/admin/hosts.xml%2397383 > Leaving the Cluster > > A host has to leave a cluster first to be moved to another cluster. Leaving a > cluster is also a way to switch a host from a single host environment to a > multi-host environment or vice versa. A host cannot leave a cluster if there > are still forests assigned to it. In a single-host environment, a host cannot > leave a cluster because it will always have forests assigned to it. -- Mike On 18 May 2011, at 12:03 , Shah, Mehul (LNG-NPV) wrote: > How do I add host (node) in cluster after I removed it from cluster? > or > If I have existing host (node) as standalone ML install, how do I add it to > cluster without reinstalling ML? > > Thanks. > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
