VMware vRealize Operations Essentials - Matthew Steiner - E-Book

VMware vRealize Operations Essentials E-Book

Matthew Steiner

0,0
34,79 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

This book will enable you to deliver on the operational disciplines of Performance, Health, Capacity, Configuration, and Compliance by making the best use of solutions provided by vRealize Operations. Starting with architecture, design, and sizing, we will ensure your implementation of vRealize Operations is a success.
We will dive into the utilization of a solution to manage your vSphere infrastructure.
Then, we will employ out-of-the-box Dashboards and the very powerful Views and Reporting functionality of vRealize Operations to create your custom dashboards and address your reporting requirements.
Next, we go through the Alerting framework and how Symptoms, Recommendations, and Actions are used to achieve efficient operations. Later you will master the topic of Capacity Planning, where we look at how important it is to craft appropriate policies to match your requirements, and we’ll consider attitude toward capacity risk, which will aid you to build future project requirements into your capacity plans.
Finally, we will look at extending the solution to manage Storage, Applications, and other IT infrastructures using Management Packs from Solution Exchange, as well as how the solution can be enhanced with the integration of Log Insight.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 329

Veröffentlichungsjahr: 2015

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

VMware vRealize Operations Essentials
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
1. Introduction to vRealize Operations Manager
A look at vRealize Operations Manager
Operational disciplines addressed by vRealize Operations
Performance
Analytics
Content
Dynamic thresholds and hard thresholds
Capacity
Capacity models
Capacity projects
Configuration and compliance
Architecture, scalability, and resilience
Appliance nodes and components
Architecture
Scalability
vRealize Operations editions and licensing
Editions
vRealize Operations Standard Edition
vRealize Operations Advanced Edition
vRealize Operations Enterprise Edition
Licensing
Mixing licensing
Summary
2. Install, Configure, and Administer vRealize Operations Manager
Planning for installation
Product compatibility
Architecture
Sizing
Overall Scaling Table
Sizing Guide – basic
Sizing Guide – advanced
Scaling up and scaling out
High Availability
Installing vRealize Operations Manager
Deploy the vRealize Operations nodes
Establish the cluster
Creating the Master node
Add Data nodes
Configure High Availability
Starting the cluster
Finalizing initial configuration
Configure the vSphere solution
Configuring the vCenter adapter
Configuring the vCenter Python Adapter
Defining monitoring goals
Migrating from vCenter Operations 5.8.x
Configuring groups and policies
Policies
Base Settings policy
Other policies
Default policy
Creating a new policy
Custom groups
Creating a Custom Group and applying a policy
Managing vRealize Operations
Administration panel
Admin UI
Summary
3. Dashboards, Badges, and Widgets
The vRealize Operations UI
Orientation and navigation
Home screen
Alerts
Environment
Groups and applications
Inventory Trees
Content
Administration
Object search
Dashboards overview
Recommendations dashboard
Badges
Health badge
Risk badge
Efficiency badge
Badge state
Object Details dashboard
Summary tab
Alerts
Analysis
Troubleshooting
Symptoms
Timeline
Events
All Metrics
Details
Environment
Projects
Reports
Out-of-the-box and Custom dashboards
Anatomy of a Custom dashboard
vSphere Solution dashboards
Widgets
Selection widgets
Visualization widgets
The View widget
Other widgets
Exploring the New Custom Dashboard workspace
Summary
4. Views and Reports
An overview of Views and Reports
Views
Building Custom Views
The List View
Preview source
The Trend View
Distribution View
Other Views
Refining Views
Managing Views
Using Views in Dashboards
Reports
Built-in Reports
Creating and scheduling reports
Creating reports on an ad hoc basis
Scheduling reports
Building a Report Template
Managing reports
Summary
5. Alerts, Symptoms, Recommendations, and Actions
Alerts overview
Alerts and content
Alert Definitions
Symptom Definitions
Symptom Criticality
Metric/Property Symptom Definitions
Creating a metric symptom
Property Symptom Definitions
Creating a Property Symptom Definition
Message Event Symptom Definitions
Fault Symptom Definitions
Metric Event Symptom Definitions
Recommendations
Creating a Recommendation
Actions
Alerts
vSphere Hardening Guidelines alerts
Creating a new Alert Definition
Viewing and managing Alerts
Viewing Alerts
Managing Alerts
Summary
6. Capacity Planning and Capacity Projects
Capacity planning for virtual infrastructure
Principles of Demand and Allocation capacity planning models
Resource dimensions
Overallocation
Selecting a capacity planning model
Crafting your Capacity Planning policies
Modifying your Default Policy
Capacity planning dashboards, views, and reports
The Capacity Remaining dashboard
The Time Remaining dashboard
Reclaimable Capacity dashboard
Configuring Policy for Reclaimable Capacity
Summary metrics
Capacity Views and Reports
Virtual Machine views
Host, Datastore, and Cluster views
Capacity Projects
Adding a Capacity Project
Combining and committing Capacity Projects
Other Capacity Project Visualizations
Capacity Projects and days remaining
Summary
7. vRealize Operations Manager Solutions
Management Packs overview
Management Pack types and entitlement
Management Pack content
Solution Exchange
Installing Management Packs
Downloading the Management Pack code and documentation
Installing the Management Pack
Upgrading vRealize Operations
Upgrade Code and Release Notes
Performing the upgrade
Summary
8. vRealize Infrastructure Navigator
Introduction to vRealize Infrastructure Navigator
Architecture
Deployment
Configuring vRealize infrastructure navigator
Licensing the appliance
Configuring the appliance
Installing the Management Pack for vRealize Infrastructure Navigator
Using vRealize Infrastructure Navigator
Service definitions
Application definitions
Manual application definition
Applications in vRealize Operations
Application Group Objects
Virtual Machine metadata
vRealize Infrastructure Navigator dashboards
The VIN Application Topology dashboard
The VIN VM Dependencies dashboard
Summary
9. vRealize Log Insight Integration
Introduction to vRealize Log Insight
Installing vRealize Log Insight
Sizing and design
Appliance installation
Establishing a new deployment
Adding nodes to the cluster
Configuring Integrated Load Balancer
Log ingestion
Logging in
vSphere integration and log ingestion
Syslog ingestion
Collection agents
Installing the Windows agent
Agent groups and agent configuration
Content Packs
Adding additional Content Packs
Viewing installed Content Packs
Using Content Pack Agent Groups
Manual configuration
Configuring vRealize Operations Management Content Pack
vRealize Operations Manager integration
Installing the Log Insight Management Pack in vRealize Operations
Configuring the integration in vRealize Log Insight
Using vRealize Log Insight with vRealize Operations Manager
Orientation
Dashboards
Interactive analysis
Creating alerts to be sent to vRealize Operations Manager
Scenario
Creating alert
Viewing alerts in vRealize Operations
Launching in context from vRealize Operations Manager
Summary
10. End Point Operations
Introduction to End Point Operations
Licensing
Deploying End Point Operations
Deploying the Windows agent
Viewing your End Points in vRealize Operations
Service monitoring in Windows
End Point Operations Solution Packs
Implementing Solution Packs
Viewing your application end points in vRealize Operations
MS SQL dashboard
Policies and End Point Operations
Summary
Index

