Wednesday, January 13, 2010

How to Create Local User Account on an ESX Server

1. Log into the ESX Server Service Console with root account.

2. Type useradd username at the command prompt.

3. Type passwd username to set an initial password.

4. Type the password twice.

5. Finally, open a new ssh session and test the user account and password to see if it works.

How to Rescan vmhba1 from a Service Console Command Line

1. Log on to a console session as a nonroot user.


2. Type su - and then click Enter.
3. Type the root password and then click Enter
4. Type esxcfg-rescan vmhba1 at the # prompt

How to Display a List of available LUNs with their associated Path, Device Names and UUIDs

1. Log on to a console session as a nonroot user.

2. Type su - and then click Enter.

3. Type the root password and then click Enter

4. Type esxcfg-vmhbadevs -m at the # prompt