3.4.0 Matrix Server Command Reference

Chapter 2: mx Commands 81
Copyright © 1999-2006 PolyServe, Inc. All rights reserved.
Delete a virtual host:
mx vhost delete <vhost>
Display the status of a virtual host:
mx vhost status [arguments] [<vhost> ...]
The arguments are:
[--up|--down]
[--enabled|--disabled]
[--primary|--backup]
[--active|--inactive]
[--showApplication]
With no arguments, the command displays the status of all virtual hosts.
Dump the virtual host configuration to stdout:
mx vhost dump
mx vsql – Virtual SQL Server commands
Use the following commands to configure Virtual SQL Servers or to display
their status.
Add a new Virtual SQL Server:
mx vsql add [--policy nofailback|autofailback] [--application
<application_name>] [--msdtc] <ip> <name> ([<network_interface> ...])
The options are:
--policy
autofailback|nofailback
The failback action that the SQL Virtual Server will take following failover
to a backup node. autofailback will fail back when a higher-ranked node
provides equal or greater services than the backup node; nofailback fails
back only if a higher-ranked node provides greater services than the backup
node. autofailback is the default.
--application <application_name>
The application tag associated with this Virtual SQL Server. If you do not
specify an application, the IP address for the Virtual SQL Server will be
used.