Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
Jie Jiang
Total Points:
70
Status Points:
20
Green Belt
December 8, 2008 2:23 AM PST
problems on remote data collection

Hi,

My vtune works well with native callgraph and sampling collectors.

The paltform is Linux/Itanium2 processor(Montecito).

However, when trying to do remote callgraph, I got errors.

On the terminal of the server(here I emulate the remote DC on the target server) with IP address x.x.x.x,

after vtserver is launched, I typed  following cmds  to do remote callgraph :

vtl activity -c callgraph usr@x.x.x.x -app ./a.out  run

I got the following errors:

"Different host names were found in Data Collector description and appropriate Application Profile. Change one so that the hosts match."

Note that in my /etc/hosts file,  the target server has several entries with different host names mapped to the same IP address.

How to solve this problem?

And another problem also with the remoted sampling.

Also on the terminal of the target server, after typing in the following cmd:

vtl activity -c sampling usr@x.x.x.x -app ./a.out  run

I got the following error message:

[ERROR]  The Sampling Collector failed to start because the driver is not loaded now!

However, I'm sure that the vtune_drv is installed! (using lsmod|grep vtune_drv)

How to explain this?

 

Peter Wang (Intel)
Total Points:
8,467
Status Points:
7,967
Brown Belt
December 8, 2008 7:32 PM PST
Rate
 
#1

Hi,

You should use - "vtl rdc-config -password <username@system>" first, my case:

vtl rdc-config -password root@10,239,44,83, it will ask you enter password for "root". Then you can use

like as "vtl activity -c sampling,,10.239.44.83 -app /bin/ls,-exit,,10.239.44.83 run"

 

See more detail in "vtl -help"

 

Regards, Peter

 



Jie Jiang
Total Points:
70
Status Points:
20
Green Belt
December 8, 2008 8:56 PM PST
Rate
 
#2 Reply to #1

Hi,

You should use - "vtl rdc-config -password <username@system>" first, my case:

vtl rdc-config -password root@10,239,44,83, it will ask you enter password for "root". Then you can use

like as "vtl activity -c sampling,,10.239.44.83 -app /bin/ls,-exit,,10.239.44.83 run"

 

See more detail in "vtl -help"

 

Regards, Peter

 

Surely I have authenticated into the target machine. I just omitted the steps in my previous post.

An strange problem is that, when remotely collecting data with root, it works well.

The problems only occur with non-root users.

And I'm sure that this non-root user is added into the "vtune" group and the vtserver is working.

Why?

 



Peter Wang (Intel)
Total Points:
8,467
Status Points:
7,967
Brown Belt
December 8, 2008 9:13 PM PST
Rate
 
#3 Reply to #2

Surely I have authenticated into the target machine. I just omitted the steps in my previous post.

An strange problem is that, when remotely collecting data with root, it works well.

The problems only occur with non-root users.

And I'm sure that this non-root user is added into the "vtune" group and the vtserver is working.

Why?

 

I never met such problem if you already added non-root user into "vtune" group. Have you checked it with vtl command for non-root user on the server? 





Intel Software Network Forums Statistics

8289 users have contributed to 31235 threads and 99108 posts to date.
In the past 24 hours, we have 7 new thread(s) 24 new posts(s), and 31 new user(s).

In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing...  Escalated as

Please welcome our newest member Michael Johanson