Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..
590 views

Linux LG Query

Jump to solution

Apologies if this is a very simple and basic question. We recently built a Linux LG server and set the environment variables as recommended in the 12.55 guide. When we run verify_generator however we get these results:

 

verify_generator...OK

verify_generator...OK

verify_generator...OK

verify_generator...OK

Warning: The file .rhosts does not exist in the home directory of the user.

Command rsh not found

Command ypmatch not found

Command rpcinfo not found

Command ypcat not found

verify_generator...OK

verify_generator...OK

verify_generator...OK

verify_generator...OK

Verify running the product executables...Failed

_____Failed to run the product executables.

_____Error:

mdrv: error while loading shared libraries: libdriver.so: cannot open shared object file: No such file or directory

verify_generator...OK

_______________________________________________

 

Summary:

________

Vuser Host server.com: Failed

Can someone please advise what we need to do to resolve the above? Thanks.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Linux LG Query

Jump to solution

Hi Shlomi,

 

we managed to get it working in the end. What happened was our Redhat O/S version was 7.5 and the version Microfocus recommends in 7.3. So we configured our Linux server with correct Redhat version and reinstalled the LG software. After this we set the environment variables and started the daemon service and the Load Generator worked fine.

The only issue we've seen since (and I have spoken to this on another thread here) is that we do not see any of the Linux server's resource utilization stats when we run a test. The Windows servers do show this detail. We had a case open about this but the engineer reported that this is a known issue. 

 

https://softwaresupport.softwaregrp.com/group/softwaresupport/search-result/-/facetsearch/document/LID/QCCR1J18806

 


Missing Linix data.PNG

View solution in original post

5 Replies
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Linux LG Query

Jump to solution

OK so we managed to figure it out, just needed to set an environment setting:

LD_LIBRARY_PATH=/opt/HP/HP_LoadGenerator/bin

So now we see:

 

verify_generator...OK

verify_generator...OK

verify_generator...OK

verify_generator...OK

Warning: The file .rhosts does not exist in the home directory of the user.

Command rsh not found

Command ypmatch not found

Command rpcinfo not found

Command ypcat not found

verify_generator...OK

verify_generator...OK

verify_generator...OK

verify_generator...OK

verify_generator...OK

verify_generator...OK

_______________________________________________

 

Summary:

________

Vuser Host LGserver.com: OK

 

In Lab Manager I can see the host as operational but when I perform a 'Check Host' it fails and in the evnt log it says "Failed to 'Check Host LGServer'. For more information, see the HP ALM Lab Management Troubleshooting Guide."
I'm just about to start referring to the guide but are there any quick steps I could take to reolve this issue?

Thanks.

0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Linux LG Query

Jump to solution

Ok so we have verified the environment variables are set and we are trying to connect to the Load Generator without using rsh.

1.  Ran this command from the bin folder - ./m_daemon_setup -install

2. In the Controller machines, selected Scenario > Load Generators. 
3. Clicked Add. 
4. In the Name box, enter the name of the computer on which the load generator is running. (our Linux LG server)
5. From the Platform list, selected Linux.
6. Click More.
7. Clicked on the Linux Environment tab, and made sure that the 'Don’t use RSH check box is selected'

But when we try to connect we get an error - 

 

Failed to connect to the agent.

 

Load Generator not responding after timeout

Command line that was executed:

 

-usr dat/lr_trans_server.usr -controllerhost "Contoller_Server" -bridge -monitor_parent -extra_ext time_diff_ext -no_exception  -eve_file_version 3 -drv_log_file_under_cntrl lr_bridge.log -working_lang 0 -es_unique_id 1 -extra_ext SummaryDataTransExt -trans_server_extra_ext SummaryDataTransExt -trs_online_mode 0 -trs_timer_duration 5  -out_communication 0 -supply_netdir -base_temp_dir "/opt/HP/HP_LoadGenerator/Temp " -extra_ext mft_server -keep_temp_dir -lnch_priority normal -no_popups -lnch_interactive  -lnch_registry_key "HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\LoadRunner\CurrentVersion\RuntimeEnvironment"  -product_name "LoadRunner" -lnch_dont_remove_until_notify -lnch_remote_port_for_parent 54345

 

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Linux LG Query

Jump to solution

Hi,

Sorry for the late reply. Did you open a support ticket to get assistance?
Which Linux flavor are you using? Did you check it is supported in the system requirements?

Regards,
Shlomi

0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Linux LG Query

Jump to solution

Hi Shlomi,

 

we managed to get it working in the end. What happened was our Redhat O/S version was 7.5 and the version Microfocus recommends in 7.3. So we configured our Linux server with correct Redhat version and reinstalled the LG software. After this we set the environment variables and started the daemon service and the Load Generator worked fine.

The only issue we've seen since (and I have spoken to this on another thread here) is that we do not see any of the Linux server's resource utilization stats when we run a test. The Windows servers do show this detail. We had a case open about this but the engineer reported that this is a known issue. 

 

https://softwaresupport.softwaregrp.com/group/softwaresupport/search-result/-/facetsearch/document/LID/QCCR1J18806

 


Missing Linix data.PNG

View solution in original post

Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Linux LG Query

Jump to solution

Hi,

Thanks for sharing this update. I am glad it works now.

Regarding the system resources for Linux Load Generator - you are right. It was never implemented due to very low usage by our customers. Now we see customers adopt Linux LGs more often we will reconsider the priority. 

Note that for dynamically allocated Linux Docker containers (via PC integration with Kubernetes) we do configure Heapster monitor on the container.

Regards,
Shlomi

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.