<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LoadRunner TnT &#187; Monitoring</title>
	<atom:link href="http://www.loadrunnertnt.com/tag/monitoring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loadrunnertnt.com</link>
	<description>Performance Testing, LoadRunner Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 08 Mar 2010 07:57:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Planning a Load Test – Part 2</title>
		<link>http://www.loadrunnertnt.com/planning/planning-a-load-test-%e2%80%93-part-2/</link>
		<comments>http://www.loadrunnertnt.com/planning/planning-a-load-test-%e2%80%93-part-2/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 13:36:03 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Planning]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Bottleneck]]></category>
		<category><![CDATA[Load Testing]]></category>
		<category><![CDATA[Monitoring]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=730</guid>
		<description><![CDATA[Following our previous post on planning a load test, we are throwing in more points that you should consider when planning for a load test.

What is the total user base?  What is the concurrent user base? – Now after working the maths out, do you required a load test.  Example, is a 5 concurrent user [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/planning-150x150.jpg"><img class="alignright size-full wp-image-731" title="planning-150x150" src="http://www.loadrunnertnt.com/wp-content/uploads/2010/02/planning-150x150.jpg" alt="" width="88" height="88" /></a>Following our previous post on <a href="../planning/planning-for-a-load-test/">planning a load test</a>, we are throwing in more points that you should consider when planning for a load test.<span id="more-730"></span></p>
<ul>
<li><strong>What is the total user base?  What is the concurrent user base?</strong> – Now after working the maths out, do you required a load test.  Example, is a 5 concurrent user base an effective load test?  Is it worth the effort to generate a script that emulates 5 concurrent users?  Your customer may want you to run a load test for 5 users even though it is not effective to run that kind of load test.  However, if it is in the contract, you may have obliged it.  If they are willing to pay for that service, then it’s a plus point!</li>
<li><strong>Do the available load testing tools support your system in a load test?</strong> – A very strange question to ask.  Most tools are unable to support asynchronous application and map applications.  Either you may have to purchase more licenses to run the load test like in LoadRunner, find alternative sources or write scripts to emulate the load.  There are multiple ways to run a load test however may require additional effort (which translates to additional time).  Most tools are useful in coordinating and reporting which your scripts may not be able to achieve.</li>
<li><strong>What is the environment that you will be conducting the load test?</strong> – At times, your load test may be conducted in a scale-down production environment which you may know.  The load test results may not be a good representation of the true performance of the load test.  However, most of the times, running in production is a no-no and it is good to align everyone’s (stakeholders, customers, etc.) expectation of the load test.</li>
<li><strong>Where do you want the load to be generated to?</strong> – For a web application, there are multiple layers that you can access the system.  You can access the normal URL that can be the virtual IP address from a central web server.  You can enter at the load balancer or the web server layer.  Lastly, you can enter at the application server layer.  Where you want the load to enter can help you determine the layer that can be causing the performance problem.  By stepping up from the application layer, you can determine stage-by-stage the layer as the source of bottleneck.</li>
<li><strong>What do you want to monitor?</strong> – There are so many things that you can monitor in an infrastructure.  Which one do you want to focus on your analysis effort on first?  Do you want to monitor all sub-systems or target your effort to the most possible source such as the database?  Setting up monitors takes effort.  What&#8217;s more tedious is the effort required to analyze the monitoring results that you have collected!  Therefore, do take note and factor the duration and effort!</li>
<li><strong>Do you know the backbone network infrastructure?</strong> – This information is usually not available to a load tester.  But if you know this, you can least prepare your team that the load test will bound to meet (or not bound to meet) performance issues during the load test. They can be ineffective load balancing, small bandwidth available, invisible proxy that limits bandwidth, etc.  If you do not know this information, it is best to work on those you know such as the method previously mentioned by running the load test stage-by-stage.</li>
<li><strong>Is your load test conducted in a wireless environment?</strong> -  A wireless environment may be limited by the number of access point and the bandwidth available per wireless network. You need to know if the wireless will become a potential bottleneck in the amount of clients that can be generated into the system before your load test.</li>
<li><strong>Do you have a base set of data to use in a load test?</strong> – Most often after a load test, the data in a database will likely be messed out.  Therefore, it is advisable to create a backup of a working set of data in the database for you to reload after each load test.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/planning/planning-a-load-test-%e2%80%93-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to configure Oracle Database monitoring</title>
		<link>http://www.loadrunnertnt.com/how-tos/how-to-configure-oracle-database-monitoring/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/how-to-configure-oracle-database-monitoring/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 06:27:01 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=72</guid>
		<description><![CDATA[Most of the time, with every application, there comes with the Database setup and most of the time, it’s Oracle (being the biggest player in the DB industry). Fundamentally, (1) it requires a Oracle client to be installed on the machine as a native client. (2) A valid account and privileges to the Oracle V$ [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Oracle" src="http://loadrunnertnt.com/images/oracle_logo.jpg" alt="" width="253" height="87" />Most of the time, with every application, there comes with the Database setup and most of the time, it’s Oracle (being the biggest player in the DB industry). Fundamentally, (1) it requires a Oracle client to be installed on the machine as a native client. (2) A valid account and privileges to the Oracle V$ tables that holds statistics. (3) Ensure that you can properly query from the Controller using the SQL tools and extract data from the V$ table and you should be fine with the setup. In this article, we will be providing the a typical connection to the Oracle database for monitoring (i.e. we will not be focusing on counters directly related for analyzing database performance).</p>
<p>Let’s go through an overview for implementing the Oracle DB. Basically, we are doing in this sequence:<span id="more-72"></span></p>
<ol>
<li> Get an account in Oracle and access to the V$ tables that contains the monitoring data.</li>
<li>Install 32-bit Oracle client on the Controller machine.</li>
<li>Ensuring that proper configuration is done to connect to the DB using TNSNAMES.ora and defining the Oracle path.</li>
<li>Login to the DB using SQL*PLUS and run a query to see if you can collect the statistics from the V$ tables.</li>
<li>Launch LoadRunner Controller, configure the monitor and start your load test!</li>
</ol>
<p>Ok, let’s dive into the details!</p>
<p>1. Request for an account and password to be created in the database instance (unless you are the DBA). Example, loadtester, and grant them access to read the following table. These tables consist of the statistic of the database instance.</p>
<ul>
<li> V$SESSTAT</li>
<li>V$SYSSTAT</li>
<li>V$STATNAME</li>
<li>V$INSTANCE</li>
<li>V$SESSION</li>
</ul>
<p>2. Ensure that Oracle client libraries are installed on the Controller. Remembered that in order to monitor, you need local installation of the client in order for LoadRunner to query the monitoring data. If you do not have the client libraries, download it from Oracle Downloads. Download only the 32-bit Oracle client.</p>
<p>3. If you have the client installed, ensure the 32-bit Oracle client is installed on the Controller, not the 16-bit client.</p>
<p>4. Verify that %OracleHome%\bin is included in the path environment. This can be done by going to START &gt; My Computer &gt; Properties &gt; “Advanced Tab” &gt; Enviromental Settings.</p>
<p>5. Configure the TNSNAMES.ora file on the Controller. TNSNAMES.ora file is a SQL*Net configuration file that defines databases addresses for establishing connections to them. This file normally resides in the ORACLE_HOME\NETWORK\ADMIN directory. (Source: OraFaq)</p>
<p>Attached is an example of the TNSNAMES.ora file. Click here to download.</p>
<p>6. Ensure login successful with the created account (e.g. loadtester) with SQL*Plus from the Controller machine.</p>
<p>7. Ensure the privileges are given properly by typing the following command. If they don’t return results or return access rights issues, most probably the steps for prior to this one has not been configured properly. Therefore, approach the Database Administrator for assistance or go back to the previous steps to ensure they are properly configured.</p>
<ul>
<li> SELECT * FROM V$SESSTAT</li>
<li>SELECT * FROM V$SYSSTAT</li>
<li>SELECT * FROM V$STATNAME</li>
<li>SELECT * FROM V$INSTANCE</li>
<li>SELECT * FROM V$SESSION</li>
</ul>
<p>8. Launch LoadRunner Controller as per norm and add the Oracle Database Monitor. When prompt, enter the account name (e.g. loadtester), it’s corresponding password and the destination server name. Statistics should be drawn from the V$ table and displayed in Controller.</p>
<p>With the above, you should be able to successfully configure the monitoring environment and the Controller with minimal difficulty.</p>
<blockquote><p>Note:<br />
You can change the sampling interval for the monitor using the vmon.cfg file located in {loadrunner-installed-dir}\monitors\vmon.cfg</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/how-to-configure-oracle-database-monitoring/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How-to configure Sybase monitoring</title>
		<link>http://www.loadrunnertnt.com/how-tos/122/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/122/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 16:11:38 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Sybase]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=122</guid>
		<description><![CDATA[
To configure Sybase database monitoring, we will require ASE Monitoring Server (not the ASE) to be installed on the Controller (refer to &#8220;How does the monitoring work in LoadRunner?&#8221; for monitoring concepts). Furthermore, we will require an additional DLL in Controller for it to work. From the Monitor Reference, the DLL is named, libct.dll.  [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Sybase" src="http://loadrunnertnt.com/images/sybase_use.jpg" alt="" width="242" height="88" /></p>
<p>To configure <strong>Sybase</strong> database monitoring, we will require <strong>ASE Monitoring Server</strong> (not the ASE) to be installed on the Controller (refer to <a title="How does the monitoring work in LoadRunner?" href="http://www.loadrunnertnt.com/?p=301" target="_blank">&#8220;How does the monitoring work in LoadRunner?&#8221;</a> for monitoring concepts). Furthermore, we will require an additional DLL in Controller for it to work. From the Monitor Reference, the DLL is named, <strong>libct.dll</strong>.  That is for version 12.  While in version 15, it&#8217;s named <strong>libsybct.dll</strong>. ASE in short for Adaptive Server Enterprise is a database product from Sybase. To get the latest copy of the ASE server can be obtained from the <a title="Sybase Adaptive Server Enterprise" href="http://www.sybase.com/products/databasemanagement/adaptiveserverenterprise" target="_blank">Sybase</a> website.<span id="more-122"></span></p>
<ul>
<li>Downloading the installation requires the registration with Sybase. Registration process is hassle-free without any approval needed and you will be able to proceed with download once the registration completes.</li>
<li>Upon full installation, all components are installed which      includes the ASE database and the <strong>ASE Monitoring Server</strong>.  Sample databases are provided in this      installation if you required them.</li>
<li>Both servers are not started by default.  Therefore, you      will need to configure them and start them up manually.</li>
<li>To start the server go to START &gt; Programs &gt; Sybase &gt;      Adaptive Server Enterprise &gt; Server Config.</li>
<li>To start the <strong>ASE Monitoring Server</strong>, go to Service of Windows      and find Sybase MONServer_&lt;ASE Monitoring Server Name&gt;.</li>
<li>Alternatively, the ASE Monitoring Server can be booted from      configuring the ASE Monitoring Server.       Details for booting the ASEMS can be found in the additional      resources.</li>
</ul>
<p><strong><span style="text-decoration: underline;">NOTES</span></strong></p>
<ul>
<li>Controller uses ASE Monitoring Server to monitor and not ASE and therefore, there is a need to ensure the ASE Monitoring Server is started, properly configured and accessible by the Controller.</li>
<li>Login information to configure the ASE and ASE Monitoring Server are; Login: sa, Password: &lt;blank&gt;</li>
<li>There maybe a difference of the filenames for the DLLs being      used by ASE Open Client Connectivity.       The filenames in v15 is <strong>libsybct.dll</strong> as compared to <strong>libct.dll</strong> in      v12.</li>
<li>Replacing the file libct.dll with a renamed libsybct.dll (libsybct.dll renamed to libct.dll) in the Controller does not have any impact to the monitoring.</li>
<li>When configuring the <strong>ASE Monitoring Server</strong> in the Controller, in the Monitored Server Machines, put the machine name on the network (not the Sybase ASE server itself).  In the Resource Measurements on the server machine, put the ASE Monitoring Server name (not the Sybase ASE server itself)</li>
</ul>
<p><strong><span style="text-decoration: underline;">TROUBLESHOOTING</span></strong></p>
<ul>
<li>After installing the Sybase ASE.  Ensure that monitoring can be performed      by the ASE Monitoring Server on the local machine.       Use the Sybase Central console to perform the previous mentioned,      by adding the “Monitor” folder.  If      the monitoring failed, it maybe the case that the ASE Monitoring Server is not started or      configured properly.  From here,      troubleshoot accordingly.</li>
<li>If monitoring was successful from ASE Monitoring Server locally, use <strong>dsedit</strong> tool from Sybase client to ensure connectivity.</li>
<li>If <strong>dsedit</strong> tool locates the ASE and ASE Monitoring Server successfully, but connectivity fails when connecting via Controller, there might be a configuration problem on the Controller-side.</li>
</ul>
<p><strong><span style="text-decoration: underline;">ADDITIONAL RESOURCES</span></strong></p>
<p><span style="text-decoration: underline;"> </span></p>
<ul>
<li><a href="http://www.sypron.nl/main.html">http://www.sypron.nl/main.html</a> -Webpage that contains Sybase ASE information.</li>
<li><a href="http://www.sypron.nl/get_ase_soft.html">http://www.sypron.nl/get_ase_soft.html</a> &#8211; Download information for Sybase ASE</li>
<li><a href="http://www.sybase.com/ase_1500devel">http://www.sybase.com/ase_1500devel</a> &#8211; Downloading Adaptive Server Enterprise version 15.0 Developer&#8217;s Edition</li>
<li><a href="http://www.isug.com/Sybase_FAQ/ASE/section1.6.html#scview">http://www.isug.com/Sybase_FAQ/ASE/section1.6.html#scview</a> &#8211; Information on ASE Monitoring Server</li>
<li><a href="http://manuals.sybase.com/onlinebooks/group-as/asg1250e/monbook">http://manuals.sybase.com/onlinebooks/group-as/asg1250e/monbook</a> &#8211; Monitoring Server; Information on methods of booting the ASE Monitoring Server.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/122/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Extreme Linux performance monitoring and tuning</title>
		<link>http://www.loadrunnertnt.com/analyze/extreme-linux-performance-monitoring-and-tuning/</link>
		<comments>http://www.loadrunnertnt.com/analyze/extreme-linux-performance-monitoring-and-tuning/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 06:41:58 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Analyze]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tuning]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=323</guid>
		<description><![CDATA[
Looking for Linux performance monitoring and tuning resources to conduct analyzing work?  ufsdump.org has a wide array of resource for Unix systems. In these two part PDF provided by ufsdump.org, titled, &#8220;Extreme Linux Performance Monitoring and Tuning&#8221;, ufsdump.org highlights the various components from CPU, memory and I/O that should be monitored and tuned accordingly. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="ufsdump.org" src="http://loadrunnertnt.com/images/company_ufsdump_logo.jpg" alt="" width="247" height="53" /></p>
<p>Looking for <strong>Linux</strong> performance monitoring and tuning resources to conduct analyzing work?  <a title="ufsdump.org" href="http://www.ufsdump.org" target="_blank">ufsdump.org</a> has a wide array of resource for Unix systems. In these two part PDF provided by ufsdump.org, titled, &#8220;Extreme Linux Performance Monitoring and Tuning&#8221;, ufsdump.org highlights the various components from CPU, memory and I/O that should be monitored and tuned accordingly. Concepts such as context switches, run queue, CPU utilization, time slicing and priorities are discussed for CPU. For memory, the PDF steps through performance concerns in Virtual Memory, Virtual Size (VSZ) and Resident Set Size (RSS), Paging/ Swapping, Kernel Paging with pdflush and kswapd. Lastly in I/O, the articles walks through concepts on reading and writing data for memory pages, major and minor page faults, file buffer cache, types of memory pages and writing data pages back to disk. All these concepts are great tips for performance tester in determine the performance of the Linux servers. To download the PDF, click on link below:<span id="more-323"></span></p>
<ul>
<li><a title="Extreme Linux performance monitoring and tuning (Part 1)" href="http://www.ufsdump.org/papers/uuasc-june-2006.pdf" target="_blank">Extreme Linux Performance Monitoring and Tuning &#8211; I</a></li>
<li><a title="Extreme Linux performance monitoring and tuning (Part 1)" href="http://www.ufsdump.org/papers/io-tuning.pdf" target="_blank">Extreme Linux Performance Monitoring and Tuning &#8211; II </a></li>
</ul>
<p><a title="CSS Corp" href="http://www.csscorp.com/" target="_blank">(Special thanks to Aravind Kumar for contribution, CSS Corp)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/analyze/extreme-linux-performance-monitoring-and-tuning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Local Unix monitoring made possible?</title>
		<link>http://www.loadrunnertnt.com/tools/local-unix-monitoring-made-possible/</link>
		<comments>http://www.loadrunnertnt.com/tools/local-unix-monitoring-made-possible/#comments</comments>
		<pubDate>Sat, 24 May 2008 08:57:35 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=381</guid>
		<description><![CDATA[Have you ever come across an attempt to monitor Unix resources with just only rstatd? Where there are no options available to use SiteScope via telnet or SSH? Or simply because of the time factor that you must monitor the Unix resources in the load test conducted the following day?
Check out this script from Bad [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever come across an attempt to monitor Unix resources with just only <em>rstatd</em>? Where there are no options available to use SiteScope via <em>telnet</em> or SSH? Or simply because of the time factor that you must monitor the Unix resources in the load test conducted the following day?<span id="more-381"></span></p>
<p>Check out this script from <a title="Bad Penguin.co.uk" href="http://www.badpenguin.co.uk/" target="_blank">Bad Penguin.co.uk</a>. This script at it&#8217;s latest version when placed in a Unix machine, collects performance statistics at desired intervals and convert them into CSV report which can be imported to a spreadsheet, database and LoadRunner Analysis to perform analyzing work. It uses standard unix utilities (<em>iostat, vmstat, netstat</em> and<em> uptime</em>) and has been tested on Linux and Solaris systems.  The usage of <em>vmstat, netstat, iostat</em> and <em>uptime</em> is far more comprehensive than those used by <em>rstatd</em>.</p>
<p>Click on the link below to get a copy of the script!</p>
<p><a title="Download Unix Performance Monitor.sh" href="http://www.badpenguin.co.uk/main/content/view/43/35/" target="_blank">performanceMonitor.sh</a></p>
<p>The script is used in two ways. One to generate statistics and two to convert to a CSV format. The below describes the command to execute.</p>
<div>
<table style="height: 40px;" border="0" width="559">
<tbody>
<tr>
<td>Generate statistics</td>
<td><em> $ performanceMonitor.sh run</em></td>
</tr>
<tr>
<td>Convert to CSV format</td>
<td><em>$ performanceMonitor.sh csv YYYYMMDD</em></td>
</tr>
</tbody>
</table>
</div>
<div>Before you use the script to collect statistics, you will need to configure the interval between each collection. This is to change the variable <strong>SLEEP</strong>. Set it at an acceptable level, e.g. 15 to reduce the overhead generated from the execution of the commands. When you are done with exporting out to a CSV format, you can use the Analysis import feature to import this CSV file for analysis work. We used the below settings in Analysis for import this CSV files.</div>
<div></div>
<div><strong>Fig.1: Analysis Import Settings</strong></div>
<div><strong><img class="aligncenter" title="Unix Import Settings" src="http://loadrunnertnt.com/images/unix_import_settings.JPG" alt="" width="326" height="300" /><br />
</strong></div>
<div>Take note that, after running <em>$performanceMonitor.sh run</em> on the command prompt, the script will run infinitely till it a manual break is issue.  Therefore, you may consider writing a <em>cron job</em> to enhance the monitoring scheduling in the load test.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/tools/local-unix-monitoring-made-possible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understanding WebLogic (JMX) monitoring</title>
		<link>http://www.loadrunnertnt.com/concepts/understanding-weblogic-jmx-monitoring/</link>
		<comments>http://www.loadrunnertnt.com/concepts/understanding-weblogic-jmx-monitoring/#comments</comments>
		<pubDate>Wed, 14 May 2008 05:00:01 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[JMX]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[WebLogic]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=256</guid>
		<description><![CDATA[What&#8217;s WebLogic (JMX) all about in LoadRunner? If you are not J2EE background professional and caught up in a load test for WebLogic servers, this article will be useful to you as we&#8217;ve put together information to help you get a better understanding of JMX (Java Management Extensions). We will be going through the fundamentals [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Oracle" src="http://loadrunnertnt.com/images/oracle_logo.jpg" alt="" width="253" height="87" />What&#8217;s WebLogic (JMX) all about in LoadRunner? If you are not J2EE background professional and caught up in a load test for WebLogic servers, this article will be useful to you as we&#8217;ve put together information to help you get a better understanding of JMX (Java Management Extensions). We will be going through the fundamentals of JMX and how it works in together with LoadRunner. We will also be touching on the reference list of available counters provided by WebLogic. If you like to know the configuration details, look out the Monitor Reference that comes together with the installer (which is pretty easy to configure).<span id="more-256"></span></p>
<p><strong>What’s JMX in the first place! </strong></p>
<p>JMX (Java Management Extensions) technology provides a simple, standard way of managing resources such as applications, devices, and services. Because JMX technology is dynamic, you can use it to monitor and manage resources as they are created, installed and implemented. <a title="Introduction to JMX Technology" href="http://java.sun.com/j2se/1.5.0/docs/guide/jmx/overview/intro.html" target="_blank">(Source: Sun Microsystems, &#8220;Ch1 : Introduction to JMX Technology&#8221;)</a></p>
<p>A simple illustration of how the JMX architecture  can be found in Wiki, <a title="Wiki, Java Management Extensions" href="http://en.wikipedia.org/wiki/Java_Management_Extensions" target="_blank">&#8220;Java Management Extensions&#8221;</a>.  This will give you an overview of the different levels and how the communication work between them.</p>
<p>Additional references can be found in Sun Microsystems which we recommend browsing through to get an general understanding of this technology.</p>
<ul>
<li><a title="Overview of Monitoring and Management" href="http://java.sun.com/j2se/1.5.0/docs/guide/management/overview.html" target="_blank">&#8220;Overview of Monitoring and Management&#8221;</a></li>
<li><a title="Java Management Extensions (JMX) Technology" href="http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/" target="_blank"><span style="font-size: x-small;">&#8220;</span><span style="font-size: x-small;">Java Management Extensions (JMX) Technology&#8221;</span></a></li>
<li><span style="font-size: x-small;"><a title="JDK 6 Java Management Extensions (JMX)" href="http://java.sun.com/javase/6/docs/technotes/guides/jmx/index.html" target="_blank">&#8220;JDK 6 Java Management Extensions (JMX)&#8221;</a></span></li>
</ul>
<p>Ok, now we&#8217;ve got an understanding on JMX. In the context of WebLogic, JMX is in place to monitor the resources usage of the server.</p>
<p><strong>How does WebLogic (JMX) monitoring work in LoadRunner?</strong></p>
<p>JMX specification is designed to monitor Java applications from another Java application. Therefore, in order for LoadRunner to monitor WebLogic resources via JMX, it will be required that LoadRunner to be a Java-application to perform the monitoring and collect the data from the <strong>MBeans</strong>. This is achieved by installing JDK of the same version as the WebLogic server and running a mini version of application server in the LoadRunner machine to collect the monitoring data which is reason the installation of JDK as well as the copying of the weblogic.jar file is required.</p>
<p><strong>What can you get from WebLogic (JMX) monitoring?</strong></p>
<p>You will be able to monitor the runtime state of the WebLogic via JMX from the Runtime MBeans. The list of JMX counters can be found in <a title="WebLogic Server MBean Reference" href="http://edocs.bea.com/wls/docs92/wlsmbeanref/core/index.html" target="_blank">&#8220;WebLogic Server MBean Reference&#8221;</a>.</p>
<p>If you need to see how much time is spent or breakdown on individual methods, SQL calls or even the chain of calls, you are looking at the wrong tool. You may like to explore Diagnostics for a solution. Refer to <a title="What's Diagnostics?" href="http://www.loadrunnertnt.com/?p=1" target="_blank">&#8220;What&#8217;s Diagnostics?&#8221;</a> for more information</p>
<p>We&#8217;ve put together a list of references that will you understand the JMX technology and also the fundamentals that WebLogic (JMX) working with LoadRunner. We hope this information is useful to you. If you have additional information with regards to the monitoring, please feel free to write in to us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/understanding-weblogic-jmx-monitoring/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How-to configure MySQL database monitoring</title>
		<link>http://www.loadrunnertnt.com/how-tos/how-to-configure-mysql-database-monitoring/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/how-to-configure-mysql-database-monitoring/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 13:13:52 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SiteScope]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=107</guid>
		<description><![CDATA[In LoadRunner (as of this writing which is version 9.0), the supported databases that can be monitored are mainly proprietary, such as, Microsoft SQL, Oracle, Sybase and DB2. Open sources such as MySQL are not supported. In order to monitor this type of databases, we have to employ alternative methods. And one of it, is [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="MySQL" src="http://loadrunnertnt.com/images/mysql_logo.jpg" alt="" width="171" height="99" />In LoadRunner (as of this writing which is version 9.0), the supported databases that can be monitored are mainly proprietary, such as, Microsoft SQL, Oracle, Sybase and DB2. Open sources such as MySQL are not supported. In order to monitor this type of databases, we have to employ alternative methods. And one of it, is to utilize SiteScope.</p>
<p>MySQL database monitoring will require SiteScope to be deployed acting as a bridging collector before it can be displayed in LoadRunner. The connection is illustrated in the following.<span id="more-107"></span></p>
<div>
<p><strong>Fig. 1 Monitoring MySQL Setup</strong></p>
<p><img title="SiteScope MySQL Setup" src="http://loadrunnertnt.com/images/sitescope_mysql_setup.jpg" alt="" width="577" height="268" /></div>
<p>The specified statistics retrieval mechanism utilizes <strong>Database Query monitor</strong> in SiteScope. This is done by logging into MySQL database via SiteScope Database Query monitor and issuing a <strong>SHOW STATUS</strong> command to retrieve the statistics. Example of the command is as followed:</p>
<p><em>show status where variable_name like ’innodb_buffer_pool_pages_total’ </em></p>
<p>Therefore, prior this monitor setup, <strong>SiteScope</strong> should already be deployed or considered in the deployment. Refer to SiteScope setup for more information. The ports between LoadRunner and SiteScope, SiteScope and MySQL should be opened on <strong>TCP 8888</strong> and <strong>TCP 3306</strong> respectively by default. On top of this basic requirement, monitoring a MySQL database requires the use of <strong>JDBC Driver</strong>, which SiteScope uses to interact with the <strong>MySQL</strong> database.</p>
<p>In summary, what you need before the setup is as followed.</p>
<ul>1. SiteScope to be deployed.<br />
2. Sufficient license points for Database Query monitor.<br />
3. TCP 8888 (default) opened two-way for LoadRunner to SiteScope.<br />
4. TCP 3306 (default) opened two-way for SiteScope to MySQL.<br />
5. Monitoring privileges for SiteScope to monitor MySQL.<br />
6. JDBC driver to be installed on SiteScope.<br />
7. Have knowledge of the counter you want to monitor.</ul>
<p>Let’s go into the details!</p>
<ul>1. Download the JDBC driver from <a href="http://www.mysql.com/downloads/api-jdbc.html" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">MySQL Download Connectors page</span></span></a>.<br />
2. Uncompress the distribution file.<br />
3. Among all the other files, find and extract a file with <strong>.jar extension</strong> to <em>Sitescope/java/lib/ext</em> directory. (Source: SiteScope Monitor Guide)<br />
4. Gather information about the <strong>hostname</strong> of the server and the <strong>database instance</strong> prior this step. In SiteScope console, add <strong>Database Query monitor</strong> to the existing monitoring group for the server (refer to SiteScope User Guide for more information). You should have the Name the monitor as <em>mysql-{status_variable}</em> to standardize the monitors (e.g. <em>mysql-innodb_buffer_pool_pages_total</em>).<br />
5. In the settings enter the following:</ul>
<p><strong>Fig. 2 SiteScope Settings</strong></p>
<p><img title="SiteScope MySQL Settings" src="http://loadrunnertnt.com/images/sitescope-mysql-settings.JPG" alt="" width="579" height="395" /></p>
<p><strong>Frequencies </strong></p>
<p>What SiteScope documentation proposes is:</p>
<ul>- For most critical and common query 2-5min.<br />
- Database statistics that change less frequently can be monitored every 30 or 60min.</ul>
<p>(Source: SiteScope Monitor Guide)</p>
<p>As for me, what I feel is to run the query at about 15-30secs interval as typical <strong>LoadRunner</strong> monitoring, it is defaulted at 15 secs. However by doing so, it may create additional overhead for making the query.</p>
<p><strong>Database Connection </strong></p>
<ul>
<li>Enter in the following format: <em>Jdbc:mysql://{database hostname}[:{tcp port}]/{database} </em></li>
<li>E.g. <em>jdbc:mysql://DB-MySQL01:3306/mysql </em></li>
</ul>
<p><strong>Database Driver</strong></p>
<ul>
<li> Enter following: <em>org.gjt.mm.mysql.Driver </em>(This Database Driver only applies for MySQL JDBC driver)</li>
</ul>
<p><strong>Query</strong></p>
<ul>
<li> Enter the Command Line for Query to Database</li>
<li>E.g. <em>show status where variable_name like ’innodb_buffer_pool_pages_total’</em></li>
<li>You can also run queries that directly execute on table based on your needs!</li>
</ul>
<p><strong>Advanced Settings</strong></p>
<ul>
<li>Enter Database <strong>User Name</strong> and Database <strong>Password</strong> for logging in of <strong>MySQL</strong> Database. I’m using root account to execute the query. I’m not too sure if there is any possibility of knowing the correct privilege needed to monitor. If you do, please let us know.</li>
</ul>
<p>Upon successful connection, you will prompt with ‘Successful Connection’ and the time Sitescope took to Query MySQL Database.</p>
<p>If you need to monitor another <strong>MySQL counter</strong>, a new monitor needs to be created. Example, if you want to monitor the <strong>Qcache_hits</strong>, you will have to perform step 4 to step 5 again for this new counter. Do ensure you have sufficient SiteScope license points for another monitor!</p>
<p>This concludes the monitoring for MySQL database server. Point to note that the queries executed may cause overhead to the database server which may required you to balance the pros and cons to implement this monitor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/how-to-configure-mysql-database-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parsing error. Details: host localhost,port 1112, line: 1. Reason: Invalid at the top level of the document.</title>
		<link>http://www.loadrunnertnt.com/errors/parsing-error-details-host-localhostport-1112-line-1-reason-invalid-at-the-top-level-of-the-document/</link>
		<comments>http://www.loadrunnertnt.com/errors/parsing-error-details-host-localhostport-1112-line-1-reason-invalid-at-the-top-level-of-the-document/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 15:20:39 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[JMX]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[WebLogic]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=173</guid>
		<description><![CDATA[Parsing error.
Details: host localhost,port 1112, line: 1.
Reason: Invalid at the top level of the document.
.
Contents: java.lang.Exception:java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogoc.admin.mbean, Administrators] [MsgId:MMSG-47587]
Background information: I&#8217;m monitoring 4 WebLogic servers using WebLogic (JMX) Monitor in LoadRunner and adding their JMX stats into Controller. Upon adding the subsequent server, the error appeared after entering the username and password to [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Parsing error.<br />
Details: host localhost,port 1112, line: 1.<br />
Reason: Invalid at the top level of the document.<br />
.<br />
Contents: java.lang.Exception:java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogoc.admin.mbean, Administrators] [MsgId:MMSG-47587]</p></blockquote>
<p>Background information: I&#8217;m monitoring 4 WebLogic servers using WebLogic (JMX) Monitor in LoadRunner and adding their JMX stats into Controller. Upon adding the subsequent server, the error appeared after entering the username and password to the Controller. I&#8217;m using LoadRunner 9.0 and Weblogic 8.1 in this context.<span id="more-173"></span></p>
<p>The principle behind it is that the mini Web server launched by the Controller for monitoring WebLogic JMX listens on port 1112 by default (defined in {LoadRunner}\dat\monitors\weblogicmon.ini). This port is occupied and the mini Web server cannot be started according to <a title="HP Openview Document ID 42701" href="http://support.openview.hp.com/selfsolve/document/KM%20195553">Document ID 42701, Error: &#8220;Failed to connect to XML source on 1112&#8243;</a>. This hinted me on the change of port. As suggested in the document, for every Weblogic server (JMX) that I&#8217;ve added, I change the port number on the file as below <a title="HP Openview Document ID 42701" href="http://support.openview.hp.com/selfsolve/document/KM%20195553" target="_blank">(Source: HP Openview Document ID 42701)</a>:</p>
<p>The solution is to configure the default port to a one not in use</p>
<p>1. Navigate to {LoadRunner}\dat\monitors.<br />
2. Open weblogicmon.ini in Notepad.<br />
3. Change</p>
<p>Weblogic=weblogic.jar<br />
Port=1112</p>
<p>to:</p>
<p>Weblogic=weblogic.jar<br />
Port=1114 {Or any other port that is free on the Controller machine}</p>
<p>4. Save the changes.<br />
5. Close the &#8220;Add Measurement&#8221; dialogue and re-open it. You should be able to add the JMX measurements. Repeat from [1] to [5] in the event that when the error occured for subsequent WebLogic servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/errors/parsing-error-details-host-localhostport-1112-line-1-reason-invalid-at-the-top-level-of-the-document/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 Monitoring Implementation Models</title>
		<link>http://www.loadrunnertnt.com/concepts/4-monitoring-implementation-models/</link>
		<comments>http://www.loadrunnertnt.com/concepts/4-monitoring-implementation-models/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 05:57:33 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Monitoring]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=309</guid>
		<description><![CDATA[Let’s touch on the monitoring implementation model for now. A new topic that was not covered in the predecessor site. You will benefit in understanding how to implement the the monitors in the testing environment as well as provide the requirements to the network and server teams to set the monitoring.  In this article, we [...]]]></description>
			<content:encoded><![CDATA[<p>Let’s touch on the monitoring implementation model for now. A new topic that was not covered in the <a href="http://loadrunnertnt.blogspot.com/">predecessor site</a>. You will benefit in understanding how to implement the the <strong>monitors</strong> in the testing environment as well as provide the requirements to the network and server teams to set the monitoring.  In this article, we will be omitting the details of <strong>SiteScope</strong> and <strong>Diagnostics</strong> integration and the implementation for the moment and they will be discussed in future post! So stay tuned for that!<span id="more-309"></span></p>
<p>There are four implementations for monitoring without SiteScope and Diagnostics.</p>
<ol>
<li>Direct</li>
<li>Open port on <strong>firewall</strong></li>
<li>Use one Mercury Agent inside the firewall</li>
<li>Use two Mercury Agents: one <strong>Listener</strong> outside the firewall and one Monitoring Agent inside the firewall.</li>
</ol>
<p>First, I presume you have a fundamental concept of how the <strong>monitoring</strong> works in <strong>LoadRunner</strong>. Bear this in mind so the discussion will be easily understood. If you are new to it, please refer to <a title="How does the monitoring work in LoadRunner?" href="http://www.loadrunnertnt.com/?p=301" target="_blank">&#8220;How does monitoring work in LoadRunner?&#8221;</a> to get a better understanding.</p>
<p style="text-align: center;" align="center"><img class="aligncenter" title="Monitoring Implementation" src="http://loadrunnertnt.com/images/Monitoring_Implementation_1.jpg" alt="" width="412" height="251" /></p>
<p>In [1], direct connection is required between the SUT (Server Under Test) usually inside a firewall; meaning the port is cleared and not blocked on the server. Also, prior to this the <strong>native monitor</strong> should already be working.</p>
<p style="float: left; margin-right: 8px;">
<p>For example, <strong>Windows System Resources</strong> required port <strong>139</strong> to be opened. Therefore, ensure direct connectivity between the <strong>Controller</strong> and SUT on port 139.</p>
<p>In [2], where most environment is protected by a <strong>firewall</strong>, you have to lift the port that the Controller communicates to the SUT. Back to the same example, port 139 is to be lifted on the firewall to allow the monitoring data to be sent back.</p>
<p>Moving on to the 3rd and 4th implementation, the need for installing <strong>LoadRunner</strong> <strong>agents</strong> arises and this increases the complexity (but a little effort in understanding will definitely reduce it).</p>
<p style="text-align: center;"><img class="aligncenter" title="Monitoring Implementation" src="http://loadrunnertnt.com/images/Monitoring_Implementation_2.jpg" alt="" width="584" height="279" /></p>
<p>In [3], the full installation of LoadRunner (<strong>Controller</strong>) will install everything on the machine, resulting in the machine to have the LoadRunner agent. This agent is called the MI Listener, talks to the <strong>MOFW agent (Monitoring Over Firewall)</strong> for monitoring data on port 54345 (strange number huh?).</p>
<p>The MOFW agent which is actually installed (recommended standalone) inside the <strong>firewall</strong>. It also utilizes port <strong>54345</strong> to communicate back to the MI Listener. Put it simply, Controller talks to the MOFW on port 54345 in a two-way traffic.</p>
<p>From the MOFW agent onwards, it is the typical native monitoring ports that is required to be opened. For example, with the <strong>Window System Resources</strong>, the communication is as followed: (1) Controller to MOFW is 54345 and (2) MOFW to SUT is 139. Simple right?</p>
<p>In [4], the concept is similar to [3], however we extend the <strong>MI Listener</strong> as a separate machine by itself. This way, you will need to have port <strong>50500</strong> between the Controller and MI Listener. The communication between the MI Listener to MOFW now, is 443, the default <strong>SSL</strong> communication.</p>
<p>Example with Windows System Resources, you will need the following communication enabled: (1) Controller to MI Listener is 50500, (2) MI Listener to MOFW is 443 and (3) MOFW to SUT is 139.</p>
<p>Why do we have these <strong>monitoring implementations</strong>? There can be various reasons to it but will the following are some suggested or experienced so far:</p>
<p>1. For [1] and [2], it’s a simple setup through direct connection. The cavaet is, it’s security implication on opening the native ports which is usually disallowed. Example, port <strong>139 datagram</strong> used by <strong>Windows System Resource Perfmon</strong>, is typically not allowed due to the security implication. Unless, the <strong>Controller</strong> and the <strong>SUT</strong> belongs to the same side of the <strong>firewall</strong>.</p>
<p>2. For [3], similar to [2], it attempts to open the port for communicating to the <strong>MOFW agent</strong> inside the firewall. In this implementation, it could be a situation that the agents had already been installed inside the firewall and all the Controller have to do is to connect to them. <strong>54345</strong> is not a popular port to be hacked I guessed.</p>
<p>3. For [4], is an attempt to use <strong>HTTP SSL (443)</strong> to communicate to the MOFW agents inside the firewall. This implementation proposed a secure way for communication as compared to lifting native monitoring ports (eg. 139).</p>
<p>4. For [3] and [4], you may have a dedicated machine to be a MOFW agent to collect monitoring data for every load test. This way, it’s more effective to just clear one port (either 443 or 54345).</p>
<p>5. For <strong>Unix System Resource</strong> monitoring which uses a dynamic port, the methods [3] and [4] is clearly more efficient for any port clearance procedures where the Controller connects to the MOFW on 54345 and MOFW connects to the Unix box on the dynamic port (no port lifting is required except 54345 is needed on the firewall).</p>
<p>So well, in summary, we covered the implemtation models in a general overview with the ports required and the benefits and cavaets each of them may have. This should be useful to you in planning the monitoring setup as well as</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/4-monitoring-implementation-models/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How does the monitoring work in LoadRunner?</title>
		<link>http://www.loadrunnertnt.com/concepts/how-does-the-monitoring-work-in-loadrunner/</link>
		<comments>http://www.loadrunnertnt.com/concepts/how-does-the-monitoring-work-in-loadrunner/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 05:25:23 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Concepts]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[Monitoring]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=301</guid>
		<description><![CDATA[
The objective of LoadRunner is simple; to load an application (set upon a certain environment and hardware), monitor the servers that is in the environment housing the applications, and lastly collect the results for analysis. LoadRunner sells itself as a load testing tool that is not intrusive in any environment with the capability of not [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="HP" src="http://loadrunnertnt.com/images/company_hp_logo.gif" alt="" width="64" height="55" /></p>
<p><span style="font-family: arial;">The objective of <strong>LoadRunner</strong> is simple; to load an application (set upon a certain environment and hardware), monitor the servers that is in the environment housing the applications, and lastly collect the results for analysis. LoadRunner sells itself as a load testing tool that is not intrusive in any environment with the capability of not requiring installation of agent programs on the servers in the environment (anyway, most monitoring tools work in this way).  How is this achievable?<span id="more-301"></span></span></p>
<p><span style="font-family: arial;">What <strong>LoadRunner</strong> does is to collect information of monitoring counters of the native monitors. Native monitors in this context mean the programs/modules that is in-built with the system that you are monitoring. Example of the commons, for monitoring <strong>Windows System Resources</strong>, LoadRunner draws information from the in-built tool, <strong>Perfmon</strong> which is available for almost all Windows OS. For <strong>Unix System Resources</strong>, LoadRunner uses rstatd daemon of Unix OS for monitoring.</span><br />
<!--adsensestart--><br />
<span style="font-family: arial;">For non-System Resources, such as <strong>Web Server Resources</strong>, Apache Web Server, the server must be configured to allow monitoring before LoadRunner can draw monitoring data out. This applies for Web Application Server such as <strong>BEA WebLogic</strong> and <strong>IBM WebSphere</strong>.  For <strong>Database Servers</strong>, there is an additional step that requires a client to be installed for the monitoring to be successful. Example, for <strong>Sybase</strong> Database, the Sybase AES client (if I do not remember wrongly) needs to be installed on the Controller; Oracle Database requires the <strong>V$SESSION</strong> table to be working. With the exception of MS SQL, where the counters are in-built into Perfmon.  Client programs that are required to installed also applies to <strong>WebLogic JMX Monitoring</strong>.  The list can go on however, the concept of monitoring is the same and applies for other monitors that is not mentioned in the above examples too. (More information of the monitoring requirements can be consulted in the Monitor Reference provided with each installation of LoadRunner.)</span></p>
<p><span style="font-family: arial;">Therefore, before any monitoring, the native monitors must be working prior to the test. If the native monitors are not working, the monitoring by LoadRunner will certainly fail. Usually, the monitors failed on the following reasons which I guessed for all load tester should be aware of.</span> Usually, I give myself 1 to 2 days for monitoring setup before the load test.</p>
<ul>
<li>No support for the native monitor; Check out the support level on the <span style="font-weight: bold;">documentations</span>, <span style="font-weight: bold;">knowledge base</span> articles and the <span style="font-weight: bold;">support</span> (if the information is not readily available online).</li>
<li>Configuration problems on the native monitors; Check out and verify the configuration settings on the native monitors against the documentations and knowledge base articles.</li>
<li>Environmental Issues such as <span style="font-weight: bold;">security</span>, <span style="font-weight: bold;">firewall</span> and <span style="font-weight: bold;">policies</span>; Ensure <span style="font-weight: bold;">connectivity</span> between the <span style="font-weight: bold;">Controller</span> and monitoring machines (dependent on the port number and how the load testing was implemented) and the access rights given to the load testing user.</li>
</ul>
<p>A sound understanding of the native monitors (<span style="font-weight: bold;">Perfmon</span>,<span style="font-weight: bold;"> rstatd</span>, etc) such as its configuration, type of monitoring data it can provide, and how it generally works will serve a good foundation before the load test. (Therefore quite a fair bit of reading and googling will do you good!) This will be useful for the load tester to relate the required configuration to the System Admin/Engineer, Network Engineers, etc and get the job done with minimal effort. (You need to talk their “language”!)</p>
<p>In summary, <span style="font-weight: bold;">LoadRunner</span> collects monitoring data from the native monitors. This requires the native monitors to be configured properly prior the load test. However, they do fail at times and it’s possible to scope down to either (1) no support, (2) configuration problem and (3) environmental issues that can resolved with adequate planning. Furthermore, a sound understanding of the native monitors will be useful when conveying instructions to the system/network team in configuring them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/concepts/how-does-the-monitoring-work-in-loadrunner/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

