Server Monitor - JavaService Net

Download Report

Transcript Server Monitor - JavaService Net

LoadRunner 5.0 신 기능
김범수
[email protected]
한국비지네스써비스(주)
Server Monitor
 Helps identify server performance problems (hardware,
OS, server software)
 Gives real-time picture of performance of server(s) during
scenario
– Web server, Application server, Database server
Server Monitor - Architecture
 Controller allows monitoring of both Unix and NT
machines non-intrusively from Windows Controller i.e. no
agent installation needed
– NT Server: PerfMon API,
– Unix Server: rstat API
 Relevant files:
– ntcormon.dll, ntperfui.dll, online.dll, onlineps.dll
LR Controller
Host 1
VU
Agent VU
VU
VU
Host 2
VU
Agent VU
VU
VU
Server
(NT/Unix)
Server Monitor - Configuration
 Can view multiple servers simultaneously
 Can select Display time, Sample rate, Titles
 Can pause display and hide data lines
Server Monitor - Tips
 Can monitor 3rd party software servers on NT like MS
SQL Server, MS IIS Server
 Supports n-tier environments
 Any Unix machine (DEC, Pyramid, Sequent etc.) can be
monitored providing:
– rstat daemon running
– TCP/IP connectivity to Controller
 Any NT machine can be monitored (NT 3.51, 4.0)
 NT servers cannot be monitored by Win95 Controller (no
PerfMon)
 Can be used in all LR environments
Network Delay Monitor
 Helps identify network performance problems and isolate
problematic segments
Network Delay Monitor - Architecture
 Implemented as a ‘hidden’ virtual user on load machines
(need Agent installation only - no server install needed)
 Network agent sends out ‘traceroute’ packets of fixed size
and measures delays between segments between vuser host
machine and destination server
– Requires TCP/IP between client and server
 Support for clients on NT & Unix.
LR Controller
Host 1
VU
Agent VU
VU
VU
Server
Host 2
VU
Agent VU
VU
VU
Network
Network Delay Monitor - Configuration
 Need to specify host machine and destination server
 Can control the packet size, wait time, packet roundtrip
timeout
Network Delay Monitor - Tips
 Can be used in all LR environments
– Most useful as network size increases (LAN->WAN->Internet)
 Debugging: Monitor->Options
– Display Debug Messages - Debug Level x
– ‘Show internal Controller entities’ displays ‘hidden’ vusers
 Calibration is done when the scenario starts to determine
network delay at no-load
 Dynamic network paths are supported
 Graphs for timeouts, path delay under load help determine
problems
New Protocol APIs
2-tier:
 Oracle 8.0
 Sybase 11.0
 Informix 7.1 - 7.23
 ODBC 3.0
3-tier:
Legacy:
 Java
 VT 100, 220, 320,
420, 525
 DCOM
 BaaN 4c +
 TUXEDO 6.4
Multi-threaded Vusers
 Running vusers on NT as threads instead of processes
means major scalability improvements (x 3-5 increase)
– major cost savings since now require less hardware
 One single driver is now responsible for replay
(MDRV.EXE)
 Driver supports both multithreaded and non-multithreaded
(process) replay
 Multithreading supported on NT only (not Unix)
 Client libraries must be threadsafe
 One customer achieved 2,500 Oracle users on one
machine!
Threadsafe Protocols










Oracle 7.3 and higher
ODBC 2.1 - 3.0 (depends on vendor device driver)
MS SQL Server 6.5
Informix 7.2 and higher
HTTP (QuickTest)
BaaN 4c and higher (GUI Client)
DCOM (depends on client libraries)
APPC
RTE NT (for 3270 and 5250)
Winsock
Multi-threaded Tips
 Default is 50 threads per mdrv.exe
– wlrun.ini
[Agent]
AgentMaxThreadsPerDriver=50
 Can see no. of threads for each process by opening NT
Task Manager and selecting ‘Thread Count’
 Can turn on/off the threaded replay in run-time settings
Vugen
 Vugen is now a 32-bit application. LoadRunner 5.0 is now
completely 32-bit
 32-bit look and feel (e.g. Floating toolbar, right-click, 32bit file system conventions etc.)
 Can still record 16-bit applications (although replay is 32bit only)
Vugen - Debugging Features





Capture of raw SQL output (in real-time)
Animated replay
Pause
Breakpoint
Continue on error
Parameterization
 New parameterization mechanism
– More powerful, flexible and robust
Scheduling
 It’s now much more practical to schedule vusers
– Can specify start time and duration for scenario
– Can specify start time and duration for user groups
– Can specify start time or delay time for single users
No NFS
 LoadRunner 5.0 does not require NFS to store vusers and
scenario results
– Zero network overhead imposed by LR
 Implemented using FTP server software on hosts
 DB and GUI vusers transferred automatically
– SAP not supported for script transfer - use NT file system
File Server
X
Store vuser results locally
Transfer vuser scripts
LR Controller
Transfer results
Host 1
No NFS - Tips
 Can use a combination of both NFS and non-NFS (e.g.
Vuser with large data file being run on 10 hosts)
 Can ‘force’ other files (like GUI map) to be transferred
from Controller to hosts (see Readme)
– ‘extra_f.ini’ file:
[mytest.usr]
c:\mytest\guimap.gui
 (Expert User) Advanced
Settings->Debug Information
– ‘Keep temporary files’
Integration with TestDirector 5.0
 Vugen scripts can be saved into and opened from TD
database
 Controller scenarios can be saved into and opened from
TD database
 Scenario result path can be saved into TD database
 Analysis can be opened up from TD database
 TD can invoke LR Controller (locally) and open up
scenario
Miscellaneous
 Vugen supports recording of multi-process communication
in ODBC and Oracle environments
 Merging of multiple Vuser types (e.g. Oracle and Winsock)
– vugen.dat
[Oracle]
UtilityExt=Winsock
 New function lr_vuser_status_message - display messages
in the vuser ‘Status’ column
 Can now specify a start and end time for which analysis
results are calculated
Platform Support
 LoadRunner 5.0 supports:
–
–
–
–
–
Win95, 98 (except for mass-replay)
NT 4.0
Solaris 2.4-2.6
HP UX 10.x
IBM AIX 4.1.x
 Dropped support of:
– Win31, NT 3.51, HP UX 9.x, AIX 3.x, SunOS, DEC Unix, AT&T
NCR
LoadRunner 5.0 - Availability
 LoadRunner 5.01 Int’l version is available
 Add-ins to Windows Controller:
– Server Monitor
– Network Delay Monitor