V11 SP8
Loading...

Configuring Cassandra Nodes

After you create a client for the Cassandra cluster, you need to discover, and then configure the Cassandra nodes.

You must create the following items for each Cassandra node:

  • The Cassandra data directory
  • The Java path directory
  • The location of the configuration file (cassandra.yaml)

If you need to replace a dead node in Cassandra cluster, add a placeholder node, and then perform the replacement restore operation.

If you have replaced a dead node and are updating the Cassandra nodes, you only need to configure the new node.

Procedure

  1. From the CommCell Bowser, right-click Client Computers > Client > Distributed Apps.
  2. Right-click the instance, and then click Properties.

    The Instance Properties dialog box appears.

  3. On the Details tab, click Discover.

    The software discovers the Cassandra nodes that are part of the cluster, and then displays the following details:

    • The client name
    • The Cassandra node name
    • The data center that the Cassandra node belongs to
    • The Cassandra node IP address
  4. Configure the nodes.
    Option Steps
    Configure a single node

     

    1. Right-click on the node, and then click Configure.

      Note: If you replaced a dead node, then select the new node.

      The Configure dialog box appears.

      In the Client Name box, select the client.
    2. In the Java Path box, type the full path to the Cassandra gateway node Java installation path, for example, /opt/java/jre1.8.0_91/bin.
    3. In the Cassandra Configuration File Path, type the full path to the location of the configuration file (cassandra.yaml).

      You do not need to enter the file, just the path to the file, for example, /etc/cassandra/conf.

    4. In the Data Directory, type the full path to the location where the data is stored, for example, /var/lib/cassandra/data.

      Note: When you specify the Java path, and the data directory, do not end the path with the "/".

    5. Click OK.
    Configure all nodes
    1. Click Configure All.

      The Configure dialog box appears.

    2. In the Java Path box, type the full path to the Java installation path, for example, /opt/java/jre1.8.0_91/bin.
    3. In the Cassandra Configuration File Path, type the full path to the location of the configuration file (cassandra.yaml).

      You do not need to enter the file, just the path to the file, for example, /etc/cassandra/conf.

    4. In the Data Directory, type the full path to the location where the data is stored, for example, /var/lib/cassandra/data.

      Note: When you specify the Java path, and the data directory, do not end the path with the "/".

    5. Click OK.
    Add a placeholder node A placeholder node is the new node that replaces a dead node in the Cassandra cluster.
    1. Click Add Placeholder Node.

      The Configure dialog box appears.

    2. In the Client Name box, select the client.
    3. In the Java Path box, type the full path to the Java installation path, for example, /opt/java/jre1.8.0_91/bin.
    4. In the Cassandra Configuration File Path, type the full path to the location of the configuration file (cassandra.yaml).

      You do not need to enter the file, just the path to the file, for example, /etc/cassandra/conf.

    5. In the Data Directory, type the full path to the location where the data is stored, for example, /var/lib/cassandra/data.

      Note: When you specify the Java path, and the data directory, do not end the path with the "/".

    6. Click OK.
  5. Click OK.