Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Configuration Server Promote

Sriram Nambakam edited this page Dec 11, 2017 · 4 revisions

Note: before running promotion, make sure your server has a valid FQDN for a hostname. That is "hostname -f" should return "machine.domain.name" while "hostname" should return just "machine".

# hostname
photon-server
# hostname -f
photon-server.yourdomain.com

If this isn't working try adding a similar line to your /etc/hosts file:

203.0.113.1   photon-server.yourdomain.com photon-server

Ensure that you can ping localhost successfully from within the server host. This might require an entry for "127.0.0.1 localhost" in /etc/hosts.

First Node:

If this is the first machine you want to bring up in your domain.

/opt/vmware/bin/configure-lightwave-server --domain yourdomain.com --password <password>

The value used for the password must contain at least one capital letter and one numeral, otherwise the operation will fail.

The above command line assumes that the hostname you want to use for the name of the DC is the valued returned by the machine by "hostname -f". If this returns a short name, then the operation will fail. (legacy method: /opt/vmware/bin/ic-promote --domain yourdomain.com --password )

Additional Node (Replica)

This will promote an additional domain controller, which will replicate from its partner "node1"

/opt/vmware/bin/configure-lightwave-server --domain yourdomain.com --password <password> --server node1

(legacy method: /opt/vmware/bin/ic-promote --domain yourdomain.com --password <password> --partner node1)

Clone this wiki locally