VMware vRealize Operations Essentials

VMware vRealize Operations Essentials

Copyright © 2015 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: December 2015

Production reference: 1211215

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78528-475-5

www.packtpub.com

Credits

Author

Matthew Steiner

Reviewers

James Bowling

Rebecca Fitzhugh

Brian Ragazzi

Commissioning Editor

Ashwin Nair

Acquisition Editor

Shaon Basu

Content Development Editor

Dharmesh Parmar

Technical Editor

Namrata Patil

Copy Editors

Tani Kothari

Merilyn Pereira

Project Coordinator

Nikhil Nair

Proofreader

Safis Editing

Indexer

Rekha Nair

Graphics

Jason Monteiro

Production Coordinator

Aparna Bhagat

Cover Work

Aparna Bhagat

Foreword

Automators – the future kingmakers

Scale.

The future is always about scale—bigger, faster, and stronger.

As we sit here in a time when, once again, both application and infrastructure architectures are shifting, a trend emerges, and this time it is automation. IT has always been about building bigger; something I continually talk to customers about is how they need to look backwards to look forwards. Look at what you were doing 5 years ago in IT; it is very different from now. Now, you are doing more: managing more machines, supporting more applications, embracing more technologies, developing more business models, and simply put—more. Look 5 years ahead from now and there is even more.

