VMware Hands-on Labs - HOL-SDC-1401


Lab Overview - HOL-SDC-1401 - Cloud Operations Management

HOL-SDC-1401 - Cloud Operations Features


This lab will introduce you to VMware® vRealize™ Operations, VMware® vRealize™ Operations Manager™, VMware vRealize Configuration Manager and vRealize Infrastructure Navigator.

In the vRealize Operations Manager portions of the lab, the key concepts of Health, Risk and Efficiency will be presented via hands-on activities that will demonstrate the concepts. The lessons will explore VM Memory Stress, Datastore I/O Constraint and Cluster Capacity Risk. It will also dive into capacity planning and management.

In the vRealize Configuration Manager module, we will investigate how to define, discover, report and remediate compliance issues with the configuration of machines in your virtual infrastructure.

In the vRealize Infrastructure Navigator module we will explore how Infrastructure Navigator can give you greater insights into how applications depend on each other through network services, define your own custom application in Infrastructure Navigator and then use that application as a basis for monitoring within vRealize Operations Manager.

This lab consists of 12 modules and 330 minutes of content. You will not be able to finish all twelve Modules in one sitting. The labs can be taken in any order, but it is recommended you start with the first module to get familiar with vRealize Operations Manager. If you are interested in the vSphere with Operations Management track, you can take Modules 1-4 which can be completed in one 90 minute seating (NOTE: modules 1 and 2 are reviewing the new vRealize Operations Manager UI and new features, for hands on experience you may want to skip to Module 3)

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.

Lab Captains: Clive Wenman (Module 3), Chris Sexsmith (Module 7), Jack White (Modules 4, 5, 6, 11, 12), Christopher McCann (Modules 1, 8, 9), Andrew Lytle (Modules 2, 6), Ryan Cramer (Module 7), and Chris Lennon (Modules 7, and 10).


Module 1 - Introduction to vRealize Operations

Introduction to vRealize Operations Manager 6.0


VMware® vRealize™ Operations Manager™ is the key component of VMware® vRealize™ Operations, VMware® vSphere® with Operations Management™ and VMware® vRealize™ Operations Insight. It provides comprehensive visibility and insights into the performance, capacity and health of your infrastructure.

What vRealize Operations Manager does:

VMware vRealize Operations Manager helps automate performance, capacity, and configuration management with predictive analytics and an integrated approach to operations management. Eliminate the finger pointing, improve team collaboration and reduce manual problem solving efforts by as much as 40% with accelerated root cause analysis.

For example, vRealize Operations Manager provides proactive warning of performance issues and capacity shortfalls before problems affect end users. Real-time performance dashboards let you meet SLAs by pinpointing building performance issues before end users notice. Optimize your infrastructure for efficiency and minimize risk of performance across your entire VMware vSphere infrastructure. vRealize Operations Manager provides pre-built and configurable dashboards for real-time performance, capacity, and configuration management.

vRealize Operations Manager is tightly integrated with VMware vSphere and designed for dynamic environments to dramatically simplify and automate operations management. Our integrated approach leverages predictive analytics to provide the intelligence and visibility needed to proactively ensure service levels, reduce risk of downtime and optimize your environment for efficiency and cost.

 


 

Key Features

VMware vRealize Manager provides comprehensive visibility and insights into the performance, capacity and health of your infrastructure and business critical applications.

Fully Customizable Symptoms, Alerts and Recommendations - Build your owncustomized symptoms, bundle them into specific Alerts and help your IT Staff by defining your own recommendations.

 

 

vRealize Operations Manager Virtual Appliance

 

vRealize Operations Manager 6.0 has consolidated the old analytics and UI virtual VMs down to a single unified virtual appliance. The new appliance serves as the core for a single installation, a distributed cluster and even the remote collector.

VM Components

Databases

xDB - Stores all other data collected, including objects, relationships, events, dynamic thresholds, and alerts.

 

 

Introduction to vSphere with Operations Management


VMware vSphere® with Operations Management™ is our core virtualization product, vSphere, with the addition of performance monitoring and capacity management capabilities.

Simplify IT Management of Virtual Infrastructure Environments

vSphere with Operations Management not only offers a more intuitive user interface than vCenter Server, but it also takes vCenter Server monitoring capabilities further by adding predictive analytics to enable faster problem discovery and remediation as well as more efficient resource management.

 


 

Key Features

 

Unified Command Console displays key performance indicators in easily identifiable coloredbadges and provides a comprehensive view into what is driving current and potential future performance and capacity management issues.

Performance Monitoring and Capacity Management analyzes vCenter Server performance dataand establishes dynamic thresholds that adapt to the environment and provide smart alerts about health degradations, performance bottlenecks and capacity shortfalls:

Increased Performance and Availability of Mission-Critical Applications through new and enhanced functionality to deliver greater agility, efficiency and resiliency at high service levels for your IT environments:

 

 

Introduction to vRealize Operations


VMware® vRealize™ Operations delivers intelligent operations management from applications to storage and across physical, virtual, and cloud infrastructure with predictive analytics and policy-based automation.

What vRealize Operations Does

What's included in vRealize Operations

VMware vRealize Operations can also be extended with a wide variety of Management Packs that extend the capabilities of vRealize Operations Manager to third-party technologies.


 

Key Features

Key New Features in vRealize Operations 6.0

Intelligent Operations

Policy-based Automation

Unified Management

 

 

Intelligent Operations

 

Proactively avoid performance issues and gain deep insights into the health, risk and efficiency of your virtual and physical infrastructure, operating systems and applications.

 

 

Policy Based Automation

 

Accelerated root cause analysis, advisory tools and orchestration workflows enable high resource utilization, operational efficiency and enforcement of configuration standards.

 

 

Unified Management

 

Get a holistic view into what is driving performance, capacity and configuration issues, and infrastructure and application dependencies.

 

Introduction to vRealize Operations Management Packs


Get more out of vRealize Operations with 3rd party integrations and product extensions that enable comprehensive visibility across applications and infrastructure in one place with dashboards, reports, alerts, and remediation actions.

vRealize Operations product extensions and 3rd party integrations are typically delivered as one or multiple Management Packs. A Management Pack can be further categorized as an agent plugin, content pack or compliance pack.

Note: In previous vRealize Operations releases, Management Packs were earlier called “Third Party Adapters”.


 

Types of Management Packs

 

vRealize Operations Management Packs are built by VMware or a partner and fall into the following categories:

Advanced Compliance Packs- Compliance Packs are available with the Advanced edition of vRealize Operations. These are deployed with vRealize Configuration Manager and contain compliance templates for a wide variety of elements.

 

What's new with vRealize Operations Manager 6.0?


vRealize Operations Manager 6.0 has been redesigned from the ground up to better enhance it's scalability, availability and reliability. In this section we will explore some of the new capabilities to the product.


 

A Simplified, Unified Interface

 

vRealize Operations Manager 6.0 replaces the separate vSphere and custom interfaces into a converged UI. In addition to providing a much simpler user experience the solution now allows users to combine metrics from both vSphere and other data sources like storage devices, applications and other data collection services into a single dashboard.

 

 

Alerts, Symptoms and Recommendations

 

vRealize Operations Manager has dramatically improved its alerting technology. Alerts are now derived from one or more symptoms that can be defined with multiple conditions to further refine exactly what constitutes an alert that needs your attention. For each of the alerts built into vRealize Operations Manager, there is now a simple, easy to understand explanation of the alert as well as a recommendation to help you resolve it.

 

 

Remediation Actions

 

Not only can you now get recommendations for the alert that has triggered, you can now go one-step further and solve the problem using the new remediations function. Remediations are available as part of a recommendation as well as contextually on the vRealize Operations Objects.

 

 

Badges for Everything

 

In the new vRealize Operations Manager 6.0 interface, all objects have access to badges, not just vRealize Objects. Any object that is monitored by vRealize Operations Manager now has availability to all badges, providing a consistent interface across all monitored objects.

 

 

vRealize Operations Manager Virtual Appliance

 

vRealize Operations Manager 6.0 has consolidated the old analytics and UI virtual VMs down to a single unified virtual appliance. The new appliance serves as the core for a single installation, a distributed cluster and even the remote collector.

Minimum Requirements: 

 

 

Scalability, Availability and Reliability

 

Scaling is now accomplished by simply joining two or more appliances together into a cluster. Each of the core services will intelligently distribute I/O and data across all nodes ensuring even loading and disaster recovery of the cluster using GemFire technology. This new architecture will now allow vRealize Operations manager to scale to accommodate almost any environment.

Remote data collection is now handled through a simple configuration change to an appliance that joins the cluster, vastly simplifying the configuration needed.

 

Module 2 - Introduction and Overview of the new vRealize Operations UI

Introduction to the new vRealize Operations Manager 6.0 User Interface


In this module we will explore the challenges of the vCenter Operations Manager 5.x interface and how they have been dramatically improved in vRealize Operations Manager 6.0.


 

Introduction

VMware® vRealize™ Operations Manager™ has a fantastic new User Interface which is designed to make it easy to quickly and accurately understand and remediate environmental problems.

This module is designed to demonstrate the major differences in the User Interface in vRealize Operations Manager 6.0, compared to the previous versions.

 

 

vRealize Operations Manager 5 - User Interface Challenges

In the previous versions of vCenter Operations Manager, we had two separate and unrelated User Interfaces:

vSphere User Interface

Custom User Interface

Due to the fact that these two interfaces had different features and focus, Objects in vCenter Operations Manager had different levels of "importance". This often posed challenges for administrators who were trying to define Alerts and Dashboards.

 

 

vRealize Operations Manager 6.0 - User Interface Changes

 

With the release of VMware® vRealize™ Operations Manager™ 6.0, the User Interfaces of previous versions have been unified into a new single interface.

This new Merged User Interface provides a single customizable series of panels which can be used to access all object types, across the entire environment. This includes both vSphere and non-vSphere oriented objects.

The new User Interface is also highly customizable, with consolidated alerting and consistent views and features. Finally, all objects can now be treated equally!

 

User Interface Overview



 

User Interface Overview

One of the major advantages to the new User Interface in VMware® vRealize™ Operations Manager™ is that the content panels are extremely consistent while also being contextually relevant. In this section we will highlight a few of the major interface components, so that you can easily understand how to navigate to the objects of interest.

 

 

Navigation Panel

 

On the left of the screen we can always see the Navigation Panel. This panel can be used to quickly navigate whatever information is currently on screen, and will allow you to focus down to different levels very quickly.

 

 

Content Panel

 

On the right hand side of the screen we can see the Content Panel, which will show whatever contextual information is currently selected in the Navigation Panel. This panel will automatically change to show you the most up to date and relevant information.

 

 

Quick Links

 

By default the Navigation Panel will show us key links to access the various content pages, which can also be found in a handy Quick Link format at the top. These five links take us to the various control panels in vRealize™ Operations Manager™ 6.0.

Also of note here is the powerful Back Button which will return you to previous working pages, in an intelligent way. This can be very time saving when you are zipping around trying to troubleshoot a performance problem in your environment!

 

Interface Pages



 

Home Page

 

The Home Page is the landing page for vRealize™ Operations Manager™ 6.0. This is the primary view where an administrator can browse and view the available Dashboards.

Any 3rd party or add-on Solution which creates a Dashboard will make it visible here, so this screen is a great way to get quick overviews of your environment. This page is made even more powerful if we customize and create our own Dashboards, as is demonstrated later in this lab (Module 5).

Dashboards can be quickly accessed using the appropriate tab if visible, or selected directly using the handy Dashboard List dropdown selector.

 

 

Alert Page

 

The Alerts Page shows a chronologically sorted list of recent Alerts in the environment.

You can quickly filter Alerts by Badge type by selecting the appropriate Badge Category from the Navigation Pane.

 

 

Environment Page

 

The Environment Page helps us view our environment through a series of metrics and object relationships by using Inventory Trees.

There are different types of Inventory Trees, which can be added by Adapters. Inventory Trees can have different types (ie. Storage, Hosts & Clusters, Networking, etc), and also Instances (ie. Each vCenter would create an instance of Hosts & Clusters).

Each Inventory Tree shows us a series of Objects and Relationships between those Objects. Individual Objects can be part of many different Inventory Trees.

Inventory Trees may sound like a complicated concept, but once you start exploring vRealize™ Operations Manager™ you will quickly understand how they can help navigate our environment and visualize relationships between parent and child relationships.

The Environment Page is divided up into a series of sub tabs:

Each sub-tab can be used to quickly access the information you are interested in, to help troubleshoot the issue at hand faster and more accurately.

 

 

Content Page

 

This page is an extremely powerful tool which advanced administrators can leverage to build content for vRealize™ Operations Manager™ 6.0, including Dashboards and Alerts.

We will cover the creation of these tools in detail in upcoming modules.

 

 

Administration Page

 

The Administration Page contains all administration options including Solutions (Adapters), User Management and Support tools.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value in the newly re-designed vRealize Operations Management User Interface.  Be sure to take the survey at the end.

For more information on vRealize Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 3 - Virtual Infrastructure Performance Monitoring and Guided Remediation

Introduction and Environment Overview


In this Lab Module we will review some of the features around managing vSphere environments, looking at new Symptom definition and Alerting capabilities combined with the ability to take remediative actions from the vRealize Operations Manager UI.

In this module we will be focused on a 2 node cluster we have running in our data center (Cluster2), this 2 node cluster is running a test version of a Web application, we are going to be monitoring this 2 node environment to see if all is well.

We will see if we have any alerts created by the Web application and see if it has been setup appropriately for our vSphere environment and explore how vRealize Operations Manager can help us better manage and develop our Cloud environments.

Our Web Application Virtual Machines are prefixed with PVM* and only these Virtual Machines should be running on our 2 node Cluster.

Lets gets started!

 


 

Keyboard Shortcuts

 

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.

 

 

Launching the vCenter Operations Manager vSphere UI

 

On the ControlCenter Desktop, launch Firefox.

 

 

Login as Admin

 

Use the following credentials to login to vCenter Operations Manager vSphere UI:

User name: admin
Password: VMware1!

Click Login.

 

 

vCenter Operations Manager vSphere UI

 

You are now logged in to the vCenter Operations Manager vSphere UI.

 

 

Screen navigation

 

If you have trouble navigating through any of the wizards we will use in this module, use Firefox zoom to adjust the UI screen

1) Click to open Firefox Menu

2) Use the '+' and '-' to zoom in or out as appropriate to fit screen

 

Monitor Web App on Cluster_2


As our Web App is running on a 2 node vSphere cluster named Cluster2, lets navigate to that object in vRealize Operations Manager


 

Navigate to Cluster_2 resource in vRealize Operations Manager

 

1) Type 'Cluster' into the search bar at the top right of the vRealize Operations manager UI

2) Select Cluster_2

 

 

Check Alerts for Cluster_2

 

1) You are brought to the Cluster_2 object and the Summary page is displayed, scroll down the page using the bar on the right, you can see there already some alerts for this cluster resource object.

2) Under Health, use the the bar to scroll down and review the alerts, you can see there are alerts for various problems, we'd better check some out!

NOTE - As we are in a Lab environment, the Alerts you will see are configured to never expire, this is why the Alerts are present prior to the Virtual Machines being started.

 

 

Check CPU Alert

 

Let's Start by checking the high CPU Workload Alert

Click on the alert 'Virtual Machine has Unexpected high CPU workload'

 

 

Select CPU Alert for Web App

 

Here we can see there are 3 Virtual Machines that have triggered this Alert, we know our Web App Virtual Machine names are prefixed with PVM* so lets check that one.

Click on 'View Details' for PVMAPP_0

 

 

Review CPU Alert

 

Once we have selected the Alert we can see various pieces of information

1) We can see the details for the triggered Alert, such as the resource that triggered the Alert, what Alert type it is and what impact is has

2) Here we can see the metrics that would have triggered the alert, this can help us see the possible causes

3) Here, direct from the Alert, we can see Recommendations that can help us resolve the problem with the Virtual Machine, here we are adviced to check weather the high CPU load is normal behaviour

4) Click on 'Other Recommendations', here we can see another recommendation advising to Add more CPU capacity to the Virtual Machine and a button to allow us to do this!

 

 

Add more CPU to Virtual Machine

 

Since the App owners arent around at the moment, lets just try an keep this Virtual Machine happy by adding more CPU capacity, lets check on the Virtual Machine in question, click on 'PVMAP_0' on the left hand side of the UI

 

 

Check CPU Load (Analysis tab)

 

Lets Check the CPU metrics, Click on the 'Analysis' tab

 

 

Check CPU Load (Cont)

 

Here we can see the Virtual Machine is Configured to 6 GHz of capacity and its maxed out!

 

 

Set CPU Count for Virtual Machine

 

Let Increase the CPU for this Virtual Machine

1) Click on 'Actions' from the toolbar at the top

2) Select 'Set CPU Count for VM'

 

 

Set CPU Count for Virtual Machine (PVMAPP_0)

 

The 'Set CPU Count for VM' wizard opens

1) Here we can see the Virtual Machine currently has 2 CPU's, lets add more, Set 'New CPU' to '3'

2) Set 'Power Off Allowed' to true by ticking the box

3) Click OK

 

 

Review the task

 

Once we have set the action, we get page confirming the task has been created, Click on 'Recent Tasks' to review the action

 

 

Review Recent Tasks

 

