Showing posts with label VMware vRealize Operations Performance & Capacity Management. Show all posts
Showing posts with label VMware vRealize Operations Performance & Capacity Management. Show all posts

Saturday, February 27, 2016

Singapore VMUG : Come join the vParty!

Glad to share that I will be attending Singapore VMUG on Tuesday, March 1st 2016 and would also co-deliver a session with my partner in crime Mr. Rahabok.

We decided that we will share some of the goodness of our VMworld Session - MGT4973 - Mastering Performance Monitoring and Capacity Planning with the user group in Singapore. 

We will talk about some real-life use cases for effective performance management and talk about how capacity plays an important role in your virtual infrastructure, and it might not be the sole reason for performance related issues.

I am also looking forward to attend sessions from some renowned speakers who will be at the event. If you have not registered for the event so far, then go ahead and do it as soon as possible and plan to attend. Here is the link to register - https://www.vmug.com/singapore

Here is the agenda from the VMUG website:-

Event Agenda
Click here to learn more about what to expect at the Singapore VMUG UserCon. Click here for a printable version of the agenda.
TIMEEVENTLOCATION
8:30 - 9:20Registration | Exhbit Hall OpenGrand Ballroom Foyer
9:20 - 9:30VMUG WelcomeGrand Ballroom I
9:30 - 9:50 Grand Ballroom I
9:50 - 10:40VMware Virtual SAN (VSAN) - Hyper-converged Infrastructure for Virtualized Environments
- Cormac Hogan, Senior Staff Engineer in CTO Office, Storage and Availability, VMware
Grand Ballroom I
10:40 - 11:10Break | Mingle with SponsorsGrand Ballroom 2
11:10  - 11:50 Cardinal
Convergence and Protection of Hyper Convergence Storage - Hewlett Packard Enterprise and IntelGalleria 2 & 3
Paradiso
Containers, VMs, or Both - Neil Cresswell, Community SessionCanary Room

VMware Hands-On Labs
11:50 - 12:00Break | Mingle with SponsorsGrand Ballroom 2
12:00 - 13:00 Cardinal
Galleria 2 & 3
The Art of Infrastructure Design and Convergence
- John Arrasjid, Community Session
Canary Room

VMware Hands-On Labs
13:00 - 13:50  Lunch | Mingle with SponsorsGrand Ballroom 2 
13:50 - 14:30 Cardinal
Galleria 2 & 3
Paradiso
Canary Room

VMware Hands-On Labs
14:30 - 15:10Break | Mingle with SponsorsGrand Ballroom 2
15:10 - 15:50Dell Session Cardinal
Automating Advanced Security for the Software-Defined Data Center
- Check Point
Galleria 2 & 3
Paradiso
"You Can't Virtualise That!" Extreme Performance Myth Busting
- Michael Webster, Community Session
Canary Room

VMware Hands-On Labs
 15:50 - 16:00Break | Mingle with SponsorsGrand Ballroom 2
16:00 - 17:00 Cardinal
Galleria 2 & 3
The Next Chapter of the VMware Story - Scott Drummonds, Community SessionParadiso
vBrownBag - Alastair Cooke, Community SessionCanary Room

VMware Hands-On Labs
 17:00 - 17:40VMware Customer Case Study - Mariano Maluf, VMUG Board PresidentGrand Ballroom 1
 17:40 - 18:40Closing Reception & GiveawaysGrand Ballroom 1


Share & Spread the Knowledge!!


Saturday, November 14, 2015

Creating a Capacity & Performance Management Dashboard in vRealize Operations 6.x

A few days back I tweeted about a hybrid dashboard which would help you gauge the Capacity & Measure the performance of your virtual infrastructure from a single pane. I call it the Capacity & Performance Management Dashboard which has been jointly built by Iwan Rahabok & myself. 


In my last post I wrote about the Help Desk Dashboard which was discussed during our VMworld session. This dashboard was also discussed in the VMworld session which me & Iwan presented and with this article, I will quickly run through the description of this dashboard, the use cases it solves and finally a quick and easy method to import this into your instances of vRealize Operations Manager. This dashboard does have 15 Super Metrics, 6 Views and 1 Customized XML file which helps you build the entire dashboard. While if you build this from scratch, creating this dashboard can take hours, but I promise you will spend under 10 minutes to operationalize this in your environment.

To begin with let's have a quick look at the dashboard. :-


Here is a quick description of all the widgets of this dashboard:-

1- This lists all the clusters you are monitoring through vRealize Operations Manager 6.x

2- This widget display the key capacity metrics from a CPU, Memory & Storage perspective.

3- This widget provides the Peak & Average CPU Usage by an Virtual Machine in the selected cluster. This would basically give you an idea of how the virtual machines are using CPU in your environment. Is it Too Busy, Less Busy etc.

