VMware vFabric Suite - 5.1 Getting Started

Getting Started with vFabric Suite

VMware vFabric Suite 5.1
This document supports the version of each product listed and
supports all subsequent versions until the document is replaced by
a new edition. To check for more recent editions of this document,
see http://www.vmware.com/support/pubs.
EN-000899-00
You can find the most up-to-date technical documentation on the VMware Web site at: https://www.vmware.com/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com
Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://
www.vmware.com/download/patents.html.
VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
VMware, Inc., 3401 Hillview Avenue, Palo Alto, CA 94304
www.vmware.com

Table of Contents

1. About Getting Started with vFabric Suite .................................................................................................. 1
Intended Audience ......................................................................................................................... 1
2. Quick Start Guide .............................................................................................................................. 3
3. Overview of vFabric Suite 5.1 ............................................................................................................... 7
vFabric Suite Editions and Components ............................................................................................... 7
vFabric Administration Server for Easier Component Management ............................................................. 16
Simplified VM-Based Licensing Model .............................................................................................. 16
vFabric Suite Product Integration and vSphere Integration ........................................................................ 16
Engineered for Spring-Built Applications ............................................................................................ 17
4. vFabric Licensing ............................................................................................................................. 19
How Licensing Works with Standalone vFabric Components .................................................................... 19
How Licensing Works with vFabric Suite Standard and vFabric Suite Advanced ............................................. 19
Check the Validity of an Existing License Key ..................................................................................... 19
License Usage Reporting ............................................................................................................... 21
5. Installing vFabric Suite ...................................................................................................................... 23
Install vFabric License Server on Your vCenter Server ............................................................................ 23
Activate vFabric Suite Licenses ....................................................................................................... 27
RHEL: Example Walkthrough of Installing Component From the VMware RPM Repository ............................... 28
Windows/Linux: Example Walkthrough of Installing Component from Download Page ..................................... 31
Upgrade vFabric License Server ....................................................................................................... 32
Uninstall vFabric License Server from vCenter Server ............................................................................ 32
6. Monitoring vFabric License Usage ......................................................................................................... 35
Monitor License Usage Using Command-Line Tools .............................................................................. 35
Monitor License Usage Using the Web User Interface ............................................................................ 38
Displaying the Component Events File in Readable Format ...................................................................... 40
iii
iv vFabric Suite
About Getting Started with vFabric Suite

1. About Getting Started with vFabric Suite

Revised May 29, 2012.
Getting Started with vFabric Suite describes product concepts and initial setup tasks for VMware® vFabric Suite™ products. Read this documentation for an overview of vFabric Suite components; to familiarize yourself with the licensing infrastructure; and to see walkthrough procedures for installing vFabric Suite components.

Intended Audience

Getting Started with vFabric Suite is intended for experienced Windows and Linux developers and system administrators who want to learn about vFabric Suite and its included components; install the vFabric License Server on an existing VMware® vCenter™ Server; and understand how vFabric licensing works.
1
1
2 vFabric Suite
About Getting Started with vFabric
2
Suite
Quick Start Guide 3

2. Quick Start Guide

