qrmutil

qrmutil is a command line utility that allows you to back up, restore, and reconfigure the quorum device. qrmutil is located in $SYBASE/$SYBASE_ASE/bin.

Syntax

--additional-run-parameters=parameter_list
--ase-config-extract=file_name
--ase-config-info
--ase-config-store=file_name
--ase-config-version=version_number
--buildquorum=[force]--cluster-take-over
--config-file=file_name
--diag={all | boot | toc | nodes | locks | config | cms}
--display={boot | nodes | heartbeat | master | cluster |
                instance | config | state}
--drop-cluster=[force]
--drop-instance=instance_name
--errorlog=file_name
--extract-config=file_name
-h, --help
-F, --cluster-input=file_name
--fence-capable=device_path
--installation=installation_mode
-s, --instance=instance_name
--instance-node=node_name
--interfaces-dir=path_to_interfaces_file
--max-instances=number_of_instances
--master-dev=master_device
--membership-mode=membership_mode
--primary-address=interconnect_address
--primary-port=port_number
--primary-protocol=protocol
-Q, --quorum-dev=quorum_device
--register-node=node_name
--secondary-address=interconnect_address
--secondary-port=port_number
--secondary-protocol=protocol
--traceflags=traceflag_list
--unregister-node=node_name
--verify-node=node_name
-v, --version]

Parameters

Examples

Example 1 This example changes the path to the error log to /sybase/opt/cluster/ASE-15_0/ase1.log:

qrmutil --quorum_dev=/dev/raw/raw101 --instance=ase1 
--errorlog=/sybase/cluster/ASE-15_0/ASE-15_0/ase1.log

Example 2 This example registers the node “blade5” for mycluster:

qrmutil --quorum_dev=/dev/raw/raw101 --register-node=blade5

Example 3 This example creates a new quorum device for the cluster “mycluster”:

qrmutil --quorum-dev=/dev/raw/raw101 --cluster-input=/sybase/cluster/ase1.inp -buildquorum

Example 4 This example backs up the quorum device to /sybase/cluster_bak/quorum.bak:

qrmutil --quorum-dev=/dev/raw/raw101 
--extract-config=/sybase/cluster_bak/quorum.bak

Example 5 This example restores the quorum device from the backup created in /sybase/cluster_bak/quorum.bak:

qrmutil --quorum-dev=/dev/raw/raw101 --cluster-input=/sybase/cluster_bak/quorum.bak --buildquorum=force

Example 6 This example displays the cluster configuration stored on the quorum device:

qrmutil --quorum-dev=/dev/raw/raw101 --display=config

Example 7 This example tests whether the named device can be fenced:

qrmutil --quorum-dev=/dev/raw/raw101 --fence-capable=/dev/raw/raw106

Usage