5.0

Table Of Contents
34 vFabric Platform
34 Installing vFabric Platform
6. Execute the tcruntime-ctl.sh command to start the new tc Runtime instance. Use the -n option to specify the
directory in which you created the instance. For example:
prompt$ ./tcruntime-ctl.sh -n /home/tcs/instances mydashboard start
7. Confirm that the tc Runtime instance is running by invoking its Welcome page in a browser. Use the URL
http://host:8080, where host is the name or IP address of the computer on which the tc Runtime instance is running
(localhost if local).
On the RHEL VM on which you want to run the Spring Insight agent:
1. If you have not already done so, download and install a JDK or JRE, version 1.6.
2. Set the JAVA_HOME environment variable of the tc-server user to point to the JDK installation and update the PATH
environment variable to point to the JAVA_HOME/bin directory.
3. Log in to the RHEL VM on which you want to run the Spring Insight agent as the root user, and then su to the tc-
server user:
prompt# su - tc-server
You cannot login directly as the tc-server user because interactive login for the tc-server user has been disabled.
4. Open a terminal window and change to the /opt/vmware/vfabric-tc-server-standard directory:
prompt$ cd /opt/vmware/vfabric-tc-server-standard
5. Execute the tcruntime-instance.sh to create a new tc Runtime instance that uses the insight-agent template.
Use the -i option to specify the full pathname of the directory in which the new instance will be created; be sure the tc-
server user can write to this directory. For example:
prompt$ ./tcruntime-instance.sh create myagent -i /home/tcs/instances -t insight-agent
-p insight-agent.dashboard.jms.connect.uri=tcp://myDashboardServer:21234
Set myDashboardServer to the hostname or IP address of the RHEL VM on which you created the Spring Insight
dashboard. This is how the Spring Insight agent knows how to connect to the dashboard.
6. Execute the tcruntime-ctl.sh command to start the new tc Runtime instance. Use the -n option to specify the
directory in which you created the instance. For example:
prompt$ ./tcruntime-ctl.sh -n /home/tcs/instances myagent start
7. Confirm that the tc Runtime instance is running by invoking its Welcome page in a browser. Use the URL
http://host:8080, where host is the name or IP address of the computer on which the tc Runtime instance is running
(localhost if local).
8. Deploy a Web application to the tc Runtime instance on which the Spring Insight agent is running by copying its WAR file
into the webapps directory of the instance, such as /home/tcs/instances/myagent/webapps.
Invoke the Spring Insight dashboard in your browser so you can start monitoring the performance of the Web application you
deployed to the tc Runtime instance on which the Insight agent is running. To invoke the Insight dashboard, use the URL
http://myDashboardServer:8080/insight. Login using the default Insight username/password of spring/
insight.
What to do next
This section provides minimal information about how to get started with this vFabric component; for detailed information, see
the component-specific documentation by clicking on the vFabric tc Server X.X link in the left frame of this Documentation
Center, then on Spring Insight Operations.