The information in this article applies to:
SUMMARY
SQL Monitor is a new facility in SQL Server 4.2 that supports the
new SQL Administrator tool. SQL Monitor connects to a SQL Server and
performs the following functions:
MORE INFORMATION
The initial state of the backup and statistics engines are set by
parameters specified when executing SQL Monitor. Once SQL Monitor has
been started, the backup and statistics engines can be independently
and dynamically stopped or reconfigured using SQL Administrator.
Controlling the backup engine is documented in the Backup and Recovery
chapter of the SQL "System Administrator's Guide." Controlling the
statistics engine is documented in the Starting and Stopping the
Statistics Engine section of the chapter on Configuration and Performance.
Option 1SQL Monitor can be run on any OS/2 machine by invoking it from the command line:sqlmontr -parameter1 -parameter2 .... It is best to start sqlmontr using the OS/2 start command from STARTUP.CMD: start sqlmontr -parameter1 -parameter2 ..... This will execute sqlmontr in its own screen session. sqlmontr can then be stopped by terminating that screen session, or by going into the screen session and entering CTRL+C to terminate the process. The parameters that are valid for this method can be viewed by entering the following command: sqlmontr -? The usage of the parameters shown by -? are:
Option 2SQL Monitor can be executed as a LAN Manager Network Service by using the NET START command:net start sqlmonitor /parameter1 /parameter2 .... While the effect of starting SQL Monitor using option 2 is the same as starting it using option 3, option 3 is the recommended method for starting SQL Monitor under LAN Manager, and users should use it instead of option 2. The setup requirements and parameters for option 2 are the same as those needed for option 3. There is a difference between options 2 and 3 if password= is not specified in LANMAN.INI. Issuing "NET START sqlmonitor" will not work unless /password= is specified. If you issue "NETSQL START sqlmonitor" without the /password=, you will be prompted for the password. Option 3The recommended way to start SQL Monitor in a LAN Manager Network Service is by using the NETSQL START command:netsql start sqlmonitor /parameter1 /parameter2 .... The advantage this offers over option 2 is that netsql start will do parameter validation, which is not done by the net start command. The advantage options 2 and 3 offer over option 1 is that the SQL Monitor is now a network service and can be reported on and managed by the NETSQL commands documented in the table at the top of page 14 of the "SQL Administrator User's Guide." It can also be managed as a network service by the LAN Manager administrator. If you execute SQLMONTR from the command line in a LAN Manager network, the commands on page 14 will not affect it and the LAN Administrator will not be able to manage SQL Monitor as a network service. The steps for setting up a system to use either option 2 or 3 are documented on pages 13-14 of the "SQL Administrator for Windows User's Guide." The names of the SQL Monitor parameters used with NET START or NETSQL START are different than the one letter codes used in option 1, but their meanings are the same. The NETSQL START and NET START versions of the parameter names are documented in the table at the bottom of page 14 in the "SQL Administrator User's Guide." Their meanings can be found from the descriptions given above for the corresponding parameters in option 1. Additional query words: 4.20 WinSQL Administrator
Keywords : kbtool SSrvGen |
Last Reviewed: March 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |