To add a Hedvig Storage Cluster Node in batch mode, you set the HV_ROOTPASS
environment variable, and then add the node using the /opt/hedvig/bin/hv_deploy
command.
Procedure
-
Start a
tmux
session.tmux
-
Since the Ansible configuration file is not read when cluster nodes are added, set the HV_ROOTPASS environment variable.
export HV_ROOTPASS=<root_password>
-
Run the following command to add one or more cluster nodes.
Important
Options for the
/opt/hedvig/bin/hv_deploy
command take two dashes (--)./opt/hedvig/bin/hv_deploy --cluster_name <cluster_name> --add_nodes <storage_cluster_node_FQDN> [<storage_cluster_node FQDN> ...]