To deploy a Hedvig Storage Cluster in batch mode, set the root password and then start the deployment.
Procedure
-
Start a
tmux
session.tmux
-
Set the root password using one of the following methods:
-
In the Ansible configuration file:
ssh_password=’<password>’)
-
Using an exported environment variable:
export HV_ROOTPASS=’<password>’
-
-
Start the deployment.
Important
Options for the
/opt/hedvig/bin/hv_deploy
command take two dashes (--)./opt/hedvig/bin/hv_deploy –-deploy_new_cluster <path_to_Ansible_configuration_file>
For example:
/opt/hedvig/bin/hv_deploy –-deploy_new_cluster /home/admin/cluster1.ansi
Important
If you must repeat the previous command, due to an error, run:
/opt/hedvig/bin/hv_deploy --delete_specific_cluster <cluster_name>
Note
The <cluster_name> is the exact name of the cluster in the Ansible configuration file.
Results
Depending on available resources, the deployment process might take 30-60 minutes.
What to Do Next
When the deployment process is complete, access the cluster in either the Hedvig WebUI or the Hedvig CLI, as described in Bringing Up Clusters in the WebUI or CLI.