How to do it...

Now you may create a PNDA cluster with the commands:

$ cd cli
$ python pnda-cli.py create -e <cluster_name> -s <key_name> -f standard -o {no-of-tsdb-instances} -n {no-of-hadoop-data-nodes} -k {no-of-kafka-brokers} -z {no-of-zookeeper-nodes}

Replace the names accordingly. For example:

$ python pnda-cli.py create -e pnda -s key -f standard -o 2 -n 3 -k 2 -z 3

Or with just one instance for each:

$ python pnda-cli.py create -e pnda -s key -f standard -o 1 -n 1 -k 1 -z 1

Currently pnda-cli.py and the other Python scripts in PNDA do not support Python 3, as they are written for Python 2. It is recommended to use Python 2.7. This will be verbose during the setup, and produce the elapsed time at the end of execution.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.187.233