# GBDI4.1

### Prerequisites and Preliminary Steps

#### RAID Setup

SonarW deployments should use disks with RAID-0 or RAID-10 setup. RAID-5 and RAID-6 typically do not provide sufficient performance and are therefore not supported. While RAID-0 provides good write performance, it also provides limited durability (particularly when using Amazon’s EBS volumes).

### Note

A minimum of 10TB is recommended for a typical SonarW setup. SonarW data is typically stored in /var/lib/sonarw; GBDI data is typically stored in /var/lib/sonargd. It is recommended that you mount your RAID drives and, when prompted during the install process, select the appropriate mount point.

#### Prerequisites

1. Edit the file:

/etc/security/limits.conf

sonarw soft nofile 55536
sonarw hard nofile 55536

### Note

The above configuration changes can be made via the following command:

sudo sed -i '\$ i\
sonarw soft nofile 55536\
sonarw hard nofile 55536
' /etc/security/limits.conf

#### Information Required for Setup

The GBDI setup process will prompt for several configuration inputs (regarding folder locations, passwords, etc.) as described below. It is recommended to gather this information prior to setup.

• Target location for the data folder (to be used by the data warehouse). This needs to be a full path to a local/mounted folder with enough disk space to contain the system data, e.g. /mnt/raid0. The setup script will prompt for the sonarw path, e.g. /mnt/raid0/sonarw.

• Target location for the data files folder (to be used by the system). This needs to be a full path to a local/mounted folder with enough disk space to contain the data imported from collectors, e.g. /mnt/raid0. The setup script will prompt for the path for sonargd, e.g. /mnt/raid0/sonargd.

• Target location for the reports folder, will be used for storing report files generated by the system. The setup script will prompt for the path to “reports”. Using this example the data path will be /mnt/raid0/reports.

• The setup script will prompt for several disk sort locations; by default these will be located under the “data” directory. The default locations can remain unchanged, or you can provide alternate locations. The two locations requested are “BSON sort directory” and “external sorting directory”.

• Password for the “sonargd” user – This is a Linux user that will be used for DM transfer into the system.

• Password for the "sonarg_user" – This is a standard end user.

• “From” email address – An address to be used in the “from” field of the system’s outgoing emails.

• SMTP information: SMTP IP address/domain name, port, user-name and password, whether the SMTP is using ssl (this information is required for system notifications).

• Answer "no" to the prompt regarding cloud storage.

• is_master port – The port used by the dynamic DNS service to determine whether the node is up on an HADR. Set to "-1" to disable this feature.

#### Required Ports

The following ports are required for GBDI operation:

• 8080 (http SonarFinder)

• 8443 (https SonarFinder)

• 22 (scp and ssh)