3.6.0 Matrix Server Command Reference (5697-7083, December 2007)

Chapter 3: mx Commands 124
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
disable—Disable a Virtual SQL Instance
mx vsqlinstance disable <vsql\instance> <netif> ...
dump—Dump the Virtual SQL Instance configuration to stdout
mx vsqlinstance dump
enable—Enable a Virtual SQL Instance
mx vsqlinstance enable <vsql\instance> <netif> ...
status—Display the status of a Virtual SQL Instance
mx vsqlinstance status [arguments] <vsql\instance>
The arguments are:
[--up|--down]
[--primary|--backup]
[--enabled|--disabled]
[--active|--inactive]
[--showApplication]
With no arguments, the command shows status for all SQL monitors.
update—Modify a Virtual SQL Instance
mx vsqlinstance update [arguments] <vsql\instancename>
The arguments are the same as vsqlinstance add, with the exception that the
--vpath, --revirtualize, and --port arguments do not apply. If you need to
change the port assignment, first delete the Virtual SQL Instance and then
recreate it using the new port number.
sleep command
The sleep command is useful when executing mx commands from a batch
file. The command can be used when the matrix is either running or offline
and has the following syntax:
sleep [seconds]
The sleep command can be inserted between mx commands in the batch file
and causes mx to pause the specified number of seconds before executing the
next command.