Set Up and Enable the Witness

You can set up the Witness from the CLI or the GUI. For instructions on how to set up the Witness from the GUI, refer to the GUI Administration Guide.

Set up the Witness to enable automatic switchover between the arrays in the group.
witness --add --user username --password password --host host --port port]

The user name and password should be the same ones created when you installed and configured the Witness.

NOTE: If you do not specify a port niumber, the default value of 5395 is set.
After you have set up and enabled the Witness, you can perform the following Witness actions on the group leader array:
  • Display information about the Witness.
    witness --info
  • Test the Witness connection to ensure the Witness can connect to the arrays in the group.
    witness --test
  • Remove a Witness.
    witness --remove
  • View logged information about the witness process. To view logged information, open the witnessd.log file located at opt/NimbleStorage/witness/var/private/log/witnessd.log
  • IMPORTANT:
    • Verify that the firewalld process running on the Witness allows ingress/egress communication for the slected port number.
    • Verify that any firewalls between the group leader, backup group leader, and the witness allow ingress/egress communication for the the selected port number on all three.