Here we can see the details of the action taken (NOTE - it will take up to 2 min to complete)

1) Click on the task at the top of the list

2) Here we can see the task to add more CPU to the Virtual Machine has completed! lets go and see how the virtual machine is doing

 

 

Check CPU load on PVMAPP_0

 

Click on the back button (Virtual machine) to go back to 'PVMAPP_0'

 

 

Check CPU load on PVMAPP_0 (Cont)

 

1) Click on the Impacted Object link (PVMAPP_0)

2) Click on the 'Analysis' tab

3) Here we can now see the Virtual Machine now has 9 GHz capacity and the workload has stabalized

NOTE - it will take up to 5 mins for the new metrics to be polled and refreshed

 

 

Go back to our Cluster_2 resource

 

1) Type 'Cluster' in the search bar at the top right of the UI

2) Select Cluster_2 from the found objects

 

 

Check Memory Alert

 

Lets check one of the other Alerts

Click on 'Virtual Machine has unexpected high Memory workload'

 

 

Review Memory Alerts

 

As you can see there are 5 Virtual Machines on our Cluster_2 resource that have triggered this alert, our Web app Virtual Machines we know have the prefix PVM* so lets take a look at one of them.

Click on 'View Details' for PVMWEB_1

 

 

Review Alert for PVMWEB_1

 

Here we can see the details for the Alert on PVMWEB_1,

1) Here we can see details on the triggered Alert, what object it was triggered from and what the impact is

2) Here we can see metrics that have resulted in triggering the Alert

3) We can also see some Recommendations, these recommendations give us the ability to quickly analyse and even resolve the problem direct from the UI, the first advises us to Add more memory to the Virtual Machine, if you click on 'Other Recommendations' you can see other options to resolve the problem

 

 

Investigate further...

 

Let's take a closer look at this Virtual Machine, Click on PVMWEB_1 on the left side of the UI

 

 

PVMWEB_1 Analysis

 

1) Click on 'Analysis' tab

Here we can see that the Memory Workload shows 4GB of demand but we can also see that memory capacity for the Virtual Machine is also 4GB

 

 

PVMWEB_1 Troubleshooting

 

1) Click on 'Troubleshooting' tab

Here we can see the various Symptoms that have been that have been tracked on this Virtual Machine, this can be handy to see the issues that have been building up on the Virtual Machine

 

 

PVMWEB_1 Environment

 

1) Click on the 'Environment' tab

2) Use the scroll bar on right to view objects in the environment - here we can see the virtual machine highlighted, we can also see its parent and child resources highlighted, this can be handy to quickly see if the host that the Virtual Machine is running on is OK, in this case the host seems happy.

 

 

PVMWEB_1 Alert

 

Now we have had a look around some of the details around the Virtual Machine, lets go back to the Alert and see if we can fix the problem

Click on the Alert details on the left side of the UI

 

 

Use Recommendation action to fix the issue

 

In this case, although according to the other recommendation, its probably still a good idea to check with the application owner if this is normal behaviour, lets keep things running good for now, Click on 'Set Memory button'.

 

 

Set Memory for VM

 

We saw on the Analysis tab that this Virtual Machine was demand 4GB of memory, we can see here that we currently has 4GB of memory configured, lets add 2GB extra to this VM

1) Set 'New (MB)' to 6144

2) Select 'Power Off Allowed' check box

3) Click OK

 

 

Review Recent tasks for action

 

Once selected the 'Set Memory for VM' task window opens

1) Click on 'Recent Tasks'

 

 

Check Action complete

 

Check that the Set Memory tasks completes, it may take up to 1 minute to complete.

1) Once complete go back to the Virtual Machine, Click on the VM object

 

 

Check Status of Virtual Machine

 

We are taken back to the Virtual Machine 'PVMWEB_1 summary

1) Click on the 'Analysis' tab

2) Check the Workload for memory - note that now the capacity has increased to 6GB and the Virtual machine demand is not overworking the Virtual Machine, fixed! It may take a few minutes for the change to be reflected in vRealize Operations Manager UI, refresh the screen to update the changes.

Now we have seen how vRealize Operations can help fix problems for our Virtual Machines, let's check that the hosts they are running on are happy

 

 

Check for Alerts on our Hosts

 

Lets go and check if there Alerts for our hosts, our hosts are running under 'Cluster_2'

1) Type 'Cluster' into the search bar in the top right of the UI

2) Select Cluster_2

 

 

Check for Alerts on our Hosts Cont...

 

1) Make sure 'Summary' tab is selected

2) Use the Scroll bar of the right to move down the page

3) Under Heath section use the scroll bar to move down the list of Top Alerts

4) Here we can see that we have an Alert that has been triggered one of our Hosts - Click on 'Host has CPU contention due to overpopulation of virtual machines'

 

 

Review Alert for Host

 

Here we can see that the host has Critical levels of Memory being demanded, lets what's being affected,

1) Click on the 'Relationships' tab

 

 

Review Relationships on Hosts

 

1) Here we can see (Illustrated with Green squares) our the Host affected,

2) We can also see some Virtual Machines, we know our web app Virtual Machines should have a name prefix of PVM*, we can see 3 Virtual Machines named like this (Also Illustrated with Green squares)

3-4) However we can see 2 Virtual Machines that dont have that naming prefix (Illustrated with Red squares) they are showing red too! They aren't supposed to be there!  Lets investigate a little further!

 

 

Investigate Host

 

1) Click on the Impacted host using the shortcut on the left hand side of the UI

2) If we check the Memory Demand section we can see that the Virtual Machines are demanding too much and its causing memory contention

3)if we hover the mouse over the two largest red orange boxes that represent virtual machines (the size of the boxes represent the amount they are demanding) we can see the Virtual Machines are named 'HVY_0' and 'HVY_1', that doesn't match the naming prefix of Virtual Machines that should be running on this host, we better power one off to ease the host.

4) Go back to the Alert, Click on the shortcut in the top left of the UI

 

 

 

Power Off Virtual Machine

 

Once back to the Alert page, we can see a Recommendation to Power Off VM

1) Click 'Power Off VM'

 

 

Power Off VM Action

 

The Power Off VM action window opens, we know the Virtual Machines named HVY_0 and HVY_1 are not supposed to be running on our Cluster, for this lab we will power just one of them off

1) Select 'HVY_0'

2) Click OK (Task window will open following, Click OK on this window)

 

 

Check for other issues on host

 

Lets go back to the Host and see if there are any other types of problems

1) Click on the host shortcut on the left side of the UI

2) Use the scroll bar on the right to make sure you can see the Top alerts under Health

3) Scroll through the Top Alerts

4) Note we have a different Alert, 'Virtual Machine is Demanding more CPU than the configured limit' Click on this Alert

 

 

Check Alert for virtual Machine

 

1) Here we can see the affected Virtual Machine is 'PVMDB_2', looks like one of our Web App VMs so we'll need to fix it!

2) Lets take a look at the Virtual Machine, Click on Metric Charts

 

 

Analyze Virtual Machine status

 

Lets take a look at the CPU workload of the Virtual Machine and compare it to its configured CP limit,

1) Click to expand the CPU Metric

2) Double Click (or Click and Drag to the Right hand pane) the metric to display metric on the Right hand pane

3) If required scroll down to see 'Effective limit (MHz)

4) Double Click (Or Click and Drag to Right hand pane) to display on the Right hand pane

5) Here we can see that the Virtual machine is demanding nearly 5GB of of CPU but the limit is running at 300Mhz! that doesn't look right!

6) Click on the 'Summary' tab

 

 

Change configure CPU limit for Virtual Machine

 

Click on 'Set CPU Resources'

 

 

Set CPU limit

 

The 'Set CPU Resources for VM' action opens

1) Set New Reservation of 1000 (MHz)

2) Set a New Limit of 6000 (MHz)

3) Click OK

That will reset the CPU shares so the Virtual Machine can access 6GHz of CPU with 1GHz reserved, Fixed!

NOTE - Click OK again on task screen

 

 

Go Back to Cluster_2 Summary

 

Now that vRealize Operations Manager has helped us to fix a few problems with our Web App Virtual Machines and vSphere Hosts, lets see how we can keep a closer eye on things, lets go back to our Cluster View.

1) in the search box in the top right of the UI, type 'Cluster'

2) Then select 'Cluster_2'

 

Create Custom Alert


Now that vRealize Operations Manager has helped us to resolve some of the problems with our Web App, lets create an alert to help us keep an eye on things.

Now that we have spoken to the Application owner and they have advised that non of the Virtual Machines used for the vApp should exceed 6GHz of CPU and 4GB of memory, lets use vRealize Operations manager to keep an eye out for any Virtual Machines that exceed that limit.

Lets start by creating an Alert that will trigger when any Virtual Machines on our Cluster (Cluster_2) start to use more than 6GHz of CPU and 4GB of memory.

To create Alerts we first need to define some Symptoms that we are looking for, we do this by creating some 'Symptom Definitions'. Once we have created our Symptom definitions, we next need to create an Alert definition that will specify the impact.

Lets start by creating a 'Symptom Definition' configured to look for for Virtual Machines that demand more than 6GHz of CPU and 4GB of memory


 

Create Symptom Definition (Go to 'Content')

 

A Symptom definition is classified under 'Content' in the UI

1) Click the 'Content' icon

 

 

(Go to 'Symptom Definition')

 

Under 'Content' we can configure both out of the box and custom Dashboards,Views,Reports and Recommendations. We can also configure Notifications and other items.

Click on 'Symptom Definitions'

 

 

Symptom Definitions

 

From here we can see all of the Out Of The Box Symptom Definitions:

1) We can search through the pre configured ones using the search filter in the top right of the UI

2) However this time we need to create our own one, Click on the '+' sign to add a new Symptom Defintion

 

 

Add Symptom Definition (Base Object)

 

Here we can create some Symptoms that we want to watch for, in our case we want to watch for Virtual Machines that demand more than 6GHz CPU and 4GB memory.

First lets create a Symptom to spot the excessive CPU.

1) First we need to enter a Base Object, in our case 'Virtual Machine' The search bar can help us navigate to an object, type 'virt' into the search bar

2) By searching the vCenter Adapter inventory it has found the object we are after, Click on 'Virtual Machine'

 

 

Add Symptom Definition (Metrics - CPU)

 

1) Click to expand 'CPU' in the Metric Explorer

2) Double Click or drag 'Demand (MHz)' over to the right hand pane to select and configure it.

 

 

Add Symptom Definition (Configure CPU Metric)

 

Lets Configure this Symptom Metric (NOTE - you may want to expand the window to view all the details

1) Enter a name (use the example above if you wish)

2) Specify an Impact level, for us it important to keep our Web App running, use the drop down to select 'Critical'

3) Set 'when metric' to 'is greater than'

4) Enter '6000'

 

 

Add Symptom Definition (Configure Memory Metric)

 

Now that search has thinned down the metrics,

1) Expand 'Memory'

2) Double click or drag to the right 'Usage (KB)' to select and configure it

3) Name the metric

4) Set impact to 'Critical'

5) Set 'when metric' to 'is greater than'

6) Enter '40000'

7) We could also set our wait and cancel cycle here but well leave as is for now, our 'Symptom Definition' is ready so Click save

 

 

Add Symptom Definition (Review)

 

Once we have save our new Symptom Definition, we can search for it in the list

1) Type 'exceeded' into the search bar and hit enter

2) We can see our two newly created Symptom Definitions

3) Now we have created an Symptom Definition, lets create a 'Recommendation' that would help us resolve the problem if the Symptom is triggered. Click 'Content' to go back

 

 

Recommendations

 

We are taken back to the Content screen,

1) Click 'Recommendations'

2) From here we can see all of the Out Of The Box content in vRealize Operations Manager, and we can search and edit them using the search bar

3) We can also see that all Recommendations have a description but some also have actions!

4) Click on the '+' icon to create a new Recommendation

 

 

Add Recommendation

 

The Add Recommendation Wizard opens

1) Type a description that will help resolve the symptom (feel free to use the example above)

2) Next we can select an Action to help resolve the problem, Click on the drop down arrow for 'Actions'

3) Select 'Power Off VM' as these Virtual Machine need to be switched off!

4) Click Save

 

 

Add Alert Definition (Create)

 

Once we are back to the content screen

1) Click on 'Alert Definitions' - Once again we can see all the Out Of The Box Content for Alert Definitions and Search,Edit and Create new ones

2) Click on the '+' icon to Add a new Alert Definition

 

 

Add Alert Definition (Name)

 

When the Add Alert Definition Wizard opens,

1) Enter a Name and Description for the Alert (feel free to use the Example Above)

2) Click on 'Base Object Type'

 

 

Add Alert Definition (Base Object Type)

 

Our Web App runs across a Cluster so lets configure this alert to trigger when any Virtual Machines running on a host in that cluster will trigger the alert,

1) Type 'cluster' into the search bar

2) We are returned all the possible options for base objects that contain the name Cluster, select 'Cluster Compute Resource'

3) Click 'Alert Impact'

 

 

Add Alert Definition (Alert Impact)

 

For Alert Impact,

1) Set the Badge the Alert will impact to 'Risk'

2) For 'Criticality' we could set it here, but lets leave it set to 'Symptom based' (we set the Symptom Definition to Critical earlier)

3) Set 'Alert Type and Subtype to 'Application - Performance' (this alert will then roll up under those Sub Badges) - we will leave the Wait and Cancel cycles as they are

3) Click on 'Add Symptom Definitions' to add the one we created earlier

 

 

Add Alert Definition (Add Symptom Definition)

 

Although we have set our Cluster as the base object for this Alert, we are actually interested in the Virtual Machines running in the cluster, also our Symptom Definition is based on a Virtual Machine base object.

1) Set 'Defined On' to 'Descendant' using the drop down

2) Use the search bar to help find the Virtual Machine Object by typing 'virt'

3) Select the 'Virtual Machine' Object

 

 

Add Alert Definition (Add Symptom, Cont)

 

Once we have selected 'Virtual Machine' the metrics are filtered to those related to the 'Virtual Machine' Object

1) Type 'exceed' into the search bar so we can find the 'Symptom Definition' we created earlier and hit enter - we can then see the 2 Symptom Definitions we created

2) Drag 'CPU Exceeded 6GHz on VM to the right hand side under symptoms

3) Set all the arguments to 'Any'

4) Drag 'Mem Use Exceeded by 4GB on VM' to the right hand pane

5) Set all argument to 'Any'

6) Now we have added our 'Symptom Definitions' lets add the Recommendation we created earlier, Click 'Add Recommendation'

 

 

Add Alert Definition (Recommendation)

 

1) Use the Search bar to help find our 'Recommendation' - type 'exceed' into the search bar and hit enter

2) We can see the description we entered earlier, drag the 'Recommendation' to the right hand pane

 

 

Add Alert Definition (Review and Save)

 

1) Now we can See our custom 'Symptom Definition' and 'Recommendation' have been added to our Alert

2) Click Save

We've now created an Alert that should keep an eye out for any Virtual Machines running on our Cluster that exceed the expected Values. We'll check back later to see if gets triggered.

 

Create 'Notifications' for Alerts


We can also set a notification rules to send on Alert information to third party Systems via Email or via Rest Api, this can extend vRealize Operations Managers Alerting capabilities to both Email and Third party integrated Cloud systems.


 

Create 'Notification Rule'

 

1) Click on the 'Content icon

2) Click on 'Notifications'

3) Click on the '+' icon to create a new 'Notification Rule'

 

 

Add Notification Rule (Name and Method)

 

The 'Add Rule' Wizard opens,

1) Enter and Name for the rule

2) Click on the drop down arrow for method, we can see that we can choose either 'RestPlugin' or 'StandardEmailPlugin'

3) Select 'StandardEmailPlugin'

 

 

Add Notification Rule (Configure Email Plugin)

 

Next we can either select or add an Instance,

Click the '+' to review adding an instance

 

 

Add Notification Rule (Configure Email Plugin - Add Instance)

 

Here we can configure our Outbound Alert Instance, we can enter the name and configuration details for our email system.

As we do not have email configured in this lab, we'll hit 'Cancel'

 

 

Add Notification Rule (Configure Email Plugin - Filtering Options)

 

1) Next we would enter the details for 'Recipient(s)' and various notification settings (as we have no email configured for this lab we will not enter anything here.

2) Next we need to set our 'Filtering Criteria', Click on the drop down arrow for 'Scope'

3) Select 'Object'

 

 

Add Notification Rule (Configure Email Plugin - Object)

 

Next, Click on 'Click to select Object'

 

 

Add Notification Rule (Configure Email Plugin - Object Cont')

 

The Object selector opens,

1) Use the search bar to help find the Cluster our Web App is running on, type 'cluster' into the search bar

2) Select 'Cluster_2'

 

 

Add Notification Rule (Configure Email Plugin - Object Cont' 2)

 

1) Click tick box to check 'Include Children'

2) From the 'Children' drop down, select 'Virtual Machine'

3) Click Select

 

 

Add Notification Rule (Configure Email Plugin - Notification Trigger)

 

1) Next select the 'Notification Trigger', click on the drop down arrow

2) Select 'Impact' from the drop down list

 

 

Add Notification Rule (Configure Email Plugin - Criticality)

 

Next set the 'Criticality'

1) Click on the drop down arrow for 'Criticality'

2) Select 'Critical' from the list

 

 

 