However, you only have one pair of hands. So the answer is automation. Each growth phase in architecture drives you to abstract yourself up one layer and find ways of simplifying to stay ahead. Skills that used to be valuable, such as racking servers and plugging them in (where I started!), become commoditized. Now, building and managing individual VMs is also becoming an activity that is undifferentiated as architectures move to microservices and scale-out decoupled layers instead of the classic tightly coupled stacks.

The future kingmakers are those who can build those layers, automate them to within an inch of their lives and communicate through APIs.

The future belongs to those that can say to applications' teams, "I've got an API for that."

As someone who has picked up this book, you have already realized that, and are taking the right steps and are building your own future.

Enjoy.

Joe Baguley

VP & Chief Technology Officer

VMware EMEA

About the Author

Matthew Steiner is an experienced presales consultant with a career stretching back over 25 years in the IT industry, the last 16 years of which have been spent providing presales support for technology vendors.

He started his career as a PC engineer in the North East of England and then spent 7 years providing technical support and working on IT projects for The Royal Bank of Scotland.

In 2000, he moved into presales, first with Compaq and then HP and IBM, working with both x86 and UNIX architectures before moving into the software industry with VMware. He is currently a Lead Systems Engineer (SE) at VMware and has spent the last 3 years as a Cloud Management Platform Specialist SE. His focus is on vRealize Operations for which he is the presales lead in the UK.

Apart from the 'day job', providing technical sales support, Matthew is a regular contributor and speaker at events and conferences such as VMworld and local VMware User Groups (VMUGs), and is VMware's technical sponsor for the Scottish VMUG.

This is Matthew's first book, although he has also authored two Hands on Labs for VMware as well as white papers and other training materials throughout his career. He also maintains a blog at SEinTheCloud.wordpress.com, where he writes about his experiences as a presales consultant and the technologies he is working with.

Thank you to Jayne for putting up with me spending many evenings and weekends writing, and thank you to our cats, Lizzie and Smithy, for distracting me at times and standing on my keyboard!

Also, thank you to all my colleagues who helped me with ideas and support, particularly Peter Von Oven, who initially inspired me to write, and has mentored me through the process. Thanks also to the VMware OneCloud and Hands on Labs teams, without those environments I could not have written this book.

About the Reviewers

Rebecca Fitzhugh is an independent VMware consultant and VMware Certified Instructor whose primary focus is on architecting vSphere, vRealize, and Horizon infrastructures. She is a VMware vExpert and has obtained multiple levels of certification (VCP/VCAP), acquiring nearly 10 years of experience. Prior to becoming an instructor and consultant, Rebecca served 5 years in the United States Marine Corps where she assisted in the build-out and administration of multiple enterprise networks residing on virtual infrastructure. Her book, vSphere Virtual Machine Management, was published by Packt Publishing. You can follow her on Twitter at @rebeccafitzhugh.

Brian Ragazzi has been in the IT industry for more than 15 years, with experience of a wide variety of hardware, application delivery, data center virtualization, application development, cloud advisory services, and software engineering. He holds several certifications from Citrix, EMC, Microsoft, and VMware.

Brian has reviewed and contributed to VMware vRealize Orchestrator Cookbook as well as numerous white papers and solution guides.