4- While the previous widget measure the usage, this widget looks at Peak & Average CPU Contention% which defines whether the demand of the CPU is being met without Contention at the CPU. Contention% is the key metric to measure CPU performance. 

5- This widget provides the Peak & Average Memory Usage by an Virtual Machine in the selected cluster. This would basically give you an idea of how the virtual machines are using RAM in your environment. Is it Too Busy, Less Busy etc.

6- Similar to CPU Contention, for Memory performance you need to measure the Memory Contention %. With this widget we measure the Peak & Average memory contention experienced by any virtual machine in the cluster. The contention will be seen as soon as you have memory over-commitment and more demand than supply which is not a great sign.

7- This widget shows the Peak & Average IOPS done by any virtual machine in the selected cluster. 

8- Alongside the IOPS you can see the Peak and Average Virtual Disk latency experienced by the virtual machines.

The above widgets showcase a number of metrics and most of them are Supermetrics which I will help you create in your environment!!


Here are the list of use cases where this dashboard can help you:-

1- Performance SLA Monitoring - If you have an agreed Performance SLA with the business measured in CPU & Memory Contention and Disk Latency then you can easily keep a track with this dashboard.

2- Performance Trending - Since this dashboard allows you to view the data from the past you can easily go back in time and look at how performance metrics trend in your environment.

3- Performance Driven Capacity Planning - This one is my favorite as you can now take capacity decisions based on your performance metrics. This basically means that if you need to ensure that as soon as you see performance metrics.

4- Capacity Overview - The capacity piece is quite obvious from the scorecard which talks about the consolidation ratios, summary of resources and the capacity remaining. With this in place you can easily see what kind of performance you are getting with over commitment of resources.


So if these reasons are compelling for you, let's go ahead and get you this dashboard. Go ahead and download the following files by clicking on the links below. Once you have these downloaded, we will begin creating the dashboard.





One you have these files, let's start with creating the dashboard. Follow the steps below:

IMPORT SUPERMETRICS & ENABLE THEM IN THE POLICY

1- Login to vROps with an account with Admin Privileges. Click on Content -> Super Metrics. Click on the Blue Wheel Icon and click on Import Super Metrics.



2 - Click the Browse button to go to SUPERMETRICS folder which you downloaded before and you need to select each super metric one by one and click on Open to Import all of them ONE by ONE.



3- One you import all of them, you will see a total of 15 Super Metrics in the list. Notice that these Super Metrics are already attached to the vCenter Adapter at the Cluster Compute Resource level.


4- Now let's enable these Super Metrics for collection in the Default Policy. Click on Administration -> Policies -> Policy Library -> Select the Default Policy - > Click on the Pencil shaped icon to Edit the policy.



5- Now click on the Collect Metrics and Properties option in the Edit Monitoring Policy Wizard and click on Collapse to see all the columns.



6- Click on Attribute type and uncheck everything except Supermetric to list all the of them.


7- In the Object Type select Cluster Compute Resource under the vCenter Adpater to list all the Super Metrics attached to a Cluster Object and you should see all the 15 super metrics which we imported earlier.



8- Finally, just select all the 15 metrics using CTRL + Mouse Left Click and click on Actions -> Enable to enable collection on all these super metrics.





Now that your Super Metrics are Ready, let's import the Views after 5 minutes or so.


IMPORTING VIEWS

 1- Click on Content -> Views -> Blue Wheel Icon -> Import




2- Browse to the file ALLVIEWS.xml which you downloaded before and click on open. Once the Views are imported you will see a successful message. Click on Done.





This would give you 6 new Views which the dashboard uses. Now let's create an XML for the Capacity Score card.


XML CREATION

1- Click on Content -> Manage Metric Config (You need vROps 6.0.2 or above), highlight the ResKndMetric Directory and click on the Green + Sign to add an XML.

2- Name the XML as CAPACITY-DATA.xml and click on OK.


3- Here is the XML you need to copy on the right pane. Please ensure that you use the right XML here. You have the following choices.

Choice 1 - If you have done a fresh install of vROps 6.1 then use this xml highlighted in BLUE Color:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AdapterKinds>
<AdapterKind adapterKindKey="VMWARE">
<ResourceKind resourceKindKey="ClusterComputeResource"> 

<Metric attrkey="summary|total_number_hosts" label="ESXi Hosts" unit=" " yellow="63" orange="64" red="65" />
<Metric attrkey="summary|total_number_datastores" label="Datastores" unit=" " yellow="255" orange="256" red="257" />
<Metric attrkey="summary|total_number_vms" label="VMs and Templates" unit=" " yellow="5000" orange="6000" red="8000" />

