Tuesday, October 12, 2010

Load testing and performance measuring

Apache JMeter

is open source software, a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.
What can I do with it?

Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.
What does it do?


Apache JMeter features include:

* Can load and performance test many different server types:
o Web - HTTP, HTTPS
o SOAP
o Database via JDBC
o LDAP
o JMS
o Mail - POP3(S) and IMAP(S)
* Complete portability and 100% Java purity .
* Full multithreading framework allows concurrent sampling by many threads and simultaneous sampling of different functions by seperate thread groups.
* Careful GUI design allows faster operation and more precise timings.
* Caching and offline analysis/replaying of test results.
* Highly Extensible:
o Pluggable Samplers allow unlimited testing capabilities.
o Several load statistics may be choosen with pluggable timers .
o Data analysis and visualization plugins allow great extendibility as well as personalization.
o Functions can be used to provide dynamic input to a test or provide data manipulation.
o Scriptable Samplers (BeanShell is fully supported; and there is a sampler which supports BSF-compatible languages)

JMeter is not a browser

JMeter is not a browser. As far as web-services and remote services are concerned, JMeter looks like a browser (or rather, multiple browsers); however JMeter does not perform all the actions supported by browsers. In particular, JMeter does not execute the Javascript found in HTML pages. Nor does it render the HTML pages as a browser does (it's possible to view the response as HTML etc, but the timings are not included in any samples, and only one sample in one thread is ever viewed at a time).

Download Apache Jmeter

Monday, July 19, 2010

Nagios installation on CentOS 5.4

Install & Configure Prerequisites

  • Install Apache
    • yum install httpd php gcc glibc glibc-common gd gd-devel
  • Configure Apache to start on boot
    • /sbin/chkconfig --levels 345 httpd on
  • Configure iptables to allow Apache traffic
    • /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
    • /etc/init.d/iptables save
    • /etc/init.d/iptables restart

Install & Configure Nagios

  • Install Nagios & Plugins
    • yum install nagios nagios-plugins nagios-plugins-setuid
  • Create the default Nagios web access user & set a password
    • htpasswd -c /etc/nagios/htpasswd.users nagiosadmin
  • Verify default config files
    • nagios -v /etc/nagios/nagios.cfg
  • Start Nagios
    • /etc/init.d/nagios start
  • Start Apache
    • /etc/init.d/httpd start

Verify Install

  • Try logging into your new Nagios installation by going to http://servername/nagios/ and logging in with nagiosadmin and the password you set.

Notes

  • Not all plugins will run without additional packages being installed (Ex. check_mysql won't run without installing mysql).

Monday, June 28, 2010

Tag Heuer Monaco V4 Watch

Ta-Heuer-Monaco-V4-Limited-Edition_3Tag Heuer Monaco V4 Watch – You’re looking at the world’s first watch with belt drives, linear mass and ball bearings.  We feel, however, that you could throw out those little stats and this watch would be just as sexy.  After it’s initial announcement in 2004, the Tag Heuer Monaco V4 Watch has officially been released to the public, with 150 units selling for just over $80,000 each. The hands inside the Monaco V4′s platinum case are driven by a set of five of the world’s smallest belt drives and ball bearings, an unique approach to driving such a calculated timepiece.  If you’re one of those lucky enough to afford this revolutionary piece of watch history, we’re jealous.
Ta-Heuer-Monaco-V4-Limited-Edition_4
Ta-Heuer-Monaco-V4-Limited-Edition_5

Tag Heuer Monaco V4 Watch Gallery


Friday, June 18, 2010

Sunday, June 13, 2010

Motorola :: Backhaul or extend your network wirelessly.

High-performance, point-to-point radio solutions operate in many frequencies, providing reliable connectivity when and where you need it, even in the most challenging environments such as Motorola Bridges .

I think Motorola bridges are reliable after deploying one ,  result is awesome .

PTP 500 Series to deliver high-speed, robust wireless back haul. Connect buildings in a campus setting. Extend video surveillance beyond the wired infrastructure. Support bandwidth-intensive applications such as Voice-over-IP, tele medicine, IP gaming and multimedia. The PTP 500 bridges can deliver up to 99.999% availability in virtually any environment, including non-line-of-sight, long-distance line-of-sight, over water or open terrain, even through extreme weather conditions.

PTP 500 Series bridges come in Integrated and Connectorized models, both available in 5.4 and 5.8 GHz RF bands and operating at data rates up to 105 Mbps.

Tuesday, May 18, 2010

CellTrack software for Telecom engineers

CellTrack is a program to collect some phone information about the cell you are connected to - like the net monitor. For more information about GSM net search the web.

It helps me to find problem in telenor pakistan connection because my calls keep dropping , after complaining again and again and problem not resolved i take matters in my hands and try to find the problem .

Finally i find out that i am in dispute area and after specific signal strength my cell phone change cell while it changing cell my call drop ( Ping pong issue ).


Recommendation

It will be optimize that it should not switch cell until unless signal strength is less than 30 % or something .
 ( Not sure how they optimize , i don't think they know optimization at all , stupid telenor )

Download 

Monday, May 10, 2010

SSH login without password

Create key first with or without password .
avo@prod1:~> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/a/.ssh/id_rsa): 
Created directory '/home/a/.ssh'.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/a/.ssh/id_rsa.
Your public key has been saved in /home/a/.ssh/id_rsa.pub.
The key fingerprint is:
3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 avo@prod1.
Copy the key to all other machines on which you need to log in without password.
cat .ssh/id_rsa.pub | ssh avo@prod2 'cat >> .ssh/authorized_keys'
OR
cat .ssh/id_rsa.pub | ssh root@192.168.100.10 'cat >> .ssh/authorized_keys'
Or whatever your user and hosts are .