You create an EM4J-enabled tc Runtime instance with the
tcruntime-instance command, specifying the
elastic-memory template. This is no different than using any
other tc Server template, but note these caveats:
The elastic-memory template is only useful in an ESXi virtual machine with a supported guest OS and JVM, where it is part of the memory management strategy for the virtualization environment.
The path to the tc Runtime instance (
must not contain spaces.
Enable EM4J. See Enable EM4J in the VM.
Install supported guest operating systems and a JDK or JVM on the VMs. See Platform Support.
Install VMware Tools on the guest operating systems. See Installing and Upgrading VMware Tools.
Install tc Server Standard Edition 2.6. This tc Server release
elastic-memory template, which you use to
create EM4J-enabled tc Server instances. See "Installing vFabric tc
Server" in Getting Started with vFabric tc
Change to the tc Server installation directory and create an EM4J-enabled tc Runtime instance.
prompt$ ./tcruntime-instance.sh create
with the name of the runtime instance. You can use additional
-t option) or use any of the other features of
tcruntime-instance command described in
"tcruntime-instance.sh Reference" in Getting Started with
vFabric tc Server.
Start the instance using the
To verify that EM4J started successfully, look in
CATALINA_HOME/logs/catalina.out for the message
Configure the tc Runtime instance. See Configure an EM4J-Enabled tc Runtime Instance.
For more information about running tc Server, see "Starting and Stopping tc Runtime Instances" in Getting Started with vFabric tc Server.
To get recommendations for using EM4J with ESXi and tc Server, see Configuring Java Applications for VMware.