The Deployment Bunny

OS Deployment, Virtualization, Microsoft based Infrastructure…

  • Archives

  • Meta

TechDays Sweden 19-20/11 – Den nya generationens datacenter

Posted by Mikael Nystrom on October 16, 2014

(in Swedish)

Den 18 november, d.v.s. en dag INNAN TechDays öppnar portarna för årets Microsoft konferens I Sverige kommer jag och Markus Lassfolk att köra en hel dag kring frågan hur man bygger datacenter numera. Design kommer i huvudsak röra det som kallas converged och innehållet för dagen kommer att handla om

Hyper-V, design, best pratices, nätverk, VMQ, RSS, RDMA, CPU, Minne, IOPS, Storage Spaces, Scale-Out Files server, NVGRE networks, Gateway och mycket, mycket mer. Ska du bygga, håller du på att bygga, ska du kasta ut VMware och vill veta från oss som gör det på löpande band. Kom…

 

image

Posted in Session, TechDays | Tagged: , | Leave a Comment »

Nice to Know–Microsoft Virtual Machine Converter 3.0 released to web

Posted by Mikael Nystrom on October 13, 2014

image

Now with P2V, yes!

New Features in MVMC 3.0
The 3.0 release of MVMC adds the ability to convert a physical computer running Windows Server 2008 or above server operating systems or Windows Vista or above client operating systems to a virtual machine running on Hyper-V host.

Standard stuff is:

  • Converts virtual disks that are attached to a VMware virtual machine to virtual hard disks (VHDs) that can be uploaded to Microsoft Azure.
  • Provides native Windows PowerShell capability that enables scripting and integration into IT automation workflows.
    Note The command-line interface (CLI) in MVMC 1.0 has been replaced by Windows PowerShell in MVMC 2.0.
  • Supports conversion and provisioning of Linux-based guest operating systems from VMware hosts to Hyper-V hosts.
  • Supports conversion of offline virtual machines.
  • Supports the new virtual hard disk format (VHDX) when converting and provisioning in Hyper-V in Windows Server® 2012 R2 and Windows Server 2012.
  • Supports conversion of virtual machines from VMware vSphere 5.5, VMware vSphere 5.1, and VMware vSphere 4.1 hosts Hyper-V virtual machines.
  • Supports Windows Server® 2012 R2, Windows Server® 2012, and Windows® 8 as guest operating systems that you can select for conversion.
  • Converts and deploys virtual machines from VMware hosts to Hyper-V hosts on any of the following operating systems:
  • Windows Server® 2012 R2
  • Windows Server® 2012
  • Windows Server 2008 R2 SP1
  • Converts VMware virtual machines, virtual disks, and configurations for memory, virtual processor, and other virtual computing resources from the source to Hyper-V.
  • Adds virtual network interface cards (NICs) to the converted virtual machine on Hyper-V.
  • Supports conversion of virtual machines from VMware vSphere 5.5, VMware vSphere 5.0, and VMware vSphere 4.1 hosts to Hyper-V.
  • Has a wizard-driven GUI, which simplifies performing virtual machine conversions.
  • Uninstalls VMware Tools before online conversion (online only) to provide a clean way to migrate VMware-based virtual machines to Hyper-V.
    Important MVMC takes a snapshot of the virtual machine that you are converting before you uninstall VMware Tools, and then shuts down the source machine to preserve state during conversion. The virtual machine is restored to its previous state after the source disks that are attached to the virtual machine are successfully copied to the machine where the conversion process is run. At that point, the source machine in VMware can be turned on, if required.
    Important MVMC does not uninstall VMware Tools in an offline conversion. Instead, it disables VMware services, drivers, and programs only for Windows Server guest operating systems. For file conversions with Linux guest operating systems, VMware Tools are not disabled or uninstalled. We highly recommend that you manually uninstall VMware Tools when you convert an offline virtual machine.
  • Supports Windows Server and Linux guest operating system conversion. For more details, see the section “Supported Configurations for Virtual Machine Conversion” in this guide.
  • Includes Windows PowerShell capability for offline conversions of VMware-based virtual hard disks (VMDK) to a Hyper-V–based virtual hard disk file format (.vhd file).
    Note The offline disk conversion does not include driver fixes.

Posted in Hyper-V, SCVMM | Tagged: , | 1 Comment »

Nice to Know–Deploying Windows Server Technical Preview on HP Proliant Microserver Gen 8

Posted by Mikael Nystrom on October 11, 2014

I use the HP Microserver Gen 8’s at home, since they are quiet and act as a full-grown server with full iLO support, dual network adapters and then some. I can basically do all kinds of testing with new operating systems and system center management platforms without upsetting my family to much and that is very practical.

During the deployment of Windows Server Technical Preview everything worked as expected. After the installation I added the Hyper-V role to start testing to deploy VM’s. I booted up the MDT Boot image, selected the Task Sequence and the install was working great, but hey, the network performance???

According to ImageX it will take 45 minutes to lay down the image! That cannot be correct, there is something wrong here. That kind of slow performance over the network just have to be an issue.. and it is…

