未来已来

LoadRunner性能测试监控篇-How to set up the SiteScope - Unix Linux monitor

上一篇 / 下一篇  2008-08-12 20:54:02 / 个人分类:性能测试

Requirements

 

·       Server Resource monitor license

 

·       LoadRunner 7.51 or above:

 

·       For LoadRunner 7.6 or above, the SiteScope Unix monitor is built into the Controller.

 

·       For LoadRunner 7.51 SP1, make sure that you install the Controller add-in, LR_New_SiteScope_Monitor.exe. This is available in the Patches database®LoadRunner®7.51 SP1®Performance Monitor®LR751SP1P2®LoadRunner 7.51 SP1 SiteScope Unix monitor for LoadRunner version 7.51.

 

·       SiteScope Lite installation:

 

  • For LoadRunner 8.x , the Sitescope Lite installation file is available in the additional components CD under Sitescope -> sitescopelrsetup.exe

 

  • For LoadRunner 7.6 or above, the SiteScope Lite installation file (SiteScopeSetupForLR.exe)and SiteScope Lite license is available in the Patches database®LoadRunner®7.6®Performance Monitor®LR76P6 - LoadRunner 7.6 SiteScope Siebel and SAP Portal Add-in for LoadRunner.

 

  • For LoadRunner 7.51 SP1, the SiteScopeLite installation file and SiteScope Lite license is available in the Patches database®LoadRunner®7.51 SP1®Performance Monitor®LR751SP1P2®LoadRunner 7.51SP1 SiteScope Unix monitor for LoadRunner version 7.51.

 

 

 


SiteScope Installation

 

Ensure you have LoadRunner 7.51 SP1 or above installed. Ideally, you will want an extra machine for the SiteScope installation:

 

  • First machine  ®Controller
  • Second machine®SiteScope
  • Third machine ®Load Generator
  • Fourth machine®Load Generator

Etc.…

 

In this situation, SiteScope will be gathering information from the Unix Servers and displaying them via a Web interface. The Controller will then connect to the SiteScope installation and retrieve this data during the scenario run.

 

General install

 

1.     Obtain theSiteScope Lite installation file and SiteScope Lite license.

 

2.     On the machine where you wish to install SiteScope, run the installation file as explained in theRequirementssection.

 

3.     In the “Administrator E-mail Address” window, enter an E-mail if you want a designated person to receive Alerts, reports, and status messages. Otherwise, click <Next> to proceed to the next window.

 

 

 

 

4.     Follow all the defaults settings to complete the SiteScope Lite installation.

 

5.     When the installation of SiteScope is completed, a browser will automatically come up with instructions on how to start SiteScope. The way to bring up SiteScope is via a browser with the URLhttp://<machine-name>:8888/SiteScope.

 

As you can guess, SiteScope installs its own Web server as an interface to the application.

 

 

License install for SiteScope

 

Note:If you do not have a SiteScope license, please refer to the terms and conditions statement, then obtain the license key from LR76P6 on the Customer Support Download page.

 

1.     The first time you start SiteScope, you will get a “SiteScope First Time Setup” page. Click on “Skip this Page” to go to main SiteScope site.

 

2.     Once the Auto Configuration completes, you will be brought to the main SiteScope page. 

 

3.     Click on the “Preferences” link from the main SiteScope panel.

 

4.     Enter the license in the “License Number” textbox.

 

5.     Click the “Save Changes” button.

 

 

 

 

 


SiteScope Monitor Configuration

 

How to remove existing groups

 

On the SiteScope main page, you will see the following groups by default:

 

  • Network
  • Server

 

You are recommended to delete both of these groups.

 

1.     Click on the group name (e.g., Network, or Server).

2.     At the bottom of the page, click on “Delete this Group.”

3.     On the Confirmation page, click on the “Delete <GroupName>” button to confirm the deletion.

 

 

How to add a SiteScope Unix monitor group

 

1.     On the SiteScope main page, click on “Create Groups.”

2.     Enter a name for the group (e.g., LoadRunner Unix).

3.     Click on the “Add” button.

 

 

How to add a monitor to a group

 

Example:

 

Steps to add a CPU monitor:

1.     From the SiteScope main page, click on the group name to go to the group.

2.     Click on “Add a New Monitor to this Group.”

3.     Click on “Add CPU Utilization Monitor.”

4.     Click on “Choose a Server.” (This portion will add your Unix server to the machine list.)

5.     Click on “Setup Unix Remote.”

6.     Click on “Add a Remote Machine.” Enter the following information:

 

  • Server Address
  • OS Type
  • Connection method: Choose “Telnet” as the connection method.

SiteScope uses a telnet login to access the machine and run standard Unix commands to gather machine statistic information. Due to this new process, you must ensure that you have a valid account that you can telnet into. In addition, you must ensure that the account you are using allows all the SiteScope commands to be executed. You can see a list of the commands SiteScope uses within the files in the C:\<SiteScope>\templates.os folder.

  • Login and Password
  • [Optional] Modify the waiting prompt on the Advanced Options.

 

7.     Click on “Add Remote Server.” An automated test process to make sure SiteScope can access the machine is performed.

8.     Click on “Back to Remote Machines.”

9.     Click on “Return to Choose Servers.”

10. Choose the server created from the “Server” drop-down list.

11. Click on “Choose Server.”

12. Change the update time to 15 seconds.

13. Click on “Add Monitor.”

 

You have now added a Unix CPU monitor to SiteScope.

 

 

How to add an additional monitor to a group

 

Example:

 

Steps to add a Memory monitor:

1.     Click on “Add a New Monitor to this Group.”

2.     Click on “Add Memory Monitor.”

3.     Choose the server that you added previously.

4.     Change the update time to 15 seconds.

5.     Click on “Add Monitor.”

 

You have now added a Unix Memory monitor to SiteScope.

 

 

.


Setting up a SiteScope Unix Monitor in the Controller

 

Note:If you have LoadRunner 7.5 SP1, you need to apply LR_New_SiteScope_Monitor.exe as explained in theRequirementssection. This is not required for later releases.

 

1.     In the Controller, look for the SiteScope monitor in the System Resource Section.

 

2.     Display the graph by dragging it to the right. Right-click in the graph and select “Add Measurement(s).” You should now see the SiteScope Dialog box.

 

3.     Click on the first “Add” button. For the machine name, type in the IP address or the machine name of the system on which SiteScope is installed. Click <OK>.

 

4.     Click on the Second “Add” button. You should now see a SiteScope Monitor Configuration window. In the left pane, you should see a tree with the monitors you have added into the SiteScope application. Simply highlight the available monitors and choose the counters in the right pane. Click <OK> to get out of the menus.

 

5.     You have now set up the New UNIX SiteScope monitor.


TAG: 性能测试

 

评分:0

我来说两句

Open Toolbar