Quantcast
Channel: Microsoft Archives - Nutanix HCI and hybrid cloud
Viewing all 55 articles
Browse latest View live

Migrate Windows 2008 R2 from vSphere to Nutanix Acropolis

$
0
0

Today, next part of my migration series – Migrate Windows 2008 R2 from vSphere to Nutanix Acropolis.

So far you could read and watch:

Pre-requisites:

  • Nutanix Acropolis hypervisor (AHV) in at least  20150921 build
  • Nutanix NOS on at least 4.1.5.X, version 4.5.X preferable
Nutanix Acropolis Hypervisor version

Nutanix Acropolis Hypervisor version

  • Nutanix virtIO drivers – you can download it from Nutanix portal
  • Nutanix IO drivers installed on Windows 2008 R2
  • Mounted AHV container to vSphere

Migration

  • Log in to Windows and set up san policy to online. After migration to Acropolis, all disks will become online after boot.
    • run CMD as Administrator and run:
      • diskpart
      • san policy = onlineall
      • exit
  • storage vMotion Windows server onto Nutanix Acropolis container
  • Shutdown Windows server
  • Log in to Prism Element and create new VM
  • Add new disk and make sure you choose:
    • TYPE: DISK
    • OPERATION: CLONE FROM ADSF FILE
    • BUS TYPE: SCSI
    • PATH: start with / and move on to container and VM folder to -flat.vmdk
2015-10-23_17h32_19

Add disk into Acropolis VM

NOTE: repeat add disk procedure for all VM disks

  • add vNIC and connect it to proper vLAN

Post-Migration tasks

  • Power VM on
  • log in using console
  • set up IP address
  • remove VMware tools and any other VMware related software

DONE :-)

Check out video below.

About Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur has been in IT industry since 1999 and consulting since 2008. Artur holds VMware Certified Design Expert certification (VCDX #077).

The post Migrate Windows 2008 R2 from vSphere to Nutanix Acropolis appeared first on VMwaremine - Artur Krzywdzinski | Nutanix.


Install Windows XP SP 2 on Nutanix Acropolis Hypervisor

$
0
0

Install Windows XP SP2 on Nutanix Acropolis Hypervisor – one can ask why would you do that ? Well, there are many reasons why would you still keep you Windows XP desktops in Production, even though Windows XP is not supported by Microsoft.  One of the most “popular” is legacy application which is either not supported on newer OS version or upgrade costs “millions $” and takes ages to migrate.

Below is a quick guide how to Install Windows XP SP2 on Nutanix Acropolis Hypervisor.

Requirements:

  • Nutanix Operating System – 4.5.1.2 or newer
  • Nutanix Acropolis Hypervisor in version 20161109 or newer
  • Fedora VirtIO drivers in version 0.1.102 or newer

How to:

  • Deploy new VM on Acropolis and install Windows XP SP2 from ISO image.
    NOTE: make sure OS drive in configured to use IDE controller
    Windows XP OS drive on AHV

    Windows XP OS drive on AHV

    Once Windows XP is up and running on AHV we can install missing drivers such as network driver and

  • Mount VirtIO drivers ISO from Fedora to VM and update drivers for devices which are show with yellow triangle – See below video for more information

The post Install Windows XP SP 2 on Nutanix Acropolis Hypervisor appeared first on VMwaremine - Artur Krzywdzinski | Nutanix.

Migrate Windows 2012R2 from Hyper-v to Nutanix AHV

$
0
0

Finally I have found some time to proceed with my migration blog series. Today, fast an easy way to migrate Windows 2012R2 from Hyper-V to AHV.  In below scenario source environment is Microsoft Hyper-V 2012R2 and target is AHV 20160217 and ABS 4.6.

Pre-Requisites 

  • Acropolis Base Software 4.6 or newer
  • Acropolis Hypervisor aka AHV 20160217
  • Windows 8.1 or newer, as workstation or jumphost with connection to source (access to VHD drives) and Nutanix AHV
  • The same network segments available on AHV as on Hyper-V system.

Step #1 – prepare source virtual machine for migration

As we will be doing cross-hypervisor migration (from Hyper-V to AHV), source virtual machine needs drivers to be installed on target platform. Download latest version of Nutanix VM Mobility 1.0.1 for Windows from portal.nutanix.com and install on source VM. Shutdown VM after installation.

Step #2 – upload VHD file to image service.

Use Nutanix image service and upload VHD file from Hyper-V. Log in to Prism UI on target system and from action menu (top right corner) choose Configure image services. Click on Upload Image. Provide name for new image, in disk type choose DISK and browse to path to VHD of source VM

Create new image from VHD file

Create new image from VHD file

Depending on disk\data size, network speed in might take a time to upload VHD into AHV platform. Once is done you can proceed to step #3.

NOTE: if you have multiple disks to upload, start several parallel sessions and create image from all.

Step #3 – Create VM 

From Prism UI, create new VM. In disk section, add all disks in right order (C drive as first and so on) with BUS TYPE – SCSI  and OPERATION – Clone from image service.

Add disk to VM

Add disk to VM in Nutanix AHV

Do not forget to add network adapter to virtual machine configuration and make sure it is connected to the same network like it was on Hyper-V

All right – virtual machine on Acropolis hypervisor is ready to be power on. Start VM and lunch VM console. Log in to system and verify disk layout, IP configuration and applications. If all looks good you can go to Image service and remove images.  For detailed instruction, see my  video below.

HAPPY MIGRATIONS !!!!

The post Migrate Windows 2012R2 from Hyper-v to Nutanix AHV appeared first on VMwaremine - Artur Krzywdzinski | Nutanix.

Install Windows Server 2016 on Nutanix Acropolis Hypervisor

$
0
0

Windows Server 2016 is just around a corner. Acropolis Hypervisor will be on the list as supported hypervisor for new flagship server operating system from Microsoft. As of today (11’th April 2016), Windows Server 2016 is in Technical Preview version 4 and it is not on the list of supported virtual machine OS by Nutanix. Nutanix Mobility drivers pack does not contain drivers for Windows Server 2016 either. However you can deploy Windows Server 2016 TP4 on Nutanix AHV. You have to have lasted build of Fedora virtIO drivers ISO.

Requirements.

  • Acropolis Base Software 4.6.X or newer
  • Acropolis Hypervisor (AHV) 20160217 or newer
  • Fedora VirtIO drivers latest – I have use 0.1.117 – you can download from official Fedora project page
  • Windows Server 2016 TP4 iso

Step #1 – Create an images in Image service with virtIO drivers and Windows 2016 ISO

Upload Fedora virtIO ISO with driver to Acropolis Image Service. It is needed to load drivers during installation. Of course you have to have image with Windows 2016 media to install OS from :)

Step #2 – deploy new VM on Acropolis

Deploy new VM on Acropolis, make sure you create empty disk with SCSI controller and add 2 new CDROMs. One with Windows 2016 ISO and one with virtIO drivers.

Step #3 – Installation

Start VM and open console. At first in available disks for installation you will see no disks. It is normal as none of the Windows servers ISO contains VirtIO drivers. You have to load drivers for Windows 10 from second CDROM.

VirtIO drivers for SCSI disk for Windows 10

VirtIO drivers for SCSI disk for Windows 10

After few seconds installer should “see” SCSI drive available for install

60GB drive available

60GB drive available for Windows Server 2016

Step #4 – load additional drivers

After installation you have to load driver for two unknown devices, Ethernet Controller and PCI device (balloon driver). Use have to use again drivers for Windows 10.

2016-04-11_17h57_43

For Ethernet controller go to NetKVM  folder and for PCI device go to Balloon folder.

Device manager in Windows 2016

Device manager in Windows 2016

The post Install Windows Server 2016 on Nutanix Acropolis Hypervisor appeared first on VMwaremine - Artur Krzywdzinski | Nutanix.

Can I run Windows 2003 server on Nutanix AHV ?

$
0
0

Recently I’m getting more and more questions from field and from social channels about Windows 2003 server on Nutanix AHV.  Can I tun Windows 2003 on Nutanix AHV? Answer is – yes you can. Technically you can run Windows 2003 on Nutanix AHV without any issues but.. There is always but when we talking about ancient operating systems, see below:

NOTE:Windows 2003 (any flavor) is not supported by Nutanix on AHV. If you decide to run Windows 2003 on Nutanix, you are taking risk to run unsupported configuration.

