annotate test/sun/management/jmxremote/startstop/REMOTE_TESTING.txt @ 11842:786a96919a43

8023093: Add ManagementAgent.status diagnostic command Reviewed-by: sla
author jbachorik
date Wed, 25 Mar 2015 18:33:17 +0100
parents 0c1c4b185451
children a4299d47bd00
rev   line source
dsamersoff@5088 1 1. Setup two hosts
dsamersoff@5088 2 2. Make sure tcp connection between them works
dsamersoff@5088 3 3. run tcpdump -i <interface> host <host2_name> and 'tcp[13] & 2!=0'
dsamersoff@5088 4 on host 1
dsamersoff@5922 5 4. run
dsamersoff@5922 6
jbachorik@11842 7 ${TESTJAVA}/bin/java -server TestApp \
dsamersoff@5922 8 -Dcom.sun.management.jmxremote.port=50234 \
dsamersoff@5922 9 -Dcom.sun.management.jmxremote.rmi.port=50235 \
dsamersoff@5922 10 -Dcom.sun.management.jmxremote.authenticate=false \
dsamersoff@5922 11 -Dcom.sun.management.jmxremote.ssl=false
dsamersoff@5922 12
dsamersoff@5922 13 on host2
dsamersoff@5088 14 5. run jconsole on host1
dsamersoff@5088 15 6. connect jconsole to host2:50234
dsamersoff@5088 16 Make sure jconsole works
dsamersoff@5088 17 Make sure only host2.50234 and host2.50235 appears in tcpdump output.
dsamersoff@5088 18
dsamersoff@5088 19