Skip to main content

Step 4: Defining the URL for the cluster

By default, the Compose service generates the URL when it starts, according to the host name of the machine on which Compose is installed.

In a cluster environment, this is not good practice because the URL will change each time the cluster is rolled over. To resolve this issue, you need to set the cluster name as the Compose URL.

  1. In the left pane of the Failover Cluster Manager, select Nodes.

    The right pane of the Console displays a list of cluster nodes.

  2. Select a node to see the cluster name. This is the name you want to set (for example: Cluster_Network_1).
  3. Information note

    The cluster name must be registered in DNS, before you can set it.

  4. Run the following command from the primary node:

    <PRODUCT_DIR>\bin>ComposeCtl.exe -d <COMPOSE_SERVER_DATA_FOLDER> configuration set --address <CLUSTER_NAME>

    Example:

    ComposeCtl.exe -d "F:\Compose-server-data" configuration set --address QlikCluster

    The host configuration will be updated.

  1. Restart the Compose service for the changes to take effect.
  2. To make sure Compose is now using the correct URL, check F:\Compose-server-data\logs\compose.txt or use the <COMPOSE_DATA_FOLDER>\service.url shortcut to check the cluster name in the service Properties.
  3. Try to open Compose from a remote browser using <COMPOSE_DATA_FOLDER>\service.url.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!