This section guides you through the end-to-end process of installing vFabric Suite, or more specifically, installing one vFabric component on a Red Hat Enterprise Linux (RHEL) virtual machine in the context of vFabric Suite. In particular, the procedure describes how to perform the following tasks:
• Create an ODBC data source on the Windows computer running vCenter Server that connects to either the database system
used by vCenter Server or to a separate database system. You will later specify this data source when you install vFabric License Server. If you use the vCenter database system, VMware recommends that you create a separate database instance for vFabric use so as to keep the data of the two products separate. This ODBC data source should be used only by vFabric License Server.
In this Quick Start Guide, it is assumed you are using a SQL Server database system, although you can also use other database system such as Oracle.
• Install vFabric License Server on the same computer as your vCenter Server.
• Activate a vFabric license.
• Install the vfabric-5.1-repo-5.1 RPM on the RHEL virtual machine (VM), which makes it easy for you to browse the
VMware RPM repository.
• Install one vFabric component (vFabric tc Server) on the RHEL VM from the VMware RPM repository.
The procedure shows you how to complete the entire installation process as quickly as possible, with minimal explanation of what each step means. For more details, see Installing vFabric Suite.
Prerequisites
• Install and configure vCenter Server and vSphere Client on a Windows 64-bit computer.
See vSphere Installation and Setup.
• Create the database instance that will contain vFabric license data. See Guidelines for Creating the vFabric License Server
Database Instance.
• Create a virtual machine (VM) and install Red Hat Enterprise Linux (RHEL) as the guest operating system.
See vSphere Virtual Machine Administration and Installing a Guest Operating System.
• Install VMware Tools on the VM.
See Installing and Upgrading VMware Tools.
• Ensure that the Windows computer on which vCenter Server is running has the SQL Server Native Client ODBC
driver installed on it; if not, download and install the driver from the Microsoft SQL Server Web site.
Procedure
1. Create an ODBC data source that connects to the vFabric database instance on either the vCenter database system,
or an external database.
a. On the Windows computer on which you are running vCenter Server, invoke the ODBC Data Source Administrator
window using Start > Programs > Administrative Tools > Data Source (ODBC).
b. Click the System DSN tab.
c. Click the Add... button.
d. Select the SQL Server Native Client driver, then click Finish.
3
4 vFabric Suite
e. Enter a name and description of the data source, then select the SQL Server and database instance you want this data
source to connect to from the drop-down list. The SQL Server database system can be either the one used by the vCenter Server or a separate one, whichever works best for your environment. Click Next.
f. Specify that you want SQL server to verify the authenticity using a login ID and password entered by the user, then
enter the Login ID and password of the SQL Server user. This database user must have privileges to load the schema.
VMware recommends that you not specify integrated Windows authentication.
g. Continue clicking Next, and then Finish, taking all default values, until you see a summary of the data source
configuration. Test the data source to ensure you have configured it correctly, then click OK.
2. From the Windows computer on which you are running vCenter Server, download the vFabric License Server installer from the VMware Download Center page and save it to your computer.
The installer program is called vFabric_License_Server-version.exe.
3. Install the vFabric License Server on the same computer as your vCenter Server.
a. Double-click on the installer from Windows Explorer to start the installation. After preparing the installation, the
vFabric Welcome Screen appears.
b. Continue clicking Next to accept the license agreement and view where the installer will install the vFabric License
Server.
c. Enter the credentials of the vCenter user who has the appropriate privileges to register the vFabric License Server as an
extension. At a minimum, the user must have the following vCenter privileges:
• Register extension
• Update extension
Click Next to continue.
d. Enter the login ID and password of the database user, and select the ODBC data source (DSN) that you created in a
preceding step.
e. Click Install to proceed with the installation.
The installer program completes successfully when you see the message InstallShield Wizard Completed. Click Finish to complete the installation.
f. Restart your vCenter Server to enable the vFabric License Server changes.
4. Make a note of the license key that you purchased for vFabric Suite. VMware license keys consist of groups of characters separated by dashes, such as 123AA-123BB-123CC-123DD-123EE.
5. Activate the vFabric license keys in vCenter Server.
a. Start vSphere Client and log in to the vCenter Server in which you installed vFabric License Server.
b. Select Home>Administration>Licensing to invoke the vCenter Licensing page, then click the Manage vSphere
Licenses link in the top-right corner.
c. Enter one or more license keys in the text window to the right, one license key per line. Enter an optional label.
d. Click the Add License Keys button. The license keys shows up in the review window.
e. Follow the prompts until you get to the Confirm Changes window, verify changes, and click Finish.
4 Quick Start Guide
Quick Start Guide 5
The license keys are displayed in the main vCenter Licensing window under the name VMware vFabric Suite Standard|Advanced, depending on the vFabric Suite package you purchased.
6. Install the vfabric-5.1-repo-5.1 repository RPM on the RHEL VM.
a. Log in to the RHEL VM as the root user (or user with sudo privileges) and start a terminal.
b. Run the rpm command to install the vfabric-5.1-repo-5.1 RPM from the VMware repository, using the
appropriate URL for your version of RHEL (5 or 6).
For RHEL 5:
prompt# rpm -Uvh http://repo.vmware.com/pub/rhel5/vfabric/5.1/vfabric-5.1-repo-5.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
If necessary, use sudo to run the preceding commands if you are not logged in as the root user.
7. Install vFabric tc Server on the RHEL VM.
a. Log in to the VM as the root user (or user with sudo privileges) and start a terminal.
b. Execute the following yum install command to install vFabric tc Server:
prompt# yum install vfabric-tc-server-standard
If necessary, use sudo to run the preceding commands if you are not logged in as the root user.
The yum command displays information about the contents of the installation.
c. Enter y at the prompt to begin the installation.
If the installation is successful, you will see a Complete! message at the end.
When the installation is complete:
• vFabric tc Server is installed in the /opt/vmware/vfabric-tc-server-standard directory.
• The installation is owned by tcserver, which is a non-interactive user created by the RPM install.
What to do next
• Install additional vFabric components on the RHEL VM, such as vFabric Hyperic or vFabric RabbitMQ. See Installing vFabric
Suite.
• Monitor the vFabric Suite license usage by querying the vFabric License Server. See Monitoring vFabric License Usage.
5
6 vFabric Suite
6 Quick Start Guide
Overview of vFabric Suite 5.1 7

