Loadrunner monitors installation and operation of linux servers
Source: Internet
Author: User
Loadrunner monitors the installation and operation of linux servers-Linux Enterprise applications-Linux server application information. The following is a detailed description. I used to find a lot of related materials. later, I checked some information about linux on the Internet and found out where the error was. the installation is successfully monitored through the experiment. so share it with you.
1. install two service packages: rsh and rsh-server.
A. Uninstall rsh
Rpm? Q rsh ---------- view version number
Rpm-e version --------- Uninstall this version.
B. Installation
Rpm? Ivh rsh-0.17-14.i386.rpm rsh-server-0.17-14.i386.rpm
These two packages are shared under my directory.
2. Download and install rstatd (this package is also available in my shared directory)
Gunzip rpc.rstatd-4.0.1.tar.gz
Tar? Cvf rpc.rstatd-4.0.1.tar.
./Configure --- Configuration
Make --- compile
Make install --- install
Rpc. rstatd --- start the rstatd Process
3. Open/etc/xinetd. conf
The content is:
# Simple configuration file for xinetd
#
# Some ults, and include/etc/xinetd. d/
Ults
{
Instances = 60
Log_type = SYSLOG authpriv
Log_on_success = HOST PID
Log_on_failure = HOST
Cps = 25 30
}
Includedir/etc/xinetd. d
4. Restart xinetd:
A:
Service xinetd reload
B:
/Sbin/service xinetd rstart
5. Modify the three conf files rlogin, rsh, and rexec under/etc/xinetd. d,
Open these three files and change disable = yes to disable = no (disabled is used in the default {} to disable the service)
Or set # default: off To on and remove "#". This means that the above three services are started by default when xinetd is started!
6. Start rstatd:
Rpc. rstatd
7. Check whether rstatd is started:
Rpcinfo? P
If you can see:
100001 5 udp 618 rstatd
100001 3 udp 618 rstatd
100001 2 udp 618 rstatd
100001 1 udp 618 rstatd
It indicates that the rstatd service has been started. You can use LR for monitoring.
Because you can not upload these two files to the rsh-0.17-14.i386.rpm rsh-server-0.17-14.i386.rpm, so please find in the linux CD, or find it online.
HP UNIX
Manually stop sendmail & snmp:
/Sbin/init. d/sendmail stop
/Sbin/init. d/SnmpMaster stop
If sendmail is not started at startup, modify/etc/rc. config. d/mailservs and change = 1 to = 0.
If snmp is not started at startup, modify/etc/rc. config. d/SnmpMaster and change = 1 to = 0.
Stop rstatd service: You can view rpcinfo first. If yes, comment out rstat in the/etc/inetd. conf file.
Run #/sbin/init. d/inetd to restart the inetd service.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.