Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

178 lines
5.8 KiB

  1. I. PURPOSE
  2. This document details a simple test plan for the Windows NT W3 Server
  3. Performance Counters.
  4. II. OVERVIEW
  5. The Windows NT W3 Server Performance Counters may be installed from
  6. \\KAYAK\RESKIT\W3CTRS. INSTALL.BAT will install the counters, and
  7. REMOVE.BAT will remove the counters. These .BAT files *MUST* be run
  8. from the W3CTRS directory.
  9. Running INSTALL.BAT will install the performance counters. These
  10. counters are used by PERFMON.EXE to monitor the activity of the
  11. Windows NT W3 Server. The following attributes may be monitored:
  12. 0. Bytes Sent/sec
  13. This is the rate that data bytes are sent by the W3
  14. Server.
  15. 1. Bytes Received/sec
  16. This is the rate that data bytes are received by the
  17. W3 Server.
  18. 2. Bytes Total/sec
  19. This is sum of Bytes Sent/sec and Bytes Received/sec.
  20. This is the total rate of bytes transferred by the
  21. W3 Server.
  22. 3. Files Sent
  23. This is the total number of files sent by the W3
  24. Server.
  25. 4. Files Received
  26. This is the total number of files received by the
  27. W3 Server.
  28. 5. Files Total
  29. This is sum of Files Sent and Files Received. This
  30. is the total number of files transferred by the W3
  31. Server.
  32. 6. Current Anonymous Users
  33. This is number of anonymous users currently connected
  34. to the W3 Server.
  35. 7. Current NonAnonymous Users
  36. This is number of non-anonymous users currently
  37. connected to the W3 Server.
  38. 8. Total Anonymous Users
  39. This is total number of anonymous users that have
  40. ever connected to the W3 Server.
  41. 9. Total NonAnonymous Users
  42. This is total number of non-anonymous users that have
  43. ever connected to the W3 Server.
  44. 10. Maximum Anonymous Users
  45. This is maximum number of anonymous users
  46. simultaneously connected to the W3 Server.
  47. 11. Maximum NonAnonymous Users
  48. This is maximum number of non-anonymous users
  49. simultaneously connected to the W3 Server.
  50. 12. Current Connections
  51. This is the current number of connections to the W3
  52. Server.
  53. 13. Maximum Connections
  54. This is maximum number of simultaneous connections to
  55. the W3 Server.
  56. 14. Connection Attempts
  57. This is the number of connection attempts that have
  58. been made to the W3 Server.
  59. 15. Logon Attempts
  60. This is the number of logon attempts that have been
  61. made to the W3 Server.
  62. 15. Service Uptime
  63. Uptime for service and individual instances. Pause
  64. time is not accounted
  65. III. TESTING
  66. These tests assume the test machine has TCP/IP installed, but
  67. does *NOT* yet have the W3 Server installed. Also, LODCTR.EXE,
  68. UNLODCTR.EXE, and REGINI.EXE must be on the path.
  69. These tests also assume the user knows how to run PerfMon.
  70. 0. Run INSTALL.BAT from some directory other than W3CTRS
  71. (i.e. cd to K:\FOO then execute \W3CTRS\INSTALL). This
  72. should fail with an appropriate error message (must be
  73. run from W3CTRS directory).
  74. 1. Do the same thing with REMOVE.BAT. This should also fail.
  75. 2. From the W3CTRS directory, run REMOVE.BAT. This should
  76. fail.
  77. 3. From the W3CTRS directory, run INSTALL.BAT. This should
  78. fail with an appropriate error message (W3 Server not
  79. installed).
  80. NOTE: This will succeed on an IDW installation.
  81. 4. Run NCPA and install the W3 Server. Reboot.
  82. 5. From the W3CTRS directory, run REMOVE.BAT. This should
  83. fail.
  84. 6. From the W3CTRS directory, run INSTALL.BAT. This should
  85. succeed.
  86. 8. Run PerfMon & verify that the counters are working.
  87. Select the W3 Server object and the default counter.
  88. Then connect to the target machine via the W3 client and
  89. verify the Bytes Total/sec counter is responding.
  90. Also, verify that each of the counters listed in section II
  91. are visible.
  92. 7. Run INSTALL.BAT again. This should also succeed.
  93. 9. Run PerfMon again to verify nothing is messed up.
  94. 10. Run REMOVE.BAT. This should succeed.
  95. 11. Run PerfMon to verify the W3 Server object is no longer
  96. displayed in the "objects" combo box.
  97. 12. Run INSTALL.BAT again. This should succeed.
  98. 13. Run PerfMon to verify the counters were reinstalled.
  99. 14. While PerfMon is running, stop the W3 Server with
  100. either NET.EXE or the Services applet. PerfMon should
  101. continue chugging along with no W3 activity displayed.
  102. There will be no other indication in PerfMon that the
  103. service has been stopped.
  104. 15. While PerfMon is still running, restart the service.
  105. Verify that PerfMon is now displaying service activity
  106. by connecting to the server with the W3 client.
  107. 16. While PerfMon is running, run REMOVE.BAT. This should
  108. succeed.
  109. PerfMon will still allow you to add/remove W3 Server
  110. counters until you exit the PerfMon app.
  111. 17. Exit & restart PerfMon. The W3 Server counters should
  112. not be available.