3. Overview of vFabric Suite 5.1

The rise of cloud computing and IT as a service is driving dramatic changes in application infrastructure and development. VMware® vFabric Suite™ components embrace this shift by integrating the familiar Spring Developer Frameworks with a proven set of services that span the lifecycle of modern application development, deployment, and management.
Engineered for Spring Framework and VMware vSphere® virtualization, vFabric Suite brings significant benefits to stake holders throughout the enterprise:
• Application developers and architects get tools that let them build data-intensive, Web-oriented applications quickly and reliably. A per-VM licensing model gives them more latitude to amend application architecture with fewer licensing constraints.
• IT gets an agile platform that makes applications easy to deploy, instantly scalable, and portable across clouds.
• End users get applications that are data rich, quick to access, and always available.
Subtopics
vFabric Suite Editions and Components Simplified VM-Based Licensing Model vFabric Administration Server for Easier Component Management vFabric Suite Integration with vSphere and other VMware Products Engineered for Spring-Built Applications

vFabric Suite Editions and Components

vFabric Suite is available in two editions, vFabric Suite Standard and vFabric Suite Advanced, as indicated in the table. The sections that follow describe how each component is optimized to meet the demands of modern applications in virtual and cloud environments.
Table 3.1. vFabric Suite 5.1 Components and Packages
Component and Version Description
vFabric tc Server 2.7 (Spring Edition)
Elastic Memory for Java (EM4J
1.1)
Lightweight application server, fully compatible with Apache Tomcat 7, that can be instantly provisioned and elastically scaled. Elastic Memory for Java (EM4J
1.1 ) is embedded with vFabric
tc Server (Spring Edition), and
Spring Insight Operations 1.8 is
available as a separate download. Memory management technology
that enables you to run more Java applications on your ESXi servers than previously possible. EM4J helps maintain Java application performance and reliability while freeing memory that allows you to run more VMs per host. An EM4J plug-in is now available for the vSphere Web Client.
vFabric Suite Standard Component
Yes. Yes.
Yes. Yes.
vFabric Suite Advanced Component
Spring Insight Operations 1.8 Performance monitoring with real-
time, multi-layered visibility into applications running on tc Server.
Yes. Yes.
7
8 vFabric Suite
Component and Version Description
vFabric Hyperic 4.6 Proactive performance
management with complete and constant visibility into applications and infrastructure.
vFabric GemFire 6.6 Data management platform that
provides real-time, consistent access to data across widely distributed cloud architectures. GemFire Application Cache Node is the vFabric Suite offering for vFabric GemFire.
vFabric Web Server 5.1 Precompiled and pretuned Web
server and load-balancing service that dynamically routes requests to an application server for processing. vFabric Web Server is fully compatible with Apache Web Server.
vFabric RabbitMQ 2.8 De facto standard for cloud
messaging and leading implementer of AMQP. Delivers highly available, scalable, and portable messaging with predictable, consistent throughput and latency.
vFabric Suite Standard Component
Yes. Yes.
Yes. Yes.
Yes. Yes.
No. Yes.
vFabric Suite Advanced Component
vFabric SQLFire 1.0 Memory-optimized, distributed
vFabric Application Director 1.0 Cloud-enabled application
vFabric Postgres 9.1 (Standard Edition)
vFabric Administration Server Platform-independent, RESTful
vFabric Application Performance Manager (with vFabric AppInsight
1.1)
database management system that provides extremely high throughput; predictable latency; dynamic and linear scalability; and continuous availability of data.
provisioning solution that simplifies how to create and standardize application deployment topologies across cloud services.
ACID-compliant, ANSI-SQL­compliant transactional and relational database designed for the virtual environment and optimized for vSphere.
API Web Service that simplifies provisioning and management of vFabric software components on any number of computers on your network.
Performance managing and monitoring product designed specifically for application owners who deploy applications on hybrid clouds and in dynamic virtual environments.
No. Yes.
No. Yes.
No. Yes.
Yes. Yes.
Yes. Yes.
8 Overview of vFabric Suite 5.1
Overview of vFabric Suite 5.1 9

