Quorum-witness cli commands, Creating a quorum witness, Starting a quorum witness – HP 3PAR Operating System Software User Manual

Page 265

Advertising
background image

nameserver 192.168.1.3

6.

Restart the network service by issuing the following command:

service network restart

7.

Verify IP connectivity to arrays.

Quorum-Witness CLI Commands

Creating a Quorum Witness

To create a quorum witness on a target, follow these steps:

1.

Make sure that the target is sync—that is, that it contains only sync groups and is not in an
SLD configuration. This condition is enforced in the software.

2.

Verify connectivity to the quorum witness by using the check command:

# setrcopytarget witness check <IP of quorum witness>

If no message is returned, the check was successful.

3.

Use the following command to add a quorum witness to a target:

# setrcopytarget witness create <IP of quorum witness> <target_name>

4.

To view the status of a created quorum witness, issue the showrcopy command with the –qw
option, and filter for target information:

# showrcopy -qw targets

Target Information

Name ID Type Status Policy QW-IP Q-Status Q-Status-Qual

RC164IP 7 IP ready mirror_config 15.214.30.198 Initialising Remote QAs not

updating

The quorum witness will have an initial state of Initializing. This state will automatically
transition to Not-Started when the stability of the system has been successfully confirmed.

# showrcopy -qw targets

Target Information

Name ID Type Status Policy QW-IP Q-Status Q-Status-Qual

RC164IP 7 IP ready mirror_config 15.214.30.198 Not-started

5.

To tunnel the create command to the remote target, you can use the -remote option:

# setrcopytarget witness create -remote <IP of quorum witness> <target_name>

For more information about the setrcopytarget and showrcopy commands, see the HP 3PAR
Command Line Interface Reference
.

To access this document, go to the HP 3PAR StoreServ Storage site and click the Support link for
your product:

www.hp.com/go/3par

Starting a Quorum Witness

To start a quorum, follow these steps:

Quorum-Witness CLI Commands 265

Advertising