LoadRunner the following error occurred while monitoring Linux Resources:
Monitor Name:unix Resources. Cannot initialize the monitoring on 192.168.52.189. Error while creating the RPC client. Ensure that the machine can is connected and that it runs the Rstat daemon (use Rpcinfo utility for this verification). Detailed error:RPC:Failed to create RPC client.
Rpc-tcp:failed to establish RPC server address.
the essence of the above question is The RPC.RSTATD is not installed on the Linux system, and the service is not turned on due to
in monitoring Before Linux, I would like to point out that the liunx system mechanism is roughly the same as windows, and to monitor and get his relevant parameters must be agreed to, this is the operating system, so you must have sufficient permissions and methods to obtain, about Linux in the LR also related to add areas, Enjoy the same status as Windows. In Windows need to open many many permissions, as well as some remote access process, currently in Linux is no exception, there is a process under Linux is necessary, that is the system daemon Rpc.restat, I believe that the Guardian process is not unfamiliar, Many of the services that are usually initiated when the Linux system is booted are daemons, and it runs out of the terminal in the background.
so first of all, to see if the system has RPC service turned on , command rpcinfo-p to see
Configuration steps:
1, installation Portmap
2, installation rsh-0.17-14.i386.rpm
3, installation rsh-server-0.17-14.i386.rpm
4, installation rpc.rstatd-4.0.1.tar.gz
1, installation Portmap
Execution Instructions yum–y install Portmap
2, installation rsh-0.17-14.i386.rpm
copy The file rsh-0.17-14.i386.rpm rsh-server-0.17-14.i386.rpm to the usr/local/ of Linux Path under
Rpm-qa |grep rsh -- See if rsh is installed
Installing Rsh,rsh-server
2, installation rpc.rstatd-4.0.1.tar.gz
Installing RSTATD
[Email protected]/]# TAR-XZVF rpc.rstatd-4.0.1.tar.gz
[Email protected]/]# CD rpc.rstatd-4.0.1
[Email protected]/]#./configure
[[email protected]/]# make
[[email protected]/]# make install
3. Configure the rstatd target daemon xinetd After the installation is complete, the configuration file is in the/ETC/XINETD.D directory
4. Restart Linux
5. Start rpc.rstatd
6. Turn off the Linux firewall
Service Iptables Stop
7 . Monitor Linux resources with loadrunner Controller
- in the Controller, drag the UNIX resources in System Resource graphs to the resource monitoring area on the right.
- right mouse button selection Add measurements, adding the IP address x.x.x.x of the monitored Linux, select the performance metrics to be monitored and confirm.
Note: To shut down during the monitoring process Linux firewall, or it may fail to monitor
LoadRunner Monitoring Linux Configuration tutorial