VMWare

From wiki.adammorgan.org
Jump to: navigation, search

vSphere Client

This is a client you install on your workstation to view and manage the VMWare infrastructure (including all virtual machines, data stores, hosts, clusters, etc).

Installing vSphere and connecting

  • Download the appropriate vSphere client installer from your vSphere server by pointing a web browser to its IP address. Install, then when prompted enter the vSphere server's hostname and your domain credentials.
  • You can also use vSphere to connect directly to the hypervisors, but it's best to connect to the vSphere server, which lets you view the entire virtual environment.

Windows activation after p-to-v

  • When demoing Windows Server VM's, you may need to rearm the trial period counter which will give you 60 days before entering a valid product key.
  • Check activation status:
slmgr.vbs -dli

Rearm the trial period counter:

slmgr.vbs –rearm

VMWare Tools

  • This is an optional service (with a system tray icon) that can be installed on any virtual machine to improve performance when viewing the machine's "Console" from inside the vSphere client).

Upgrading VMWare Tools on a Windows VM

  • The install/upgrade process will automatically reboot the VM when it completes, so make sure no one is logged-into the server (and that a reboot won't interrupt critical functions during work hours).
  • While the vm is powered-on, open your vSphere client, right-click on the vm, then go to "Guest", then "Install/Upgrade VMWare Tools". When prompted, tell it to install with with default options.
  • The "tasks" pane at the bottom of vSphere will show the task as "in progress". After 1-3 minutes, the vm will automatically reboot.

Upgrading VMWare Tools on a Linux VM

Time issues on client VM's

ESXi Shell Commands

Display system info (server model and service tag, etc)

esxcfg-info |more

Display hostname

esxcli system hostname get