You need to update the network driver for the built-in network adapters in HP Proliant Microserver Gen 8.

The built in driver is a Broadcom Nextreme driver and that does not work correctly with Hyper-V

Download the HP Ethernet 1 GB 2-port 332i Adapter driver from HP and install that instead, the 45 minutes is now just 5 minutes…

image

image

Happy Deployment.
/mike

Posted in Drivers, HP, Hyper-V, Windows Server vNext | Tagged: , , , | 2 Comments »

PowerShell is King – vNext Hyper-V gets support for Network Device Naming

Posted by Mikael Nystrom on October 4, 2014

And that my friends is GREAT. Basically that means you can create a a VM Network Adapter in Hyper-V while the VM is running (also a new feature), give it a name and enable Device Naming on the VM Network Adapter and then inside the VM find the Network Adapter using PowerShell and configure it without using the Mac Address as the identification.

Create the Network Adapter:

  • Create the NIC while the VM is running (just for the fun of it) using PowerShell
    • Add-VMNetworkAdapter -VMName SRV101 -SwitchName UplinkSwitch -Name MikesNIC01 -Verbose
  • Enable Device Naming
    • Set-VMNetworkAdapter -VMName SRV101 -Name MikesNIC01 -DeviceNaming On -Verbose
  • Verify Device Naming using PowerShell, or Settings, or directly in the Hyper-V Manager
    • Get-VMNetworkAdapter -VMName SRV101 | Format-List Name, DeviceNaming

image

Log in to the VM:

Using PowerShell you can now get the network adapter name in the VM with the name gave network adapter in the parent partition.

  • Get-NetAdapterAdvancedProperty -Name * | Where-Object -FilterScript {$_.DisplayValue -LIKE “Mike*”}

You can also see this as properties in the Network Adapter.

image

Summary:

This gives us an easier way to automate the creation/configuration of VMs when it comes to handing over a task from the host to a VM when building solutions.

/mike

Posted in Hyper-V, PowerShell, Windows Server vNext | Tagged: , , | Leave a Comment »

Nice to Know about vNext – Windows Update will take care of Integration Services, no more vmguest.iso

Posted by Mikael Nystrom on October 3, 2014

For various reasons this has been a major “challenge”, and it seems that someone listen to the right other one.

image

Thank youi, thank you.

Need more news?

http://technet.microsoft.com/en-us/library/dn765471.aspx#BKMK_IS

/mike

Posted in Windows Server vNext | Tagged: | Leave a Comment »

Windows Server vNext – If you are in to Windows Server you should read this

Posted by Mikael Nystrom on September 30, 2014

Today Microsoft started to talk about Windows 10, but also the Server and System Center stuff. Want to know more?

image

/mike

Posted in System Center vNext, Windows Server vNext | Tagged: , | Leave a Comment »

Windows 10 – Get in the Windows Insider Program, and Get Windows 10

Posted by Mikael Nystrom on September 30, 2014

Today Microsoft start to talk about Windows 10, the next version of Windows and if you need to get your hands dirty you should read this:

image

/mike

Posted in Windows 10 | Tagged: | 2 Comments »

Building Next Gen Datacenter – The Pelicase Portable Datacenter

Posted by Mikael Nystrom on September 28, 2014

The cloud is great, but sometimes you really need to have a portable solution and here it is. I call it the Pelicase Datacenter (someone used that name in a twitter feed and I think its kind of cool.)

Before you dig in the list a couple of questions that pops up all the time:

Question: What about heat issues?

Answer: The only hot item is the LED lamp, the router is getting warm but the rest of the stuff keeps cool forever. I have been using the Pelicase for book writing the entire summer, the longest “uptime” is more then 40 hours. Just to get you some number:

After 8 hours of operation in a room with 25 degrees Celsius/77 Fahrenheit degrees .

  • The NUS’s is 30 degrees Celsius / 86 degrees Fahrenheit
  • The power supply is 41 degrees Celsius / 105.8 degrees Fahrenheit
  • The switch is 41 degrees Celsius / 105.8 degrees Fahrenheit
  • the router is 42 degrees Celsius / 107.6 degrees Fahrenheit

Question: What’s the price for all of it?

Answer: I have no idea and the reason is very simple. I have friends working on some of these companies.

The Pictures

WP_20140927_002
The complete setup with my Laptop on the right side and the Pelicase Datacenter on the left. They are connected using a 1GB network cable.

WP_20140927_001
A closer look at the Pelicase Datacenter.

WP_20140927_003
In the front you can see the LED USB light used to light up the keyboard that is in front of the case.

WP_20140927_004
The TINY Router, configured for routing using cable or 3/4G and support for Wireless access to the Datacenter.

WP_20140927_005
The 6 PSU’s need for the 6 Intel NUC’s.

WP_20140927_006
The GB Switch.

WP_20140927_007

The 6 Intel NUC’s, 5 of them is running Hyper-V and the last one is running Windows 8.1

The Shopping list

The Case:

image
http://www.pelicancases.com/1500-p/1500.htm