vFabric tc Server 2.7 (Spring Edition)

VMware® vFabric™ tc Server is 100-percent compatible with Apache Tomcat 7. It has all the runtime advantages of Tomcat, plus operational management, advanced diagnostics, mission-critical support, and unmatched visibility into Spring-powered applications — none of which are available in the open source product. vFabric tc Server Spring Edition includes all of the components and features of tc Standard Edition, plus Spring Insight Operations, Elastic Memory for Java (EM4J), and Spring commercial support.
tc Server harnesses the power of traditional JEE architectures while eliminating their complexity and performance drawbacks, making it easier, faster, and more cost-effective to build and run cloud-ready applications. With its lean architecture and small, 10MB memory footprint, tc Server requires significantly fewer resources than conventional servers, which allows for greater server density in virtual and cloud environments. tc Server supports integration with VMware tools and vFabric Hyperic, and provides templates for vFabric GemFire session replication.
Main features of vFabric tc Server 2.7 (Spring Edition):
• vFabric tc Server instances are compatible with existing Apache Tomcat applications, thus eliminating migration costs and cycles.
• Parallel deployment. Deploy multiple revisions of the same application at the same time so you can roll out a new revision of an application without affecting users.
• Automatic instance upgrades. A new script lets you easily upgrade earlier instances to function with tc Server 2.7.
• Automated deployment of applications to multiple instances of tc Server and standardized templates for rapid provisioning of new instances.
• Commercial support for vFabric tc Server and Spring Framework.
Elastic Memory for Java (EM4J). Included with tc Server Spring Edition, EM4J allows Java workloads to cooperate more fully with ESXi advanced memory-sharing technologies. EM4J helps maintain Java application performance and reliability while freeing memory so you can run more VMs per host, improving your consolidation ratio.
Spring Insight Operations, a Web application that gives you real-time, detailed visibility into application behavior and performance. Insight Operations is optimized for monitoring and tuning Spring-built applications in production.
EM4J 1.1 for Improved Memory Management of Java Workloads
Elastic Memory for Java (EM4J) revolutionizes the virtualization of Java applications.
With EM4J and tc Server, you can run more Java applications on your ESXi servers than previously possible, and Java applications can leverage ESXi's industry-leading memory sharing technology.
Previously if you ran Java on VMware ESXi, you had to reserve 100% of the configured memory for a VM running Java applications or risk serious performance problems. To determine the optimum size of the Java heap, you determined the application's peak requirement. Allocating less could mean unacceptable performance, errors, or crashes; allocating more than was necessary wasted memory.
EM4J changes all that. It is a balloon that sits directly in the Java heap and works with a new memory-sharing interface introduced in ESXi 5.0. EM4J allows ESXi to share available memory in the Java heap among VMs as needed, while preserving application performance and reliability. You can size the Java heap to accommodate the peak workload, without wasting or running out of memory. Any excess memory is ballooned away and redistributed where it is needed.
This capability lets you create more VMs and pack more tc Server instances onto a single vSphere host. It also reduces the likelihood of out-of-memory errors that can cripple applications.
A new EM4J plug-in is available for the vSphere Web Client. The plug-in enables you to monitor EM4J configuration and memory performance for EM4J-enabled Java workloads in the vSphere Web Client. A Workloads tab displays statistics for Java workloads on the virtual machine selected in the vSphere Web Client inventory tree. You can quickly verify that the virtual
9
10 vFabric Suite
machine and JVM are configured correctly for EM4J and see detailed information about the JVM process and memory usage. Alerts warn of EM4J configuration problems and suggest best practices.
Spring Insight Operations 1.8 Engineered for vSphere, Spring, and Production Environments
Spring Insight Operations gives you real-time, granular visibility into application behavior and performance in production environments. It is a Web application that runs with tc Server Spring Edition and is a separate download.
Insight Operations graphs the health of an application over time for the entire cluster and for each server in the cluster. Administrators see application and server problems as they occur, with detailed information about contributing events, presented in one unified dashboard. You can quickly identify under performing servers, server errors, and trace details for specific events and exceptions.
VMware partners with Google to integrate Spring Insight data into SpeedTracer, a Google Chrome extension that analyzes how your application is performing inside the browser and that ties browser performance to backend performance. If your Web application uses Ajax and other rich open Web technologies, try SpeedTracer with Spring Insight.
Main features of Spring Insight Operations 1.8:
• Automatic instrumentation of Spring applications running on tc Server expose application performance from both general and fine-grained perspectives.
• Isolation of performance problems by application, endpoint, application server, and method.
• Tracking of performance over time, to understand whether problems are chronic or spurious.
• Response-time histograms that reveal whether performance problems affect many users, or a small subset.
• Highly performant instrumentation with sub-microsecond impact to application response time, designed for applications in production.
• Integration with vFabric Hyperic that enables operations and development teams to view a single set of both server-oriented and application-oriented performance, and collaborate more effectively to fix performance problems faster. Spring Insight metrics give Hyperic a broader range of data for triggering alerts and for control actions that implement automatic problem remediation.