Why would I “waste” my time and show how to run unsupported system on Nutanix Acropolis. There are several reasons but one of them, the most important in my opinion, is migration from Windows 2003 to latest supported version from Microsoft. I know many companies running legacy application on either physical environments and are afraid to migrate. Virtualizing such environment will make migration much smoother and easier due to features which are not available “physical server” world.

To run Windows 2003 on Nutanix AHV with most optimal configuration takes a bit of time. First things first.

Requirements:

  • AOS 4.6.1 or newer
  • AHV 20160217.2 or newer
  • VirtIO drivers from Fedora in versions:
  • Windows 2003 ISO

Step #1 – Create images for both virtIO drivers ISO and Windows 2003 ISO in image services.

Step #2 – create VM on Acropolis and install windows

Create new virtual machine with following devices:

  • IDE:0 – CDROM – mount Windows 2003 ISO
  • IDE:1 – boot disk
  • SCSI:0 – additional disk
  • network adapter
VM disk configuration for Windows 2003 on Acropolis AHV

VM disk configuration for Windows 2003 on Acropolis AHV

Fist you will install windows 2003 on IDE disk. Once is done, install missing drivers as follows:

  • Ethernet device – from latest virtIO drivers
  • PCI device -from latest virtIO drivers
  • SCSI adapter – from version 0.1-81 – this is very important as newest vitrtIO drivers does not provide support for SCSI on Windows 2003.  Drivers for SCSI adapter are located on /WHL directory
VirtIO SCSI drier for Windows 2003

VirtIO SCSI drier for Windows 2003

NOTE: mouse pointer doesn’t work, you have to be keyboard master in Windows :-). For keyboard hint – see section at the end of this post

Step #4 – Create disk image from existing VM

Log in to CVM over SSH and run image.crete command. Command clones existing virtual machine disk to image services.

<acropolis> image.create win2k3R2Sp2_boot clone_from_vmdisk=vm:Win2k3R2Sp2:ide.1 image_type=kDiskImage wait=true
win2k3R2Sp2_boot: complete
<acropolis> image.list
Image name                  Image UUID
Ubuntu 16.4 Desktop         c0e22756-9a89-49fe-87c6-6d183c352368
VMTurbo OperationManager    0ca5ee06-cc71-4e0b-b8f5-926fa2a769ef
Win2012R2                   3b6e16f3-3057-41d7-9809-17d1ad8dd8f6
Win2K3R2EntSP2              7204484b-a831-40c2-a72d-0dccd5cda07a
virtIO-0.1.117              f1915cc6-6d48-4008-89d0-5847d770254b
virtio-win-0.1-81           71e54211-cf57-40a7-85bb-b452b5072aaf
win2k3R2Sp2_boot            56b0f67e-77b9-4b57-a0b4-9af3bb17d5d5

Step #5 – Create new VM with boot disk on SCSI adapter.

2016-06-02_13h30_21

Power VM on and that’s it. Now you can open console and log in.

NOTE: as you’ve noticed, mouse pointer doesn’t work from AHV console. Here you can find very useful page with most (if not all) Windows commands.

The post Can I run Windows 2003 server on Nutanix AHV ? appeared first on VMwaremine - Artur Krzywdzinski | Nutanix.

Migrate Hyper-V Generation 2 VM to Nutanix AHV

$
0
0

Few weeks back Nutanix released new version of Acropolis Operating System (AOS) in version 4.6.1. There are several enhancements and new features worth to look closer at. For us, the most important is support for UEFI virtual machines. Which means, you can migrate Hyper-V generation 2 VM to Nutanix Acropolis.

Today’s post is about migrate Windows 2012R2 Generation 2 VM to Nutanix AHV.

Requirements:

  • Acropolis OS (AOS) 4.6.1 or newer
  • Acropolis HV (AHV – hypervisor) 20160217.2 or newer
  • connectivity between hyper-V hosts and Nutanix CVM
  • mounted container from AHV to Hyper-V
Acropolis storage mount to Hyper-V cluster

