<?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; up-time</title>
	<atom:link href="http://www.loadrunnertnt.com/tag/up-time/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>How do we determine up-time of server/service?</title>
		<link>http://www.loadrunnertnt.com/analyze/how-do-we-determine-up-time-of-serverservice/</link>
		<comments>http://www.loadrunnertnt.com/analyze/how-do-we-determine-up-time-of-serverservice/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 03:54:28 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Analyze]]></category>
		<category><![CDATA[up-time]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=338</guid>
		<description><![CDATA[This is a recommendation from Mitch Tulloch who is a frequent contributor in Windows Networking. Two counters were recommended to verify the server/service availability.
System\System Up Time
This counter describes the time that the server was last rebooted in seconds. Use this when you want to determine the when your server is restarting abnormally. Note, when you [...]]]></description>
			<content:encoded><![CDATA[<p>This is a recommendation from <a href="http://www.windowsnetworking.com/Mitch_Tulloch/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Mitch Tulloch</span></span></a> who is a frequent contributor in <a href="http://www.windowsnetworking.com/" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Windows Networking</span></span></a>. Two counters were recommended to verify the server/service availability.<span id="more-338"></span></p>
<p><strong>System\System Up Time</strong></p>
<p>This counter describes the time that the server was last rebooted in seconds. Use this when you want to determine the when your server is restarting abnormally. Note, when you placed in <strong>LoadRunner</strong>, when the server is restarting, <strong>Controller</strong> will detect no connection to the server and prompt an error. However, it should regain connection for <strong>monitoring</strong> after the server is fully restarted.</p>
<p><strong>Process(instance)\Elapsed Time</strong></p>
<p>This counter describes the time for a certain process/instance. You can use the Process(instance) \Elapsed Time counter to also monitor processes associated with specific applications and services to monitor the availability of these applications and services.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/analyze/how-do-we-determine-up-time-of-serverservice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to monitor 99.99% uptime for a Unix box?</title>
		<link>http://www.loadrunnertnt.com/how-tos/how-to-monitor-99-99-uptime-for-a-unix-box/</link>
		<comments>http://www.loadrunnertnt.com/how-tos/how-to-monitor-99-99-uptime-for-a-unix-box/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 03:12:16 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[up-time]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=59</guid>
		<description><![CDATA[Actually, this was a question related to Solaris boxes instead of Unix brought up in the Yahoo LoadRunner Group. We have to differ the purpose of the monitoring to two aspects.  (a) Are you monitoring during a load test or (b) are you monitoring in a production environment?
In respond to the questions, I’ve came out [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><img class="alignleft" title="Unix" src="http://loadrunnertnt.com/images/itm-unix30logo.gif" alt="" width="231" height="76" />Actually, this was a question related to <span style="font-weight: bold;">Solaris</span> boxes instead of Unix brought up in the <a href="http://tech.groups.yahoo.com/group/LoadRunner" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">Yahoo LoadRunner Group</span></span></a>. We have to differ the purpose of the monitoring to two aspects.  (a) Are you monitoring during a load test or (b) are you monitoring in a production environment?</p>
<p>In respond to the questions, I’ve came out with three suggestions:<span id="more-59"></span></p>
<ul>1. Use a single <span style="font-weight: bold;">Vuser</span> to monitor the <span style="font-weight: bold;">Unix System Resource</span> for the duration.<br />
2. Use <span style="font-weight: bold;">BAC (Business Availabilty Center)</span> to monitor.<br />
3. Use <span style="font-weight: bold;">“uptime”</span> command in the Unix box and output to a log file periodically.</ul>
<p>Let’s discussed in details each of the methods details.</p>
<p><span style="text-decoration: underline;">[1] Use a single Vuser to monitor the Unix system resource for the duration.</span></p>
<p>This is a method to circumvent the conventional monitoring technique. You will get your graphs from Unix, however, take note that this is not all perfect. When <span style="font-weight: bold;">LoadRunner</span> completes a <span style="font-weight: bold;">scenario execution</span> (load test), it collates the results from the <span style="font-weight: bold;">Load Generators</span> (LG in short) back to the Controller at the end of the test. Say we are monitoring for 7 days, the monitoring results of these 7 days will be sent back to the Controller which may fail due to (1) the size of data being transmitted over the <span style="font-weight: bold;">bandwidth</span> and (2) the amount of resources needed to process the<span style="font-weight: bold;"> monitoring</span> results sent back, inadvertently causing it to crash or hang.</p>
<p><span style="text-decoration: underline;">[2] Use BAC to monitor</span></p>
<p>BAC and <span style="font-weight: bold;">SiteScope</span>, both from <span style="font-weight: bold;">Mercury/HP</span> will be able to achieve that. The main purpose of the above products is to monitor in a <span style="font-weight: bold;">production environment</span> and send reports or alerts depending on the configuration. There is also other monitoring products out in the market but it’s up the organization to decide what is best for them.</p>
<p>Take note that the monitoring principle for <span style="font-weight: bold;">LoadRunner</span> and BAC/SiteScope is the same (BAC is tapping to capabilities of SiteScope monitoring). I’ve discussed that in an article,<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> previously, which you may want to explore.</p>
<p><span style="text-decoration: underline;">[3] Use “uptime” command in the Unix box and output to a log file periodically (Unix only)</span></p>
<p>This is by far the cheapest method as you are riding on the capabilities of your current resources. <span style="font-weight: bold;">Uptime</span> provides information about the system availability since it’s last boot up. For more information of uptime, click <a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?uptime" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">here</span></span></a>. Also, refer to this <a href="http://www.december.com/unix/tutor/redirect.html" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">resource</span></span></a> for redirection output information.</p>
<p>By running a <span style="font-weight: bold;">cron job</span> periodically, example every 30 min, and redirect the output to a log file, you can trace when the system was rebooted. For more information of cron job, click <a href="http://www.adminschoice.com/docs/crontab.htm" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">here</span></span></a>. Use the following syntax in the crontab file if you are keen implementing this suggestion.</p>
<ul><strong>Example:</strong><br />
30 18 * * * uptime &gt;&gt; uptime.log</ul>
<p><!-- Additional Items for the post:Start --><!-- Additional Items for the post:End --><!-- Social Networks --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/how-tos/how-to-monitor-99-99-uptime-for-a-unix-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
