Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
5 Views

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 followingcmds 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 -csampling 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?

0 Kudos
3 Replies
Highlighted
Employee
5 Views

Hi,

You should use - "vtl rdc-config -password " 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

0 Kudos
Highlighted
Beginner
5 Views

Hi,

You should use - "vtl rdc-config -password " 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?

0 Kudos
Highlighted
Employee
5 Views

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?

0 Kudos