Acropolis storage mount to Hyper-V cluster

  • Nutanix Acropolis knowledge and Microsoft hyper-V knowledge 🙂
  • Installed Nutanix Application Mobility drivers – you can download it from portal.nutanix.com
  • Microsoft Sysytem Center Virtual Machine Manager 2012R2 (SCVMM) – optional

Step #1 – Transfer virtual machine disks from legacy storage to Nutanix Acropolis

If you have SCVMM, add Acropolis container to Hyper-V cluster as new file share storage and use build in migration feature to move disks.

Migrate storage to Nutanix AHV

Migrate storage to Nutanix AHV

Step #2 – power virtual machine off and convert VHDX disk to RAW

Shutdown virtual machine. Once done, ssh to Nutanix CVM and run qemu-img withparameters to convert from VHDX disk format to RAW format supported by Nutanix Acropolis.

nutanix@NTNX-15SM65300246-A-CVM:~$ qemu-img convert -f vhdx -O raw nfs://127.0.0.1/transfer/Win2k12R2Gen2HV/Win2k12R2Gen2HV_disk_1.vhdx nfs://127.0.0.1/transfer/Win2k12R2Gen2HV/Win2k12R2Gen2HV_disk_1.raw
nutanix@NTNX-15SM65300246-A-CVM:~$

Step #3 – Create VM and set uefi_boot=true

Create VM from PrismUI with no disk, add only network adapter. From acli, run command vm.update Win2k12R2Gen2HV uefi_boot=true

<acropolis> vm.list
VM name                      VM UUID
Win2k12R2-TMP                2fd7059b-83da-4c8e-aae8-c475ce337e0a
Win2k12R2Gen2HV              ca0ad416-1947-4d87-9d07-30345b5d2a8f
Win2k12R2HV                  d2721b61-ad82-47e8-b00f-a92465f50671
Win2k16TP4                   0258ba04-51eb-438d-a9fe-2e7cb90e7f06
Win2k2Sp2VMW                 fa81c474-ea09-4313-9295-7d2786bbbdd7
Win2k3R2Sp2                  ca425297-3c0f-43ef-acfc-3e795ad4b72a
Win2k3R2Sp2SCSI              9586c0b4-d82d-4c5e-8c63-a98193713386
<acropolis> vm.update Win2k12R2Gen2HV
annotation= Annotation string
cbr_not_capable_reason= If set, marks the VM incapable of CBR workflows
ha_priority= Numeric priority for HA restart. Negative value indicates no restart.
hwclock_timezone= Hardware clock timezone
memory= Memory size
name= VM name
num_cores_per_vcpu= Number of cores per vCPU
num_vcpus= Number of vCPUs
uefi_boot= UEFI boot
vga_console= VGA console device
<acropolis> vm.update Win2k12R2Gen2HV uefi_boot=true
Win2k12R2Gen2HV: complete
<acropolis>

Step #4 – add RAW disk to VM.

From PrismUI update VM by adding new disk from ADSF file, on SCSI BUS.

Add RAW disk to VM

Add RAW disk to VM

Power VM on and that’s it. Hyper-V Generation 2 VM has been successfully migrated to Nutanix AHV.

VIDEO

 

The post Migrate Hyper-V Generation 2 VM to Nutanix AHV appeared first on VMwaremine - Artur Krzywdzinski | Nutanix.

Migrate Windows Server 2003 to Nutanix AHV

$
0
0

Migrate Windows Server 2003 to Nutanix AHV from VMware vSphere esxi.

Today’s migration topic is migrate Windows Server 2003 R2 to Nutanix AHV from VMware vSphere ESXi to Nutanix AHV.

NOTE: Windows 2003 (any version) server is not on the list of supported Guest Operating Systems. To get latest list of supported Guest OS, log in to portal.nutanix.com

Requirements:

  • AOS 4.6.1 or newer
  • AHV 20160217.2 or newer
  • network connection between legacy VMware vSphere and Nutanix Acropolis
  • mounted container from Nutanix Acropolis on legacy VMware ESXi farm
  • basic knowledge about Nutanix Acropolis and VMware vSphere
  • Images with VirtIO drivers in two versions:
    • lastest – for virtIO NetowrkAdapter – you can download it from Fedora project
    • 0.0-1.100  for SCSI and PCI Baloon device
  • VM local administrator password

