Posts Tagged ‘ESXi’

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

Rescan VMware vSphere Hypervisor (ESXi) using PowerCLI simplified

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

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