Leaked source code of windows server 2003
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
6.0 KiB

  1. I. PURPOSE
  2. This document details a simple test plan for the Windows NT FTP Server
  3. Performance Counters.
  4. II. OVERVIEW
  5. The Windows NT FTP Server Performance Counters may be installed from
  6. \\KAYAK\RESKIT\FTPCTRS. INSTALL.BAT will install the counters, and
  7. REMOVE.BAT will remove the counters. These .BAT files *MUST* be run
  8. from the FTPCTRS 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 FTP Server. The following attributes may be monitored:
  12. 0. Bytes Sent/sec
  13. This is the rate that data bytes are sent by the FTP
  14. Server.
  15. 1. Bytes Received/sec
  16. This is the rate that data bytes are received by the
  17. FTP 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. FTP Server.
  22. 3. Files Sent
  23. This is the total number of files sent by the FTP
  24. Server.
  25. 4. Files Received
  26. This is the total number of files received by the
  27. FTP 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 FTP
  31. Server.
  32. 6. Current Anonymous Users
  33. This is number of anonymous users currently connected
  34. to the FTP Server.
  35. 7. Current NonAnonymous Users
  36. This is number of non-anonymous users currently
  37. connected to the FTP Server.
  38. 8. Total Anonymous Users
  39. This is total number of anonymous users that have
  40. ever connected to the FTP Server.
  41. 9. Total NonAnonymous Users
  42. This is total number of non-anonymous users that have
  43. ever connected to the FTP Server.
  44. 10. Maximum Anonymous Users
  45. This is maximum number of anonymous users
  46. simultaneously connected to the FTP Server.
  47. 11. Maximum NonAnonymous Users
  48. This is maximum number of non-anonymous users
  49. simultaneously connected to the FTP Server.
  50. 12. Current Connections
  51. This is the current number of connections to the FTP
  52. Server.
  53. 13. Maximum Connections
  54. This is maximum number of simultaneous connections to
  55. the FTP Server.
  56. 14. Connection Attempts
  57. This is the number of connection attempts that have
  58. been made to the FTP Server.
  59. 15. Logon Attempts
  60. This is the number of logon attempts that have been
  61. made to the FTP Server.
  62. 16. Service Uptime
  63. Number in seconds since service was started. Accounted
  64. for FTP sites also. Pausing is not accounted.
  65. III. TESTING
  66. These tests assume the test machine has TCP/IP installed, but
  67. does *NOT* yet have the FTP 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 FTPCTRS
  71. (i.e. cd to K:\FOO then execute \FTPCTRS\INSTALL). This
  72. should fail with an appropriate error message (must be
  73. run from FTPCTRS directory).
  74. 1. Do the same thing with REMOVE.BAT. This should also fail.
  75. 2. From the FTPCTRS directory, run REMOVE.BAT. This should
  76. fail.
  77. 3. From the FTPCTRS directory, run INSTALL.BAT. This should
  78. fail with an appropriate error message (FTP Server not
  79. installed).
  80. NOTE: This will succeed on an IDW installation.
  81. 4. Run NCPA and install the FTP Server. Reboot.
  82. 5. From the FTPCTRS directory, run REMOVE.BAT. This should
  83. fail.
  84. 6. From the FTPCTRS directory, run INSTALL.BAT. This should
  85. succeed.
  86. 8. Run PerfMon & verify that the counters are working.
  87. Select the FTP Server object and the default counter.
  88. Then connect to the target machine via the FTP 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 messed up.
  94. 10. Run REMOVE.BAT. This should succeed.
  95. 11. Run PerfMon to verify the FTP 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 FTP Server with
  100. either NET.EXE or the Services applet. PerfMon should
  101. continue chugging along with no FTP 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 FTP client.
  107. 16. While PerfMon is running, run REMOVE.BAT. This should
  108. succeed.
  109. PerfMon will still allow you to add/remove FTP Server
  110. counters until you exit the PerfMon app.
  111. 17. Exit & restart PerfMon. The FTP Server counters should
  112. not be available.