Add Notification Rule (Configure Email Plugin - Summary)

 

Now we can forward Alerts and Notifications from vRealize Operations Manager!

As we dont  have email configure in this lab we wont save this configuration, Click Cancel

 

Customise policy for Web App Cluster_2


Now vRealize Operations Manager has helped us get control of and understand our Web App, we can also use vRealize Operations Managers Groups and Policies too include the Symptoms and Alerts we created earlier.

This way we can use 'Policies' to define how vRealize Operations Manager Alerts against specified inventory objects, for example we could customise the policies so vRealize Operations Manager will trigger Alerts between Groups we have configured, such as Test and Dev environments.

Lets customise the policy for our Cluster_2 resource, first we need to create a 'Group' so that we can adjust the policy too.


 

Nagivation

 

If you have trouble navigating around the screen when using the Wizards, use Firefox zoom out to fit the UI

1) Click Open Menu

2) Use the '+' and '-' to zoom in or out as appropriate

 

 

Create Custom Group

 

1) Click on the 'Environment' icon

2) Click on the '+' icon to create a Custom Group

 

 

Edit Group (Name and Policy)

 

1) Enter a name for the Group

2) From 'Group Type' Select 'Environment' from the Drop down list

2) Select 'VMware Production Policy (Demand) from the Policy drop down list

 

 

 

Edit Group (Select Resource kind)

 

1) Type 'clus' into search bar

2) Select 'Cluster Compute Resource'

 

 

Add a Resource

 

Next we need to add a Resource, from the Drop down list Select 'Object name'

 

 

Edit Group (Resource name)

 

Next we will select the Resource name,

1) Select 'is'

2) Type 'Cluster'

3) Select 'Cluster_2'

 

 

Edit Group (Objects to exclude / include)

 

1) Below we can either choose to include or not objects from this group, Make sure you have selected 'All Objects' at the flitered objects section

2) Expand 'vSphere World'  and Select the Checkbox for 'vSphere World' to include objects from the vCenter Adapter (you may need to expand 'vCenter Adapter' first)

3) Click Add

3) Click OK

 

 

Customise Policy

 

1) Next lets Customise the Policy, Click on the Administration Icon

2) Select 'Policies'

3) Click the 'Policy Library Tab'

(NOTE - if you do not see the screen as above, click on the small down arrow above 'Select policy to see data')

4) Click the '+' icon to create and new Policy

 

 

Add Monitoring Policy (Name)

 

1) Enter a name

2) Click 'Select Base Policies'

 

 

Add Monitoring Policy (Select Base Policies)

 

1) Here we will select our base policy to work from, in the drop down select 'Base Policy'

2) We could also add other policies here as overrides, either custom or even third party solutions for example, we will leave this one empty

 

 

Add Monitoring Policy (Show Changes for)

 

1) For changes, click the arrow on the drop down box

2) Select ' vCenter Adapter - Cluster Compute Resource'

3) We could add more and also customize the Analysis settings and Attributes, but for this example we will move on, Click 'Overide Alert / Symptoms Definitions'

 

 

Add Monitoring Policy (Customize Alerts / Symptom Definitions - Alerts)

 

Here we can specify the 'Alert' and 'Symptom' definitions we created earlier

1) In the search bar under 'Alert Definitions' type 'clust'

2) Select 'Cluster Compute Resource'

 

 

Add Monitoring Policy (Customize Alerts / Symptom Definitions - Alerts2)

 

1) In the filter box, type 'exceed'

1) Select the Alert we configured earlier

2) Set to 'Inherited'

 

 

Add Monitoring Policy (Customize Alerts / Symptom Definitions - Symptoms)

 

Next we will select our 'Symptom Definition'

1) It was created on a Virtual Machine Object, type 'virt' into the search bar

2) Select 'Virtual Machine' from the results

 

 

Add Monitoring Policy (Customize Alerts / Symptom Definitions - Symptoms 2)

 

1) Type exceed into the search box and hit Enter

2) Click to select both the Symptoms we created earlier (hold Ctrl to select both)

3) Here we can choose wether to Inherit the state from the Metric or override, weather we will use the conditions and thus set the Thresholds of this metric, we will leave it to our previous settings from the Symptom Definition, also we will inherit these settings from the Alert we selected above.

4) Click on 'Apply policy to Groups'

 

 

Add Monitoring Policy (Apply to Groups)

 

1) Now we can take advantage of the Custom Group we created earlier, select the Custom Group (Production Web Apps)

2) Select 'Save'

 

 

Add Monitoring Policy (Summary)

 

We can now see our Custom Policy in place under our Base policy.

This has been a simple example of how vRealize Operations Manager can be customized to your Data Centers Environments, Standards and Policies, the flexibility of the Grouping and Policy engines, allows for both creativity and fine tuning for Monitoring your IT Infrastructure.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value of performance monitoring and guided remediation in vRealize Operations Manager.  Be sure to take the survey at the end.

For more information on vRealize Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 4 - Capacity Optimization and Scenario Modeling for the Virtual Infrastructure

Logging in and Getting Started


The UI provides access to all vRealize Operations Manager features.

vRealize Operations Manager supports the following:

Browser Support

vRealize Operations Manager supports the following:

Note: There might be issues with slower performance if Internet Explorer 10 or 11 is used.

The minimum supported resolution is 1024 x 768.


 

Keyboard Shortcuts

 

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.

 

 

Launching the vRealize Operations Manager UI

 

On the ControlCenter Desktop, launch Firefox.

 

 

vCenter Operations Tab

 

Make sure you select the vRealize Operations bookmark to start the session.

 

 

Login as Admin

 

Use the following credentials to login to vRealize Operations Manager:

User name: admin
Password: VMware1!

Click Login.

 

Capacity Capabilities Preview


If this is the first module you are trying today, the capacity metrics will take about 10 minutes to populate after you start the HOL-1401 labs.  Due to the nature of hands on labs, we built the modules and the data can become months old before a student takes the lab.  For vRealize Operations Management, this means that there is a gap from the last metric consumed and the time the lab is started.  We need to allow the metrics to recalculate due to this gap in time.  This is only a scenario for the hands on labs.  You will not see this as an issue in a production environment.

 

Thanks for your understanding.  In the meantime, we have some capacity planning fundamental videos we need to show.  These videos will give you a foundational knowledge on how capacity management is utilized in vRealize Operations Management.


 

Capacity Planning Basics

Capacity Planning Basics (3:57)

 

 

Capacity Planning Terms

Capacity Planning Terms (4:07)

 

OOTB - Risks and Efficiency Alerts


For this section, we are going to look at risk and efficiency alerts.  We are using live data and the screenshots in this manual may have different values than you see presented in the actual interface.  We will do our best to guide you through the process but be aware that changing policies may affect how the data is processed as well as the alerts that are present.


 

Dashboard Navigation

 

Ensure we are starting at the correct dashboard for Recommendations.  Navigate to the Home button and select Recommendations from the Dashboard List menu options.

 

 

Health - Risk - Efficiency

 

For vRealize Operations Manager, we display the Health, Risk and Efficiency badges without scores.  We are only showing color.  The color thresholds can be modified in the policy.  We'll go through that in a later module.  Beneath each badge, we give relevant information for each category.

 

 

Selecting a Risk

 

Additional information as we scroll down through the dashboard.  As you can see in the screen shots, we are showing the alerts for each category.  Every alert is a link that will take us to more details for that issue.  In this lesson, we are going to select the risk where the Virtual machine has chronic high CPU workload leading to CPU stress.  Note that the risk in this screen shot indicates 13 objects are impacted with this risk and that one recommendation is being made for those affected resources (Add more CPU Capacity...).  Click on the risk.

 

 

Viewing the Risk

 

We now have a new pop-up window that shows the 13 objects with the risk identified earlier.  Click on View Details next to PVMAPP_0 to see recommendations.

 

 

Viewing Details

 

In the details view for the selected object we can see the section for "What is causing the issue?".  We also have the ability to fix the issue for the selected resource in "Set CPU Count for VM".  Click on "Set CPU Count for VM".

 

 

Fixing the issue

 

We have the ability to set the CPU count, power off the VM and take a snapshot.  We can adjust the CPU count by simply changing the number.  If we need to power cycle the VM to make these changes, we can select the Power Off option.  To take a snapshot before making any changes, select the option for Snapshot.  For this exercise, we are going to cancel this option at this time.  We need the issue to still be there in a subsequent module.

 

 

Back to Home

 

Navigate back to the Recommendations dashboard.  We should be able to click on the home icon to get us there quickly.

 

 

Looking at Health alerts

 

We've looked at a Risk alert, now let's view a Health alert.  Click on the first alert listed.

 

 

Viewing the alert

 

You'll notice that the health alert shows 5 objects impacted and 2 recommendations.  The screen shot below is similar to the risk alert in that we see the object, recommendations and the ability to view the details where we receive recommendations to fix the health issue.

Click 'View Details' for PVMAPP_0

 

 

View Details

 

In the details for the health alert, while you can follow the recommendation, you also have the ability to cancel the alert by clicking the red square with the 'X' in the upper left corner.  After viewing the information, click on the home icon to go back to the recommendations dashboard.

 

OOTB - Capacity Dashboards


In this section, we are going to go through some capacity views and diagnosis scenarios.


 

Cluster capacity and policies

 

Navigate to the environment panel

 

 

Select vSphere Hosts and Clusters

 

Navigate to the vSphere Hosts and Clusters section

 

 

Select Cluster

 

Expand the navigational tree to browse to the cluster object.  Select 'Cluster' with a single click

 

 

Cluster capacity

 

With the cluster selected, select 'Analysis' and 'Capacity Remaining' to view the data related to the cluster's capacity.  You may have to scroll down to view additional capacity information once the screen updates.

 

 

What Will Fit

 

Scrolling down, you can see additional information on the selected cluster.  You can quickly see that based on the current policy configuration, we do not believe there is enough room for more virtual machines.  In vRealize Operations, we show Virtual machine capacity based on average, medium, large and small resources.  We'll spend more time looking at policy configurations later in this module.

In the screen, the right most column shows remaining resources.  In the screen capture, you can see that we have run out of available CPU and Disk space.

 

 

Capacity in Related Objects

 

Scrolling to the bottom, we can also get a high level view of related object's capacity.  This allows you to browse to other resources where capacity may be at risk.

 

 

Navigate to a VM

 

We want to look a the data for the VM named storage_app-l-01a.  Start typing the name in the upper-right search area and click on the VM when it appears.

 

 

Collapse the navigation area

 

We see that the correct VM is listed and selected on the left, navigation area.  We can get some additional viewing area by collapsing the navigational view.  Click on the small arrow that is hi-lited with the red rectangle in the screen shot.

 

 

Viewing a VM's capacity info

 

After the screen refreshes, you can now see the capacity information for the selected VM.  For the selected VM in the screenshot, you can see the constraints immediately.  At the top, we are told 'Capacity is most constrained by Memory, CPU'.  Looking at the detail below, we can also see the Remaining capacity.  In the case of the manual's screenshot, this VM does not have any remaining capacity based on the demands.  Expand the CPU and Memory categories by clicking the small triangles to the left of CPU and Memory (high-lighted with red square on the screen shot).

 

 

Remediation - Fixing the problem

 

With vRealize Operations Manager v6, we now have the ability to take actions.  With the VM still selected, click on Actions.  This will give you the option to address the resources needs.  We just want to show the ability at this time.  We will not commit the changes for now.

 

 

Set CPU Count and Memory

 

With the selection to set CPU and Memory, you will see the pop-up dialog seen here in the screen shot.  The VM can have its CPU and Memory values specified.  Some VMs are required to be powered down before the resources can be adjusted.  Select the option to power-off the VM and the system will power down the VM, adjust the resources and power the VM back on.  You can also take a snapshot of the VM before the changes are made to the selected VM.  For this exercise, select cancel.

 

 

Reporting

 

Select the cluster on the left and go the the report section on the right.  Here we can view reports specific to clusters.  One of those reports is the Oversized VM report.  In the screen shot, we have navigated to the cluster then reports.  Once in reports we scrolled down to the Oversized VMs Report.  The arrow is pointing to the run report option.  Click the button to run the report.  Once clicked, a running message will appear next to the report template name.

 

 

Viewing the PDF

 

Once a report has run, you can view reports in the Generated Reports section or click on the link for Generated reports.  While the Oversized VMs Report indicates a report for Oversized machines, the report will also show VMs that are undersized.  The screen capture is taken from the generated report.  The second VM listed is undersized for CPU.

 

Projects (formerly What-If Scenarios)


Projects allow you to create scenarios to better manage capacity before the changes are made.  In vRealize Operations Manager, projects can be committed or planned, and they can be assigned an affective date of when the changes can be reflected.  Multiple projects can be simultaneously committed to scenarios.  Projects can also be saved and reused as needed. 


 

Navigate to the Cluster_2 object

 

Navigate to the cluster_2 object for this module.  You can get there by clicking on the globe icon and expanding the vSphere Hosts and Clusters and subsequent items to get to Cluster_2.

 

 

Projects - Getting Started

 

With the cluster selected, click on the menu item for Projects

 

 

Project Menu Items

 

The screen shot is the menu selector for projects.  From left to right, we can do the following:

Hover over each icon to see the pop-up help for each item.

In the screen shot on the previous page, we can see that this cluster is most constrained for CPU Demand, and we will be experiencing CPU shortfall starting on October 5th.  We can see this based on the trajectory of the trend sloping upward and exceeding 100% CPU Demand..

 

 

 

Creating a project

 

In the bottom-half of the screen, click on the green plus sign (+) to create a new project.

 

 

Add Project for Cluster_2

 

Enter a Name and description for the project.  Then click on the Scenario panel on the bottom left.  After editing the name and description, you have the option to change the status of the project.  By default, the status is planned.  

In the Advanced and higher versions of vRealize Operations, you can change the status to committed.  When committed, the projects will have an ongoing affect on capacity planning.  This is important as you manage capacity in your environment.

Click on "2. Scenarios"

 

 

Enter Scenario parameters

 

  1. Ensure the Object is set to cluster.
  2. Double-click on 'add Virtual Machine'
  3. Enter 20 for the number of VMs to add
  4. Set the date and time to the future
  5. Click 'Populate metrics' (A pop-up window will be displayed)

 

 

Populate Metrics

 

For the profile, click the drop-down menu and select 'AVERAGE'.

Click OK

 

 

Add another scenario for this project

 

Don't click Save yet.  We are going to add another scenario to this project

  1. Ensure the Object is a specific host
  2. Double-click selected object in the Remove capacity section
  3. Set the date and time to the future (Ensure to use a future date from today).
  4. Click Save

 

 

Viewing the project

 

In this project, for the selected cluster, we planned to add some virtual machines and remove a host.  This may be a typical scenario knowing that virtual machines will be added and we may take a host offline for maintenance.  In this particular cluster, you can see the that the Project and it's scenarios is increasing the CPU Demand shortfall.  

You are welcome to stay in this module and simulate other projects.

 

Policies


In this section we will go through the impact of policies and their impact on capacity planning.  

Please be aware.  We are using a live system in this lab.  When the steps and screenshots were documented, the data was from that time.  The data will be different and you will see values that may not match the following screenshots.


 

Getting to the numbers

 

Before we change a policy, we are going to view some of the data.  We need to navigate to the environment then browse to cluster_2 on the left navigational pane.  Once cluster_2 is selected, go to the Analysis tab followed by the Capacity Remaining sub tab.  In this view, we get a quick view of the number of virtual machines we can add to this cluster.  We break down the virtual machines based on a large, medium, small and average profile.

In the upper-right corner of this window, we see the policy that is currently associated to this object, "vSphere Solution's Default Policy (8/26/14 11:25 am)".  This text is also a hyperlink that can take us to the policy for viewing and modification.  

Note the numbers in the "What Will Fit" section.

Click on the Policy hyperlink to get to the next step (5)

 

 

View the policy

 

Because we selected the policy from the resource view, we are taken to the administration view with the policy already selected.  We can quickly see that there are four object types with locally defined settings.  With policies, they are built in a tiered fashion, inheriting settings from the parent policy.  All policies lead back to a Base policy.  We see in this policy that it is a direct descendant from the base settings.

We are going to make changes to this policy.  We need to click on the Policy Library tab at the top.

 

 

Modifying the policy

 

At this point, we can see the hierarchy for the policies.  You may need to drag the separator down to see the policies.  

Highlight the policy "vSphere Solution's Default Policy (8/26/14 11:25 am)" and click on the pencil icon in the toolbar.

You may need to click on item 2 to gain more screen area.  It is not necessary but is an option for this screen.

 

 

Retrieve locally changed settings

 

When clicking on the "All object types with overrides", the items will populate in the right panel. 

 

 

Modify the Policy settings for the Cluster Compute Resource object type

 

Now that we have our needed resource type, you need to click on the downward pointing chevron on the right-most side.  When you click on the chevron, you will see all the possible settings for the cluster compute resource.

 

 

Capacity: Time Remaining

 

With the cluster compute resource now expanded, we can see that some items are greyed out and minimized.  Those setting are being inherited from the parent policies.  The section for Capacity: Time Remaining is expanded and set within this policy.  The screen shot cuts off the right most images but there are enable/disable buttons on the right.  If you wish to enable a section, click the button to do so.  For this process, we are going to modify the capacity: time remaining values.

 

 

