Pre-requisites Audit

This document includes a script to conduct an audit to assure that all the pre-requisites are met for the successful deployment of DNIF. The following checks can be performed using the script.

  1. Hardware prerequisites check.
    • Provisioned RAM
    • Provisioned CPU
    • Provisioned Disk (Root and DNIF partition)
  2. NTP synchronization
    • Localtime
    • UniversalTime
  3. Network Interface check
  4. Connectivity check between Core, Datanode and Adapter
  5. Hostname resolution between Core, Datanode and Adapter
  6. Inter component open port check
  7. Connectivity check to domains: github.com, google.com, raw.github.com, hub.docker.com,hog.dnif.it.

How to use this script

  1. Unzip the DNIF-Prerequisites-Check.sh file
  2. Execute the following command
      $ bash DNIF-Prerequisite-Check.sh
    1. The following inputs should be provided in the script.
      • Customer name
      • Component name
      • Core Server IP
      • Core Server Hostname
      • Number of Datanode
      • Datanode IP
      • Datanode Hostname
      • Number of Adapter
      • Adapter IP
      • Adapter Hostname
      • DNIF Team Proposed RAM in GB
      • DNIF Team Proposed Root partition size in GB
      • DNIF Team Proposed DNIF partition size in GB
      • DNIF Team Proposed CPU (vcpu)

    Output

    The output of this script will show you the status of hardware and network prerequisites as passed or failed. The script will create an additional file using the name specified within "Customer Name" and "Component Name". For example: "Netmonastery_Core_hardwarecheck.txt

    Review the checks marked as failed and resolve the same with the help of your System or Network Administrators. Once all the checks are marked as passed you can consider pre-requisites to be ready and initiate the Deployment process.