Showing posts with label Policies. Show all posts
Showing posts with label Policies. Show all posts

Tuesday, February 5, 2019

Automatically place ESXi hosts in maintenance in vROps using properties

This has come up in a number of discussions with customers and a few VMware field employees and hence I wanted to blog about this and use this as a standard answer going foward :-)

Use Case - An administrator wants to disable alerts on a ESXi host which has been put into maintenance mode in vCenter. This is to avoid any alerts on this ESXi hosts inside of vROps, while the admin wants to continue to collect the metrics on this ESXi host.

Goal - The goal is to do this automatically without any manual changes in vROps. As soon as a host goes into maintenance in vCenter, vROps should know this and should stop alerting on the host in vROps.

Solution - This can be achieved by using Custom Groups and Policy and a one time configuration.


1- Create a new policy in vROps named "Hosts in maintenance policy". This policy can be created under the default policy.

Go to Administration -> Policies -> Policy Library 

2- Select the default policy and click on the + sympbol to add a new policy.

3- Give it a name and description as shown below.



4- Click on Alerts and Symptom Definitions and filter the list of aletrs with only host system alerts. We want a filtered list so that we can disable these in one go.



5- Now press CTRL + A on the keyboard to select all of them, you can also click on Actions -> Select All.

6- Click on Actions - > State -> Disable 






7- Click on Save and now you can see he new policy under your default policy.



8- Create a new custom group named "Hosts in Maintenance". Use the following creiteria to dynamically add members to this custom group based on ESXi host property which vROps collects every 5 minutes.

Click on Environment -> Custom Groups -> Click on the + Sign to add a new custom group.

Make sure to select the policy "Hosts in maintenace policy" which we created earlier.



9- Click on Preview to see if you are getting results. If you have any hosts in mainteance moed in your environment, you will see results like me :-)



10 - Finally go into Administration -> Policies -> Active Policies and set the newly created policy at priorty 1 rank.


Now, as soon as you will put hosts into maintenance mode in vCenter, within the next 5 minutes they will be be discovered as being in maintenance inside vROps and they will be added into the cutom group. Once they are a part of the group, the maintenance policy with all alerts disabled will be applied to these hosts and you will not see any alerts on them in vCenter, till the time they are in maintenance. Once they are out of maintenance, they will be moved out of this group subsequently. All of this would no longer require any manual intervention, once configured.

Do note, that if you add any new alerts (in future) related to hosts, you would need to make sure that they are disabled in this policy.

Hope this helps...

Share and spread the knowledge..


Saturday, March 26, 2016

vROps Webinar 2016 : Part 3 - Capacity Planning De-Mystified!

As promised, I am posting the recording for the 3rd installment of vROps Webinar Series 2016. We successfully delivered the session on vROps Capacity Planning with some demo scenarios which might help you define your capacity monitoring goals.

Session Details:-

Capacity Planning Demystified!



Capacity Planning is an integral part of vRealize Operations Manager and through this session we want to de-mystify the concepts of Capacity Planning in vROps using features such as projects and the out-of-box capacity views. We look at defining the capacity planning policies based on the business requirements of an organization

I also wanted to take this moment and thank Simon Eady for co-hosting this session and Rawlinson Rivera to provide all the lab equipment required for live demonstrations...


Here is the recording for this session on Capacity Planning:::


Note : It is recommended that you watch the video in HD quality for a great experience.



Sharing of this article is highly appreciated because Knowledge Increases By Sharing :-)


Sunday, March 13, 2016

vROps Webinar 2016 - Announcing Part 3 : Capacity Planning De-Mystified!


vROps Webinar Series 2016 is back and as promised during the last session we will now deep-dive into vRealize Operations Manager Policies, specifically around the area of Capacity Planning.


Capacity Planning Demystified!

Capacity Planning is an integral part of vRealize Operations Manager and through this session we want to de-mystify the concepts of Capacity Planning in vROps using features such as projects and the out-of-box capacity views. We will also look at defining the capacity planning policies based on the business requirements of an organization & yeah this would be all done through LIVE DEMOS :-)


Day & Date          : Thursday, 24th Mar 2016

Time                     : 3:00 PM - 4:30 PM  (SGT)

Event                    : vROps Webinar 2016

Topic                    : Part 3 : Capacity Planning De-Mystified!

Speakers               : Simon Eady & Sunny Dua

WebEx Link          : Join WebEx meeting 

Save Calendar       : Click to Download & Save Invite


NOTE - Don't forget to mark your calendars by saving the calendar invite!! Feel free to forward the invite to anyone who might be interested. It's open to all!!


Sharing & Spread the Knowledge!!


Monday, February 1, 2016

vROps Webinar 2016 - Announcing Part 2 : Understanding Policies.


vROps Webinar Series 2016 is back and as promised during the last session we would now take you to the world of vRealize Operations Policies. 


What is a Policy??

"A policy is a deliberate system of principles to guide decisions and achieve rational outcomes. A policy is a statement of intent, and is implemented as a procedure or protocol" 

Source - Wikipedia
                                                                                                                                         
While the role of vRealize Operations Manager is to help you with Performance & Capacity Management of your Software Defined Datacenter (SDDC), it is important that you feed in the guiding principles of your Business Environment into vROps to get the rational outcomes. These outcomes span across Health, Risk & Efficiency of your SDDC environment.

Join us to learn more about policies and leverage the knowledge to enhance your SDDC environments. As always, it would be a combination of theory and hands on.


Day & Date          : Friday, 19th Feb 2016

Time                     : 8:00 AM - 9:30 AM  (SGT)

Event                    : vROps Webinar 2016

Topic                    : Part 2 : Understanding vROps Policies

Speakers               : Simon Eady & Sunny Dua

WebEx Link          : Join WebEx meeting 

Save Calendar       : Click to Download & Save Invite (Open with IE / Firefox)


Don't forget to mark your calendars by saving the calendar invite!!


Sharing of this article is highly appreciated because Knowledge Increases By Sharing :-)