Linux Installation LoadRunner load machine

Source: Internet
Author: User

1. loadrunner:http://download.csdn.net/download/intel80586/9542271 or other resources

2, first use rpm-qa|grep-i C + + command to confirm whether the server has installed compat-libstdc++-33-3.2.3-61.i386.rpm, if not downloaded installation: http://vdisk.weibo.com/s/ AKRZXII7HG3BZ, through the FTP tool will compat-libstdc++-33-3.2.3-61.i386.rpm upload to the server, with RPM-IVH installation, installation failure, error libc.so.6, libgcc_s, Using the Yum list libc.so.6* to query for installed packages and packages that can be installed, use the Yum install glibc.i686--setopt=protected_multilib=false to install the missing packages. Successful installation after resolving missing dependency packages (refer to post address: http://www.cnblogs.com/think3t/p/4165102.html)

3. Mount to the/opt/loadrunner directory using Mount-o loop Xxx.iso/opt/loadrunner. Enter the Linux directory to execute the./installer.sh installation. Solution mount error device is busy workaround (http://www.cnblogs.com/emanlee/p/3872518.html)

4, add an LR load end of the user Higkoo:useradd-g 0-s/bin/csh higkoo (higkoo This user default shell for CSH) here to say a bit more , the shell is just a shell of Linux, each Linux will have a default shell program, under CentOS, the default shell should be bash, but the csh used by LR, the two are essentially no different, but in the next configuration, There will be a little difference. You can use the command to see, Higkoo this user by default is CSH.

5. Modify the LR configuration:One difference between CSH and bash is that different configurations can be loaded when different shells are loaded. the default configuration for csh is under/ETC/CSH.CSHRC,and bash's default configuration is/etc/profile . in both of these configuration files, You can load some shell environment variables. LR defaults to the configuration file for an environment variable, and the file is /opt/hp/hp_loadgenerator/env.csh . As can be seen, *.csh such a configuration file is actually the CSH configuration file format, the default file content should be:

ENV.CSH This configuration has not been introduced into the CSH default configuration, we manually modify it, let it default to add environment variables, so it is very convenient. VIM/ETC/CSH.CSHRC in the last line plus source/opt/hp/hp_loadgenerator/env.csh

6. Switch to Higkoo user to see if the program is successfully installed. SU higkoo env View environment variables, see information stating that the environment variable was imported successfully

7, Cd/opt/hp/hp_loadgenerator/bin implementation./verify_generator, asked us to set a display variable, we directly modify the Env.csh file to resolve. first switch to root user, for two reasons:

1. env.csh files are read-only to Higkoo users and cannot be modified2, modify the ENV.CSH user, equivalent to modify the configuration of CSH, this time need to re-enter the CSH, in order to take effectso let's go back to root and modify the Env.csh file. vim/opt/hp/hp_loadgenerator/env.csh, add setenv DISPLAY 0.0 directly at the end of the file, and then perform the modification again to verify success.

8. Start the LR load machine: cd/opt/hp/hp_loadgenerator/bin/then execute./m_daemon_setup start

Note: You need to turn on port 54345

viewing ports: NETSTAT-NAOP | grep 54345
Turn on port 54345 or turn off firewall (service iptables stop)

9, use LoadRunner Press to connect the load machine, note in the UNIX environment page, choose Don t use RSJ, otherwise the connection fails.

Linux Installation LoadRunner load machine

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.