Configure PNDA creation process
The PNDA creation process is controlled primarily via a YAML configuration file.
A template YAML configuration can be found in the Heat templates repository.
Designate client machine
Create or designate a suitable machine for running the PNDA CLI. We recommend CentOS 7.
Clone the Heat templates repository repository from the master branch at a specific release tag (e.g.
release/3.5) to the client machine.
pnda_env_example.yaml to create
Set access credentials
Set the following fields. The values can be obtained by referring to the Keystone authentication details obtained in the preparation phase.
|keystone_user||User for creating PNDA|
|keystone_password||Password for user|
|keystone_tenant||Tenant for creating PNDA|
|keystone_auth_version||2 or 3|
pnda_apps_container to the Application container configured during the preparation phase.
pnda_apps_folder to the Application folder configured during the preparation phase.
pnda_archive_container to the Dataset archive container configured during the preparation phase.
Decide whether you want to run the Cloudera CDH or the Hortonworks HDP Hadoop distribution.
hadoop_distro to either
Set source of SaltStack provisioning scripts
The PNDA software is installed and configured using the SaltStack code found in the platform-salt repository. This must be supplied via a URI to a git repository.
platform_git_repo_uri to the required git URI at the specified branch during provisioning.
If authenticated access to
platform_git_repo_uri is required then place the private SSH key to use, named
deploy, in the top level of the pnda-heat-templates repository.
Note that by default the master branch of the specified git repository is used in provisioning. See below for other fields that can be used to control this behaviour.
PndaMirror to the URI determined by the placement of the mirror and build components in the staging phase.
There are a wide range of parameters that can be set, please refer to
pnda_env_example.yaml in the Heat templates repository for more details.