Installing VMware tools :
After the installation of guest OS Power on the Guest OS Rc on Guest OS Guest Install
/Upgrade Vmware tools Open my computer click on CD Rom and install the tools
Networking:
A vNetwork Standard Switch (vSS) can route traffic internally between virtual machines and can link
virtual machines to external networks.
Virtual Switches
At the center of networking with vSS is the virtual switch itself. The vSS can send network traffic
between virtual machines on the same host (private network) or network traffic to an external network
(public network)
Port Group
Let’s imagine that you have a huge, unconfigured virtual switch with hundreds of ports on it. Chances
are, you don’t want all of the ports to be configured the same way—some of them will be used by your
production VMs, others by your developers’ VMs, and even more might be for the engineering VMs.
VM port groups are a way that we can create logical rules around the virtual ports that are made
available to VMs. It’s common to create a port group for each VLAN and network subnet that you want
to present to your VMs. VM port groups do not provide vSphere services or require IP addresses—they
are just ways to configure policy for a group of virtual ports on your vSwitch.
VMkernel Network Interfaces
The network services that the VMkernel provides (iSCSI, NFS, and VMotion) use a TCP/IP stack in
the VMkernel. This TCP/IP stack is completely separate from the TCP/IP stack used in the service
console.
Physical Network Adapter (pnic)
The term pnic refers to the physical network adapters as seen by the primary operating system.
Configuring static IP settings from the console:
Press F2 Configure Management Network Enter IP Configuration and press Enter Set static
IP address and network configuration and press the spacebar IP Address enter a new IP address
Subnet Mask choose Default Gateway.
Changing user Password from the console :
F2 configure Password Enter Provide Old password and New Password OK
Assigning IP address and Gateway from the console :
F2 Configure Management network IP Configuration Choose Static
IP Address -
Subnetmask -
Gateway –
Assigning hostname and DNS from the console :
F2 Configure Management network DNS Configuration
Primary DNS
Secondary DNS
Hostname :
Testing Management network from the console :
Used to Ping and test the Custom Servers
F2 Test Management network Enter the IP Address to Ping Hit ENTER
Enabling ESXI Shell : ( Operates in F1 terminal )
F2 Troubleshooting options Hit ENTER on DISABLE ESXI SHELL
Enabling SSH :
F2 Troubleshooting options Hit ENTER on DISABLE SSH
COMMANDS:
To list all available VMs and its VMid
#vim-cmd vmsvc/getallvms
Power on a VM using its VMid
#vim-cmd vmsvc/[Link] 3
Get power state of a VM
#vim-cmd vmsvc/[Link] <Vimid>
Power off a VM
#vim-cmd vmsvc/[Link] <Vmid>
Reboot a VM
#vim-cmd vmsvc/[Link] <Vmid>
Deleting a VM form Disk :
#vim-cmd vmsvc/getallvms
#vim-cmd vmsvc/destroy <Vmid>
#vim-cmd vmsvc/getallvms
To list the physical NIC on the Host
# esxcli network ip interface ipv4 get
To set the ip address :
#esxcli network ip interface ipv4 set -i vmk0 -I [Link] -N [Link] -t static
Changing ROOT user password:
# password root
Provide the new password
Setting Hostname:
#esxcli system hostname set --host=esxiserver1
#hostname
#reboot
Setting fqdn:
#esxcli system hostname set --fqdn= [Link].
#hostname
#reboot