How to Enable Cluster Logging in Microsoft Cluster Server

ID: Q168801


The information in this article applies to:
  • Microsoft Windows NT Server, Enterprise Edition version 4.0
  • Microsoft Cluster Server


SUMMARY

In Microsoft Cluster Server, you can turn Cluster Logging on as a way of troubleshooting problems with the clustering software.


MORE INFORMATION

To enable Cluster Logging, there are two variables you need to place in the Windows NT environment variable list. These variables are ClusterLog and ClusterLogLevel.

To enter System environment variables, perform these steps:

  1. In the System tool in Control Panel, click the Environment tab.


  2. Click an entry in the System Environment Variable window.


  3. Click the Variable and Value check boxes to clear them.


  4. Type ClusterLog in the Variable box, type <path>\cluster.log in the Value box, and then click Set.

    NOTE: <path> is the drive and folder you manually create to store the Cluster Server log file. For example, C:\Cluster.


  5. Type ClusterLogLevel in the Variable box, type 0, 1, 2, or 3 in the Value box, and then click Set.

    NOTE: 0=no logging, 1=Errors only, 2=Errors and Warnings, and 3=Everything that happens.


  6. Click OK.


  7. Shut down and restart your computer for Cluster Server to read the variables correctly.


You can type SET at the command prompt to verify that you entered the variables correctly after you have restarted the computer.

NOTE: You also have the ability to enter User Variables in the Environment dialog box.

The cluster log is set by default to have a maximum size of 8 MB. When enough information has been written to log to have its size reach 8 MB, it truncates the file by removing the first 64 KB of logging information. If a different maximum size is needed, you can add another system environment variable, CLUSTERLOGSIZE, where its value is designated in MB. If you set the value of CLUSTERLOGSIZE=10, then the maximum size of the cluster log will be 10 MB.

Additional query words: cluster group resource mscs

Keywords : kbsetup ntsetup NTSrv
Version : WinNT: 4.0
Platform : winnt
Issue type : kbhowto


Last Reviewed: August 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.