qrmutil

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
--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
-s, --instance=instance_name
--instance_node=node_name
--interfaces_dir=path_to_interfaces_file
--max_instances=number_of_instances
--master_dev=master_device
--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