Broker 10.5 | webMethods Broker Documentation | Administering webMethods Broker | webMethods Broker Storage Utility | server_qsck Command Reference | server_qsck check
 
server_qsck check
Performs a read-only check of the storage files. In this mode, the utility will apply the changes in the queue storage log file to the storage (.stor) files (that is, play the log file), but it will not fix any inconsistencies or make any other changes.
Checking stops as soon as an inconsistency occurs.
Note:
Should the server_qsck utility encounter any errors reported by the system, the utility will print out an error message and exit with a non-0 exit code. You can then report this message and exit code information back to Software AG Global Support for further assistance.
Syntax
server_qsck check dataDir [-p phaseNum]
[-v]

Argument
Description
dataDir
The fully qualified path to the Broker Server's data directory (if you want the utility to operate on the original queue storage files) or the directory that contains a complete copy of the queue storage system (if you want it to operate on a copy of the files).
Flag
Description
-p
Specifies the phase through which you want to perform the check, where phaseNum specifies the phase as follows:
*1-Checks whether the underlying data files are consistent.
*2-Checks whether the layer interfacing the Broker to the data files is consistent.
*3-Checks whether the basic metadata in the Broker is consistent.
If this flag is omitted, all three processing phases are performed.
For more information about processing phases, see Processing Phases.
-v
Enables verbose mode. This mode displays informational messages and identifies the object on which the utility is operating. If omitted, only error messages and inconsistencies are displayed.
Example
server_qsck check /var/opt/webMethods/awbrokersversion/myBroker -p 1 -v