Create PNDA build components

Introduction

In addition to projects like Hadoop and Kafka, PNDA also includes a variety of components that provide an operations console, application deployment and more. Build these components before provisioning PNDA.

Create build node

Select build node

Designate or create the PNDA build node. This could be the same machine that was used to build the mirror file sets.

Two types of build node are supported -

  • Red Hat Enterprise Linux 7
  • Ubuntu 14.04

Obtain build tools

The repository pnda contains all the tools needed to build PNDA.

Clone this repository to the build node.

Configure the proxy. (Optional)

The entire PNDA build process can be performed from behind a non-transparent proxy.

To proceeding in this mode, first set the system configuration and then run the set-proxy-env.sh script that will set up the various proxy configurations needed by the multiple build tools.

sudo su
export http_proxy=http://<proxy_host>:<proxy_port>
export https_proxy=http://<proxy_host>:<proxy_port>
. set-proxy-env.sh

Preparing the build environment

The tools are found in the build folder.

The script install-build-tools.sh installs all the necessarily build prerequisites.

Run it with superuser privileges in the location that you wish to install your build tools.

For example

sudo su
cd /home/builder
./install-build-tools.sh

As well as installing all the required software, it may pause and ask the operator to carry out some configuration on the build environment, for example adjusting the contents of /etc/hosts.

The script generates a file called set-pnda-env.sh containing the necessary environment settings needed to carry out builds. Ensure this is invoked before each build

For example

. /home/builder/set-pnda-env.sh

Your environment is now ready to build PNDA.

Building PNDA

The script build-pnda.sh is invoked as a non-privileged user.

For example

cd pnda
./build-pnda.sh RELEASE release/3.5

It is also possible to perform more complex builds including building to a specific bill-of-materials. Please refer to the repository notes.

Build Products

All build products are assembled in the directory pnda-dist.

Next

Home Prepare Mirror Build Stage Configure Create

results matching ""

    No results matching ""