Importing or Exporting the Cluster State
You can use the Import State and Export State commands to upload or download a YAML configuration file (a "Stanza") that describes the state of the cluster.
About this task
In the web-based Installer, the Import
State and Export State commands can be useful
if you encounter a failure while using the installer and you want to revert to a
previous cluster state. You can access these commands from the
Support menu at the top of the Installer user interface.
Import State | Opens the Cluster State dialog box, which enables you to reset the cluster to the last known state or to a desired state recorded in a YAML configuration file that you specify. You can use the Import State command at any time. |
Export State | Downloads a YAML file capturing the current state of the cluster. You can use the Export State command at any time. |
For more information about using Installer Stanza files, see Installer Stanzas.
To import the cluster state, follow these steps:
Procedure
-
Using a browser, log in to the Installer:
https://<Installer Node hostname/Ipaddress>:9443
For more information about the Installer, see Installer.
- Click Support > Import State. The Cluster State dialog box appears.
-
Chose one of the following options:
- Click Reset to revert the cluster to the last
known state. (After a successful installation or Incremental Install
using the Installer or Stanzas, the last
known state of the cluster is saved to
/opt/mapr/installer/data/last_known_state.yaml
.) - Click Choose File, select a YAML file, and then click Reset to load the YAML file.
- Click Reset to revert the cluster to the last
known state. (After a successful installation or Incremental Install
using the Installer or Stanzas, the last
known state of the cluster is saved to
What to do next
To export the cluster state, follow these steps:
- Using a browser, log in to the Installer:
https://<Installer Node hostname/Ipaddress>:9443
For more information about the Installer, see Installer.
- Click Support > Export State.
The cluster state is downloaded as
stanza.yaml
.