He is a Cloud Solutions Consulting engineer at EMC, currently working with the EMC Federation Enterprise Hybrid Cloud solution, and specializes in Software Defined Data Center, IT automation, and day-2 operations.

Brian can be found online at http://brianragazzi.com or on Twitter @BrianPRagazzi.

www.PacktPub.com

Support files, eBooks, discount offers, and more

For support files and downloads related to your book, please visit www.PacktPub.com.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

https://www2.packtpub.com/books/subscription/packtlib

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?

Fully searchable across every book published by PacktCopy and paste, print, and bookmark contentOn demand and accessible via a web browser

Free access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view 9 entirely free books. Simply use your login credentials for immediate access.

Instant updates on new Packt books

Get notified! Find out when new books are published by following @PacktEnterprise on Twitter or the Packt Enterprise Facebook page.

Preface

At VMware, we often talk about our clients' experiences with our technologies as journeys that they undertake.

The original journey was all about Virtualization; people started with virtualization first in their IT Department trying this magical new technology, before using it in Testing and Development and then in Production. The final step of their journey was to virtualize everything, including the most critical applications on which their business runs.

Now we are on a new journey, this time, to the Cloud. There are many different definitions of 'Cloud', but they share some common characteristics, such as:

Pooling: This is the pooling of hardware resources so they can be shared as neededElasticity: Leveraging the pooled resources to allow workloads to grow and shrink to meet demand as required in real timeAutomation: Everything in the cloud should be automated and fast; there should be no more waiting for administrators to spin up workloads or install applicationsSelf Service: Consumers of cloud technology should be able to request the resources they want via a self-service portal or an API

Regardless of whether you are operating a private, public, or a hybrid cloud, you can expect to see these characteristics in place.

The technology that delivers on these cloud promises is a Cloud Management Platform (CMP), and VMware's CMP has three elements:

vRealize Operations: This is a solution delivering on the operational disciplines required to operate your cloud.vRealize Automation: This has the capability to automate the creation and deletion of objects and workloads during their lifecycle in your cloud. This also includes a self-service portal and an API as well as governance in the form of approvals.vRealize Business: This provides visibility into the costs of running the workloads and services in your cloud.

This book is about the vRealize Operations part of VMware's CMP and will take you on a journey to understand how vRealize Operations can be used to deliver the operational disciplines demanded of today's cloud administrators.

What this book covers

Chapter 1, Introduction to vRealize Operations Manager, introduces the reader to vRealize Operations, providing an overview of its capabilities and architecture. Packaging and licensing will also be looked at in this chapter.

Chapter 2, Install, Configure, and Administer vRealize Operations Manager, starts by describing the planning, sizing, and design steps to be undertaken before deploying vRealize Operations Manager. We then go through the process of installing and configuring the solution and look at some of the administrative tasks and requirements.

Chapter 3, Dashboards, Badges, and Widgets, goes through the various elements in the vRealize Operations UI. We will look at the badges that are integral to the dashboards and then the out-of-the-box dashboards themselves. Finally, we will look at custom dashboards and the widgets that they are composed of.

Chapter 4, Views and Reports, examines the reporting capability of vRealize Operations. First, we will look at Views, including how to use the workspace to create your own custom views. Next, we will cover how these views can be combined to create reports that can be exported for external consumption.

Chapter 5, Alerts, Symptoms, Recommendations, and Actions, looks at the alerting framework within vRealize Operations and how content is provided in the form of alerts, symptoms, recommendations, and actions. We will also see how you can create custom alerting content yourself.

Chapter 6, Capacity Planning and Capacity Projects, examines the operational discipline of capacity planning. First, we will look at the capacity models that you can adopt. Next, we will look at capacity badges and dashboards, and finally, at how you can use the Capacity Projects feature to add future workloads to your capacity plans.

Chapter 7, vRealize Operations Manager Solutions, shows how you can extend the capabilities of vRealize Operations by adding Management Packs to manage other parts of your infrastructure. We will look at what is in Management Packs and how they are installed and used. Finally in this chapter, we will look at how you can keep your vRealize Operations solution up to date.