The Router/Wireless/Firewall:

image
http://www.dovado.com/en/products

The Screen:

image
http://www.gechic.com/product_help_en.asp?s=3

The Switch (current):

image
http://www.linksys.com/en-apac/products/switches/SE2800

The Switch (previous):

image
http://www.netgear.com/business/products/switches/unmanaged-plus/gigabit-plus-switch.aspx#tab-models

The USB LED Lamp:

image
http://www.ikea.com/se/sv/catalog/products/80243801/

The Intel NUC’s:

image
http://www.intel.com/content/www/us/en/nuc/nuc-kit-d54250wyk.html

Supported Memory:

image

Memory I use:

image
http://www.kingston.com/en/memory/search/Default.aspx?DeviceType=2&Mfr=INT&Line=D54250WYK&Model=85387&Description=Kingston_ValueRam_Memory_HyperX_Memory_for_Intel_D54250WYK_Next_Unit_of_Computing_(NUC)

Disk drives:

image
http://ark.intel.com/products/75331/Intel-SSD-530-Series-240GB-2_5in-SATA-6Gbs-20nm-MLC

The keyboard and mouse:

image
http://plexgear.com/

Software:

All NUC’s runs Windows Server 2012 R2 as Hyper-V hosts, but there is a whole lot more around the software and configuration, so this last part will be updated later this week(end)

Setup & Configuration:

TBA

/mike

Posted in LAB, Pelicase | Tagged: , , , , | 21 Comments »

Sample files and links from The Ultimate Event II roadshow

Posted by Mikael Nystrom on September 25, 2014

During the roadshow we have done a lot of demos and most of the demos are based of scripts (PowerShell mainly) and we promised make sure that all our attendees could download them, so here they are.

You will find the rest of the scripts here http://www.deploymentresearch.com/Research/tabid/62/EntryId/190/Sample-files-and-links-from-The-Ultimate-Event-II-roadshow.aspx

First Session: Getting data from SCVMM and Active Directory

#Get the number of VM’s
Get-SCVirtualMachine | Measure-Object

#Get all MACaddresses, group them and it is very easy to see if you have more then one nic with the same mac twice
Get-SCVirtualMachine | Select-Object -ExpandProperty VirtualNetworkAdapters | Group-Object MACAddress

#Get all the OS you are running and the amount of each version
Get-SCVirtualMachine | Group-Object OperatingSystem | Sort Count -Descending | Select Name, Count

#Get the number of unknown OS running in your fabric
Get-SCVirtualMachine | Where-Object { $_.OperatingSystem -like “Unknown” } | Group-Object Cloud | Select-Object Name, COunt

#Get all VM’s that are running on a snapshot, including the name and the date of the snapshot
Get-SCVirtualMachine | Select -ExpandProperty VMCheckpoints | Select VM, AddedTime

#Get the number of VM’s using a dynamic MacAddress
Get-SCVirtualMachine | Select -ExpandProperty VirtualNetworkAdapters | Where { $_.MACAddressType -eq “Dynamic” } | Measure-Object

#Get all the VM’s that are using a dynamic MacAddress
Get-SCVirtualMachine | Select -ExpandProperty VirtualNetworkAdapters | Where { $_.MACAddressType -eq “Dynamic” } | Select Name

#Get All Servers from OU,s and then get the nams and IP’s
$Servers = @(Get-ADComputer -Filter * -Properties ipv4Address, OperatingSystem -SearchBase “OU=Server,OU=Cloud,DC=cloud,DC=truesec,DC=com”)
$Servers += @(Get-ADComputer -Filter * -Properties ipv4Address, OperatingSystem -SearchBase “OU=Domain Controllers,DC=cloud,DC=truesec,DC=com”)

$Servers | Select-Object DNSHostName,ipv4Address | Out-GridView

Second Session: Ref Image and CustomSettings.ini

The sample files for customsettings.ini can be found here:

/mike

 

Posted in RoadShow | Tagged: | 2 Comments »

Nice to have–VB Script Wrapper for all VC++ installers to be used in MDT

Posted by Mikael Nystrom on September 25, 2014

During todays session at The Ultimate Event I did a demo of a VBscript Wrapper that install all VC++ runtimes. Mr “Someone” asked if it was published and I said yes, I was wrong so here it is.

The Script

The script will install all versions of VC++ on 32 and 64 bit machines as an application in a task sequence, that way you don’t need to have one application for each VC++ application.

Download the script from here http://1drv.ms/1wLOJ5E

The Task Sequence

After you have added the application in the MDT workbench, add the application to the Workbench like this:

image

The Application

When importing the application it should look like this:

image

The folder

The folder needs to have all the VC++ files organized in a folder structure that looks like this:

image

You can use the script in the following folder to download all files in the correct folder structure. Check this blog post:http://deploymentbunny.com/2014/08/05/powershell-is-king-download-all-vc-runtimes-using-a-script/

/mike

Posted in MDT | Tagged: | 4 Comments »

 
Follow

Get every new post delivered to your Inbox.

Join 4,036 other followers