After you install the vFabric License Server in your vCenter environment, you install one or more vFabric components on one or more virtual machines (VM). The vFabric License Server automatically keeps track of the number of VMs on which you install the components.
If your guest operating system is Red Hat Enterprise Linux (RHEL),
VMware recommends that you use yum to install vFabric
components from the VMware RPM repository.
This section describes a typical example of installing vFabric tc Server on a VM with an RHEL guest operating system. The procedure shows typical steps but does not go into detail about the installation. For complete installation instructions, see the vFabric tc Server documentation.
Activate vFabric Suite licenses in your vCenter Server.
Create a virtual machine and install the RHEL guest operating system.
Install VMware tools on the guest VM. VMware recommends that you install the VMware tools in the default location on the guest VM to ensure that vFabric licensing for the installed component works correctly.
Install the vFabric Repository RPMs.
Installing the vFabric repository RPMs makes it easy for you to
browse the vFabric RPMs available in the VMware repositories. There
are two vFabric repositories, both located on
repo.vmware.com:
vfabric-5.1-repo-5.1: Contains the vFabric
component RPMs that are certified for vFabric 5.1.
vfabric-all-repo: Contains additional vFabric
component RPMs that have released after vFabric Suite 5.1
released, such as maintenance releases of components. These RPMs
may not necessarily be certified to work with those of vFabric
5.1. Additionally, the RPMs in vfabric-all-repo might
be used by customers who have not bought a vFabric 5.1 Suite
Standard or Advanced license.
In addition, each of the preceding repositories has separate URLs for RHEL 5 and RHEL 6.
If you are using only RPMs certified for vFabric 5.1 Suite
Advanced or Standard, then you install only
vfabric-5.1-repo-5.1. If, however, you are upgrading a
vFabric component to a version that has not yet been officially
certified for vFabric 5.1, then install both repositories.
On the RHEL VM, start a terminal either as the
root user or as an unprivileged user using
sudo.
Install the vfabric-5.1-repo-5.1, and
optionally vfabric-all-repo, RPMs using the
rpm command. The URLs of the RPMs differ depending on
the version of RHEL you are using.
For RHEL 5:
prompt# rpm -Uvh http://repo.vmware.com/pub/rhel5/vfabric/5.1/vfabric-5.1-repo-5.1-1.noarch.rpm prompt# rpm -Uvh http://repo.vmware.com/pub/rhel5/vfabric-all/vfabric-all-repo-1-1.noarch.rpm
For RHEL 6:
prompt# rpm -Uvh http://repo.vmware.com/pub/rhel6/vfabric/5.1/vfabric-5.1-repo-5.1-1.noarch.rpm prompt# rpm -Uvh http://repo.vmware.com/pub/rhel6/vfabric-all/vfabric-all-repo-1-1.noarch.rpm
If necessary, use sudo to run the preceding
commands if you are not logged in as the root
user.
You do this step only once. You install the vFabric repository RPMs on each RHEL VM on which you want to install one or more vFabric components.
Use the yum search
vfabric command to view the list of vFabric components that
you can install from the VMware repository. For example (with
sample output):
prompt# yum search vfabric ... ======================================== Matched: vfabric ========================================= vfabric-eula.noarch : VMware vFabric 5.1 End User License Agreement vfabric-gemfire.noarch : VMware vFabric GemFire vfabric-hyperic-agent.noarch : VMware vFabric Hyperic Agent vfabric-hyperic-server.x86_64 : VMware vFabric Hyperic Server vfabric-insight-agent.noarch : com.springsource.insight.dist.vfabric:agent-rpm vfabric-insight-dashboard.noarch : com.springsource.insight.dist.vfabric:dashboard-rpm vfabric-rabbitmq-java-client-bin.noarch : The RabbitMQ Java Client Library vfabric-rabbitmq-server.x86_64 : The RabbitMQ server vfabric-sqlfire.noarch : VMware vFabric SQLFire vfabric-tc-server-standard.noarch : VMware vFabric tc Server Standard vfabric-web-server.x86_64 : VMware vFabric Web Server
Log in as the root user to the RHEL VM on which you
are going to install the vFabric component and start a
terminal.
Execute the appropriate yum install
command to install the
vFabric component, where component is name of the
RPM package for the component.component
For the exact name of each RPM, search the output of yum
search vfabric as described in the Prerequisites
section.
For example, to install vFabric tc Server:
prompt# yum install vfabric-tc-server-standard
To install the Spring Insight agent and dashboard templates:
prompt# yum install vfabric-insight-agent vfabric-insight-dashboard
To install vFabric Web Server:
prompt# yum install vfabric-web-server
The yum command begins the install process,
resolves dependencies, and displays the packages it plans to
install.
If this is the first time that you install a vFabric component
on the VM, the yum command also installs the
vfabric-eula RPM and prompts you to accept the VMware
license agreement.
The yum command automatically choses the
appropriate RPM package based on your architecture (32- or
64-bit).
Enter y at the prompt to begin the actual
installation. Depending on the component, you may be asked additional
questions; answer as appropriate. If you need more detailed
information, see the component documentation.
If the installation is successful, you will see a
Complete! message at the end.
Each component RPM installs itself in a slightly different
location on your RHEL computer, and the installation is owned by
different users. For example, vFabric tc Server is installed in the
/opt/vmware/vfabric-tc-server-standard directory, and the
files are owned by root:vfabric.
See the vFabric component-specific documentation for details.
The component-specific next steps depend on the component you installed. For example, if you installed vFabric tc Server, you might enable EM4J in the VM, create an instance, start it, and deploy a Web application to the instance.
See the vFabric component-specific documentation for details.