Remote Systems Tracing with Chime

Chime has a nifty little feature where you can run it in server mode and then monitor the system remotely using the Chime GUI.

On the server simply run:

bleonard@opensolaris:~$ chime server
Listening for remote DTrace consumers on port 5088
Press the Enter key to stop the server.

Then on the client point chime to the server:

chime 10.0.1.10

At least it's supposed to be that easy, however, there's a small issue with Java RMI that prevents this from working correctly.



I did some research on RMI and discovered you have two options to solve this problem.

Option 1 is to add your server's IP address to /etc/hosts as follows and restart the chime server.

127.0.0.1	opensolaris opensolaris.local localhost loghost
10.0.1.10	opensolaris

Alternatively, you can edit the /opt/OSOL0chime/bin/chime script on the server to include the following JVM property (Of course supplying the proper IP address):

JMX_FLAGS="${JMX_FLAGS} -Djava.rmi.server.hostname=10.0.1.10"
Choose either option and you should then be able to successfully monitor the remote system.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today