Linux Install Agent

Source: Internet
Author: User

Unzip the linux.zip Linux load machine Link: Https://pan.baidu.com/s/1yrmsT3PYfuL9Wlh4FEYxaA Password: s72n

Unzip Linux.zip

chmod 777-r linux/

CD Linux

SH installer.sh

Follow the prompts to enter the following:
Enter ' n '

Enter ' a '

Enter ' n '

Input ' I '

Enter ' F '

If the CSH shell is not installed, if you enter CSH prompt without the command, you need to install the CSH

Yum-y Install CSH

Install dependent packages
Yum-y Install glibc.i686

Yum-y Install libstdc++.so.5

Vi/etc/csh.cshrc
At the end of the document, add
Source/opt/hp/hp_loadgenerator/env.csh


Vi/opt/hp/hp_loadgenerator/env.csh
Change the comment on line 9th to:

Setenv Ld_library_path ${m_lroot}/bin:${m_lroot}/lib:/usr/lib

At the end of the document, add:
setenv DISPLAY 0.0
(used when saving: wq!)

Enter Env, and then find Hostname=xxxx

Then enter hostname to see the value of hostname, and if it is not the same as above Env, modify the Hosts file

Vi/etc/hosts add 127.0.0.1 back to XXXX, which is the value of hostname= in Env, for example:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 xxxxxx
Add xxxx at the back


Useradd-g 0-s/bin/csh Lr_test


Su lr_test


Cd/opt/hp/hp_loadgenerator/bin

./verify_generator

To start the LR load side:

Cd/opt/hp/hp_loadgenerator/bin

./m_daemon_setup Start
If successful, you will be prompted: M_agent_daemon (PID of the process),
If you fail, you will be prompted: M_agent_daemon (IS-down) workaround reference http://blog.sina.com.cn/s/blog_62079f62010199vm.html
At last

Check again to see if it started successfully
Ps-ef | grep M_agent_daemon

Open the controller side on Windows,

Set up the scene, select the script to execute, in design mode, click on the right generators,
Click Add in the Small pop-up window to add a new load Generator,
Fill in the name of the Linux IP address, at platform, select Unix,
Click More, under the UNIX Environment tab, tick the Don't use RSH entry.
Click on the "OK" button,
On the Load Generators page, select on the loading machine you just added, click "Connect", the connection is successful.

Problem resolution occurs:

1. Fix/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory issues

Yum-y Install glibc.i686

2./opt/hp/hp_loadgenerator/bin/lrv/chk_thread_lmt:error while loading shared libraries:libstdc++.so.5:cannot open Shared object File:no such file or directory

Yum-y Install libstdc++.so.5

Linux Install Agent

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.