Create PNDA cluster
With the target platform fully prepared, the PNDA software staged and the YAML configuration completed, the final step is to invoke the PNDA CLI to create the cluster.
Install CLI dependencies
On the client machine, install the pip packages required by the CLI. Navigate to the folder containing the pnda-cli repository, then run the following commands:
cd cli sudo pip install -r requirements.txt
An example CLI invocation -
pnda-cli.py -e pnda -s mykey -f production -m 'existing-machines/production.json' create
Note the -m flag for existing-machines installation.
Note also that CLI parameter -s refer to the key configured in the previous phase. For example, if the keypair in AWS is 'pnda' then the local private key file should be named 'pnda.pem' and you should pass '-s pnda' to the CLI.
This phase of the installation typically takes around 45 minutes to an hour to complete.