vFabric Hyperic 4.6

VMware® vFabric™ Hyperic® provides more than 50,000 performance metrics on more than 75 technologies at every layer of the application infrastructure. It consolidates complete discovery, monitoring, analysis and control of all application, system, and network assets -- including other vFabric Suite components -- both inside and outside of virtual machines powered by VMware. Hyperic provides proactive performance management through transparent visibility into dynamic applications deployed across physical, virtual, and cloud environments. You can monitor all applications from a single console.
At startup, Hyperic automatically discovers and adds new servers and VMs to inventory; configures monitoring parameters; and collects performance metrics and events. This level of automation lets you deploy fully monitored VMs with minimal effort and scale out monitoring across your virtual infrastructure.
Main features of vFabric Hyperic 4.6:
• Simplifies management of virtualized applications by maintaining a continually updated inventory of vSphere ESXi and ESX hosts, their virtual machines, and guest operating systems.
• tc Server plug-in for easier, remote management and monitoring of multiple tc Server instances and applications. See tc Server
Plug-In for Easier Management and Monitoring.
• Spring Insight plug-In for in-depth application monitoring. The plug-in makes it easier to discover whether a problem is infrastructure or application-related. See Spring Insight Plug-In for In-Depth Application Metrics.
• Centralized plug-in manager that synchronizes Hyperic plug-ins between Hyperic Server and all Hyperic Agents in the environment, enabling system administrators to easily configure and upgrade agents distributed across hundreds of servers.
10 Overview of vFabric Suite 5.1
Loading...
+ 32 hidden pages