Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

9.4. Changing Cluster Ports

As Figure 10, “Server, Agent, and Metrics Storage Node Communication” illustrates, the metrics storage node cluster relies on shared information to be able to identify and communicate with cluster nodes. The JBoss ON server uses those configured ports to communicate with the storage nodes and to manage the agent-storage configuration.
The cluster configuration requires that all members are communicating to the server on the same port (the client port) and to each other on the same port (the gossip port).
The port configuration must be changed in two places: in the JBoss ON configuration (which is used by servers and agents) and in each individual node.
  1. Change the port settings used by the server.
    1. Click the Administration tab in the top navigation bar.
    2. In the Topology area on the left, select the Storage Nodes item.
    3. Open the Cluster Settings tab.
    4. Edit the port numbers.
      • The CQL Port sets the client port that the JBoss ON server uses to communicate with all storage nodes to send metrics data.
      • The Gossip Port sets the port that nodes use to contact each other to replicate metrics data.
    5. Click Save at the bottom of the page.
  2. Change the port settings for each node.
    1. On the Nodes tab of the storage administration area, click Link to Resource. This opens the node's resource page.
    2. Open the Configuration tab for the storage node.
    3. Edit the port numbers.
      • The CQL Port sets the client port that the JBoss ON server uses to communicate with all storage nodes to send metrics data.
      • The Gossip Port sets the port that nodes use to contact each other to replicate metrics data.
    4. Click Save at the bottom of the page.
  3. Restart each node.
  4. If the client (CQL) port was changed, then also restart each JBoss ON server.