I’ve been troubleshooting some vCenter alarms lately, which involved a lot of editing, removing and adding of alarms. After the troubleshooting I wanted to reset everything back to default and ran into VMware KB article 2009166, explaining how to restore the default vCenter Server alarms.
To restore the default vCenter Server alarms you first have to [...]
Posts Tagged ‘PowerCLI’
Need to configure email notifications on vCenter alarms? This PowerCLI automation script will save you valuable time and configure the alarms for you
I got a question on my previous post about the Get-EsxCli cmdlet, ESXCLI the PowerCLI way, from Alasdair Carnie who was having trouble using the Get-EsxCli cmdlet to mask luns at the ESXi host level. In this post I’ll show you how to accomplish LUN masking at the ESXi host level.
Before you read any further, please [...]
One of the core features of VMware vSphere is the Distributed Resource Scheduler (DRS). VMware DRS is vSphere’s workload load balancer and relies on VMware vMotion technology to live-migrate workloads from one ESX host to another.
You can constrain the VMware DRS decisions by defining DRS Rules. As of vSphere 4.1 there are 2 type of [...]
Now that our PowerCLI Book Raffle has ended and the lucky winner is published, I want to give you a full disclosure of the drawing process. Because our PowerCLI Book is about PowerCLI, what other tool than PowerShell could we use to perform the drawing process?
So first we need to retrieve all the twitter messages that [...]
It has been quite a journey, but it has finally arrived. Today our book: “VMware vSphere PowerCLI Reference: Automating vSphere Administration” will be released by Sybex. The journey started about a year ago when Alan Renouf and Luc Dekens decided to write a PowerCLI book that should have a practical approach to vSphere administration. Later [...]
While preparing some disaster recovery (DR) tests, I had to add and remove a couple of LUNS from several ESX hosts in different clusters. Doing so, I had to rescan a lot of host bus adapters (HBA) several times. As I hate doing repetitive tasks in a graphical user interface (GUI), I always find myself [...]
As you might know, I was asked to co-author a PowerCLI book. Now that the book is nearly finished we posted an update on our book’s website at www.powerclibook.com. If you’re interested in what will be covered in the upcoming book called “VMware vSphere PowerCLI Reference: Automating vSphere Administration” (Yes, I know it’s a mouth [...]
As a security recommendation you should always disable Tech Support Mode (TSM) on your ESXi servers, but sometimes it’s helpful if you’re able to connect to your ESXi server using Secure Shell (SSH). When you want to enable TSM, you have 3 options:
Use the Direct Console User Interface (DCUI)
Use the vSphere Client
Script it (using PowerCLI [...]
When trying to perform a Round Robin (RR) test on my vSphere 4.1 environment, I needed to know the number of paths available to the luns of the test servers. I also needed to change the Path Selection Policy (PSP) for the luns to Round Robin (VMW_PSP_RR). I could have done this easily using the [...]