Monday, September 17, 2012

How to Access the VMware ESXi 5.0


How to Access the ESXi5 Remotely:


We can access the esx server in three (3) Ways:
1. SSH (Putty)
2. VMware PowerCLI
3. Vsphere Client


1. Access through SSH.

Open Putty and type Your Ipaddress or Hostname of the ESX server.
Before that check the the port number is opened.




It will ask for your authentication. Once server has authenticated then you will get the prompt.



Now you can list the configuration files in /etc. 


You can edit the configuration files using vi editor.



Editing the main config file /etv/vmware/config  -- file




Listing the Datastore and Virtual machines. /vmfs/volumes/datastore1/

ls --- to list the contents



esxtop command is used to list the top process in esx server.


Output of esxtop.



Check the daemons status using chkconfig command.




2. Accessing through VMware PowerCLI:

Install the power CLI in your windows system and access through that.

Once you open the vmware Powercli you will get the command prompt.





Connect to the esx server using connect-viserver -server <server ipaddress>



It will prompt you for authentication. Once it's authenticated you will get the prompt and now you can access the ESX server.



Now it's connected to the particular ESX server.



To list the available virtual machines and their status.

get-vm





get-vm -name EMC_VNX 


get-vm -name EMC_VNX | fl  ---- Listing Full List




You can power on the virtual machine using the following command.

get-vm -name <machine_Name> |start-vm 



Now you check, the virtual server is powered on.



3. Accessing through vsphere Client.

Install the vsphere client in your local machine and access the ESX server.
Type your hostname or ipaddress of the esx server and username password.



Once it is authenticated successfully you will get the screen.



To list the Datastores.




2 comments:

  1. ESX can accessed not ESXI5 through Putty....

    ReplyDelete
  2. Hi,

    You can enable the ESXi shell and access the esxi through putty using SSH.

    All my screenshots, i am using only esxi 5.0 both putty and vsphere client.



    ReplyDelete