Step #1 – Storage migrate virtual machine VMDK files to Nutanix container

Step #2 – Install  MergeIDE.bat

MergeIDE.bat. This is a really important step that will prepare the system to boot using an IDE driver when we bring it up in KVM. Skipping this step will likely result in blue screen errors and much frustration.

MergeIDE can be downloaded at:
http://www.virtualbox.org/attachment/wiki/Migrate_Windows/MergeIDE.zip

NOTE: restart VM after installation.

Step #3 – Create image from -flat.vmdk  file

From acli, run image.create command to create disk image from -flat.vmdk file

<acropolis> image.create win2k3r2vmw source_url=nfs://127.0.0.1/default-container-32395/Win2k3R2VMW/Win2k3R2VMW-flat.vmdk wait=true image_type=kDiskImage container=GSO-MGT-NFS01
win2k3r2vmw: complete
<acropolis>

List images, as you can see image is available on the list.

<acropolis> image.list
Image name                  Image UUID
virtIO-0.1.117              f1915cc6-6d48-4008-89d0-5847d770254b
virtio-win-0.1-81           71e54211-cf57-40a7-85bb-b452b5072aaf
win2k3r2vmw                 88d6495a-9797-40ec-b968-0f048814f9b1
<acropolis>

Step #4 – Create  new VM

Create new VM from Prism Element and make sure you VM boot disk is on IDE BUS and use image created in Step #3. Mount ISO with latest VirtIO drivers to CDROM and attach network card.

Take VM snapshot and Power VM on.

Step #5 – install drivers

From VM console, NOTE: mouse doesn’t work, install drivers in following order:

  1. virtIO network adapter – from latest virtIO ISO drivers
  2. PCI Ballon driver – from latest virtIO ISO drivers
  3. SCSI PassThrough – from 0.1.100 VirtIO ISO drivers

Reboot VM

Step #6 -change boot disk bus to SCSI

Shutdown VM first. Clone the IDE hard disks as SCSI hard disks now that the VirtIO SCSI drivers are installed in the Windows OS. The “vmdisk_uuid” of the IDE hard disk must be known to perform the cloning. To get the vmdisk_uuid run the following command. Detailed disk information is listed for each disk attached to the VM.

From acli run vm.get command to get details and find boot disk vmdisk_uuid

<acropolis> vm.get win2k3r2vmw
win2k3r2vmw {
  config {
    annotation: ""
    disk_list {
      addr {
        bus: "ide"
        index: 0
      }
      cdrom: True
      container_id: 8
      container_uuid: "e6c60f08-7111-43d5-a147-e69c2b6513e1"
      source_vmdisk_uuid: "65a9b560-1ce1-4275-9bad-086dbdd5f907"
      vmdisk_size: 74143744
      vmdisk_uuid: "50a6799c-e89d-48fc-8e97-037953d5452b"
    }
    disk_list {
      addr {
        bus: "ide"
        index: 1
      }
      container_id: 1984315
      container_uuid: "25fa0b0f-60af-4c97-8f37-9d0bc093e390"
      source_vmdisk_uuid: "18314179-47e4-4d73-b4ba-9f36ea6aef08"
      vmdisk_size: 21474836480
      vmdisk_uuid: "041d1b0d-41ba-4081-91a9-00edaa819580"
    }
    memory_mb: 2048
    name: "win2k3r2vmw"
    nic_list {
      mac_addr: "52:54:00:00:83:ab"
      network_name: "VLAN92"
      network_uuid: "8e06c992-7543-48f7-9380-51493b09317b"
    }
    num_cores_per_vcpu: 2
    num_vcpus: 1
  }
  host_name: "c04nodec.gso.lab"
  host_uuid: "90cb2376-04d5-45af-8d70-a9efc9e03378"
  logical_timestamp: 18
  state: "kOn"
  uuid: "7e79e6ff-2109-442a-a909-e80f50a1f94a"
}
<acropolis>

Note down vmdisk_uuid and run vm.disk_create command. By default new disk is created on SCSI bus and with source disk size.

<acropolis> vm.disk_create win2k3r2vmw clone_from_vmdisk=041d1b0d-41ba-4081-91a9-00edaa819580
DiskCreate: complete

