qrmutil

(Cluster Edition only) qrmutil allows you to back up, restore, and reconfigure the quorum device.

The utility 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

Usage

  • qrmutil is primarily a diagnostic utility. We recommend that you use sybcluster to make configuration changes to the cluster.

  • You may pass as many as 20 commands to qrmutil. However, you can specify the --instance= parameter only once.

  • If you specify --buildquorum, the quorum is built and qrmutil exits without running any commands other than --cluster-input.

  • qrmutil exits after it executes the --drop-cluster parameter.

  • This is an example of using multiple commands:
    qrmutil --quorum-dev=/dev/raw/raw101 --display=cluster 
    --register-node=blade1 --unregister-node=blade2 --verify-node=blade3

Permissions

To run qrmutil, you must be the same sybase user that started the instance, with execute priveledges on the qrmutil binary, have direct access to the quorum device, and at least read permissions on the quorum file.

Related concepts
Utility Commands Reference