Solutions

Stay on top of everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

Learn

Stay on top of everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

Community

Stay on top of everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

Company

Stay on top of everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up

 
Knowledgebase:
Renaming hosts in ML cluster
22 November 2016 01:23 PM

Introduction

Using MarkLogic Server's Admin UI, it is possible to modify the name of a single host via Admin UI -> Configure -> Hosts -> 'Select Host in question' and update the name and click ok.

However, if you would want to change/update the hostnames across cluster, we recommend that you follow the below steps:

1) Renaming hosts in a cluster

  • Add the new hostnames to the DNS or /etc/hosts on all hosts.
  • Make sure all new hostnames can be resolved from the nodes in the cluster.
  • Rename all host-names in Admin-UI or using Admin-API function admin:host-set-name() to the new names.
    • Note: changing the hostname will require a restart.
  • Host/cluster should come up if the DNS entries have been set up correctly.
  • Remove old host names.

2) Once the hostnames are updated, we recommend you verify the items below that may be affected by hostname changes:

  • Application Servers
  • PKI Certificates
  • Database replication
  • Flexible replication
  • Application code

(0 vote(s))
Helpful
Not helpful

Comments (0)