In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
A brief description: the following error pops up when LoadRunner monitors 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 be 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 problems is that rpc.rstatd is not installed in the Linux system and the service is not enabled.
So then we verify our conjecture:
First check to see if rpc.rstatd is installed
The following is a code snippet:
[root@localhost bin] # whereis rpc.rstatd
If there is no rpc.rstatd in the list
Found that rpc.rstatd is not installed on the system
Note: rstatd Rstat protocol allows users on the network to obtain the performance parameters of each machine on the same network.
Second, prepare the download package: download the rpc.rstatd-4.0.1.tar.gz installation package
Download address: http://sourceforge.net/projects/rstatd
Use ssh client to upload rpc.rstatd-4.0.1.tar.gz package to Linux / home/Michael/tool/ directory
Execute the installation package:
The following is a code snippet:
Tar-xzvf rpc.rstatd-4.0.1.tar.gz / / decompress rcp.rstatd
Cd rpc.rstatd-4.0.1 / / go to the rpc.rstatd directory
. / configure / / configure the installation of rc.rstatd, the following is in the default way
Make / / compile rc.rstatd
Make install / / installation
Four restart xinetd
The following is a code snippet:
/ etc/init.d/xinetd restart
5 modify the setting of disable to no in the three conf (rlogin, rsh, rexec) under the etc/xinetd.d directory
The following is a code snippet:
Cd / etc/xinetd.d / / go to the etc/xinetd.conf directory
Vi rlogin / / Edit disable=no, Savin
Vi rsh / / Edit disable=no, Savin
Vi rexec / / Edit disable=no, Savin
Six, start rpc.rstatd and detect
The following is a code snippet:
Rpc.rstatd / / start the rpc.rstatd process
Rpcinfo-p / / execute this command to check the status of the rpc service
[root@localhost xinetd.d] # rpcinfo-p
Program version protocol port
Program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 40879 status
100024 1 tcp 53726 status
100001 5 udp 899 rstatd
100001 3 udp 899 rstatd
100001 2 udp 899 rstatd
100001 1 udp 899 rstatd
When you see rstatd, the rstatd service has been started. You can use LR to monitor.
Seventh, use Controller in Loadunner to monitor Linux resources
1 in controller, drag the UNIX resources in Systeme Resourece Graphs to the right-click resource monitoring area
2 Select Add Measurements with the right mouse button, add the IP address 192.168.52.189 of the monitored linux, and select the performance metrics to be monitored. After confirmation, it indicates success ^ _ ^ as shown in the following figure
Some may prompt the computer to access the data that measures cpu utilization. This is because you do not have this resource metric. When you add the computer, you re-add the resource metric cpu and the relevant information you need to OK.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.