ESXi host that is disconnected or not responding in VMware vCenter Server

ESXi

ALT-F1 = Switches to the console
ALT-F2 = Switches to the DCUI

Restart the Management agents on an ESXi or ESX host

From the Local Console or SSH:

Log in to SSH or Local console as root.
Run these commands:

/etc/init.d/hostd restart
/etc/init.d/vpxa restart

Upgrade ESXi 4.0 to ESXi 4.1

1. You need vSphere CLI – Download Here

For Windows or Linux and install on your workstation.

2. Download the Upgrade Package for 4.0 to 4.1

3. Power off your VM’s and put the host into maintenance mode

4. From the vSphere CLI prompt

vihostupdate.pl –server hostname or IP -i –b d:\downloads\upgrade-from-ESXi4.0-to-4.1.0-0.0.260247-release.zip -B ESXi410-GA

Clipboard Copy and Paste option is disabled in vSphere Client 4.1

I upgraded my home test server to ESXi 4.1 and I the Clipboard Functie is disabled by default and that is so annying

Solution:

Starting with vSphere 4.1, the Copy and Paste options are, by default, disabled for security reasons.

To be able to copy and paste between the guest operating system and the remote console, you must enable the Copy and Paste options using the vSphere Client. Alternatively, you can use RDP (Remote Desktop Protocol) to connect to the Windows virtual machines.

To enable this option for a specific virtual machine:

  1. Log into a vCenter Server system using the vSphere Client and power off the virtual machine.
  2. Select the virtual machine and click the Summary tab.
  3. Click Edit Settings.
  4. Navigate to Options > Advanced > General and click Configuration Parameters.
  5. Click Add Row and type the following values in the Name and Value columns:

    • isolation.tools.copy.disable – false
    • isolation.tools.paste.disable – false
      Note: These options override any settings made in the VMware Tools control panel of the guest operating system.

  6. Click OK to close the Configuration Parameters dialog, and click OK again to close the Virtual Machine Properties dialog.
  7. Power on the virtual machine.

Note: If you vMotion a virtual machine to a host where the isolation.tools.*="FALSE" is already set, the copy and paste options are automatically activated for that virtual machine.

To enable this option for all the virtual machines in the ESX/ESXi host:

  1. Log in to the ESX/ESXi host as a root user and open the /etc/vmware/config file using a text editor.
  2. Add these entries to the file:
    isolation.tools.copy.disable="FALSE"
    isolation.tools.paste.disable="FALSE"
  3. Save and close the file. The Copy and Paste options are only enabled when the virtual machines restart or resume the next time.

For more information, see the Limiting Exposure of Sensitive Data Copied to the Clipboard section of the  ESX Configuration Guide.

http://kb.vmware.com/kb/1026437

Defrag your Virtual Machines (VMs’)

Just like any other operating system, over time, a disk will become fragmented. Virtual machines are no different. The time that it takes for a disk to become fragmented depends on what data is being added to and removed from the virtual machine hard drive.

Why use MyDefrag instead of the standard Windows defragger?

  • Much faster.
  • Totally automatic, extremely easy to use.
  • Optimized for daily use.
  • Disk optimization, several strategies.
  • Directories are placed together.
  • Reclaims NTFS reserved areas after disk-full.
  • Maintains free spaces for temporary files.
  • Can defragment very full harddisks.
  • Can defragment very large files.
  • Can defragment individual directories and files.
  • Can be run automatically with the Windows Scheduler.
  • Can be used from the commandline.
  • Can be used as a screen saver.
  • Can be run from cdrom or memory stick.
  • Script language, can be customized.
  • Better voor VCB, VDR, DPM & Snapshots.

When you run MyDeFrag.exe with /verysilent it detect automatically the OS and then install x86 or x64 version from MyDefrag. It’s always installed at c:\program files. You can deploy it with MDT 2010 automatically when installing the OS. Or run it from a network share.

You can use Group Policy Preferences to schedule it. 
image

VMWare Windows Host Performance Tuning

VMWoptimalisatie.reg

Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
“ScreenSaveActive”=”0”
“SCRNSAVE.EXE”=”C:\WINDOWS\system32\scrnsave.scr”

[HKEY_CURRENT_USER\Control Panel\Desktop]
“ScreenSaveActive”=”1”
“ScreenSaverIsSecure”=”1”
“SCRNSAVE.EXE”=”C:\WINDOWS\system32\scrnsave.scr”

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
“NtfsDisableLastAccessUpdate”=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
“DisableCAD”=dword:00000001

Uitzetten Time Servicec.cmd
net stop w32time
sc config w32time start= disabled

Aanzetten Time Sync VMWare Tools.cmd
“C:\Program Files\VMware\VMware Tools\VMWareService.exe” –cmd “vmx.set_option synctime 0 1”

Server 2008 R2 bevriest in VMware ESX & ESXi

Server 2008 R2 bevriest in VMware ESX & ESXi

Er is een probleem met Windows Server 2008 R2 die draait op VMWare ESX 3.5 & 4.
De oorzaak is de video driver zijn die geïnstalleerd wordt met de VMware Tools.

Oplossing

Bij het installeren van VMware Tools, selecteer Custom Install voor VMware Tools en schakel de SVGA driver uit.
Als alternatief, verwijder de SVGA driver van de Device Manager na het installeren van VMware Tools.
http://kb.vmware.com/kb/1011709

Update
Er is een nieuwe video driver in de laatste vmware tools. Na de VMWare Tools upgrade upgrade de SVGA driver naar de WDDM die te vinden onder C:\Program Files\Common Files\VMware\Drivers\wddm_video. Vink niet de SVGA videokaart driver uit anders moet de WDDM niet mee gekopieerd.

Hoe een Starwind virtuele harddisk toevoegen aan vSphere doormiddel van iSCSI

ga naar het Configuration tabblad  in de vSphere Management kies vervolgens Storage Adapters
Zoek de software iSCSI adapter op.
image
Kies Properties
image
Configure

image
Status vinkje bij Enabled OK

Tabblad Dynamic Discovery

Kies vervolgens voor add..
image

Vul je hier het ip adres in van de iSCSI target in.

image
Klik vervolgens op Close.

Vervolgens krijg je de volgende melding
image

Of je kunt dit ook doen door middel van naar datastores te gaan en daar een rescan uit te voeren.
image 

image

image 

image 

image

image

image

image

image

image

image 
image

image
image 
Ik heb hiervoor een 10GB schijf ingesteld maar met starwind kun je tot 2TB gaan met de gratis versie.
Er zijn ook leuke nassen op de mark van bijvoorbeeld iOmega Storcenter die officieel door VMWare gesupport worden. iOmega Storcenter ondersteund NFS & iSCSI zodat je HA & DRS thuis kunt testen: http://go.iomega.com/en/products/network-storage-desktop/storcenter-network-storage-solution/?partner=4740

Translate »