Memory based on demand

 

Expand the Capacity section by clicking on the triangle to the left of the text.  You will see in the Resource Container that Memory is being calculated on Demand and Allocation.  Deselect Allocation leaving only Demand selected.

 

 

CPU based on demand

 

Just as we did with Memory, expand the CPU section and deselect Allocation leaving only Demand selected.

 

 

Save the settings

 

On the bottom right corner, click on the save button to keep the changes for our policy.

 

 

Return to the Cluster_2 object

 

After clicking save in the previous step, you will be back at the policy summary screen.  Click on the Cluster_2 link in the top-left corner of the window.

 

 

Compare the capacity values

 

You may need to wait a couple of minutes before the changes are reflected / updated in the Capacity Badge visualizations for the cluster_2 object.  Click the refresh icon at the top of the window to update the view (highlighted with the red box in the screen shot.  Eventually, you will see the numbers update for the "What Will Fit" section.  Compare these numbers to the screenshot at the beginning of this section.  Before we were looking at capacity based on allocation and demand.  When looking at both, capacity is based on the greatest constraint (based on the allocation policy settings that were there we were already over-allocated).  Now we are only looking at capacity base on demand.  In this case, based on demand only, we have capacity to add more workloads for the selected cluster.

Please remember that the data in the screenshot is older than the data you are using today.  Your capacity numbers may vary.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value of capacity optimization with vRealize Operations Manager.  Be sure to take the survey at the end.

For more information on vRealize Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 5 - Custom Dashboards, Views and Reports

Logging in and Getting Started


The UI provides access to all vRealize Operations Manager features.

vRealize Operations Manager supports the following:

Browser Support

vRealize Operations Manager supports the following:

Note: There might be issues with slower performance if Internet Explorer 10 or 11 is used.

The minimum supported resolution is 1024 x 768.


 

Keyboard Shortcuts

 

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.

 

 

Launching the vRealize Operations Manager UI

 

On the ControlCenter Desktop, launch Firefox.

 

 

vCenter Operations Tab

 

Make sure you select the vRealize Operations bookmark to start the session.

 

 

Login as Admin

 

Use the following credentials to login to vRealize Operations Manager:

User name: admin
Password: VMware1!

Click Login.

 

Creating Custom Views


Views are in important component to vRealize Operations Management.  Views are used for report content as well as dashboards.


 

Views

 

  1. In the navigational pane, click on the content icon to navigate to the Views section.  
  2. Click on 'Views' in the left pane display all of the available views.  
  3. Click on the green plus sign (+) to add a view.

 

 

Creating a View

 

After you click the add view button, you are presented with a wizard-like process that will take us through the view creation.  On the right side of the screen, you are given a definition of a view and the logic behind a view.  Taking information into a view that can then be used in reports and dashboards.  You can click on the collapse link in the top right-corner to gain more space for the view creation.

Start by giving the view a name and description.  

Once you have a name and description, click on "2. Presentation" slider.

 

 

 

Presentation

 

A presentation is a way the collected information for the object is presented.  Each type of view helps you to interpret metrics from a different perspective.

Views can be presented as the following:

For this exercise, we are going to create a List view. 

Click on Subjects.

 

 

Finding Subjects

 

For this exercise, we are concentrating on Virtual Machines.  Begin by typing 'Vir' in the subject drop down menu box.   You will see that the data will populate with resources matching the typed string (Vin in this case).  The resources are first sorted by the management pack that provides them.  

Select Virtual Machine under the vCenter Adapter.

 

 

Subjects

 

The subject is the base object type for which the view shows information.

With Virtual Machine selected, you can proceed to the next step.

Click on Data.

 

 

Choosing Data for the subject

 

Expand the category for Memory

 

 

Data

 

The data definition process includes adding properties, metrics, alerts, policies, or data provided by adapters to a view.  These are the items by which vRealize Operations Manager collects, calculates and present the information for the view.

Since our subject matter is a Virtual Machine, the metrics for virtual machines are displayed for selection.  We are going to use memory metrics for this view.  Exanding the memory section, double-click or drag the metric to the center window (1).

These are the metrics used in this section:

For now, we are going to concentrate on the data for each metric using the last value collected for the virtual machine (2).

In the Configuration window, you can change the label that is used on the view, units (important if you want to switch between KB and GB) (3), the sort order and the kind of transformation.  The transformation can be the minimum, maximum, average, last value, etc.  Open the drop-down menu to see the possible selections.

Clicking on the "Show advanced settings" link will give you more options to manipulate the data such as rolling up the data to specified periods of time.

We are also setting the view to show data for the last 7 days (4).

Click on Visibility.

 

 

Visibility

 

The view availability defines where you can see a view in vRealize Operations Manager.

For this exercise, select the first three items and then Workload.  Our expectation is that when viewing the workload information on a virtual machine, we want this view available to us for further analysis.

Click Save

 

 

Updated Views List

 

You should now see your newly created view in the view inventory.

 

 

Quick test to confirm visibility

 

To navigate to the VM, type the VM name in the search dialog (1).  For this lab, begin typing 'PVMDB_0'.  This will take us to the VM we need.  Go to Analysis (2)  then Workload (3) to confirm our view is an available option (4).

 

 

The view

 

Here we see the results of the view we have created.  One possible improvement could be using a transformation of maximum for the guest memory demand to compare that against the amount configured for the virtual machine.

 

Creating Custom Reports


Here we are going to demonstrate how to create custom reports.  We are going to utilize the view we created in the previous section.


 

Create a new report

 

Navigate to the content area and select Reports in the navigation pane.  For a new report, click on the green plus sign (+).

 

 

Name and Description

 

Enter a name and description for the report.  On the right panel, we are presented with a understanding of the contents of a report.  This panel can be minimized by clicking the Collapse link in the upper right.  Collapse the information to gain additional space.

Click on Views.

 

 

Views

 

In the views section, we can create a new view or edit an existing view if necessary.  For this demonstration, we are going to search for the view we created earlier.  Enter the name of the view in the search filter and press enter.  Once your view is shown, double-click on the name or drag it to the right side panel.

Click on Formats

 

 

Formats

 

We have two options for the report, PDF and/or CSV.  For this exercise, leave both selected.

Click on Layout Options

 

 

Layout Options

 

You have the option to include a cover page, table of contents and/or footers.  For this step, select the cover page option.  You see that you can use a custom image to better match your company or purpose.

Click Save.

 

 

Available reports updated

 

Our sample report is now in the report templates.  The next step is to run the report by clicking the highlighted icon in the toolbar.

 

 

Running the report

 

After you click the run report icon, a pop-up is presented where you can select the context to run the custom report.  Browse and select Cluster_2 and click OK.

 

 

View the report

 

Select the Generated Reports tab and select the PDF icon to view the report we just created.  Open the report in the acrobat reader.

 

 

The PDF contents

 

Here we can see the contents of the PDF.

 

Create custom dashboards (utilizing Views and Widgets)


We'll go through the process to create a dashboard and utilize the view we created earlier.


 

Add a new dashboard

 

Navigate to the content section, select Dashboards and click on the green plus sign (+).

 

 

Dashboard Configuration

 

When starting a dashboard creation, you may see the panel for "What is a Dashboard?" on the right panel.  This can be collapsed to gain additional room.

Enter a name and set the column count to 1.

Click Widget List.

 

 

Widget List

 

In the left panel, scroll down to find the View widget.  Select it and drag it to the right panel.  You'll see the text "The widget is not configured.  Select a view to render".  Click on the edit icon in the upper right to configure the widget.

 

 

Edit View

 

We need to set the Self Provider to On.  If a widget is retrieving data on its own (no iteraction from a providing widget), this value needs to be set.  Browse to our Cluster_2 object on the navigation pane then choose the HOL Sample View (or the name you used when the view was created).  You can also use the quick filter in the upper right to search for your view.  Once selected, click OK.  The view widget will update with some same data.

Click Widget Interactions

 

 

Widget Interactions

 

Since we only have one widget, there is nothing to do here.  If you create a dashboard with multiple widgets, this is where you can dictate which widget provides data to other widgets.

Click Dashboard Navigation

 

 

Dashboard Navigation

 

Nothing to do here.  If you have dashboards that can interact, you are presented with the option to have one dashboard provide data to another dashboard.

Click Save

 

 

Updated Dashboard inventory

 

After saving the dashboard, you may need to set the filter in the upper right corner to show the dashboard just created.  It's now in the inventory.  We can go back to the home icon and view the contents.

 

 

Selecting the dashboard

 

Once you're on the home screen, select the Dashboard List drop-down menu item and select the dashboard from the inventory.

 

 

Viewing the dashboard

 

We now have a dashboard with dynamic content that can be viewed and shared with groups.

 

Another Dashboard - Slightly more complex


The previous dashboard was a simple, single widget dashboard.  In this example, we'll create an interactive dashboard with multiple widgets.


 

Add a new dashboard

 

  1. Go to the content area
  2. Select Dashboards
  3. Add a new dashboard with the + icon

 

 

Dashboard Configuration

 

Add a name (i.e. Sample HOL Dashboard 2)

Set Column count to 2

Change the layout to make the left window smaller than the right window.  This is accomplished by holding the mouse on the vertical line and sliding to the left. (1)

Click on Widget List

 

 

Widget List

 

Drag and drop the Object List and Metric Chart widgets from the left to the right window.  Click on the edit link (1) to edit the Object List widget.

 

 

Object List

 

  1. Rename the widget to Virtual Machines
  2. Select Refresh Content
  3. Mode: Self (Self means the widget is going to retrieve the data for the selected resources)
  4. Expand Object Types
  5. Scroll down to Virtual Machine

 

 

Object Type: Virtual Machine

 

  1. Click the clear X to ensure nothing is selected first. (This clears the filter).
  2. Select Virtual Machine
  3. Click Save

 

 

Refresh the data

 

After the widget is saved, you may need to refresh the data to see the selected resources.  You should now see only virtual machines in the list.  If the list is empty, go to the previous step to fix the filter.  Often, multiple items are selected and the filter needs cleared.

Click Widget Interactions.

 

 

Widget Interactions

 

Here we are creating the interaction between the Selected object (virtual machines) and telling the dashboard to update the Metric Chart.  

  1. Click the drop down menu to choose Virtual Machines.
  2. Click Apply Interactions.
  3. Choose a VM on the metric chart to see if the dashboard updates.
  4. Click Dashboard Navigation

 

 

Dashboard Navigation

 

  1. On the dashboard navigation, from the drop down list (1), choose recommendations and then select the first three items for Environment Health, Risk and Efficiency.
  2. Apply Navigations
  3. Save

Dashboard Navigation does not always need to be used in dashboard creations.  It simply allows us to navigate more easily from one dashboard to another.

 

 

View the dashboard

 

  1. Go back to the home icon
  2. Select Dashboard List
  3. Select the Dashboard you created.

 

 

Using the dashboard

 

On the Virtual Machines list, select a resource.  You will see the metric chart update with relevant metrics for that selected resource.

 

Wrap Up


We hope you have enjoyed taking this module and can see the power of custom dashboards, views and reports in vRealize Operations Manager.  Be sure to take the survey at the end.

For more information on vRealize Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 6 - Virtual Infrastructure Performance Correlation with OS

Introduction


With module 6, we are going to show some the features with the advanced level of vRealize Operations Management.  The advanced level of vR Ops entitles customer to use operating system performance metrics.  Hyperic is included beginning with the advanced level of vR Ops.  In this module, we will go through the out of the box dashboards and also some custom dashboards built for operating system metrics.

The Hyperic Management pack can be found on the VMware solution exchange.

Some additional information about Hyperic:

The vCenter Operations Management for vCenter Hyperic adds in guest information (Hypervisor and Physical) including OS, network and application metrics to provide a single pane of glass from application down to the virtual infrastructure. You can also manage your Hyper-v, Exchange, and SQL Server environments with pre-configured Dashboards for health, performance, and detailed troubleshooting.

Highlights

Description

The vCenter Operations Management Pack for Hyperic can be installed on any Advanced or Enterprise edition vCenter Operations Manager Installation. This incudes both the appliance and stand alone deployments. However, Use on advanced editions is restricted to storage, network and Hyper-V data. All OS and application specific resources and data can only be consumed in an enterprise edition The Management pack integrates with by adding the availability and performance metrics to vCenter Operations and include OS for web and packaged application metrics.


Logging in and Getting Started


The UI provides access to all vRealize Operations Manager features.

vRealize Operations Manager supports the following:

Browser Support

vRealize Operations Manager supports the following:

Note: There might be issues with slower performance if Internet Explorer 10 or 11 is used.

The minimum supported resolution is 1024 x 768.


 

Keyboard Shortcuts

 

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.

 

 

Launching the vRealize Operations Manager UI

 

On the ControlCenter Desktop, launch Firefox.

 

 

vCenter Operations Tab

 

Make sure you select the HVM - vR Ops 6 bookmark to start the session.

 

 

Login as Admin

 

Use the following credentials to login to vRealize Operations Manager:

User name: admin
Password: VMware1!

Click Login.

 

Implementing the Hyperic Management Pack


This section of the lab is for information only.  None of the steps need to be performed.

This lab is intended to show the use of monitoring tools and how they can be integrated with vRealize Operations.  Up to this point, we have been using metrics gathered from vCenter server and then analyzed by vR Ops.  With vR Ops, we can use metrics gather by other tools and other environments.  With this lab we are going to concentrate on data from Hyperic, Hyper-V, Amazon Web Services and vCloud Air.

Highlights

Description

The vCenter Operations Management Pack for Hyperic can be installed on any Advanced or Enterprise edition vCenter Operations Manager Installation. This incudes both the appliance and stand alone deployments. However, Use on advanced editions is restricted to storage, network and Hyper-V data. All OS and application specific resources and data can only be consumed in an enterprise edition The Management pack integrates with by adding the availability and performance metrics to vCenter Operations and include OS for web and packaged application metrics

You may often hear references to adapters and management packs.  Management packs provide adapters and dashboards.  Adapters are the conduit between a solution like Hyperic and vR Ops.

VMware has a community repository at http://solutionexchange.vmware.com. There may be instances where management packs need to be obtained directly from other solution providers.  There are other times when a custom management pack is necessary.  For this exercise, the Hyperic management pack is already deployed.  A quick description of the requirements are listed here:

 


 

Solution Exchange

 

Here customers can gain access to the management packs that have been uploaded to the community repository.

 

 

Selecting the Hyperic Management Pack

 

In the advanced section on solution exchange, you will see the link for Hyperic MP.  The box is a hyperlink and will take you to the available options.

 

 

Management Pack details

 

Once you click on the link for the management pack, you are directed to the details page for that MP.  You are provided with an Overview, Tech Specs, Support, Resources and Reviews.  In the upper right, you have the ability to log in to try the product.  Since this has already been performed in this lab, we are only providing this as information for you today.

 

 

The PAK is downloaded -- Now deploying it.

 

For this lab, the management packs are already downloaded and deployed.  These steps are for informational use and not intended to be performed.

The management packs are delivered as PAK files.  Once downloaded, we can now deploy the PAK to the vR Ops solution.  This process is done through the administration links in vR Ops.  The administration interface can be reached through a couple of options.  In the screenshot above, either hi-lighted link will suffice.

 

 

Adding a solution

 

With 'solutions' selected on the left, we would click on the green '+' to add the PAK file.  Once you click on the '+', a wizard will step you through browsing the to the PAK and then installing the solution.  The PAK only needs to be deployed once, even in a multi-node vR Ops cluster.  In a multi-node cluster, the PAK is distributed to the other nodes for you.

 

 

Configure the adapter part of the Management pack

 

After the MP has been installed, you need to configure the adapter to communicate with the Hyperic server and vR Ops.  Select the solution in the list and then click on the gear icon in the tool bar.

 

 

Configuration parameters

 

After you click on the gears to configure the solution, the screenshot shows the parameters needed.  The items that may need clarification are the following:

 

 

Credentials

 

When setting credentials for the Hyperic adapter, we need to set the following:

Once the parameter are set, click the OK to return to the previous screen to test the parameters and credentials.

 

 

Next Step

Once the management pack is deployed and configured, we will have some out of the box dashboards in the vR Ops solution.  We'll go through those in the next section.

 

Customizing Hyperic data for OS Resources


Prior to this step, we have looked at the default dashboards delivered through the Hyperic Management Pack deployment.  This following dashboards were custom built for this exercise to show some potential uses with Hyperic.

The first item for this lab is to examine OS Resources that have been gathered by Hyperic.  This functionality is available at the advanced level of vRealize Operations Management.


 

Navigate to the OS Resource Dashboards

 

Open the Dashboard List to show the available dashboards.

 

 

Choose Operating Systems

 

Click on the section for Operation Systems.

 

 

Available Operating Systems Dashboards

 

Here you see that we have three dashboards built for this discussion.  The three dashboards:

We will go through the content of the dashboards during this exercise.

Click on OS Top 10 Utilization to display the dashboard.

 

 

OS Top 10 Utilization Dashboard

 

This dashboard give the user the top 10 CPU % utilization and the top 10 Memory utilization for all Hyperic Linux and Windows resources.  By single-clicking on any of the resources in the lists, you can get the metric mapped out over a period of time.  This is useful from a historical perspective.  We can see the current value in the list while comparing that to the historical trend of the metric.

 

 

OS Alerting Dashboard

 

Navigate to the dashboard list again to choose Operating Systems -> OS Alerting to view the dashboard in this screenshot.  This dashboard is designed to show OS alerts for Windows and Linux resources identified through the Hyperic adapter.  The widget for OS Alerts is configured to filter on resource kinds that match Linux and Windows.  We then created an iteraction where the Resource relationship and Important OS Metrics are updated when we click on an alert.  Single-click on the Windows resource (1) and then click on the alert icon in the toolbar (2).

 

 

See the alert

 

Viewing the alert, we can see that the resource is low on disk space.  With this information, we know we need to take some actions for this resource like freeing up disk space, adding more space, etc.  Just like vCenter resources, we can create actions based on this scenario to remediate in the future as well.  That kind of process is detailed in module 3 of this lab.

 

 

OS Heatmaps

 

The OS Heatmap gives us insight into Memory, CPU and Disk information as provided from Hyperic.  With a single-click on the heatmap, we created an interaction with the widgets below to update with the historical view of the selected metrics.  In the screenshot, we have hovered the mouse over one of the non-green resources to view the information.  In the pop-up, we can see that the boxes are sized by Used Memory and colored by the swap size.  

Move your mouse over other resources to view their information.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value that virtual infrastructure performance correlation with OS will bring to your environment!  Be sure to take the survey at the end.

For more information on vSphere with Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 7 - vSphere Configuration and Compliance Management

Introduction



 

Introduction

vRealize Operations Manager and vRealize Configuration Manager are absolutely integral to thoroughly understanding your environment and correlating performance with configuration changes in both the virtual environment as well as within the OS itself. In this module, we will explore the integration of the two solutions while demonstrating how vRealize Configuration Manager can augment performance analysis, provide compliance remediation as well as patching functionality.

 

 

For users with non-US Keyboards

 

NOTE:  If you are using a device with non-US keyboard layout, you might find it difficult to enter CLI commands, user names and passwords throughout the modules in this lab.

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.  Alternatively, you can use the On-Screen Keyboard.

 

 

On-Screen Keyboard

 

Another option for having issues with the keyboard is to use the On-Screen Keyboard.  

To open the On-Screen Keyboard go to Start - All Programs - Accessories - Ease of Access - On-Screen Keyboard

 

 

Prepare vRelealize Configuration Manager

 

From the Desktop, double click the restartVCM shortcut.

NOTE: If you have already taken Module 10 - Continuous OS Level Configurations and Compliance Management, this step is not needed.

 

 

Restarting vCM

 

A new command window will open and it will take approximately a minute to run.  Once the command window disappears, you may continue with the next step.

 

Analyzing vSphere Compliance with vRealize Operations Manager and vRealize Configuration Manager



 

Log Into vRealize Operations Manager

 

Bring up a Firefox browser and login as a local user:

  1. User name: admin
  2. Password: VMware1!
  3. Click Login

 

 

 

Observe vRealize Configuration Manager Groups in vRealize Operations Manager

 

vRealize Operations Manager automatically syncs the groups present in vRealize Configuration Manager to give an accurate and up to date representation of machine groupings according to type and compliance posture.

  1. Click Environment.
  2. Open the All Objects tree.

 

 

Check Compliance Posture for vRealize Configuration Manager Groups

 

  1. Expand VCM Adapter
  2. Expand Machine Groups
  3. Click All Machines
  4. Click Analysis tab
  5. Click Compliance and observe the compliance postures of this group.
  6. Scroll down if necessary and click WIN2k8R2-1

 

 

Open Object in vRealize Configuration Manager Console

 

At this point, you should be in the Compliance section for WIN2K8R2-1. If you are not there, navigate to the WIN2K8R2-1 object in the All Objects pane on the left. Scroll via the right menu to observe the compliance rules on this object.

  1. Select the WIN2K8R2-1 object (if not already selected).
  2. Select the VMware vSphere Hardening configuration policy.
  3. Click the gear and select Open in vCenter Configuration Manager.

 

 

Launch vRealize Configuration Manager in context via Internet Explorer

 

  1. Select the text from the vRealize Configuration Manager pop up, right-click and copy.
  2. Click the Start Menu.
  3. Launch Internet Explorer.
  4. Paste the text into the Internet Explorer browser window and hit enter.
  5. Click Continue to this website when prompted.

 

 

Examine Rules

 

At this point, the link from vRealize Operations Manager will take you to the specific object and compliance rule that you selected. The VMware vSphere 5.5 Hardening rule should be selected.

  1. Ensure the rule is highlighted in the left hand pane.
  2. Observe the check marks and exclamations indicating pass/fail of that rule. Do not need to click anything here.
  3. Click the View row cells.

 

 

Observe Expected/Found Values

 

In this sub menu, you can examine each rule that comprises the compliance posture individually to determine what is expected versus what was found. Note that the rules can be examined individually by clicking the Change Row up/down arrows on the right.

  1. Click the Scroll Bar on the right until you see Value Expected and Value Found. This particular rule assesses whether an independent non-persistent disk is attached to the VM. For the rule to pass, it Must Not Exist. The Value Found indicates that it Does Not Exist, so the rule passes.
  2. Click the Change Row down arrows and examine the rules Expected versus Found values to see why some passed and some failed.
  3. When you are satisfied, click Close to move on.

 

 

Export a vRealize Configuration Manager Report

 

Now let's have a look at the reporting functionality in vCM.

  1. Click the Reports slider on the left pane.
  2. Navigate to the Virtual Objects Reports and choose Compliance.
  3. Select Virtual Environments Compliance Results Summary or select Virtual Environments Compliance Results Details for a complete list of compliance results.
  4. Click Export.  Note: The wait time for this may be longer than usual.  SQL Reporting Services is starting and can take up 25 seconds to start.
  5. In the submenu that follows, notice the many different formats the reports can take. Select Acrobat (PDF) file.
  6. Click OK.

 

 

View the Report

 

Open a file explorer window and type in \\vcm-01a\CMFiles$\Exported Reports

Double click the report and review the results of the last run. The flexibility here to schedule, run and email reports is a key feature of vCM.

 

 

Open the PDF

 

Scroll through this document and see the detailed breakdown of this vSphere Hardening compliance posture.

 

Drift Remediation with vSphere using vRealize Configuration Manager


vRealize Configuration Manager collects data from your vCenter Server so that you can identify and manage your virtual environments, including ESXI and ESXi hosts, and guest virtual machines.  In this section we will show how you can view the syslog settings on multiple ESXi servers and perform changes on all hosts.


 

Log Into vRealize Configuration Manager using Internet Explorer

 

  1. Click the Start Menu.
  2. Launch Internet Explorer.
  3. Click on the VMware VCM from the favorites bar.
  4. Click on Continue to this website.
  5. Enter the corp\vcmadmin1 password VMware1!

 

 

Navigate to the Host Advanced Settings

 

  1. From the vCM Console expand Virtual Environments.
  2. Expand vCenter.
  3. Expand Hosts.
  4. Expand Advanced Configuration.
  5. Click on Advanced Settings.

From here the Advanced Settings datagrid will load with all the settings from all hosts and in all vCenter servers.

 

 

Review the Syslog Settings on Multiple Hosts

 

  1. On the far right click on the Define button to refine what is shown in the datagrid.
  2. Change the column dropdown to show Setting and the textbox type 'Syslog.global.logHost'.
  3. Click Apply to show the results.

Here we can see there's four total hosts and none of the hosts are configured for sending syslog data.

 

 

Remediate the Syslog Settings on Multiple Hosts

 

  1. Click on Change Setting.
  2. Click on the double down arrows to add all hosts.
  3. Click Next to continue.

 

 

Define the Parameters to Change

 

  1. Click Define to narrow down the parameter search.
  2. Change the first column name to Parameter Name in the dropdown list.
  3. Type 'Syslog.global.logHost' in the textbox.
  4. Click Apply.
  5. Highlight the parameter name then click the single down arrow to move the Syslog parameter to the selected section.
  6. Click Next to continue.

 

 

Define the Parameters Value

 

  1. Enter the name of the syslog server udp://loginsight.corp.local:514 optionally you can click on the elipse (...) button to select a specific value if it already exists in the environment.
  2. Click Next to continue.

 

 

Schedule the Change Action

 

Optionally you can schedule this change during a specific change window, or continue with the Run Action now option.

 

 

Change Confirmation

 

Note that there will be 4 targets that vCM will execute against.  Make sure this matches with what you entended to select at the beginning of the process.

  1. Click Finish to execute the script action.

 

 

Monitor the Job Manager

 

Monitor the job status to ensure the change is successful.  Make sure 1's show up on all of the rows under the Succeeded column.

  1. Click on Jobs on the top left corner of vCM.  A Jobs Running pop up window will appear.
  2. Click close when the job is complete.

 

 

Navigate to the Change Results

 

To confirm the changes were made you can view the results in the Change Management Section of vCM

  1. Within the Console Slider expand Change Management - expand VCM Initiated and click on By Date.
  2. Click on today's date that the change occurred.
  3. Locate the change in the datagrid and highlight the change by clicking on the row once.
  4. Right click on the row and a menu option will show.  Click on View row cells to get a quick look at the change.

 

 

Review the Change Results

 

Here you can see the value changed from being blank to the value of the syslog server (udp://loginsight.corp.local:514). Also vCM tracks who made the change (CORP\VCMADMIN1) within vCM for accountability.

  1. Once you have completed reviewing the change results click Close to complete.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value vSphere Configuration and Compliance Management will bring to your environment!  Be sure to take the survey at the end.

For more information on vSphere with Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 8 - Application Discovery and Dependency Mapping

Introduction to vRealize Infrastructure Navigator


This module will introduce you to the basic features of vRealize Infrastructure Navigator.


 

Overview of vRealize Infrastructure Navigator

 

VMware® vRealize™ Infrastructure Navigator™ (formerly known as vCenter Infrastructure Navigator) is a component of the vRealize® Suite™. It automatically discovers application services, visualizes relationships and maps dependencies of applications on virtualized compute, storage and network resources.

Intelligent Operations Groups

vRealize Infrastructure Navigator enables you to leverage the application dependency context to proactively manage the virtual infrastructure. With intelligent operations groups and VMware® vRealize™ Operations Manager™ integration, users are enabled to quickly identify in-context performance and capacity issues, as well as optimization opportunities, as they relate to grouped objects either by business, or operational relevance.

Create Application Patterns and Mappings

With vRealize Infrastructure Navigator, you can map services running in your virtual environment, examine the application discovery status, view and analyze the dependency. It provides a centralized view of your application environment.

Define Protection Groups and Recovery Plans

Administrators can use vRealize Infrastructure Navigator to understand how various changes in the virtual environment will affect the availability and reliability of their application infrastructure. This allows for proactive risk assessment against SLAs.

See more at: http://www.vmware.com/products/vcenter-infrastructure-navigator/features.html

 

Logging in and getting started with the vSphere Web Client


vRealize Infrastructure Navigator integrates itself into the vSphere Web Client so we will use the Web Client to explore vRealize Infrastructure Navigator's abilities.

Browser Support

The vSphere Web Client supports the following:

The minimum supported browser resolution is 1024 by 768 pixels.

vRealize Infrastructure Navigator supports VMware vCenter Server 4.0 Update 2 and later, managing hosts running ESX/ESXi 4.0 and later.


 

For users with non-US Keyboards

 

NOTE:  If you are using a device with non-US keyboard layout, you might find it difficult to enter CLI commands, user names and passwords throughout the modules in this lab.

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.  Alternatively, you can use the On-Screen Keyboard.

 

 

On-Screen Keyboard

 

Another option for those having issues with the keyboard is to use the On-Screen Keyboard.  

To open the On-Screen Keyboard go to Start - All Programs - Accessories - Ease of Access - On-Screen Keyboard

 

 

Screen navigation

 

If you have trouble navigating through any of the wizards we will use in this module, use Firefox zoom to adjust the UI screen

1) Click to open Firefox Menu

2) Use the '+' and '-' to zoom in or out as appropriate to fit screen

 

 

