Visitors

HOW TO: Find HBA WWN number on VMware vSphere ESX server

There are several ways to get HBA WWNs on VMware vSphere ESX/ESXi host:

vSphere Client; Using ESXi Shell; Using Powershell / PowerCLI script.

1. Connect to a server or vCenter, open server Configuration tab, under Hardware select Storage Adapters:

You can also copy WWNN (World Wide Node Name) and WWPN (World Wide Port […]

HOW TO: Enable or Disable Lockdown Mode on VMware vSphere ESXi host

Q: What is Lockdown Mode? A: Lockdown Mode prevents users from logging directly to the host. The host will only be accessible through local console or vCenter Server. None of remote management options e.g. vCLI, PowerCLI script, SSH will work. When it is enabled, only vpxuser () has authentication permissions and can connect to the […]

HOW TO: Create a new user and add it to a role on ESXi host.

This script creates a new user and adds the user to a role on the ESX host:

$NewUser = ‘_New_user_name_’ $NewUserPassword = ‘_New_user_Password_’ $NewUserDesc = ‘_New_user_description_’ $HOSTCredentials = Get-Credential -Credential root $ESXhost = ‘_My_ESX_HOST_’ Connect-VIServer $ESXhost -Credential $HOSTCredentials New-VMHostAccount -Id $NewUser -Password $NewUserPassword -Description $NewUserDesc -UserAccount -Server $ESXhost -AssignGroups users $AuthMgr = Get-View (Get-View ServiceInstance).Content.AuthorizationManager […]