installer checkforupdate
Check if a software update is available for a cluster.
Syntax
- CLI
-
# maprcli installer checkforupdate -h usage: cluster_check_updates.py [-h] [-j CLUSTER_JSON] [-f CLUSTER_JSON_FILE] [-y CLUSTER_YAML_FILE] Check if a s/w update is available for the cluster options: -h, --help show this help message and exit -j CLUSTER_JSON, --cluster_json CLUSTER_JSON URL Encoded JSON string describing cluster's name, type, credentials, and specific to target provider -f CLUSTER_JSON_FILE, --cluster_json_file CLUSTER_JSON_FILE Path to JSON file describing cluster's name, type, credentials, and specific to target provider -y CLUSTER_YAML_FILE, --cluster_yaml_file CLUSTER_YAML_FILE Path to YAML file describing cluster's name, type, credentials, and specific to target provider
Parameters
Parameter |
Description |
---|---|
-j | --cluster_json | Optional URL encoded JSON string defining the cluster to check for available software updates. |
-f | --cluster_json_file |
Optional path to a JSON file defining the cluster to check for available software updates. Specify either a JSON file or a YAML file. |
-y | --cluster_yaml_file |
Optional path to a YAML file defining the cluster to check for available software updates. Specify either a JSON file or a YAML file. |
Example
Check the cluster for updates:
- CLI
-
/opt/mapr/bin/maprcli installer checkforupdate -j '{"cluster_name":""}' -json