Open a PowerCLI window

 

Click on the VMware vSphere PowerCLI icon in the task bar to open a command prompt.

 

 

Start the 3-Tier Application Workload Generator

 

From the PowerCLI Console

type:

.\StartVinLab.ps1

press enter

Leave this window open in the background.  The script will start a custom 3-Tier application that we will work with later in the lab.

 

 

Launching the vSphere Web Client

 

On the ControlCenter Desktop, launch Firefox.

 

 

Navigate to the vSphere Web Client

 

Make sure you select the first tab to the left of Firefox. You can always get to the login screen by selecting the 'Site A Web Client' bookmark.

 

 

Login as Administrator

 

Use the following credentials to login to vCenter Operations Manager vSphere UI:

User name: administrator@vsphere.local
Password: VMware1!

Click Login.

 

 

vSphere Web Client

 

You are now logged into the vSphere Web Client.

 

Exploring Infrastructure Navigator


In this section we will look at the major features of Infrastructure Navigator


 

In case Infrastructure Navigator does not initialize properly

Because of the dynamic nature of the HOL lab environment it is possible that Infrastructure Navigator may not initialize properly.  When this happens, any part of the vSphere Web Client Infrastructure Navigator plug-in may return an error similar to "Error while retrieving data from Infrastructure Navigator server".  Should this happen, the resolution is re-register the vServices.  This is covered in VMware KB 2044117.   The recovery steps are outlined here:

To resolve this issue, modify the vCenter Infrastructure Navigator virtual machine provider setting in the vSphere Web Client:

  1. In the search bar in the upper right hand corner of the vSphere Web Client search for "vRealize Infrastructure Navigator".
  2. Double click on the vRealize Infrastructure Navigator link in the search results.
  3. In the Actions menu in the top of the center pane choose Shutdown Guest OS and click Yes to confirm the shutdown.
  4. Wait 1-2 minutes for the VM to properly shutdown.
  5. Click on the Manage Tab, then the vServices sub-tab (the last entry of the tab strip).
  6. Click the vServices tab.
  7. Select the dependency vCenter Extension vService Dependency then hit the Remove button.
  8. Click the Add button to create a new dependency.
  9. Click Next accepting the provider type.
  10. Click Next to accept the default name.
  11. Choose Required and Bind immediately then Finish.
  12. In the Actions menu choose Power On then OK to choose the selected host to start the VM on.
  13. Wait 1-2 minutes for the VM to properly startup.
  14. Log out and back into the vSphere Web Client to begin the lab.

 

 

Begin Navigation to the vCenter

 

  1. From the Left Hand Navigation Bar, choose 'vCenter'

 

 

Choose vCenter Servers

 

  1. Inventory Lists choose 'vCenter Servers'

 

 

Select the vCenter Server

 

  1. Choose 'vcsa-01a'.  The left hand navigation window will refresh with information about the vCenter Server.

 

 

Select the Summary Tab

 

  1. In the tab bar at the top of the center content pane choose 'Summary' if it has not already been selected.

 

 

Examine the Infrastructure Navigator Widget focused on vCenter

 

Note:  Depending on which modules you may have taken before, the actual list of known applications may vary.

The Infrastructure Navigator Portlet displays all the known application services currently configured on this vCenter.  By expanding the twistie on the application service categories we can see the details of specifically which discovered services are active.

  1. Expand the twistie on each application service category to display its details.

To see which application services are currently running on which VM's, we can use a specialized inventory view:

2.     Click the 'Show all in inventory' hyperlink.

 

 

The Application Services Tab

 

Note:  Depending on which modules you may have taken before, the actual list of virtual machines may vary.  

The Application Services tab added by vRealize Infrastructure Navigator shows detailed information about what vRealize Infrastructure Navigator has discovered on this vCenter.

Name - The name of the Virtual Machine that has been discovered.  It is a fully accessible vSphere Web Client Object and can be interacted with.

Services - The list of the application services (if any) that have been discovered to be running on this VM

Applications - Contains the list of any custom defined applications that have been discovered.  (This will be covered in a later exercise.)

Discovery Status - Displays the current status of the VM from vRealize Infrastructure Navigator's point of view.  In order for VM's to be successfully discovered they must be powered on and have VMware Tools running.

Successful Discovery - To keep the cpu and network load down vRealize Infrastructure Navigator will perform auto-discovery every hour.  (For this lab we have tuned this value down to 5 minutes, but this is not recommended for normal environments.)

Below the main table are two tabs which show information about the selected VM.  The general tab, visible above, shows some general information about the VM that was collected by vRealize Infrastructure Navigator.

 

 

Searching for VMs running Specific Application Services

 

From this view you can use filtering to quickly find the application services that you are looking for.  

  1. In the Filter Text Box enter 'RabbitMQ' to display all the VMs running the Rabbit MQ application.

Let us get details about the vRealize Infrastructure Navigator VM.  

2.    Click the hyperlink of the name 'vRealize Infrastructure Navigator' in order to bring it up in the vSphere Web Client.

 

 

Looking at the Infrastructure Navigator Widget focused on a VM

 

In the "Summary" pane we can again see the Infrastructure Navigator Widget.  This time it shows us a summary of the application dependencies (both incoming and outgoing) for this VM.  Expand the Dependencies twisty to see an overview.  

To get full details of the application dependencies, you can do either of the following:

OR

 

 

Application Dependencies Map (Graphical View)

 

