installer clusterupgrade

Upgrade a cluster.

Syntax

CLI
/opt/mapr/bin/maprcli installer clusterupgrade -h
usage: cluster_upgrade.py [-h] [-j CLUSTER_JSON] [-f CLUSTER_JSON_FILE]
                          [-y CLUSTER_YAML_FILE]

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 upgrade.

-f | --cluster_json_file

Optional path to a JSON file defining the cluster to upgrade. Specify either a JSON file or a YAML file.

-y | --cluster_yaml_file

Optional path to a YAML file defining the cluster to upgrade. Specify either a JSON file or a YAML file.

Example

Upgrade a cluster:

CLI
/opt/mapr/bin/maprcli installer clusterupgrade -j '{"cluster_name":"","core_version":"","ssh_username":"","ssh_password":""}' -json