Archive for the 'VMWare' Category

Convert VMWare VMDK into Hyper-V VHDX

1. Download and Install “Microsoft Virtual Machine Converter
2. Open Powershell with Elevated Privileges
3. Import Module / Convert VMDK
Import-Module “C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1”
convertTo-MvmcVhd -SourceLiteralPath c:\source\scource.vmdk -DestinationLiteralPath c:\destination\ -VhdType FixedHardDisk -VhdFormat vhdx

No Comments »

admin on January 1st 2018 in Hyper-V, IT, PowerShell, VMWare

start and stop vcenter service from the console

service vmware-vpxd start
service vmware-vpxd stop

No Comments »

admin on February 27th 2013 in VMWare

Migrate to a new vCenter Appliance

They changed the database from vCenter 5.0 to 5.2 and I tried the migration steps from the VMWare Support Website and still it failed. I even called up the support of VMWare and at the end we had to face a new installation of vCenter.

This are the steps:

  1. Download the newest vCenter appliance and import it
  2. Run the applicance and check from the screen console the IP if you haven’t already setup a fix one
  3. Open it with your Browser: https://192.168.x.x:5480/
    Username: root
    Password: vmware
  4. Accept license Agreement
  5. Configure with default Settings
  6. Click on all next buttons until it starts to build the database and start the services
  7. Check if all services are up and running
  8. Change the hostname and IP Settings (Network/Adress) and click on Save Settings. After that you need to reboot the machine.
  9. Set the AD Settings
    I tried set it over the Web-Interface but somehow it never worked. Finally I just connected to the appliance via putty and run following commands:
    /opt/likewise/bin/domainjoin-cli join $YOURDOMAIN $USERNAME $PASSWORD
    shutdown –r now
  10. Wait until the Appliance is up again.
  11. Login to the Web Appliance and go to the section Admin and Click on “Toggle certificate settings”. After that I had to restart the appliance again.
  12. This time connect via Web-Browser to a different port: https://192.168.x.x:9443
    Username: root
    Password: vmware
  13. Go there to Manage/Configuration and add there AD identitysource:
    Replace the fields with your domain settings.
  14. Move System-Domain above localos.
  15. After you can vSphere Client and login with root to the vCenter. If there should be a message poping up about the certificate, you can just ignore it.
  16. Click on “localhost” and from there go to the tab “Permissions” and add the domain users in which you want to be able to login and set their permissions. I usually add the Domain Admin as well.
  17. Right click on “localhost” and rename it to the appliance hostname to better identifiy it and add a Datacenter and Cluster to it. The cluster settings you  can get from the old appliance.
    NOTICE: If you should use EVC then deactivate it first and activate it again after you have added all ESX, otherwise you aren’t able to add them.
  18. Go to the vCenter Settings and setup Email, SNMP etc.
    NOTICE: Set a limit to how many days it should keep the protocols, because it could grow quickly and fill up all free space. The license key you can also lookup on your old instance.
  19. Connect to the old vSphere Server and disconnect all ESX Server from there
  20. On the new vSphere Server add them all to the cluster:
    Notice: Use the Full Qualified Domain Name of the ESX Server and use the root login to add them. It will even add the licenses of the ESX.
  21. Set all other settings and switch off the old instance of vSphere
  22. Don’t forget to change the password of vSphere.

No Comments »

admin on February 27th 2013 in IT, VMWare

SYNchronise vSphere Time Manually

#sntp –r

No Comments »

admin on February 25th 2013 in IT, Linux, VMWare

Windows 2012 Server Installation get stuck on VMWare

I had the problem that Windows 2012 Server got stuck in the boot sequence. I just had to add a configuration parameter to make it work:
vmGenCounter.enable = FALSE

No Comments »

admin on January 16th 2013 in IT, VMWare, Windows Server

Determine ESx Host Version

Run this command from service console:
# vmware -v

No Comments »

admin on March 29th 2011 in IT, VMWare

Resize partition in VMWare Server

1. Delete all Snapshots or you can’t resize the disk
2. Shutdown Guest System
3. Go into Guest Properties and increase the disk size
4. Start Guest System
5. Create a Snapshot again

Windows Server Resize Partition
1. Download and install Diskpart from the Microsoft Webpage
2. Go into Command Console
3. Type: Diskpart
> SELECT DISK 0 [replace number with the disk you want to extend]
> SELECT VOLUME 1 [replace number with volume you want to extend]
> extend

Windows XP Resize Partition
Unfortunately Diskpart didn’t work for my Windows XP Version even it suppose to be supported. Anyway after try and error I found a good open source Partition Manager like Partition Magic.  It is called GParted and It is based on Linux and does a great job. You can get it here:

No Comments »

admin on May 11th 2010 in VMWare, Windows, Windows Server

Install VMWare tools in debian

1. Install Kernel Heaeders

  1. Get the Kernel version and remember it with:
  2. apt-get install linux-headers-[Kernel Version]

2. Install VMWare Tools

  1. Choose “install and upgrade VMWTools in VMWare” in your VM menu
  2. mount /dev/hda /media/cdrom
  3. cd /media/cdrom/
  4. cp VMWareTools[whateverversion]tar.gz /tmp/
  5. cd /tmp
  6. tar xvzf VMWareTools[whateverversion]tar.gz
  7. umount /media/cdrom/
  8. cd /tmp/vmware-tools-distrib/
  9. make a symlink:
    ln –s /usr/src/linux-headers-[Kernel Version] /usr/src/linux
  10. apt-get install gcc-4.1
  11. change using gcc version:
    export CC=/usr/bin/gcc-4.1
  12. I had make and killall missing on my installation so can you get it:
    apt-get install psmisc make
  13. ./

3. Uninstall VMWare Tools
After a failed installation of VMWare Tools I got following message:
A previous installation of VMWare Software has been detected… You may want to re-install VMWare Tools.

The solution was to run the uninstaller first and run the VMWare setup again:
1. ./

No Comments »

admin on February 2nd 2010 in Linux, VMWare

Add Second Network Card in VMWare

Today I had to add a second virtual network in VMWare. Unfortunately I didn’t find any option first. To do this you need to actually power off the VMWare Host. Then go the settings of the VMWare Host. Click on Add Ethernet Card and confirm everything. Startup OS again.

No Comments »

admin on May 26th 2009 in IT, VMWare

Check out new movies online website. Download and buy movies now.