The Application Dependencies Map provides a graphical view of the application relationship dependencies centered around this VM.  Looking at the Infrastructure Navigator box in the center we can see that this VM is running both tcServer and RabbitMQ.  These are application services that support infrastructure Navigator itself.  We can also see that there are multiple arrows leaving the Infrastructure Navigator VM pointing to other VMs that it is connected with.  A quick inspection shows that it is connected to 2 ESXi hosts on port 902 (for VIX protocol on target hosts to perform discovery) and to the vCenter to ports 80/443 (for displaying information in the vSphere Web Client).

In the Application Dependencies bar, click on the black triangle next to 'Map View" and switch it to 'Table View'

 

 

Application Dependencies Table View

 

This the Table View of dependencies.  It gives the same information as the previous Map View but the information is laid out in table form.  Note that this is the default view when there are many relationships to and from a single VM.

 

Defining a new Application Service


In this section we will learn how to define a new application service to vRealize Infrastructure Navigator.


 

Navigate Home in the vSphere Web Client

 

In the vSphere Web Client navigation bar, in the upper left hand side, choose the 'Home' (house) icon.

 

 

Find the vRealize Infrastructure Navigator Appliance

 

In the upper right hand corner of the vSphere Web Client locate the search bar.

  1. In the search bar enter 'vRealize Infrastructure' and hit enter on the keyboard.
  2. Click on the 'vRealize Infrastructure Navigator' virtual machine link.

 

 

Navigate to the Application Services Tab

 

  1. In the middle content pane, choose the 'Manage' tab.
  2. Choose the 'Application Dependencies' sub tab.

 

 

Open the Services Details Tab

 

In order to define a new application service we will open the Services tab at the bottom of the main content panel.

Note:  The order of the services may be different than the picture above.

  1. Use the slider bar in the middle to drag the details pane up to give you more room to work.
  2. Click the 'Services' Tab
  3. by Default, vRealize Infrastructure Navigator will only show application services that have other services connected to them.  We will define a normally passive service SSH so we will need to see the list of all services to do this.  Click the "Show unknown services with no incoming dependencies" checkbox to display the list of all discovered services.
  4. Scroll down to the bottom of the list so that the Unknown service on port 22 opened by process sshd is visible.

 

 

Define a new application service

 

  1. Click on the blue "+" sign in the Action column for the last entry that is Listening on Port 22.    

The Create User Defined Service Definition dialog box will appear.

Note:  We can define an application service by the process name, port number or more normally both. vRealize Infrastructure Navigator has many pre-defined categories for application services to better organize them.

2.    Check the 'Process' checkbox

3.    Check the 'Port' checkbox

4.    Enter 'SSH' in the 'Name' field.

5.    Choose 'Other' in the 'Category' list.

6.    Choose 'OK' to commit the changes.

 

 

Look at the newly defined Service

 

Note that the SSH service now appears as active in the vRealize Infrastructure Navigator VM.  The SSH service will now instantly be recognized on all other VMs as well.  By looking in the Type column you can now see the user defined icon indicating that this service was defined by a user and is not native to Infrastructure Navigator.

If you need to edit or delete an application definition you can click on the appropriate icons in the Action Column for the service.

 

 

Find another VM using the SSH service

 

  1. In the search bar in the upper right hand corner enter the VM name 'vFabric_vPostgres_DB'.  The vSphere Web Client should find the Postgres DB VM.
  2. Click on the VM Name 'vFabric_vPostgres_DB' in the search results to bring up the VM.

 

 

See the SSH service now appears

 

  1. In the Content Pane choose the 'Manage' tab
  2. Choose 'Application Dependencies' sub-tab.  
  3. In the lower details pane click on the 'Services' Tab.
  4. Note that the SSH service is now visible on this VM as well.  

vRealize Infrastructure Navigator will instantly update all running VM's when a newly defined application service is created.  Custom Application Services will also always be visible whether or not a client is currently connected to them.

 

Defining a Custom Application


In this exercise we will define a new custom application using vRealize Infrastructure Navigator.  We will use this definition later in vRealize Operations as a custom group.

This exercise will include two main tasks:

  1. Our custom 3-Tier application uses Apache HTTP, Tomcat Server, and PostgreSQL.  The Apache process (httpd.worker) and the PostgreSQL application process (postmaster) are not known to vCenter Intrastructure Navigator so we wil define new application service for them.
  2. We will then create the custom application definition.

 

Open the Spring Trader Application in a new tab

 

In this exercise we will be using our Springtrader Sample application to demonstrate how Infrastructure Navigator can discover multi-tier applications.  Since Infrastructure Navigator needs to see open connections between the servers, we will bring up the Springtrader Application once in order to establish those connections.

  1. From the Firefox hot-bar menu, choose Module 8
  2. Right click on the Springtrader 3-Tier Application hyperlink and choose Open a New Tab.

 

 

Examine the Springtrader Application

 

This is VMware's Springtrader application.  Once this page appears our application has been defined and we can continue.

Note:  If this page does not come up, make sure you started the Infrastructure Navigator lab at the beginning of this module.

 

 

Navigate back to the vSphere Web Client

 

Click on the vSphere Web Client tab to return to the Web Client.

 

 

Navigate Home in the vSphere Web Client

 

In the vSphere Web Client navigation bar, in the upper left hand side, choose the 'Home' (house) icon.

 

 

Find the st-db VM

 

  1. In the upper right hand corner of the vSphere Web Client locate the Search bar and type 'st-db' and hit enter.
  2. When the search completes, click on the 'st-db' virtual machine.

 

 

Switch to the Application Dependencies Tab

 

  1. In the middle content pane, choose the 'Manage' tab.
  2. Choose the 'Application Dependencies' sub tab.

 

 

Open the Service Details Tab

 

  1. Use the slider bar in the middle to drag the details pane up to give you more room to work.
  2. Click the 'Services' Tab

 

 

Define the PostgreSQL Application Service

 

PostgreSQL uses port 5432 as it's default.  Our custom application uses a process named 'postmaster' instead of the default 'postgres'.  For this reason we'll only define the PostgreSQL service to port 5432.

  1. In the Action column, choose the plus sign '+' in the row that has Listen Port 5432 and process 'postmaster'.  The Create User Defined Service Definition window will appear.
  2. Click the checkbox next to 'Port'.
  3. In the Name field enter 'PostgreSQL DB'.
  4. Choose the category 'Database Server'.
  5. Click the 'OK' button.

The dialog box will disappear and the PostgreSQL application will appear as a user-defined service.

 

 

Find the st-web VM

 

  1. In the upper right hand corner of the vSphere Web Client locate the Search bar and type 'st-web' and hit enter on the keyboard.
  2. When the search completes, click on the 'st-web' virtual machine.

 

 

Switch to the Application Dependencies Tab

 

  1. In the middle content pane, choose the 'Manage' tab.
  2. Choose the 'Application Dependencies' sub tab.

 

 

Open the Service Details Tab

 

  1. Use the slider bar in the middle to drag the details pane up to give you more room to work.
  2. Click the 'Services' tab.
  3. Check the 'Show unknown services with no incoming dependencies' checkbox.

 

 

Define the HTTPD application service

 

The default Apache process name is 'httpd' and not 'httpd.worker' in our custom application.  Because port 80 is used by many web servers for this definition we will include the process name in the definition.

  1. In the Action column, choose the plus sign '+' in the row that has Listen Port 80 and process 'httpd.worker'.  The Create User Defined Service Definition window will appear.
  2. Check the checkbox next to 'Process'.
  3. Check the checkbox next to 'Port'.
  4. In the Name field enter 'Apache HTTP (httpd.worker)'.
  5. Choose the category 'Web Server'.
  6. Click the 'OK' button.

The dialog box will disappear and the Apache HTTP (httpd.worker) application will appear as a user-defined service.

 

 

Navigate Home in the vSphere Web Client

 

In the vSphere Web Client navigation bar, in the upper left hand side, choose the 'Home' (house) icon.

 

 

Go to Infrastructure Navigator

 

In the left hand navigation pane click on 'Infrastructure Navigator'

OR

Click on the 'Infrastructure Navigator' icon in the Inventories section of the Home tab in the main content page.

 

 

Click the Manage Tab

 

In the main content pane in the Infrastructure Navigator section click on the 'Manage' Tab.

Note: It make take a few seconds for the page to completely fill-in.

 

 

Create a new Automatic Application Definition

 

Click on the green plus sign '+' to create a new Application Definition.

 

 

Enter the name and description

 

The Create Automatic Application Definition dialog box appears.

  1. In the Name field enter 'Springtrader 3-Tier App'.
  2. In the Description field enter 'This is our sample 3-Tier Application'.
  3. Click the 'Next' Button,

 

 

Define the rules

 

Our 3-Tier application consists of three applications working in concert across 3 VM's.  To define this application relationship to vRealize Infrastructure Navigator we will model these relationships.  These relationships should always be listed in order that the data flows.  In our case it will Web -> Application -> Database.

  1. Since our custom application consists of 3 components, we will generate two more rules.  To do this click on the green plus sign '+' two times and 2 additional rules should appear.
  2. Enter each of the services as they appear in the image above.  We are unchecking the 'Clustered' checkbox because we are not using any load balancing/clustering network topologies in our sample.
  3. Click 'Next'.

 

 

Accept the new definition

 

Click the 'Finish' button to accept the new definition.

 

 

Wait for the application discovery to complete

 

