Validating a Cluster Configuration File
After creating the cluster configuration file, you can use the pgedge cluster json-validate
command to verify that your file is structured properly. The syntax is:
./pgedge cluster json-validate cluster_name
For example, the following command validates the .json file that creates a cluster named demo
.
./pgedge cluster json-validate demo
JSON defines a 3 node cluster
Note: The validate command checks only the structure of the .json file; it does not validate the values you provide.