Chapter 8, vRealize Infrastructure Navigator, looks at how you can add visibility of application dependencies to your vRealize Operations implementation. We will go through the installation and configuration of the solution, see how it integrates with vRealize Operations, and how you can group interconnected VMs together.

Chapter 9, vRealize Log Insight Integration, examines how you can add further capability by implementing and integrating vRealize Log Insight. After looking at how you size and plan its deployment, we will show you how the solution is implemented and how it can be easily extended with Content Packs. We will also look at how Log Insight agents can capture additional logs from sources such as Windows Events.

Chapter 10, End Point Operations, covers how you can manage your Operating Systems and Applications through the installation of End Point Operations agents. We will look at the architecture and deployment of End Point Operations and the additional content that it provides.

What you need for this book

General knowledge of operating, managing, and troubleshooting the vSphere platform is essential in order to get the most out of this book. If you are a vSphere administrator, vRealize Operations will be a valuable tool to help you in your day-to-day job and this book will show you how.

The book has a lot of practical exercises in it, taking you through installation and configuration of the various components in the vRealize Operations solution. A home lab or test/development environment would be a good place to start; however, you will find that deploying the solution against a real environment with real workloads running will offer you the best experience.

You will need the following VMware software to work through all the exercises and examples in the book:

vSphere 4.0 U2 or above (full integration with vRealize Operations requires vSphere 5.5 or above)vRealize Operations 6.1vRealize Log Insight 3.0

You can download 60 day evaluations of all this software from my.vmware.com.

Who this book is for

If you are a vSphere Administrator and are looking to deploy and use the vRealize Operations solution, this book is the ideal place to start. It will take you through implementing and using the entire solution, including vRealize Operations Manager, vRealize Log Insight, vRealize Infrastructure Navigator, and End Point Operations.

The exercises will also introduce you to customizing the solution to meet your own needs; you will soon be building your own dashboards and creating your own content using the alerting framework.

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Enter the FQDN, Username, and Password for your vRealize Operations instance. Click on Test Connection to ensure the details are entered correctly."

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "To access the dashboards, navigate to Home and, in the Dashboard List, select vSphere Dashboards."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail <[email protected]>, and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the color images of this book

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from https://www.packtpub.com/sites/default/files/downloads/VMwarevRealizeOperationsEssentials_ColorImages.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at <[email protected]> with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at <[email protected]>, and we will do our best to address the problem.

Chapter 1. Introduction to vRealize Operations Manager

This first chapter introduces the reader to vRealize Operations Manager, starting with an overview of the solution, and how it fits into the rest of the VMware vRealize family of products.

The topics to be covered in this chapter include:

Operational disciplines addressed by the solution, including performance management and capacity planningSolution architecture, addressing the needs of scalability and resilienceProduct packaging and licensing

A look at vRealize Operations Manager

vRealize Operations Manager is the core component ofvRealize Operations, which itself is a suite of integrated products that provide intelligent operational capabilities for IT departments. The solution has been built, not just to monitor and manage vSphere, but also various pieces of infrastructure, such as storage, other hypervisors, operating systems, and applications.

The components that make up vRealize Operations are:

vRealize Operations ManagervRealize Hyperic and End Point OperationsvRealize Infrastructure NavigatorvRealize Configuration Manager

Other solutions within the vRealize family of products that integrate tightly with vRealize Operations are:

vRealize Log InsightvRealize Business StandardvRealize Automation

The main focus of this book is the vRealize Operations Manager component of vRealize Operations. However, we will look at vRealize Log Insight integration in Chapter 9, vRealize Log Insight Integration and at End Point Operations in Chapter 10, End Point Operations.

Integrations with the other components of the vRealize portfolio, or with other hardware such as EMC, Dell, or Hitachi storage arrays, are provided by Management Packs. Management Packs and VMware's Solution Exchange will be covered in Chapter 7, vRealize Operations Manager Solutions.

