MapR: Step 2. Update the Configuration Template File

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:

Log on to the appliance as the root user.

Navigate to /opt/rsa/saw/install, enter the following command:

cd /opt/rsa/saw/install

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.

Edit the configuration template file, enter the following command:

vi conf.template-<name>

Parameter

Description

nodes

List 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.

clustername

Name of the cluster. The cluster name is used to identify the Network File System (NFS) share.

disks

Displays 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.