MapR: Step 2. Update the Configuration Template File

Document created by RSA Information Design and Development on Mar 21, 2017
Version 1Show Document
  • View in full screen mode
  

This topic provides instructions on how to update the configuration template file in the RSA Analytics Warehouse Appliance. The configuration template file in the RSA Analytics Warehouse appliance must include the following parameters:

  • nodes
  • Internalnetworks
  • clustername
  • disks

By default, a configuration template is provided with the RSA Analytics Warehouse appliance. The configuration template is located on the RSA Analytics Warehouse appliance at /opt/rsa/saw/install.

Prerequisites

Make sure that you have validated the volume in the server to identify available drive space for Warehouse to store data. The total drive space of the additional volume is considered as a single drive by the HDFS. In Warehouse, the AVRO files are stored in this drive space.

Note: The server contains additional volumes of identical size other than the operation system volume.

To identify free volume, enter the command fdisk -l | grep /dev/s |sort in the Warehouse node. You will get a list of disks that are not partitioned for usage. You need to list the identified disks in the configuration template file so that Warehouse utilizes this space for the Hadoop Cluster.

Procedure

To update the configuration template file in the RSA Analytics Warehouse Appliance:

  1. Log on to the appliance as the root user.
  2. Navigate to /opt/rsa/saw/install, enter the following command:

    cd /opt/rsa/saw/install

  3. Create a copy of the configuration template, enter the following command:

    cp conf.template conf.template-<name>

    where <name> is the custom name of the configuration template file.

  4. Edit the configuration template file, enter the following command:

    vi conf.template-<name>

                               
    ParameterDescription
    nodesList the IP addresses of the appliances in the cluster separated by spaces. All the appliances in the cluster must be listed in the same order in every configuration file for every RSA Analytics Warehouse appliance.
    Internalnetworks
    List the network addresses in CIDR format separated by spaces. This Warehouse appliance cluster communication is limited to the provided network addresses.

    Note: RSA recommends that you do not leave this parameter blank.

    clusternameName of the cluster. The cluster name is used to identify the Network File System (NFS) share.
    disksDisplays the list of disks recognized by the operation system, and these disks will be formatted in HDFS for the Warehouse when this configuration script is executed.

    The following figure shows a sample configuration template file:

    config_parameters.png

  5. Execute the configuration template file, enter the following command:

    ./configure.py conf.template-<name>

  6. Restart the appliance, enter the following command:

    reboot

You are here
Table of Contents > Configure RSA Analytics Warehouse (MapR > Step 2. Update the Configuration Template File

Attachments

    Outcomes