Operational disciplines addressed by vRealize Operations

As the name of the solution suggests, vRealize Operations is an operational management solution. It has been designed to address the operational disciplines of Performance, Capacity, Configuration, andCompliance.

Each of these can be thought of as being related and acting in concert with each other. Together they define the level of availability achieved by the infrastructure being managed, and whether the Service Level Agreements (SLAs) in place between the business and the IT department are being met.

For example, if there is insufficient capacity in a cluster, the performance of VMs in that cluster may deteriorate, and the service or application that these VMs support may become unavailable.

vRealize Operations uses a variety of features such as content, alerts, symptoms, management packs, and reporting to provide the required visibility and control of the infrastructure, and deliver on these operational disciplines. Let's look at them in more detail.

Performance

vRealize Operations Manager monitors the performance of managed systems, and provides the system administrators with a set of very intuitive dashboards that provide them quick visualization of problems and issues that may arise. When the performance of the systems is not as expected, the solution helps with troubleshooting by directing the administrator quickly to the root cause of the problem. This is all underpinned with analytics and content.

Analytics

Every five minutes, vRealize Operations collects and stores the metric and property data about every resource it manages. The data is kept for six months at full granularity and is used by the Analytics engine to allow the system to understand normal behavior.

Note

The frequency of data collection and retention is tunable from the default 5 minute data collection and 6 months data retention periods. However, care must be taken when changing these as they can affect, quite significantly, the sizing requirements of the vRealize Operations nodes.

Every night, a set of analytics algorithms are run against every metric's historical dataset, to determine the expected behavior of each metric for the upcoming 24 hours. This expected behavior for a metric is called a Dynamic Threshold (DT). As metrics are collected and stored, they are compared against the DT to determine whether the object is exhibiting normal behavior. This is described in more detail in Figure 1.1.

The analytics are designed to look for different patterns of behavior, such as hourly, daily, weekly, monthly, and quarterly.

It will obviously take some time for vRealize Operations to learn all the expected behavior, as it needs to observe at least three data points to start seeing a trend, and many more to predict the trend with greater confidence. For example, a metric exhibiting a weekly cadence of behavior requires at least three weeks of data for a weekly trend to be detected.

Figure 1.1

The preceding simplified example shows how a DT and metric may be measured and tracked. The grey shading is the DT, and the diagram shows that during the early morning it is expecting this metric's value to be 0-10%, then 50-60% during the work day, and then back down to 0-10% for the evening. There is a short peak just before midnight, which is possibly a batch or a backup job. The black line is the observed metric and we can see that normal behavior has occurred; so in this case, there is no alerting to be done as the metric is operating normally.

If an observed metric deviates outside of the DT range, it is classed as an Anomaly and highlighted in yellow in the Metric Selectors and the associated Metric Graphsin the vRealize Operations dashboards.

The number of anomalies observed over time is also recorded for every object, and vRealize Operations uses these derived metrics to determine whether the number of anomalies being observed is significant and if it is required that an alert is generated.

Performance or availability problems are generally caused by something different happening with the resources within an environment, and this "something different" causes associated metrics to breach their DTs. This means that the majority of alerts that are performance or metric related will only be generated when abnormal behavior occurs. This dramatically reduces the number of alerts that IT operations receive and increases the quality of those alerts.

Content

The content baked into vRealize Operations is how the solution creates the intelligent and meaningful alerts. There is a lot of content provided by the solution and much more content will be added with the installation of Management Packs. Custom content can also be created very easily and will be described in Chapter 5, Alerts, Symptoms, Recommendations, and Actions.

An example of one of the out of the box content alerts and how it is constructed is as follows:

