DB Admin Q3: How do I shut down SQL Server from the command line without the Cluster Service interpreting this shutdown as a failure?
The proper way to shut down SQL Server from the command line is to use the Cluster.exe application that comes with Microsoft Windows NT Server Enterprise Edition. This application is installed as part of the normal Windows NT Cluster Setup, which can also be run on a Windows NT Workstation or member server computer to install just the Cluster Administrator and the other administrative applications. The basic syntax for this command is: cluster [cluster name] RESOURCE [resource name] /option In the command syntax above, the /option switch controls this functionality. The specific options to be used are /online and /offline. These two options are equivalent to the commands net start mssqlserver (the method to start SQL Server from the command line) and net stop mssqlserver (the method to shut down SQL Server from the command line) for a non-virtualized server, respectively. This procedure can be performed on the Generic Service, the SQL Server Agent 7.0, and the SQL Server 7.0 resources.
Related Questions
- Why can I start the NT version of DB/C FS from the command line when its installed as an NT service and the service is stopped?
- How do I shut down SQL Server from the command line without the Cluster Service interpreting the shutdown as a failure?
- Does the 1 Click DB Command Screen work _exactly_ like SQL Server Query Analyzer ?