<Metric attrkey="Super Metric|sm_a5a9c11a-f27c-446c-8bd5-48a11124b543" label="Total Datastore Capacity(TB)" unit="" yellow="16383" orange="16384" red="16385" />
<Metric attrkey="Super Metric|sm_6ad28eb5-ef7e-4a88-8fb7-8b4225944f48" label="Used Datastore Capacity(TB)" unit="" yellow="16383" orange="16384" red="16385" />
<Metric attrkey="Super Metric|sm_53c99a82-ecd7-4053-93cf-08b54be817c0" label="Remaining Datastore Capacity(%)" unit="" yellow="15" orange="10" red="5" />
 
<Metric attrkey="summary|avg_vm_density" label="Running VMs Per Host" unit=":1" yellow="50" orange="60" red="70" />
<Metric attrkey="cpu|demand|vConsumption.per.pConsumption" label="vCPU : pCPU" unit=":1" yellow="7.1" orange="8" red="9" />
<Metric attrkey="mem|consumed|vConsumption.per.pConsumption" label="vMEM : pMEM" unit="memory" yellow="1.26" orange="1.5" red="2" />

<Metric attrkey="summary|capacityRemainingUsingConsumers_average" label="Total VMs Remaining" unit="" yellow="10" orange="5" red="0" />
<Metric attrkey="cpu|capacityRemainingUsingConsumers_average" label="CPU - VM Remaining" unit="" yellow="10" orange="5" red="0" />
<Metric attrkey="mem|capacityRemainingUsingConsumers_average" label="MEMORY - VM Remaining" unit="" yellow="10" orange="5" red="0" />

</ResourceKind>
</AdapterKind>
</AdapterKinds>

Choice 2 - If you are running on any version of vROps 6.0.x or upgraded to 6.1 from any of these versions then use the xml highlighted in RED

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AdapterKinds>
<AdapterKind adapterKindKey="VMWARE">
<ResourceKind resourceKindKey="ClusterComputeResource"> 

<Metric attrkey="summary|total_number_hosts" label="ESXi Hosts" unit=" " yellow="63" orange="64" red="65" />
<Metric attrkey="summary|total_number_datastores" label="Datastores" unit=" " yellow="255" orange="256" red="257" />
<Metric attrkey="summary|total_number_vms" label="VMs and Templates" unit=" " yellow="5000" orange="6000" red="8000" />

<Metric attrkey="Super Metric|sm_a5a9c11a-f27c-446c-8bd5-48a11124b543" label="Total Datastore Capacity(TB)" unit="" yellow="16383" orange="16384" red="16385" />
<Metric attrkey="Super Metric|sm_6ad28eb5-ef7e-4a88-8fb7-8b4225944f48" label="Used Datastore Capacity(TB)" unit="" yellow="16383" orange="16384" red="16385" />
<Metric attrkey="Super Metric|sm_53c99a82-ecd7-4053-93cf-08b54be817c0" label="Remaining Datastore Capacity(%)" unit="" yellow="15" orange="10" red="5" />
 
<Metric attrkey="summary|avg_vm_density" label="Running VMs Per Host" unit=":1" yellow="50" orange="60" red="70" />
<Metric attrkey="cpu|demand|vConsumption.per.pConsumption" label="vCPU : pCPU" unit=":1" yellow="7.1" orange="8" red="9" />
<Metric attrkey="mem|demand|vConsumption.per.pConsumption" label="vMEM : pMEM" unit="memory" yellow="1.26" orange="1.5" red="2" />

<Metric attrkey="summary|capacityRemainingUsingConsumers_average" label="Total VMs Remaining" unit="" yellow="10" orange="5" red="0" />
<Metric attrkey="cpu|capacityRemainingUsingConsumers_average" label="CPU - VM Remaining" unit="" yellow="10" orange="5" red="0" />
<Metric attrkey="mem|capacityRemainingUsingConsumers_average" label="MEMORY - VM Remaining" unit="" yellow="10" orange="5" red="0" />

</ResourceKind>
</AdapterKind>

</AdapterKinds>

Once you have pasted the relevant xml click on Save.






















IMPORT THE DASHBOARD


1- Click on Content -> Dashboards -> Blue Wheel Icon -> Import Dashboards





2- Browse to the downloaded file Cluster_cap_perf_db file and click on Open.



3- Once the Dashboard is imported successfully click on Done.





















Phewww.. Guess what you have the dashboard now!! :-) Click on the Dashboard List option on the home page and you will see the Capacity Menu, click on that and you will see the Capacity & Performance Dashboard. Click on that to launch the dashboard. 

Click on any of your Clusters to see the capacity scores and the performance data. Please remember that these super metrics would start calculating now, hence you need to wait for a day or two to get some data around performance. Usually after a week or so, you will have some good data to solve those use cases which I mentioned above.

Alright, so this is done!! Do share you comments on how this dashboard helped you!!

Don't forget to share and spread the knowledge!!




Sunday, February 8, 2015