Symptom(s): They are descriptions of one or more conditions under which the alert is triggered. In the preceding example, the symptoms are that a VM is swapping to disk, has high ballooning or has memory compressed, and has high memory contention.Recommendations: They are remediation action(s) that can be taken to resolve the symptoms. In the preceding case, the action may be to add a memory reservation or initiate a vMotion to migrate some VMs to another host or cluster with more capacity.Actions: They act on the recommendation(s). vRealize Operations has the capability to initiate actions using Python scripts or vRealize Orchestrator workflows to carry out the recommendations. In the preceding example, the out of the box Python script can be used to set a memory reservation, or vRealize Orchestrator can be used to initiate a vMotion.

Dynamic thresholds and hard thresholds

Alerting based on metrics, which are outside the range of the calculated DTs, can be considered fairly generic and caused by "things happening differently". They tend to be used to troubleshoot and alert on unexpected behavior.

As well as triggering alerts based on unexpected behavior, much of the content in vRealize Operations Manager is based on specific behavior and documented best practices. For instance, storage latency would generally be considered performance impacting by a storage administrator, when it reaches 20-30ms.

Content within vRealize Operations Manager can also includeHard Thresholds (HTs), such as a figure of 20-30ms for storage latency, which can trigger alerts regardless of the state of the DT for the given metrics.

Content and alerts will be covered in much more depth in Chapter 5, Alerts, Symptoms, Recommendations, and Actions.

Capacity

Capacity management is one of the most important disciplines in IT Operations. Unfortunately, as virtualization has matured, traditional capacity management techniques have tended not to keep up with the technology. My experience of working with clients with mature virtualized environments and outdated capacity management practices is that they find themselves with a lot of underutilized infrastructure, resulting in a lot of wasted resources.

vRealize Operations Manager has a very rich capacity engine, which will help with this, illustrating capacity utilization in two main ways:

Capacity remaining: Taking into account the reserved capacity for vSphere HA and the headroom buffers, it answers the question about how much capacity remaining does a given resource have?. In the preceding screenshot, we can see that we have enough capacity available in this resource to support a further 32 average sized virtual machines.Time remaining: Again, taking into account the reserved capacity for vSphere HA and the headroom buffers, it answers the question when am I going to run out of capacity?. In the following screenshot, we can see that the capacity for this resource is going to run out in 87 days and that CPU is the constrained resource.

Capacity models

Every object or resource in vRealize Operations can have a capacity model configured against it. This describes the metric(s) used to determine the capacity and the other factors, or constraints to be considered, such as vSphere HA. The models themselves are not configurable, however, how they are applied generally is configurable, and is managed within the policies section of vRealize Operations.

Note

Many of the VMware and third-party Management Packs have capacity models associated with the resources they are managing. The documentation for these Management Packs usually provides the administrator detail on how the capacity of a given object type is calculated.

The policies governing the capacity management in vRealize Operations are very granular and controllable. This allows the administrator to define what combination of demand or allocation capacity policies are applied against specific resources or groups of resources. This will be covered in detail in Chapter 6, Capacity Planning and Capacity Projects.

Capacity projects

As well as understanding the current capacity and the time remaining, many organizations will have ongoing projects that are going to add planned workload or additional hardware to their infrastructure. A new feature, Capacity Projects, introduced in vRealize Operations 6.0, allows the administrator to define these forecasted changes in the workload or resources, and assign a date against them.

The effect on capacity and the time remaining can then be visualized and any capacity shortfalls identified. The projects can be subsequently committed and they will then be reflected in the real-time capacity reporting.

For example, if an infrastructure has the capacity for a further 50 average sized VMs, but a project is planned to implement 20 average sized VMs, the capacity dashboards, badges, and reports will all change to reflect that there is now only capacity for 30 average sized VMs.

Configuration and compliance

The final operational disciplines being addressed are configuration and compliance. Misconfiguration of systems is the root cause of a large proportion of system outages; so ensuring that all your systems are configured the way you want them to be is one of the key weapons in ensuring up-time.

As well as ensuring up-time, there may be legal and regulatory reasons, such as PCI-DSS, for the systems to be configured in a certain way. Alternatively, there may be security or hardening standards that an organization's security department determines are essential, to ensure that the integrity of the systems is maintained. Both of these would be classed as compliance requirements.

