For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Changing the Command Centre server name

Change the Command Centre server name after installation, including the extra steps Command Centre 9.40 and later need.

Applies to: Command Centre 9.40 and later (the 9.40 steps) · versions before 9.40 (the earlier steps)

This page answers

  • How do you change the server name, IP, or controller IP configuration after Command Centre is installed?

  • Which registry keys and config files hold the server name?

  • What is the limit on the server name length?

🧑‍🔧 Installer note: if you are setting up a new server, it is always highly recommended that you set the final server name and IP address of the server before installing Command Centre.

A site may need to change the Command Centre server's name, its IP configuration, or the controllers' IP configuration after Command Centre has been installed and running. To avoid having to visit each controller and DIP-switch-2 reset them to clear their IP configuration, use the method below instead.


Command Centre version
Follow

9.40 and later

Command Centre 9.40 and later, below

Before 9.40

Changing the server name (server) and (workstations), below


Command Centre 9.40 and later

These steps change the host name of a Command Centre server running Command Centre 9.40 or later. The Message Bus and App Host certificates hold localhost and the server IP addresses present at installation, not a new host name, so extra steps are needed. For what the services are, see App Host and Message Bus.

Before you start

Verify that:

  • All Command Centre services are operating normally.

  • All affected Gallagher services can connect to the Message Bus. To confirm it, run this command in a command prompt and check that no connections are listed in the TIME_WAIT or SYN_SENT states:

  • You know the IP address that is currently associated with the server.

Step 1: Change the Windows host name

Change the Windows server host name using the standard Windows procedure. You do not need to restart the server yet: the remaining configuration changes can be completed before rebooting.

Step 2: Update the Command Centre registry settings

Open Registry Editor (regedit.exe) and go to:

Update existing values. Modify all registry values that reference the old server name so they reference the new server name. These are likely to include:

Set GallagherMessageBusHost. Locate the entry GallagherMessageBusHost and set its value to:

Do not set this value to the new server host name. The Message Bus certificate does not contain the new server host name. It contains localhost and the server IP addresses present when the Message Bus was installed. The Command Centre Server requires the configured host name to exist in the Message Bus certificate and will fail to connect if the new host name is used.

Set AppHostGatewayUrl. Locate or create the registry string value AppHostGatewayUrl and set it to:

For example: https://192.168.1.2:8910

  • The IP address must be the current IP address assigned to the Command Centre server, and it must be present in the App Host TLS certificate.

  • The value must be HTTPS, otherwise connections will not be secure between the workstations and the App Host.

The App Host TLS certificate does not contain the new server host name. It contains localhost and the server IP addresses present when the App Host was installed. localhost cannot be used, because workstations may be running on a different PC to the server, so they need to refer to the server by IP. Using the server IP address ensures the certificate can be validated successfully.

Step 3: Update the Message Bus configuration

Before restarting the server, edit the Message Bus configuration file. Typical locations are:

or

Delete the entire line containing:

This allows the Message Bus to listen on all network interfaces rather than being bound to the previous host name.

Step 4: Update sub-product configuration

Update all references to the old host name in the appsettings JSON files for every installed Command Centre sub-product. Sub-products, such as App Host Service and Diagnostic Service, are typically installed under one of these directories:

or

  1. Open a PowerShell prompt (not a Command Prompt).

  2. Go to the Command Centre sub-product installation directory:

    or

  3. Run the following to list every JSON file that still references the old host name, replacing <OLD-HOSTNAME> with the current PC host name:

  4. Review and update every instance in every file returned, replacing <OLD-HOSTNAME> with localhost.

  5. Re-run the command above and confirm no files are listed.

Step 5: Restart the server

Restart the server to apply the changes. After the restart, verify:

  • All Command Centre services are running.

  • All Gallagher services can connect to the Message Bus. Run the netstat command from "Before you start" and check that no connections are listed in the TIME_WAIT or SYN_SENT states.

Command Centre Client will not work until it has been updated in step 6.

Step 6: Update the client configuration

Complete this step before starting any Command Centre Client or Configuration Client.

Command Centre Client (on server and workstations)

  1. Browse to C:\Program Files (x86)\Gallagher\Command Centre\Client.

  2. Open CommandCentreClient.exe.config.

  3. Locate:

  4. Replace [ServerName] with the new server host name or server IP address, as appropriate for the deployment.

Configuration Client (on server and workstations)

  1. Browse to C:\Program Files (x86)\Gallagher\Command Centre\ConfigClient.

  2. Open CCFT.exe.config.

  3. Locate:

  4. Replace [ServerName] with the new server host name or server IP address, as appropriate for the deployment.

ClickOnce deployments. Where applicable, rebuild and redeploy any ClickOnce applications, including the Visitor Management Kiosk and Command Centre Workstations. Run ClickOnceBuilder.exe from the Command Centre ConfigClientSetup directory, for example:

Check the result

Confirm that:

  • The Windows host name has been updated.

  • The GallagherMessageBusHost registry setting is set to localhost.

  • The AppHostGatewayUrl registry setting is set to https://<SERVER-IP-ADDRESS>:8910 on the Command Centre server.

  • MessageBus.conf does not have a "host" entry.

  • All references to the old host name in sub-product configuration files have been replaced with localhost.

  • All Gallagher services can connect to the Message Bus (the netstat check above).

  • Command Centre Clients and Configuration Clients can connect successfully.


Changing the server name (server)

For Command Centre versions before 9.40. On 9.40 and later, use the section above.

After the server name has been changed but prior to rebooting, update the Command Centre registry settings:

  1. Run Regedit.

  2. Navigate to and click on the relevant key (depends on the installed Command Centre version):

    or

    or

  3. Modify each key that specifically lists the server name. Depending on the version, these may include:

    1. DatabaseServerMachine

    2. EventDatabaseServer

    3. ServerMachine

    4. ServerUrl

    Note: keys 1 and 2 will likely just refer to the local SQL instance on the server itself and will not need changing (typically .\CARDAXFT or .\GALLAGHER).

  4. Reboot the server.


Changing the server name (workstations)

Command Centre Client (server and workstations)

  1. Browse to C:\Program Files (x86)\Gallagher\Command Centre\Client.

  2. Open CommandCentreClient.exe.config in a text editor.

  3. Find this section:

  4. Change [ServerName] to the new server's identity (or IP address).

Configuration Client (server and workstations)

  1. Browse to C:\Program Files (x86)\Gallagher\Command Centre\ConfigClient.

  2. Open CCFT.exe.config in a text editor.

  3. Find this section:

  4. Change [ServerName] to the new server's identity (or IP address).

Re-run the Click Once Builder and redeploy the Visitor Management Kiosk and workstations.


If running 7.80 or earlier

  • Update the registry on all remote Command Centre workstations.

  • If running Premier / Command Centre Client and a HOST name was specified for the connection, update the CommandCentreClient.exe.config file.

  • You may also need to run the ClientSetup ClickOnceBuilder.exe to update the server's details.


⚠️ The server name cannot exceed 15 characters. See Microsoft's naming conventions for computers, domains, sites, and OUs for more information.


🔗 Related

Last updated

Was this helpful?