X

News, tips, partners, and perspectives for the Oracle Solaris operating system

Remote Systems Tracing with Chime

Guest Author

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.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.