I have a cluster that created in the AWS and set up with one host Manually . we are trying to add multiple host in the same cluster. I choose REST Admin API Management(/admin/v1/cluster-config https://docs.marklogic.com/REST/POST/admin/v1/cluster-config) to add the host. I configured the steps accordingly and run the script with out any error(from terminal i verified).the host was added in to the cluster and when i verified the status in the admin page, it was showing as
host status -- A detailed view of this host's status.
This host is down. The following error occured while trying to contact
it:
XDMP-HOSTOFFLINE: Host is offline or not responding
Host marklogic-node2-abcd.org
Online Disconnected
In addition to that my node was not active and completely Disconnected(From UI we cannot be able to see default.xqy page with admin:8001 port).Hence we restarted the node and removed the Config (data volume).
After rebooting the node2, I can see the node2 in the cluster and when i try to access the node2 with host name , it is responding back with http://marklogic-node2-abcd.org:8001/initialize-admin.xqy
This server must now self-install the initial databases and
application servers. Click OK to continue.
Couple of questions i would like to Know :
How to Debug the Script and where can i find the failure details ?
Secondly if my default database or application services were not configured do i need to Delete the host from the cluster and reconfigure ?
how can i write more logs to find out the errors and make my life easy?