Now that the new automatic application has been created vCenter Infrastructure Navigator will do a discovery for it.  This process in our lab environment should take about a minute to complete (in a real world environment with thousands of VM's under vCenter management this could take much longer).

Continue to hit the refresh icon every 10 to 15 seconds until the application has been discovered.

 

 

Navigate Home in the vSphere Web Client

 

In the vSphere Web Client navigation bar, in the upper left hand side, choose the 'Home' (house) icon.

 

 

Begin Navigation to the vCenter

 

  1. From the Left Hand Navigation Bar, choose 'vCenter'

 

 

Choose vCenter Servers

 

  1. Inventory Lists choose 'vCenter Servers'

 

 

Select the vCenter Server

 

  1. Choose 'vcsa-01a'.  The left hand navigation window will refresh with information about the vCenter Server.

 

 

Select the Application Services Tab

 

 

 

Filter resources for our new application

 

Now we can see that our application is ilsted in the Applications column.  Each instance of the application will have a number in parentheses next to it so you can identify the individual VMs that are associated with each application instance.  

Because the names are visible in the Application column we can quickly filter on our Application Definitions quickly by simply entering the name. In the Filter field type 'Springtrader' to just see our application instances.

 

 

Find the st-web VM

 

  1. In the upper left hand corner of the vSphere Web Client locate the Search bar and type 'st-web' and hit enter on the keyboard.
  2. When the search completes, click on the 'st-web' virtual machine.

 

 

Switch to the Application Dependencies Tab

 

  1. In the middle content pane, choose the 'Manage' tab.
  2. Choose the 'Application Dependencies' sub tab.

 

 

Look at the Dependency Map for the st-web vm

 

Nothing appears to have changed in our application dependency view, however.  The st-web web server still shows it is connected to the st-tcs-1 application server.  Because we have defined a new custom application, however, we can look beyond the First Level of Dependencies.  

  1. Click the black triangle next to 'First Level of Dependencies' to bring up the drop down list.
  2. choose 'Springtrader 3-Tier App(1)'

 

 

View the full application view

 

Now we can see the full application interaction list between all the VM's connected to our Springtrader application.  vRealize Infrastructure Navigator, through the power of Custom Application definitions, has empowered vSphere Web Client users with the ability to see a full application-by-application dependency view from any VM that is connected to any application.

 

Integration with vRealize Operations Manager


This section will cover the basic integration between vRealize Operations Manager and vRealize Infrastructure Navigator.

Note:  This exercise assumes that you have completed "Defining a Custom Application".  If you have not done so, please go complete that section first.

Note:  It may take up to 15 minutes for the application defined in vRealize Infrastructure Navigator to show up in vRealize Operations Manager.


 

Open the vRealize Operations Manager web interface

 

Open a new browser tab and click the bookmark for ‘vRealize Operations Manager’ to arrive at the login screen.

 

 

Log into vRealize Operations Manager

 

Use the following credentials to login to vCenter Operations Manager vSphere UI:

User name: admin
Password: VMware1!

Click Login.

 

 

vRealize Operations Manager Web Client

 

You are now logged into the vRealize Operations Manager Web Client.

In the left hand navigation menu choose 'Environment'.

 

 

Infrastructure Navigator groups in vRealize Operations Manager

 

We can now see in the list of groups that our custom application 'Springtrader 3-Tier App' has been defined within vRealize Operations Manager and can be used like any other group.

Click on the name 'Springtrader 3-Tier App".

Note:  The instance number at the end is dynamically generated by vRealize Operations and may not match the number listed above.

 

 

Dashboards fed by an Infrastructure Navigator application

 

We can now see that we have specific dashboard views that just cover our vRealize Infrastructure Navigator group.

 

 

Using Infrastructure Navigator Groups in vRealize Operations Groups

 

Any custom vRealize Operations Groups can draw from custom applications defined by vRealize Infrastructure Navigator.  In this example we are creating a new group named 'vRealize Custom Group'.  If we set the Resource Kind to 'Infrastructure Navigator Adapter -> Application' we can see that our applications are now available for selection.

 

 

For more information on using Groups in vRealize Operations

For more information on how to use custom groups within vRealize Operations see Module 5 - Custom Dashboards, Views and Reports to meet customer Needs.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value vRealize Infrastructure Navigator will bring to your environment!  Be sure to take the survey at the end.

For more information on vSphere with Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 9 - Comprehensive Storage and Network Analytics

Introducing Storage and NSX Management Packs for vRealize Operations Manager


VMware vRealize Operations

VMware vRealize™ Operations™ delivers intelligent operations management from applications to storage and across physical, virtual, and cloud infrastructures – using predictive analytics and policy-based automation.

Get more out of vRealize Operations with third-party integrations and product extensions that enable comprehensive visibility across applications and infrastructure in one place with dashboards, reports, alerts, and remediation actions.

 


 

Introduction

Target Audience

This lab is intended for Storage Administrators, NSX Administrators and VMware administrators responsible for managing the operations of storage and/or NSX monitoring and troubleshooting as it relates to the vSphere platform.

Purpose

In physical environments, storage and network administrators rely on specific storage centric tools and counters to monitor the infrastructure. This is no longer adequate in the VMware virtual environment where visibility requires access to the VMware vSphere® layer. vRealize Operations Manager provides single-pane visibility into the entire stack from the application, platform, storage, and network level to the guest operating system and underlying virtual layer.

The content in this document is intended to provide guidance to administrators. It does not present strict design requirements, because enterprise requirements can vary from one implementation to another.

In this module we will examine the Enterprise Management Packs for Storage and NSX.  Each of the labs in this section are independent and can be completed in any order.

 

 

Management Packs Overview

 

vRealize Operations Product Extensions and Third-Party Integrations

vRealize Operations product extensions and third-party integrations are typically delivered as one or multiple Management Packs. A Management Pack can be further categorized as an agent plugin, content pack or compliance pack.

Note: In previous vRealize Operations releases, Management Packs were called “Third-Party Adapters”.

vRealize Operations Management Packs fall into the following categories (see figure below).

 

 

A note about Historical View Mode

In order to show you information about hardware and software that is not part of this virtual lab we have used the Historical View Mode in vRealize Operations Manager.  A live instance of vRealize Operations Manager was setup in our full lab environment and data was captured that can now be "played back" for you during this lab.

HVM is not intended for production use and as such, certain quirks may appear as we go through this lab.  The first thing of note is that the conditions we see captured by vRealize Operations (such as alerts, badge settings, etc...) will never change or recalculate badges. Another change when in HVM mode is that no Remediation Actions can be executed because vRealize Operations Manager is no longer connected to the physical environment. One last quirk is that certain dashboards may not graphically display correctly on each page load. When this happens the widgets will typically be completely blank. if this occurs, you will need to refresh the browser (F5 on the keyboard) as the internal refresh icon in vRealize Operations Manager will not function properly.

Rest assured these artifacts are only because we are in HVM mode - when connected to a live environment everything works as it should.

 

vRealize Operations Manager Management Pack for Storage Devices


The new Management Pack for Storage Devices (MPSD) provides you visibility from virtual machine to storage LUN, end-to-end of the storage area network I/O.  It enables a vSphere administrator working with a virtual environment to isolate issues caused by elements in the physical storage stack, such as the HBA, Fabric, and Array. This information is essential for the vSphere admin to handoff the problem to the domain admin for further analysis.  It provides a consistent user interface across the end-to-end topology and hides the nuances of each storage vendor's architecture.  Some of the benefits of using it include:

Compatibility and Interoperability

The Management Pack For Storage Devices does not automatically detect vCenter servers configured in linked mode. If your implementation requires vCenter to be configured in linked mode, then you must create an adapter instance of Management Pack for Storage Devices for each vCenter in your system.


 

Getting Started

To explore the Management Pack for Storage Devices we will use the vRealize Operations Manager web interface.

 

 

Keyboard Shortcuts

 

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.

 

 

Launching the vRealize Operations Manager UI

 

On the ControlCenter Desktop, launch Firefox.

 

 

vCenter Operations Tab

 

Make sure you select the HVM - vR Ops 6.0 bookmark to start the session.

 

 

Login as Admin

 

Use the following credentials to login to vRealize Operations Manager:

User name: admin
Password: VMware1!

Click Login.

 

 

Home Page

 

You are now logged into the vRealize Operations Manager Home Page

 

 

Enable the Storage dashboards

 

  1. In the content Pane, click on the Dashboard List.
  2. Unselect any other dashboard sets that may be selected.
  3. Select the Storage Dashboard set.
  4. Click on the Dashboard List again to dismiss the list. (If the Dashboard List is not visible due to your resolution, simply click on the blue portion of the title bar).

The Storage Components Heatmap should now be visible.

 

 

Exploring the Storage Components Heatmap Dashboard

 

The vRealize Operations Manager Management Pack for Storage Devices not only enables metric collection from all parts of the storage landscape include mount points, host storage bus adapters and storage switches, it also correlates all these values so that you can see the complete storage path to better understand the configuration and operation of whole whole strorage chain.  The Components Heatmap Dashboard does this by easily letting the administrator see how busy the storage components are from the viewpoint of the mounts, hostbus adapters and the actual transmission speeds through storage switch ports.

  1. Scroll down till the Switch Port TX (Mbps) Widget is visible.
  2. Move the cursor over the 1st red box in the widget and hold the mouse there.
  3. We can now see that it is port 5 on switch w2-mgmtpm-br02 that is experiencing heavy traffic. We can confirm this by clicking on the "Show spark line" which shows that this resource has been very busy.
  4. Double click the red box so that we can drill into details about this port.

 

 

 

 

Examining the Port

 

We can see that although this port is currently healthy, but as you will soon see that has not been the case in recent past.  Click on Alerts to bring up the alerts for this resource.

 

 

See all the alerts

 

By default only currently active alerts are displayed.  To see what has been happening recently, click on the Status: Active filter to show all alerts.

 

 

Select the most recent Early Warning Alert

 

With the Active filter removed, we can now see all the alerts.  With such a high number of Early Warning Alerts on this resource we can infer that something appears to be going wrong off and on.  (Perhaps this connected to a particular adapter or LUN transmitting traffic?)

To examine the Early Warning Alert, click on the top most Early Warning Alert hyperlink in the top row.

 

 

Looking at Anomalies

 

1.  Click on the Impacted Object Symptoms tab in the content pane.

We can now see that the reasoning behind the predictive alert is that the port is very active, under high stress, and it's anomaly count has begun to climb (meaning that the port is beginning to behave unpredictably).  

2.  Let's look at what's connected to this port and may be affected down stream.  Click on the Relationships tab.

 

 

Examine the relationships

 

vRealize Operations Manager has correlated all the devices that can communicate with switch port 5. This effectively eliminates the need to look at the switch configuration, the zoning or the physical cabling to see how things are effectively connected.

Here we can see that port 5 is connected to a variety objects:

We can also see that one of the HBA's connected on this port w2-mgmtpm.mgmt.local_vmhba1 has low health.  Let's look at that HBA and see if we can determine if it may be the cause for high throughput.  

  1. Click on the w2-mgmtpm-3.mgmt.local_vmhba1 adapter icon (circled in red)
  2. Click the Resource Details icon to bring up details on the host HBA.

 

 

Examine the host bus adapter

 

Here we can see all the relevant information about the suspect host bus adapter.  Click the Analysis tab to bring up details about how it is currently operating.

 

 

Root Cause?

 

Click on the Anomalies tab so we can see what's gong on.

We can now see that this host bus adapter has begun sending more transmissions than it should and has started to generate more noise than is allowed.  This would indicate that source of the issues is emanating from this host bus adapter.  At this point we have what seems like the root cause and sufficient evidence to now involve the Storage Administrators to track the problem down further.

The vSphere Administrator, without any prior knowledge of the storage topology at all, has successfully noticed unusually high traffic on a SAN port, detected a growing number of anomalies on that switch port and, using the topology features of vRealize Operations detected that a particular HBA has been transmitting more than it should and is generating noise.

Let's examine a few other ways we can use the dashboards that come with the Management Pack for Storage to diagnose this problem.

 

 

Navigate home

 

In the upper left hand corner of the vRealize Operations Manager interface choose the Home icon.

 

 

Select the Storage Component Usage Dashboard

 

Select the Storage Component Usage dashboard.

 

 

Storage Components Usage Dashboard

 

The Storage Components Dashboard provides an "at-a-glance" look at the utilization of the storage environment from the Host Adapter, Switch Port and Mount perspectives.  By listing the Top 25 components it gives you a good overview of the performance of your environment.

In our case, we can clearly see that there is very high throughput on w2-mgmtpm-br02 Port 5 as well high throughput and latency on w2-mgmtpm-3 HBA 1.  While utilization being high is not necessarily a problem, it's clearly worth some investigation.

Let's move to the Storage Troubleshooting Dashboard to see what it has to say.

1.  Click on the Storage Troubleshooting Dashboard.

 

 

Storage Troubleshooting Dashboard

 

The Storage Troubleshooting Dashboard gives you a complete view of your storage components and their interrelations all from a simple and concise display.  When the dashboard is first loaded each of the widgets will give you a roll up of the environment.  The Storage Topology Widget acts as the control center for this dashboard.  Different badges can be selected and each badge can be further filtered by the current status of object as well as the power state. When you select an item in this widget, the other widgets will energize and filter on whatever object is selected.  

Scanning this environment (you may need to scroll down a bit depending on your screen resolution) we can see that one of the Host Adapters is red. When you hover your mouse over it we can instantly see it's w2-mgmtpm-3 Host Adapter 1, the same HBA we investigated earlier.  To see how fast we could have arrived to the same conclusion we'll select this object.

1.  Hover your mouse over the w2-mgmtpm-3.mgmt.local_vmhba1object in the Host Adapter section of the Storage Topology widget to bring up the resource details box.

2.  Click on the w2-mgmtpm-3.mgmt.local_vmhba1object to select it.  Wait for a few seconds for all the dashboards to refresh.

 

 

Storage Topology Widget

 

one of the most helpful ways to visualize things, when troubleshooting, is to see how things are interrelated.  The Storage Topology widget shows how all the various storage components are related.  By clicking on a Host Adapter as we have done, for instance, you can see which VM's are using it for data traffic, which port of the switch the adapter is connected to, which host the adapter is installed into, etc...  This can help quickly isolate where to start focusing in on troubleshooting a storage related issue.

 

 

Focused Troubleshooting Information

 

As we look at the other widgets in this dashboard we can see an all-in-one summary of the different areas that we examined in the first part of this exercise.  We can see the Top Issues Widget that we examined earlier along with the Alert List  that shows what alerts are currently active.

In the Interesting Metrics widget, we can see the Sparklines of metrics that are specific to that type of object.  In our case, that is a Host Adapter object.  By reviewing the Sparklines, we could see if an object was outside its normal range and begin to troubleshoot from there.

You can clearly see the power of this dashboard to quickly narrow down what problems are active in their environment, as most of what we found through a series of clicks is available with one click here.

 

 

Conclusion

We hope you have enjoyed learning abut the vRealize Operations Management Pack for Storage Devices and see the power it can bring to your environment to quickly understand the inter-relationships between storage elements as well as traversing them to discover problems quickly.

 

vRealize Operations Manager Management Pack for NSX


The vRealize Operations Manager Management Pack for NSK provides dashboard view of the overall health of all the NSX Components (NSX Manager, NSX Controller, NSX Edge, NSX logical router). It collects NSX informationthrough NSX – APIs, Compute and storage information through vSphere – APIs.

This mangement pack correlates issues across the compute, network, and storage and Includes top-of-rack switch data from the physical network.

Features

It is recommended that you familiarize with the capabilities of NSX before taking this lab.


 

Check out HOL-SDC-1424 for an in-depth tour of the vRealize Automation with NSX

To truly understand the power of what vRealize Operations and NSX can bring to your environment we recommend that you check out HOL-SDC-1424 - VMware NSX in the SDDC specifically Module 4: Using vRealize Operations with the NSX Management Pack This module, which should take around 60 minutes to complete, goes into great depth to explain and demonstrate how vRealize Operations can simply your ability to monitor your NSX infrastructure effectively.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value of the Mangement Pack for Storage Devices and NSX will bring to your environment!  Be sure to take the survey at the end.

For more information on vSphere with Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 10 - Continuous OS Level Configuration and Compliance Management

Introduction



 

Introduction

vRealize Operations Manager and vRealize Configuration Manager are absolutely integral to thoroughly understanding your environment and correlating performance with configuration changes in both the virtual environment as well as within the OS itself. In this module, we will explore the integration of the two solutions while demonstrating how vRealize Configuration Manager can augment performance analysis, provide compliance remediation as well as patching functionality.

 

 

For users with non-US Keyboards

 

NOTE:  If you are using a device with non-US keyboard layout, you might find it difficult to enter CLI commands, user names and passwords throughout the modules in this lab.

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.  Alternatively, you can use the On-Screen Keyboard.

 

 

On-Screen Keyboard

 

Another option for having issues with the keyboard is to use the On-Screen Keyboard.  

To open the On-Screen Keyboard go to Start - All Programs - Accessories - Ease of Access - On-Screen Keyboard

 

 

Prepare vRelealize Configuration Manager

 

From the Desktop, double click the restartVCM shortcut.

NOTE: If you have already taken Module 7 - vSphere Configuration and Compliance Management, this step is not needed.

 

 

Restarting vCM

 

A new command window will open and it will take approximately a minute to run.  Once the command window disappears, you may continue with the next step.

 

OS Patching with vRealize Configuration Manager


vRealize Configuration Manager has a robust, multi-platform patching mechanism. In this part of the lab, we will explore patching.


 

Log Into vRealize Configuration Manager using Internet Explorer

 

  1. Click the Start Menu.
  2. Launch Internet Explorer.
  3. Click on the VMware VCM from the favorites bar.
  4. Click on Continue to this website.
  5. Enter the corp\vcmadmin1 password VMware1!

 

 

Select a Patching Group

 

Before we get started with patching, lets select a machine group to focus on for patching.

  1. Click on Machine Group:
  2. Select Patch Group A
  3. Click OK

 

 

The Patching Console

 

At this stage, we are going to configure an assessment template to patch the Windows VM. Notice the variety of OS types supported for patching.

  1. Click Patching.
  2. Navigate to Windows -> Assessment Templates.
  3. Click Add.

 

 

Create Assessment Template

 

  1. Name the template something informative like WIN - Critical to indicate Windows patches of a critical severity and for this HOL we will focus for November 2014 patches that begin with MS14-06x.
  2. Choose Dynamic Template.
  3. Click Next.

 

 

Define Conditions of Patch Criteria

 

  1. Click Add to define a filter.
  2. Using the drop down menu, select Severity.
  3. Using the elipse (...) select "Critical" or type 'Critical' in the textbox.
  4. Click Next.
  5. Repeat the process to add Bulletin Name LIKE 'MS14-06%'

 

 

Assessment Template - cont'd

 

Click Finish.

 

 

Run the Assessment

 

Ensure the template is selected and click Assess.

 

 

Run Assessment Complete

 

VCM will now run the assessment and update, click Close once Complete.

 

 

View the Assessment

 

  1. Navigate to the Assessment Template -> WIN - Critical.
  2. Click View Data Grid.

 

 

Deploy the Patches

 

Select Deploy

 

 

Deploy Patches

 

At this point, we can select which machines and patches to apply.

  1. Click the double down arrow to select all patches.  Optionally you can select specific patches to deploy.
  2. Click Next to continue.

 

 

Choose download method

 

At this point, we can choose when the patches are downloaded. Because this lab does not have internet access, the patches have already been downloaded.

  1. Select Downloadat run time.
  2. Click Next.

 

 

Confirm Patch Order

 

On this step, we could change the order the patches are applied if we wanted to.

Click Next.

 

 

Advanced Installation

 

Each patch has the option to set advanced properties. Feel free to explore these.

Click Next when done.

 

 

Staging Patches

 

vRealize Configuration Manager allows you the option to stage patches and control when they are applied.

  1. Select Run Action now.
  2. Click Next.

 

 

Deploy Patches

 

Optionally you can configure for no reboot depending on the patches being deployed.  In this case these patches require a reboot so we can reboot immediately after installation or reboot at a specific time.

  1. Select Reboot immediately after installation
  2. Optionally select Display a message prior to rebooting
  3. Click Next

 

 

Finish the deployment

 

At this stage, click Finish to initiate the patch deployment.

 

 

Monitor Patch Job

 

If you would like to monitor the patching process you can view the job in the Patching Job Management section.

  1. Within the Patching Slider expand Job Management
  2. Expand Windows
  3. Expand Job Manager
  4. Click on Running

Once the patching process is complete and the machine is rebooted a patch collection will run on the machine to ensure the patches that were applied were updated correctly.  Generally within 30 minutes of the patching process is complete you can review the Assessment Template dashboard to show that the six patches were applied successfully.

 

OS PCI Compliance, Drift Remediation and Rolling Back Changes


In this section of the lab, we will run through a compliance job and the mappings of the results to vRealize Operations Manager.


 

Log Into vRealize Configuration Manager using Internet Explorer

 

  1. Click the Start Menu.
  2. Launch Internet Explorer.
  3. Click on the VMware VCM from the favorites bar.
  4. Click on Continue to this website.
  5. Enter the corp\vcmadmin1 password VMware1!

 

 

Examine the PCI DSS 3.0 Windows 2008 Report

 

  1. Navigate to Compliance -> expand Machine Group Compliance -> expand Templates.
  2. Select Payment Card Industry DSS 3.0 - Windows 2008 MS Controls.
  3. Click on the scroll bar to view the complete report.

This report is incredibly valuable as it assesses the level to which the environment is PCI compliant. As you can see, it's not very compliant! Only 522 conditions passed the scan while 235 failed from two Windows machines. Scroll down using the right slider to see the complete report.

 

 

Log Into vRealize Operations Manager

 

Bring up a Firefox browser and login as a local user:

  1. Click on the vRealize Operations Manager bookmark.
  2. User name: admin
  3. Password: VMware1!
  4. Click Login

 

 

 

Search for the Windows 2008 Machine

 

  1. On the top right corner start typing the Windows machine WIN2K8R2-1.
  2. Click on the WIN2K8R2-1 machine that shows up in the search results.

 

 

Observe changes via vRealize Operations Manager.

 

  1. Click on the Troubleshooting tab.
  2. Click on the Events tab.
  3. Select the Workload filter.
  4. Toggle on the Events and select both Change and Fault.
  5. Click on the Self, which looks like a bullseye (You may have to click on >> to expand the list of icons).
  6. If the chart doesn't look like the one in the picture, that's okay! Depending on when the jobs were run, it may look different. Select the date drop down and you can change the resolution. Select Last 6 Hours to observe the most recent changes.

In the bottom window, we can now see the vRealize Configuration Manager detected changes and displays them in one console! Hover over the E markers to see details on the Event. It should be clear to see how this could help with triage! By detecting a changes at the OS layer and overlaying that information on the performance, vRealize truly provides a comprehensive solution!

 

 

Observe Configuration Drift in vRealize Configuration Manager

 

In this part of the lab, we will look at the ability vRealize Configuration Manager to handle changes in the environment. vRealize Configuration Manager divides changes into VCM initiated and non-vCM initiated.

  1. Return to the Internet Explorer window and click Console.
  2. Select Change Management and navigate to Non VCM InitiatedBy Machine.
  3. Select the WIN2K8R2-1 server.
  4. Lets use a feature called Column Grouping to pivot on specific columns.  In this case we will take the Data Type column by clicking on the column and dragging it to the Column Grouping box above the columns.  Once you release the mouse button you will see a list of different data types in a simple tree view.  Expand the Services to see the list of changes related to services on the selected machine.  
  5. Observe the datagrid to the right under the expanded services. Hover over the icons to identify changes that can be rolled back automatically. Scroll to the right to see the details and select the MpsSvc (Windows Firewall Service) change. If this change is not present due to how the lab was deployed, then select another change for WIN2K8R2-1 with the Rollback icon present. For the purposes of the lab, it does not matter which changes are rolled back.
  6. Select Rollback Change.

 

 

Confirm

 

Confirm by clicking OK.

 

 

Observe Job Running

 

  1. Select Jobs.
  2. Click Refresh to see the latest data. There may be other jobs running so ensure you select the Rollback job.
  3. When the job has finished, click Close.

 

 

See Changes in vRealize Operations Manager

 

  1. Go back to the Firefox window with vRealize Operations Manager.
  2. Click on the Events tab.
  3. Ensure Workload is selected.
  4. Select Change in the Events dropdown.
  5. You should see the change you just rolled back represented in the menu and in the E icon. This is a very effective way to monitor OS level changes for drift and correlate them with performance statistics.  

Note:  It may take up to 5 minutes for change events to show in vRealize Operations Manager.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value vSphere Configuration and Compliance Management will bring to your environment!  Be sure to take the survey at the end.

For more information on vSphere with Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 11 - AWS, Microsoft Hyper-V and vCloud Air Monitoring

Introduction


Hyper-V, AWS and vCloud Air have been given their own module to showcase some of the capabilities of the enterprise version of vRealize Operations Management.  At the enterprise level, we can leverage application-level metrics.  At the advanced level, we have insight to the operating system metrics but we often need more data to better determine potential issues that may arise within an application.  The enterprise level of vR Ops gives us more details at a lower level of the stack.


Logging In and Getting Started



 

Keyboard Shortcuts

 

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.

 

 

Launching the vRealize Operations Manager UI

 

On the ControlCenter Desktop, launch Firefox.

 

 

vCenter Operations Tab

 

Make sure you select the HVM - vR Ops 6 bookmark to start the session.

 

 

Login as Admin

 

Use the following credentials to login to vRealize Operations Manager:

User name: admin
Password: VMware1!

Click Login.

 

Hyper-V


Hyper-V metrics are available through Hyperic.  The Hyperic agent is deployed to the Hyper-V hosts and the Hyper-V virtual machines.  The Hyperic management pack can be obtained on the VMware solution exchange.

More about the Hyperic integration:

Highlights

Description

The vCenter Operations Management Pack for Hyperic can be installed on any Advanced or Enterprise edition vCenter Operations Manager Installation. This incudes both the appliance and stand alone deployments. However, Use on advanced editions is restricted to storage, network and Hyper-V data. All OS and application specific resources and data can only be viewed with the Enterprise edition license.


 

Navigating to the dashboards

 

To start, go to the home icon then click on the Dashboard List to see the available dashboards and categories.

 

 

Select the Hyperic Hyper-V section

 

From the Dashboard List, Open HQ Hyper-V and select the Hyperic-V VM Utilization Dashboard.

 

 

Hyperic Hyper-V VM Utilization Dashboard

 

In the Hyper-V VM dashboard, we are listing the CPU and Memory usage for the Hyper-V guests.  A single-click on the resource will show the history of the selected metric for that resource.

Select the Hyperic Hyper-V Host Utilization Dashboard.

 

 

Hyperic Hyper-V Host Utilization Dashboard

 

With this dashboard, we gain insight into the CPU, Memory, Disk ad Network usage.  Clicking on a resource in the upper widget (1) will give us a historical view of the metric below (2).  All Hyper-V hosts that have a Hyperic agent running will be listed here.

 

AWS


Highlights

Description

The vRealize Operations Management Pack for AWS can be installed on any Advanced, or Enterprise edition vCenter Operations Manager Installation. This incudes both the appliance and stand alone deployments. The Management Pack connects to several APIs on the AWS side including Cloudwatch. Metrics and other data can be collected for EC2 instances, EBS Volumes, Auto Scaling Groups, Elastic Load Balancers, and Elastic Map Reduce clusters.

The AWS Management Pack can be found on VMware's solution exchange.

As with other management pack, the AWS management pack provides some default dashboards.  We'll show those dashboards here.


 

Go Home to start this process

 

To navigate to the AWS dashboard category, click on the Home icon and open the Dashboard List.

 

 

Navigate to the AWS dashboard category

 

Open AWS and click on AWS Instance Utilization.

 

 

AWS Instance Utilization Dashboard

 

With the AWS data, we show all of the AWS guests broken down by CPU, Memory, Disks and Net information.  The widgets show a ranked list of resource by each metric.  Clicking on one of the resources will show the historical value for that selected metric.  For instance, in the Top 25 Instances by CPU usage, click on the first guest.  In the widget below, you will see the historical trend for that selected resource.

Select the AWS Troubleshooting Dashboard.

 

 

AWS Troubleshooting Dashboard

 

For this dashboard, interaction can start with either the AWS object selected or the AWS Relationship selection.  Ideally, one would select an object in the AWS relationships to drive the two widgets on the right.  When a resource is selected, the interesting metrics will show a list of all metrics related to the selected resource.  In the Health, Anomalies, Events Mashup, you will be able to correlate the resources health with anomalies and events related to the selected resource.

Select the AWS Volume Performance Dashboard.

 

 

AWS Volume Performance Dashboard

 

Volume Performance gives us insight into the AWS volumes read and write statistics.  In the upper left, we see a list of the volumes disk write times in seconds.  When we select a volume in the list, we get the resources on that value in the widget directly below.  The same process can occur for the other widgets on this dashboard.

 

 

AWS Instance Heatmap Dashboard

 

Similar to the instance utilization dashboard, this one displays the resources in a the form of a heatmap.  The color of the heatmaps vary depending on the selected widget.  For the Network Load, hovering over one of the resources shows that the color is a score based on the bytes transmitted going outbound.

 

vCloud Air


Highlights

Description

The vRealze Operations Management Pack for vCloud Air extends vCenter Operations Manager capabilities of vCenter Operations to vCloud Hybrid Service, providing a consistent user experience across clouds. This pack includes an embedded adapter that collects metrics, change events, and resource topology information from vCloud Hybrid Service and displays this information in pre-built dashboards. Now you can monitor, isolate, and resolve performance bottlenecks on vCloud Hybrid Service faster by leveraging your existing vCenter Operations capabilities that are already in use.

The vCloud Air Management pack can be found on the VMware Solution Exchange server.

Additional Information for the vCloud Air management pack:

Overview

The vCenter Operations Management Pack for vCloud Hybrid Service extends these Operations Management capabilities of vCenter Operations to vCloud Hybrid Service, providing a consistent user experience across clouds. This pack includes an embedded adapter that collects metrics, change events, and resource topology information from vCloud Hybrid Service and displays this information in your on-premises vCenter Operations Manager. Now you can monitor, isolate, and resolve performance bottlenecks on vCloud Hybrid Service faster by leveraging your existing vCenter Operations capabilities that are already in use.

Highlights

Description

The vCenter Operations Management Pack for vCloud Hybrid Service extends vCenter Operations Manager capabilities of vCenter Operations to vCloud Hybrid Service, providing a consistent user experience across clouds. This pack includes an embedded adapter that collects metrics, change events, and resource topology information from vCloud Hybrid Service and displays this information in pre-built dashboards. Now you can monitor, isolate, and resolve performance bottlenecks on vCloud Hybrid Service faster by leveraging your existing vCenter Operations capabilities that are already in use.


 

Go Home to start this process

 

To navigate to the vCloud Air dashboard category, click on the Home icon and open the Dashboard List.

 

 

Select the vCloud dashboard category

 

Opening the vCloud Air category we see that four dashboards are provided as part of the management pack.  We'll go through each of the dashboards to explain their use. Click on vCloud Air VM Utilization.

 

 

vCloud Air VM Utilization Dashboard

 

The vCloud Air VM Utilization dashboard gives us insight into a cloud's resource usage on CPU and Memory.  In the widgets, we get a list of the resources ranked by usage.  Clicking on a resource will show us the history of that usage.

Select the vCloud Air Data Center Utilization Dashboard.

 

 

vCloud Air Data Center Utilization Dashboard

 

The vCloud Air Data Centre Utilization dashboard gives us insight into the virtual data centres and the ability to view top resource users in different categories like CPU Usage, Memory Usage, Memory Reservations Used, Storage Capacity Provisioned.  

Please select some of the virtual Data Centers in the top list widgets to view the history of these resources. 

Select the vCloud Air Troubleshooting Dashboard.

 

 

vCloud Air Troubleshooting Dashboard

 

There is a lot of data on this dashboard.  Be sure to scroll down to see the widgets off screen.  To make the use of this dashboard, select a vCloud Air resource from the VCHS Relationship widget on the left side.  When you select a resource, the widgets will update to reflect the selection.  The ordered symptoms lists the anomaly totals through the hierarchy of the selected resource.  The Interesting Metrics widget shows performance metrics for the selected resource.  Beneath the Interesting Metrics (scroll down) is the Health, Anomalies and Event mashup.  Here we can correlate the health of the selected object against the anomalies and events associated with the selected resource.

Select the vCloud Air Heatmaps Dashboard.

 

 

vCloud Air Heatmaps Dashboard

 

In the heatmap dashboard, we break down the big four, CPU, Memory, Disk and Network loads.  For each widget, resources are represented by the colored rectangles.  The greater the load, the more red the color.  As you click on resource's rectangle, the history view is updated to show the value for the metric over a period of time.  Hovering over the rectangle will give information relative to that resource like name, data center and metric value.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value monitoring AWS, Microsoft Hyper-V and vCloud Air will bring to your environment!  Be sure to take the survey at the end.

For more information on vSphere with Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Module 12 - Business Critical Application Monitoring

Introduction


In this module, we are going to into some business critical applications where SAP and Oracle are viewed.  We will also look at the use of Hyperic to collect performance metrics for Exchange and MS-SQL.  We don't have an extensive dataset in the hands on lab environment but we think this will give you a good idea on the performance metrics that are gathered.  In the case of SAP and Oracle, a third-party company, Blue Medora develops and supports the management pack.  The features seen in this module are available at the enterprise level of vRealize Operations management.


Logging In and Getting Started



 

Keyboard Shortcuts

 

To aid in typing some of the entries in the lab, we have added a txt file on the ControlCenter desktop to help account for the variations in keyboard layouts.

 

 

Launching the vRealize Operations Manager UI

 

On the ControlCenter Desktop, launch Firefox.

 

 

vCenter Operations Tab

 

Make sure you select the HVM - vR Ops 6 bookmark to start the session.

 

 

Login as Admin

 

Use the following credentials to login to vRealize Operations Manager:

User name: admin
Password: VMware1!

Click Login.

 

Exchange and MS-SQL


This section of the lab is for information only.  None of the steps need to be performed.

Once the Hyperic management pack is deployed and configured, we have some pre-defined dashboards available in vR Ops.  In this section, we will go through those dashboards.


 

Navigating to the dashboards

 

To start, go to the home icon then click on the Dashboard List to see the available dashboards and categories.

 

 

The Hyperic dashboard categories

 

When the dashboard list is opened, you will see three new categories:

These dashboards will be automatically populated based on the available resources where the Hyperic agents have discovered them.  To better explain, a customer may have an exchange service in their environment.  On the servers that are running the Exchange components, they would have to install the Hyperic agent.  With the agent on these servers, Hyperic will detect the Exchange services.  The Hyperic adapter will then pull the performance metrics from Hyperic into vR Ops.  The Exchange dashboards, based on pre-configured filters, will then be populated with the exchange resources.

The same process can be achieved with the MS-SQL and Hyper-V dashboards.  Hyperic will auto-detect nearly 80 servers and service types.  In this HOL module and other modules, we will show you how to create custom dashboards to consume those metrics as well.

 

 

Exchange Dashboard

 

Selecting the Exchange dashboard, we can see the sites and the resources for that site.   In this image, we can see the West-Site and the East-Site.  In the West-Site, we have a resource that shows degraded health.  Hovering the mouse over the orange rectangle will reveal some scores for the resource.  A single click will show the affected resources on the right side of the screen.  Scroll down on the page and you will see alerts and any KPIs that are impacted.

 

 

MS-SQL Dashboard

 

The MS-SQL dashboard shows resources where the SQL server is running.  In this screen shot, we can see that one of the SQL servers has degraded health.  Hover the mouse over the orange rectangle in the upper-left to see more relevant information on that resource.  A single-click on the orange rectangle will show affected resources on the right and any KPIs below.  The affected KPIs will give us insight into why the health is degraded for the affected SQL server.  A double-click on the orange rectangle will led you to further analysis.

 

 

What' Next

We've looked at the out of box Hyperic dashboards now let's look at doing some custom stuff.

 

SAP HANA


This section of the lab is for information only.  None of the steps need to be performed.

Overview

With the vRealize Operations Management Pack for SAP HANA, SAP customers are able to gain comprehensive visibility and insights into the performance, capacity and health of their SAP HANA workloads running on VMware as well as SAP HANA instances running on dedicated appliances and the cloud.

Highlights

Description

The vRealize Operations Management Pack for SAP HANA enhances VMware vRealize Operations by adding the following capabilities:

For additional information on the SAP HANA Management Pack, please visit the VMware solution exchange server.  This management is available at the enterprise level of vRealize Operations Management.


 

Navigating to the dashboards

 

To start, go to the home icon then click on the Dashboard List to see the available dashboards and categories.

 

 

Selecting the SAP HANA category

 

With the SAP HANA category open, we are going to go through each of the dashboards with an explanation on each one.  Starting from the top, click on SAP HANA Heat Maps.

 

 

SAP HANA Heat Maps

 

The SAP HANA Heatmap has multiple views.  By clicking on the drop down menu (1), you will see each of the different heatmaps available.  The Table heatmaps are extensive with all SAP database tables while the host heatmaps (shown here), only shows one host.  Click through each of the views in the drop down list to see the data.  Hover your mouse over some of the rectangles in the heatmaps to get a description for the metrics that are represented.

 

 

SAP HANA Host Overview

 

SAP HANA Host overview give us relevant information for the selected host.  Select a HANA system (1) to have the interactions take place to update the other widgets.  We only have one system with one host in the HOL environment.  In a full SAP deployment, a customer will likely have more resources making this dashboard more dynamic.

 

 

SAP HANA Environment Overview

 

The SAP HANA Environment Overview starts with the SAP HANA Heatmap widget in the upper-left.  This widget has multiple views like our earlier dashboard.  Selecting a resource in the widget will update the other widgets in this dashboard.  Scroll down this dashboard to see the remaining details that did not fit the screen capture.

This dashboard provides a great deal of data about the HANA environment.  We can select items in the center widget (2) to drive the metric selection on the right side of the dashboard as well.

 

 

SAP HANA System Overview

 

The SAP HANA System Overview gives us a single view to see how the environment is performing and some configuration information.  Be sure to scroll down this dashboard to see the additional data.

 

 

Top SAP HANA Resources

 

The Top SAP HANA Resources is a single view for the HANA hosts and services.  Each widget is a Top N list showing those resource ranked by the widgets configured metric.

 

 

SAP HANA on VMware Layer View

 

The SAP HANA on VMware Layer View allows us to see the HANA host, its related virtual machines and the related ESXi host where the selected resources are running.  To the right of each of these widgets are KPI metrics for the select resource on the left.

 

Oracle Enterprise Manager


This section of the lab is for information only.  None of the steps need to be performed.

Overview

The Blue Medora vRealize Operations Management Pack for Oracle Enterprise Manager extends vRealize Operations Enterprise Edition by integrating with Oracle Enterprise Manager and providing comprehensive visibility and insights into the health, capacity, and performance of Oracle Databases, Oracle Middleware, and Oracle business critical applications. The Blue Medora vRealize Operations MP for OEM helps to detect capacity and performance issues so they can be corrected before they cause a major impact.

Highlights

Description

The vRealize Operations Management Pack for OEM enables a unified and integrated view of critical Oracle workloads that are virtualized with VMware. This integration reveals the key metrics that must be monitored, tracked, and measured from each platform to ensure overall system availability and efficiency.

The Blue Medora vRealize Operations Management Pack for OEM provides deep vRealize Operations visibility into a customer’s OEM managed estate including critical data on Oracle technologies such as:

Additional information for the Blue Medora management pack for Oracle Enterprise Manager can be found on the VMware Solution Exchange server.  The data analyzed with the OEM management pack is available at the enterprise level of vRealize Operations Management.


 

Navigating to the dashboards

 

To start, go to the home icon then click on the Dashboard List to see the available dashboards and categories.

 

 

Opening the Oracle Dashboards

 

Opening the Oracle category shows the six dashboards that are deployed with the management pack.  Starting from the top, click on the Oracle Adapter Status.  We'll go through each dashboard for this discussion.

 

 

Oracle Adapter Status

 

The Oracle adapter status gives us information for the selected Oracle adapter on the left.  We only have one in the HOL environment.  Once selected, the right side of the screen will update.  For the Oracle EM Adapter Instance Status widget (top right), hover the mouse over each box for a description of the data.  Scrolling down the dashboard, we can correlate health and anomalies for the adapter.

Click on the Oracle DB VM Mashup

 

 

Oracle DB VM Mashup

 

The Oracle DB VM Mashup allows us to select a database in the upper-left.  From there, we can see the Oracle host for that database and then the virtual machines related to that oracle database.  On the right of the dashboard, we get data about the Oracle database.

Select the Oracle Databases Overview Dashboard.

 

 

Oracle Databases Overview

 

For the Oracle Database Overview dashboard, we have Top N list widgets, each listing the metrics for each Oracle database.

 

 

Oracle EM Managed Environment

 

The Oracle EM Managed Environment dashboard has multiple views.  Clicking on the expansion link (1) will expose the drop down list view different heatmap configurations.  Be sure to scroll down this dashboard to see the relationship information in the center widget.  On the right side, we see more Top N lists ranking the databases metrics.

 

 

Oracle Hosts (Operating Systems) Overview

 

The Oracle Host (OS) Overview shows us relevant Operating System metrics for the Oracle database servers.

 

 

Oracle Relationships

 

The Oracle relationship dashboard shows relevant KPI metrics on the right for each resource selected on the left side.

 

Wrap Up


We hope you have enjoyed taking this module and can see the value monitoring Business Critical Applications will bring to your environment!  Be sure to take the survey at the end.

For more information on vSphere with Operations Management, be sure to check out these resources:

If you have time remaining, here is a list of all the Modules that are part of this lab, along with an estimated time to complete each one.  Click on the 'Table of Contents' button to quickly jump to that Module in the manual.

The complete listing of all twelve modules are:

An average time to complete each module is listed. Depending on your experience with the products and your skill level, more or less time may be needed.


Conclusion

Thank you for participating in the VMware Hands-on Labs. Be sure to visit http://hol.vmware.com/ to continue your lab experience online.

Lab SKU: HOL-SDC-1401

Version: 20150617-075931