MapR: Mount the Warehouse on the Warehouse Connector

This topic provides instructions to mount RSA Analytics Warehouse on the Warehouse Connector.

Prerequisites

Make sure that the Network File System packages are on the appliance where you have installed the Warehouse Connector service.

Procedure

Perform the following steps to mount RSA Analytics Warehouse on the appliance where you have installed the Warehouse Connector service to write to RSA Analytics Warehouse:

To create a new directory named /saw, enter the following command:mkdir /saw

Enter the following command: ll /The new directory is displayed.

To mount the Warehouse, enter the following command: mount -t nfs -o nolock,tcp,hard,intr <IP_Address_for_SAW>:/mapr/<cluster-name> /sawWhere <IP_Address_for_SAW> is the IP address of the primary Warehouse appliance in the cluster and <cluster-name> is the name provided in the template file.

Note: If a virtual IP address is configured for the Warehouse, you have to use it as the IP address in <IP_Address_for_SAW>.

To verify if the Warehouse is mounted successfully, enter the following commandmountThe IP address of the primary Warehouse appliance and other details you have provided in step 3 appear in the last line of the output message.

To list the content in the newly created directory, /saw, enter the following command: ll /sawThe following directories are displayed:hbaseindex-scratchjarslogsuservar

To add NFS to the Auto-mount options. Do the following:

To check if the IP address of the primary Warehouse appliance and other details you have provided while mounting Warehouse appears in /etc/fstab, enter the following command: cat /etc/fstabIf the detail does not appear in the /etc/fstab file, perform the following steps.

Enter the following command: tail –n 1 /etc/mtabThe IP address of the primary Warehouse appliance and other details you provided while mounting Warehouse appear in the last line of the output message.

Enter the following command: tail –n 1 /etc/mtab >> /etc/fstab

Edit the /etc/fstab file to add the word ‘auto’ at the end of the file. Enter the following command: vi /etc/fstabFor example, 10.11.111.11:/mapr/saw /saw nfs rw,nolock,tcp,auto,addr=10.11.111.11 0 0