Book Review : vROps Performance & Capacity Management + Coupon Code Inside!

Today I decided to spend the weekend by writing about books I have been reading for the past few days. Infact, this review is for a book which I officially reviewed as a Technical Reviewer and has my name on it. While I have been contemplating on writing a book myself on the topic of operations management, I believe with the release of "VMware vRealize Operations Performance & Capacity Management" by Iwan 'e1' Rahabok I have one task striken off from my list of things to do before I die :-)

I remember the time when Packt reached out to me a few months back and wanted me to write on vCenter Operations (that was the name of the solution to begin with). I passed the offer at that time since I knew that VMware would change the game completely by launching vRealize Operations Manager 6.0 and my blog series on vROps 6.0 clearly shows that the solution has come a long way from the previous releases.



About the author and his thought process:

While Iwan or "e1" as he likes to write his name, is not a stranger to the VMware community, the hidden side of his has a great author who has not only given a deep insight about vRealize Operations Manager as a product, but has devoted this book primarily to the concept of Operations Management in the Virtualized world. Infact I would compliment him for taking this one level above and talk about operationalization of the Software Defined Datacenter which is one of the key pillars of the VMware's vision of transforming the way data centers have been created and operated in the traditional world to this new way of computing.



The book is aimed at:

As a Consultant in my previous role and as an Architect now, I help customers in the adoption of this Software Defined IT. In my humble opinion, while the CIOs, CFOs and the CEOs completely understand the benefit of this new generation IT, it is still a big learning curve for individuals who run the day to day IT operations. If you are the modern day System Administrator who is the the midst of this big change then this BOOK is for YOU. The Book also helps the modern day Solution Architect to understand how they can build solutions around vSphere Hypervisor and what are the Key Performance Indicators in the entire ecosystem which define the performance and service level of the solution they create using the VMware vSphere hypervisor. The book would also help Delivery Consultants who implement virtual infrastructure built on VMware platforms. Iwan in the book has sections which gives you the much needed dope on designing the vSphere platform and implementing them with specific design decisions which can make the environment simplified for day 1 operations. 

The Capacity angle of vRealize Operations and the way Iwan has explained it in this book will help the IT Heads and the IT procurement teams including project managers to understand how they can finally have a scientific forecast for augmenting IT capacity in their data centers without maintaining heaps of spreadsheets and purchase orders to understand their IT consumption behaviour. Lastly, it will provides key insights to a Technical Support Engineer about how the vSphere hypervisor works under the layers and what are the metrics associated with vSphere hypervisor which defines the behaviour of the workloads running on tope the hypervisor. In a nutshell, I have not seen such a great repository which describes each metric which vCenter collects and vROps both collects and derives using its analytics engine. Hence this can be a bible for a person who troubleshoots virtual infrastructure for a living.



The content and the value proposition:

While I love writing, I am not the biggest fan of reading books. They can quickly get boring for me if they just talk about the technology and not give insights into how it can be used to solve real world business problems. Moreover a book on Operations Management can only be interesting to me if it speaks about the real world experiences and examples. When Iwan reached out for a book review via Packt, I immediately agreed to the same since, I believed that if not anything, I would end up learning a bunch of stuff from a Staff Engineer who is working with the biggest enterprise clients in Singapore.

In the first few sections of this book, Iwan has clearly defined how this new way of running IT is functionally, operationally and technically different from the traditional IT or in his words, The Hardware Defined Datacenter. Then he dives deep into each area of the ecosystem and talks about the "metrics which matter". Whether it is compute, network or storage, he digs down into each of these areas and helps the reader understand how we can use these metrics in various different ways in their respective roles.

When I commit to a book, I see the value proposition, and IMHO one should always look at what value would an article, blog post or a book would bring to you and how it can help you with your work, with your personal and professional development. Remember in the world which speaks about the internet of things, their is too much information out their to consume and with our so called bandwidth decreasing on a daily basis, it is important that we pick and chose what matters the most!!

Well I think with this I will close the review and would let you pick a copy for your self to see how this book can help you the way it has helped me. When I spoke to Iwan about publishing this article, he was kind enough to help me with a coupon code which can be used to get a FLAT 50% discount on buying an e-copy of this book from Packt's website. Here are the details:





DISCOUNT CODE                  - SunnyDua

DISCOUNT START DATE       - 5th February 2015

DISCOUNT EXPIRY DATE      - 10th March 2015

DISCOUNT PERCENTAGE      - 50%

MAX USES                            - 500

MAX USES PER USER             - 01

FORMAT                               - eBook


Go ahead order and enjoy the book.. Do leave your comments here to share your experiences with this read.





**************UPDATE 12TH FEB 2015****************

The publisher has been kind enough to give me 500 more discount codes. Please feel free to use the code to get the required discounts.

****************************************************