(Cluster Edition only) qrmutil allows you to back up, restore, and reconfigure the quorum device.
The utility is located in $SYBASE/$SYBASE_ASE/bin.
--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]
boot – displays start-up information for the cluster, including the version of the quorum device, any trace flags issued at start-up, the boot ID of the cluster, and any messages displayed at start-up.
nodes – displays the registered management nodes.
heartbeat – displays heartbeat information for all nodes in the cluster.
master – displays master device information.
cluster – displays the cluster configuration.
instance – displays the instance configuration. You must include --instance=instance_name with this parameter.
config – displays configuration for the cluster and for all instances in the cluster.
state – displays the current state for the cluster and for all instances in the cluster.
shared (default)
private
native (default)
vcs
qrmutil --quorum_dev=/dev/raw/raw101 --instance=ase1 --errorlog=/sybase/cluster/ASE-15_0/ASE-15_0/ase1.log
qrmutil --quorum_dev=/dev/raw/raw101 --register-node=blade5
qrmutil --quorum-dev=/dev/raw/raw101 --cluster-input=/sybase/cluster/ase1.inp -buildquorum
qrmutil --quorum-dev=/dev/raw/raw101 --extract-config=/sybase/cluster_bak/quorum.bak
qrmutil --quorum-dev=/dev/raw/raw101 --cluster-input=/sybase/cluster_bak/quorum.bak --buildquorum=force
qrmutil --quorum-dev=/dev/raw/raw101 --display=config
qrmutil --quorum-dev=/dev/raw/raw101 --fence-capable=/dev/raw/raw106
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.
qrmutil --quorum-dev=/dev/raw/raw101 --display=cluster --register-node=blade1 --unregister-node=blade2 --verify-node=blade3
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.