For in-depth configuration and compliance, vCenter Configuration Manager is provided as part of vRealize Operations Advanced and Enterprise editions. However, the use of vCenter Configuration Manager is not covered in this book.

With the release of vRealize Operations 6.0, some configuration and compliance capabilities have been introduced into the vRealize Operations Manager platform. As well as collecting metrics, vRealize Operations now collects properties from the ESXi hosts and the VM containers.

These properties can be used to assess the configuration posture of the ESXi hosts and the VM containers, using the Alerts, Symptoms, Recommendations, and Actions framework.

Content has been created that reflects the vSphere Hardening Guidelines, which means that, out of the box, vRealize Operations can now report on how compliant the ESXi hosts and the VM containers are against these guidelines. The reporting is available through the alerts, views, and reports functionality, and also via the Compliance badge in the vRealize Operations dashboards.

vSphere Hardening Guidelines will be covered in Chapter 5, Alerts, Symptoms, Recommendations, and Actions.

Architecture, scalability, and resilience

Like most solutions from VMware, vRealize Operations Manager is delivered as a virtual appliance based on SUSE Linux.

Note

vRealize Operations Manager can also be installed on Windows or Linux. However, that needs special consideration, so is outside the scope of this book.

Appliance nodes and components

The basic building block of vRealize Operations is the virtual appliance node. The solution can be scaled from a single node to a maximum of 16 nodes, to support larger scale deployments or high availability (HA). Remote collector nodes can also be additionally installed to collect the metric data from remote datacenters with limited bandwidth connectivity.

Regardless of the role of a node, the same OVF is used to deploy the virtual appliance, and, as of vRealize Operations Manager 6.0, there is no longer the requirement to host remote collectors on Linux or Windows.

To a great extent, this has made the design, implementation, and management of vRealize Operations very straightforward, relative to the complexity and capabilities the solution provides.

The preceding diagram shows the different roles the nodes can take. Although they are all installed using the same virtual appliance OVA file and contain the same code, the nodes will only run the services required to fulfill their role. The roles are as follows:

Master Node: The first node you install in the cluster. This is the controlling node for the cluster.Data Node: This adds additional scale to the cluster. Multiple data nodes are deployed under the following circumstances:
If the scalability limits of a single large node is reached.When a larger number of smaller nodes is desired. For example, the ESXi hosts for the nodes may not be able to support the size of the VM required by a large node.
Master Replica Node: This is a copy of the Master Node, containing the Global xDB, and it will take over the operation of the cluster if the Master Node fails.Remote Collector Node: This resides in a remote datacenter to collect the metrics and properties from a remote vCenter. This is used under the following circumstances:
When bandwidth to the remote datacenter is limited. A Remote Collector Node reduces the bandwidth requirements by approximately 65%.If a firewall is in place between the Master Node and the vCenter server, and the appropriate ports cannot be opened.

The components running within the nodes are as follows:

Product and Admin User Interface: The Product UI is the main UI used to access vRealize Operations and is available on all the nodes except for Remote Collectors. The Admin UI is used for cluster administration and is available on all the nodes.REST API: A pluggable service used by the vRealize Operations adapters to collect data and metrics. The API also allows the external services to interface with vRealize Operations.Controller: It ensures insertion of the collected data to the correct resources, and retrieves the data queries when requested. It also ensures consistency of the data across all the nodes.Analytics: The analytics engine performs metric calculation when the metrics are ingested, and runs the nightly Dynamic Threshold jobs. Analytics is also responsible for triggering alerts.Persistence: Every node persists its own set of data to the local disk for processing.FSDB: It is the data store for metric data.xDB: It stores the alerts and the alarm data, as well as theHistorical Inventory Service (HIS), which is responsible for storing the resource properties and relationships.Global xDB: It contains the cluster configuration data.

Architecture

Once a vRealize Operations cluster is established, solutions