Posts under ‘ESX’

Masking LUN paths using PowerCLI

Tweet
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.
Note 1:
Before you read any further, please [...]

ESXi Tech Support Mode

Tweet
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 [...]

Collect VMware ESX Host PCI Device Information

Tweet
Whenever you need to install a new box with ESX, there’s the struggle with matching physical ports to VMware devices. Which network adapter becomes vmnic0?, Which hostbus adapter becomes vmhba1?, etc. Especially when you have a lot of network adapters this can be confusing and you can’t connect to the device over the network unless you [...]

Unattended upgrade of HP mgmt agents – Part 3

Tweet
In my post Unattended upgrade of HP mgmt agents – Part 2 you could read about my script for an unattended installation of the HP Management agents on ESX3.5. In this part I’ll share my next version of the script for installing the HP Management agents on ESX4.0 and ESX4.0 U1.
In the ESX4 installation, the location of [...]

Unattended upgrade of HP mgmt agents – Part 2

Tweet
It’s been a year since I blogged about my script to perform an unattended upgrade of the HP management agents 8.1.1 on ESX 3.5 U3. After HP upgraded their management agents to version 8.2.0 some things changed. The installation procedure is now a 2 step process. First there’s a PreInstall_Setup.sh script which modifies some startup [...]

Critical 2009 last-minute ESX3.5 patches

Tweet
I just noticed that VMware released a couple of critical ESX3.5 fixes on December 29th, shortly after releasing ESX3.5 Update5 on December 3rd. Wading through the patch details I stumbled upon some severe issues addressed by the ESX350-200912401-BG patch. I quote some issues that caught my eye: 

ESX hosts might get disconnected from VirtualCenter Server. This issue [...]

How to force a login on a QLogic HBA

Tweet
When running some storage test on an ESX 3.5 environment lately, I ran into a problem where a dead storage path disappeared after a rescan. While this was as expected, the storage path didn’t return after fixing it in the SAN and running a rescan again. After a reboot of the ESX server, the new [...]

Geographically dispersed cluster design

Tweet
Nowadays more and more companies have or are considering a 2nd datacenter in another site. Mostly the main reason for this 2nd datacenter is for disaster recovery purposes. There are 2 ways to utilize this 2nd datacenter. First one could choose for an active-passive setup, where in the 2nd datacenter bare-metal servers are waiting to [...]

ESX Memory Management – Part 3

Tweet
In part 1, I explained the virtual machine settings that are available to us regarding to memory, in part 2, I explained how the ESX kernel assigns memory to a VM and in this part I will dive into ESX memory reclaiming techniques.
The ESX kernel uses transparent page sharing, ballooning and swapping to reclaim memory. [...]

ESX Memory Management – Part 2

Tweet
In part 1, I explained the virtual machine memory settings that are available to us. This caused quite some controversy on what would happen when a limit is hit that’s configured lower than the actual allocated memory.
Scott Herold did an excellent follow-up on this. Be sure to read his article too, because it contains valuable [...]