Thursday, 29 September 2011

Server Resource Monitoring



The Server Resources monitor shows the resources of monitors (CPU, disk
space, memory, or applications) used on remote Windows and UNIX servers
measured during the scenario. This helps you determine the impact of Vuser
load on the various system resources.
The Server Resources monitor includes the following monitors:
➤ CPU Monitor. Monitors CPU usage.
➤ Disk Space Monitor. Monitors disk space.
➤ Memory Monitor. Monitors Pages per Second and Percentage of Virtual
Memory Used.
➤ Service Monitor. Verifies that specific processes are listed as running and
checks CPU usage.
To obtain data for this graph, you need to select the desired measurements
for the online monitor (from the Controller) before running the scenario.
This chapter includes:
➤ Setting up the Monitoring Environment on page 79
➤ Adding a Machine to Monitor on page 80
➤ Configuring the Server Resources Monitor on page 81
➤ Server Resources Performance Counters on page 84
Setting up the Monitoring Environment
➤ Ensure that SiteScope has been installed on a server. You can install
SiteScope on the same machine as the Controller, or on a dedicated server.


➤ Verify that SiteScope is collecting the required data from the servers it is
monitoring. From the SiteScope Panel, select the monitor group polling the
Server Resource machines, and check that the monitor displays a list of
server measurements in the Status column.
Adding a Machine to Monitor
In order to monitor the server resources of a particular machine from the
Controller, you need to add the machine and the measurements you want
to monitor.
To add a machine to the Controller:
1 Click the Server Resource graph in the graph tree, and drag it into the right
pane of the Run view.
2 Right-click the graph and select Add Measurements, or click anywhere on
the graph and choose Monitors > Add Measurements. The Server Resources
dialog box opens.
3 In the Monitored Server Machines section, click Add. The Add Machine
dialog box opens.
4 In the Monitored Machine Information section, enter the server name or IP
address of the machine you want to monitor, and select the platform on
which the machine runs.
Note: If you are using the HTTP method of monitoring, enter the full URL of
the CGI script (for example: http://demo.thiscompany.com/cgi-bin/run.sh).
In the SiteScope Server Information section, enter the SiteScope machine
name, and port (default: 8888), and specify whether you are using a Secure
HTTP connection. If you are using a SiteScope account, fill in the relevant
account information.
5 Click OK. The Server Resources dialog box is redisplayed.
6 In the Resource Measurements section of the Server Resources dialog box,
click Add to configure the remote machine and select the measurements
that you want to monitor.
7 Continue with Configuring the Server Resources Monitor below.
Configuring the Server Resources Monitor
After you have added the machine that you are monitoring, you configure
the monitor by choosing which measurements to monitor on the machine.
To configure the Server Resources monitor:
1 The first time you add measurements you need to configure the remote
machine properties. When you click Add in the Resource Measurements on:
<machine> of the Server Resources dialog box, a dialog box opens to
configure the remote machine as follows:
➤ If you are monitoring a machine on a Windows platform, the
Configuring NT Remote Machine dialog box opens.
➤ If you are monitoring a machine on a UNIX platform, the Configuring
UNIX Remote Machine dialog box opens.
Enter the remote machine’s configuration information, as described in
“Configuring the Remote Machine for SiteScope Monitors” on page 25, and
click OK.
2 The Server Resources Configuration dialog box opens, displaying the
available measurements.























Browse the Measured Components tree, select the required performance
counters in the right pane, as described in “Understanding the Server
Resources Configuration Dialog Box” on page 
For a list of the available performance counters, see “Server Resources
Performance Counters” on page 
3 Click OK. The components that you selected appear in the Resource
Measurements on: <machine> section of the Server Resources dialog box.
4 In the Controller, click OK in the Server Resources dialog box to activate the
monitor.
Note: The minimum recommended online graph refresh rate (in the Graph
Configuration dialog box) is 30 seconds. If you choose a lower refresh rate,
the Controller may not get all the data in time.
Understanding the Server Resources Configuration Dialog
Box
The Server Resources Configuration dialog box enables you to select the
server resources to monitor.
➤ Host. Displays the name of the monitored machine.
➤ Measured Components. Displays the available components. Browse the tree
and select the component you want to monitor. A description of the
highlighted component appears in the Component/Counter Description
box.
➤ Performance Counters. Check the required performance counters. A
description of the selected counter appears in the Component/Counter
Description box.
➤ Component/Counter Description. Displays a description of the selected
component or counter.
Server Resources Performance Counters


Monitor                                                    Measurements                                             Description

CPU Monitor                                        Utilization                                              Measures CPU utilization.

Disk Space                                           Monitor Disk space                              Measures the percentage of
                                                                                                                               disk space used.

Memory Monitor                                  MB free                                               Measures the amount of                                                                                                                      disk space free, in MB.

                                                           Pages/sec                                              Measures the number of
                                                                                                                       virtual memory pages that
                                                                                                                        are moved between main
                                                                                                                        memory and disk storage.

                                                          Percent Used                                       Measures the percentage of
                                                                                                                        memory and paging file
                                                                                                                                space used.

Services Monitor                                                                                          Monitors processes locally or
                                                                                                                        on remote systems. Can be
                                                                                                                         used to verify that specific










0 comments:

Post a Comment

Bookmark Us

Delicious Digg Facebook Favorites More Stumbleupon Twitter