DCAP Central 4.1

Prerequisites and Preliminary Steps

DCAP Central Upgrade

Consult your DCAP Central representative to receive the upgrade procedure that matches your current installation.

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; DCAP Central 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.

For more information about RAID setup, consult your Linux system administrator.

Prerequisites

  1. Edit the file:

    /etc/security/limits.conf
  2. Add the lines:

    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 DCAP Central 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 “admin” user – The main administrator of the system.

  • Password for the “secAdmin” user – This is the users’ administrator.

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

  • System main contact (email address for system notification).

  • “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.

  • System Public IP address.

Required Ports

The following ports are required for DCAP Central operation:

  • 8080 (http SonarFinder)

  • 8443 (https SonarFinder)

  • 22 (scp and ssh)

  • 3030 (HADR alive service).

To access sonard from another machine, open port 27117 (SonarW). Port 27117 is required for HADR.

If your Linux system has a firewall installed make sure to open the ports described above.

For the Dispatcher to send emails, a connection to an SMTP server is required. An outgoing port should be opened (e.g. 587). To allow Dispatcher to copy files to a remote source, enable outbound SCP over port 22.

The following diagram shows the required port access. Black arrows indicate a mandatory connection for the system to work and orange arrows indicate optional connections. The arrows begin at the system initiating the connection:

UUID-d11eacce-9232-e6c0-c3c8-45eaadf5ff4d.png