Get VM details and check if new disk is in the configuration

<acropolis> vm.get win2k3r2vmw
win2k3r2vmw {
  config {
    annotation: ""
    disk_list {
      addr {
        bus: "ide"
        index: 0
      }
      cdrom: True
      container_id: 8
      container_uuid: "e6c60f08-7111-43d5-a147-e69c2b6513e1"
      source_vmdisk_uuid: "65a9b560-1ce1-4275-9bad-086dbdd5f907"
      vmdisk_size: 74143744
      vmdisk_uuid: "50a6799c-e89d-48fc-8e97-037953d5452b"
    }
    disk_list {
      addr {
        bus: "ide"
        index: 1
      }
      container_id: 1984315
      container_uuid: "25fa0b0f-60af-4c97-8f37-9d0bc093e390"
      source_vmdisk_uuid: "18314179-47e4-4d73-b4ba-9f36ea6aef08"
      vmdisk_size: 21474836480
      vmdisk_uuid: "041d1b0d-41ba-4081-91a9-00edaa819580"
    }
    disk_list {
      addr {
        bus: "scsi"
        index: 0
      }
      container_id: 1984315
      container_uuid: "25fa0b0f-60af-4c97-8f37-9d0bc093e390"
      source_vmdisk_uuid: "041d1b0d-41ba-4081-91a9-00edaa819580"
      vmdisk_size: 21474836480
      vmdisk_uuid: "a5fd494f-3036-44d9-a58b-e6c79c6218dd"
    }
    memory_mb: 2048
    name: "win2k3r2vmw"
    nic_list {
      mac_addr: "52:54:00:00:83:ab"
      network_name: "VLAN92"
      network_uuid: "8e06c992-7543-48f7-9380-51493b09317b"
    }
    num_cores_per_vcpu: 2
    num_vcpus: 1
  }
  host_name: "c04nodec.gso.lab"
  host_uuid: "90cb2376-04d5-45af-8d70-a9efc9e03378"
  logical_timestamp: 19
  state: "kOn"
  uuid: "7e79e6ff-2109-442a-a909-e80f50a1f94a"
}
<acropolis>

Step #6 – Remove IDE drive

Get VM details and check if new disk is in the configuration. In my example, old boot disk is on ide.1 BUS.

<acropolis> vm.disk_list win2k3r2vmw
Device bus  Device index
ide         0
ide         1
scsi        0
<acropolis> vm.disk_delete win2k3r2vmw
ide.0 ide.1 scsi.0
<acropolis> vm.disk_delete win2k3r2vmw ide.1
Delete existing disk? (yes/no) yes
DiskDelete: complete
<acropolis> vm.disk_list win2k3r2vmw
Device bus Device index
ide 0
scsi 0
<acropolis>

Power VM on. DONE

After migration clean up VM from unnecessary software, like VMware tools, and verify hardware in device manager

Acropolis devices in guest VM

Acropolis devices in guest VM

 

The post Migrate Windows Server 2003 to Nutanix AHV appeared first on VMwaremine - Artur Krzywdzinski | Nutanix.

How to speed up Windows XP installation on Nutanix AHV


Remove Hyper-V host from Nutanix cluster

How to mount Nutanix AHV container on Hyper-V hosts

Migrate Windows XP from VMware vSphere to Nutanix Acropolis

Install Windows 2000 Advance Server on Nutanix Acropolis

Change database server for SCVMM

Nutanix SCOM management pack 2.0 ready for download

Evaluation copy of System Center Virtual Machine Manager has expired


How to register Nutanix Cluster in Microsoft System Center Virtual Machine Manager

Missing driver on Windows 2016

$
0
0

For those using Windows Server 2016 on Nutanix AHV, the device manager shows a non-functioning device called “HID Button over Interrupt Driver”. This is apparently an issue with Windows (details in this thread: https://bugzilla.redhat.com/show_bug.cgi?id=1377155)....

The post Missing driver on Windows 2016 appeared first on VMwaremine - Artur Krzywdzinski.

Deploy Windows 2019 server on Nutanix AHV

Migrate Windows 2003 to Nutanix AHV

Migrating from Windows 10 to Linux Ubuntu

Viewing all 55 articles
Browse latest View live