Search This Blog

Loading...

Monday, February 2, 2015

Restore Azure Virtual Machine Configuration

It is time for us to look on how to restore Azure Virtual Machine Configuration. We assumed that you probably has accidentally delete the VM configuration however the virtual disk is still intact.

[Configuration]

Use Import-AzureVM cmdlet to restore and create backup VM Service Name and bind to existing virtual network. By default, Export-VM cmdlet does not export the configuration of the virtual network

Import-AzureVM –Path “E:\Testbackup01.xml” | New-AzureVM –ServiceName “TestBackup01” –VnetName “ms4uvnet-azure”

Condition for import to be successful:-

  • Cloud Services is still exist
  • Virtual Network is still exist

Error if import without vnet : “The virtual network ID cannot be null or empty”

image

[Result ]

Result after import

image

image

VM Configuration has successfully imported and VM will automatically power on. In our next round, we will check out on how to restore a virtual disk.

More information:-

Sunday, February 1, 2015

Backup Azure Virtual Machine Configuration

 

Previously we have configure blob snapshot to backup virtual disk on Azure. Blob Snapshot did not backup the VM configuration. To do so, we need to use Export-AzureVM cmdlet.

[ Configuration ]

Get azure vm list and identify your virtual machine service name and name.

Get-AzureVM

1

Backup VM Configuration file and store at your local computer either when VM in power off state or running state.

Export-AzureVM –ServiceName “VM Service Name” –Name “VM Name” –Path E:\vmname.xml

2

image

[XML result]

<?xml version="1.0" encoding="utf-8"?>
<PersistentVM xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ConfigurationSets>
    <ConfigurationSet xsi:type="NetworkConfigurationSet">
      <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
      <InputEndpoints>
        <InputEndpoint>
          <LocalPort>5986</LocalPort>
          <Name>PowerShell</Name>
          <Port>5986</Port>
          <Protocol>tcp</Protocol>
          <EnableDirectServerReturn>false</EnableDirectServerReturn>
          <IdleTimeoutInMinutes xsi:nil="true" />
        </InputEndpoint>
        <InputEndpoint>
          <LocalPort>3389</LocalPort>
          <Name>Remote Desktop</Name>
          <Port>64669</Port>
          <Protocol>tcp</Protocol>
          <EnableDirectServerReturn>false</EnableDirectServerReturn>
          <IdleTimeoutInMinutes xsi:nil="true" />
        </InputEndpoint>
      </InputEndpoints>
      <SubnetNames>
        <string>App</string>
      </SubnetNames>
      <PublicIPs />
      <NetworkInterfaces />
    </ConfigurationSet>
  </ConfigurationSets>
  <DataVirtualHardDisks />
  <OSVirtualHardDisk>
    <HostCaching>ReadWrite</HostCaching>
    <DiskLabel>disk_vmware-vm1_00_os.vhd</DiskLabel>
    <DiskName>disk_vmware-vm1_00_os.vhd</DiskName>
    <OS>Windows</OS>
    <IOType>Standard</IOType>
  </OSVirtualHardDisk>
  <RoleName>TestBackup01</RoleName>
  <RoleSize>Basic_A1</RoleSize>
  <RoleType>PersistentVMRole</RoleType>
  <NoExportPrivateKey>false</NoExportPrivateKey>
  <NoRDPEndpoint>false</NoRDPEndpoint>
  <NoSSHEndpoint>false</NoSSHEndpoint>
  <ProvisionGuestAgent>true</ProvisionGuestAgent>
  <ResourceExtensionReferences>
    <ResourceExtensionReference>
      <ReferenceName>BGInfo</ReferenceName>
      <Publisher>Microsoft.Compute</Publisher>
      <Name>BGInfo</Name>
      <Version>1.*</Version>
      <ResourceExtensionParameterValues />
      <State>Enable</State>
    </ResourceExtensionReference>
  </ResourceExtensionReferences>
</PersistentVM>

Do keep the XML file in safe location and may come handy when restoration. Stay tuned for our next post about virtual disk restoration and configuration file

More information:-

Tuesday, January 27, 2015

Webinar–Starwind Flavored Hyper-V Cluster, SQL Server Deployment Price Reduction with Starwind, How to Optimize Hyper-V Cluster and Double Performance

 

tap_room_29_jan_2015

StarWind-flavored Hyper-V Cluster and Single Malt Microsoft Technologies

Date: January 29, 11 am PT / 2 pm ET

Host: Anatoly Vilchinskiy, Head of Support Department, StarWind Software Inc.

SoFS is now the trending Microsoft shared storage technology. So is StarWind Virtual SAN™ of StarWind Software. Both are great, but which one suits you best?
Sit back, make yourself comfortable and discuss it with Anatoly Vilchinsky, Head of Support Department at StarWind Software. You will learn the best cases for implementation scenarios and will see the StarWind Virtual SAN live demo.

Hurry and book a table here!

3 Feb_Webinar_ image_ 600

Microsoft SQL server deployment price reduced thrice with StarWind Virtual SAN

Date: 3 February, 11 am PT / 2 pm ET

Speaker: Max Kolomyeytsev, Product Manager, StarWind Software Inc.

Join us to learn the new SQL clustering best practices before your existing SQL clustering knowledge becomes obsolete.

This webinar introduces some serious advantages over the traditional AlwaysOn AG approach:

- No SQL server enterprise licenses needed

- Dramatically simplified configuration

- No need for physical SAN or NAS storage

Register today!

10_Feb_Webinar_600

How to Optimize Microsoft Hyper-V Failover Cluster and Double Performance

February 10, 11am PT / 2pm ET

Speakers:  Alex Karavanov, Director of Sales Engineering, 5nine Software
Max Kolomyeytsev, Product Manager, StarWind Software

Join Alex Karavanov and Max Kolomyeytsev to learn how to:

- Achieve true Hyper-V cluster high availability with just 2 Hyper-V hosts and zero storage hardware

- Boost Hyper-V cluster performance by configuring automatic dynamic optimization

- Effectively track VMs resources usage

- Save an extra 30% of Hyper-V cluster resources by utilizing agentless antivirus

Register today!

Sunday, January 25, 2015

Migrate VmWare Virtual Machine to Microsoft Azure–Using Microsoft Virtual Machine Convertor

 

Hi reader, do you have an existing Vmware Virtual Machine and would like to move it to Azure?

If yes, please read further on how we use MVMC 3.0 to perform migration from Vmware to Microsoft Azure.

[Requirement on Vmware]

  • Vmware vSphere 5.5, 5.1 and 4.1
  • Vcenter 5.5,5.1 and 4.1

[ Supported guest operating system on Microsoft Azure]

  • Windows Server 2012 R2
  • Windows Server 2012
  • Windows Server 2008 R2
  • Ubuntu 12.04
  • Suse Linux Ent 11
  • Centos 5, 6
  • Debian 7
  • Oracle Linux 5, 6

[ Microsoft Azure]

Get an Azure subscription

  • identify Azure Subscription ID

migrate1

  • identify management certificate thumbprint. Make sure  MVMC machine has installed the management certificate and store in Personal Certificate folder. Use makecert to create a management certificate and upload to Azure.

Migrate2

[ Configuration ]

  • Select virtual machine conversion. It will convert Vmware to VHD first.
  • Migrate to Microsoft Azure after conversion complete

Migrate0

Migrate0a

  • Enter Azure subscription ID and certificate thumbprint
  • Select destination Azure Storage to store VHD

Migrate0b

Migrate3

  • Connect to Vmware Vcenter or ESX Host
  • Select Vmware VM
  • Select temporary storage to hold the virtual disk during conversion and click Finish to start the conversion before upload to Azure

Migrate4

Migrate5

Migrate6

Migrate7

Migrate8

Migrate9

[ End result]

We leave the system run overnight. On the next day, we found that the vmware has completed the conversion and uploaded to Azure. Virtual disk has successful transfer to Azure Storage. Our next step is create a VM by clicking on + NEW | Compute | Virtual Machine | From Gallery |

Migrate10

Select MY DISK | Select your virtual disk and create your VM on Microsoft Azure

Migrate11

That’s all for now. We have just completed using MVMC 3.0 to

Migrate VMware to Azure. Feel free to check out other capabilities of MVMC 3.0:

Saturday, January 24, 2015

Virtual to Virtual Machine Conversion (V2V)–Using Microsoft Virtual Machine Convertor 3.0

 

We move further by  P2V test to V2V (Vmware to Hyper-V Conversion) test. MVMC 3.0 support conversion of virtual machine from

  • Vmware vSphere 5.5, 5.1 and 4.1
  • Vcenter 5.5,5.1 and 4.1

Before conversion, make sure the guest operating system on VMware is running

  • Windows Server 2012 R2
  • Windows Server 2012
  • Windows Server 2008 R2 with SP1
  • Windows Vista (Ent)
  • Windows 7 (Ultimate, Professional, Ent)
  • Windows 8 (Pro, Ent)
  • Windows 8.1 (Pro, Ent)
  • Red Hat 5, 6
  • Ubuntu 12.04, 10.04
  • Suse Linux Ent 11
  • Centos 5, 6
  • Debian 7
  • Oracle Linux 5, 6

You can perform online or offline VM conversion. Just remember this following tips

  • perform online conversion – Uninstall Vmware before conversion
  • perform offline conversion – Uninstall Vmware tool after conversion

Let have a quick look on the screenshot:

  • Select V2V
  • Select Migrate to Hyper-V
  • Enter destination Hyper-V

1

2

3

  • Enter final path to store virtual disk, virtual disk type and format

4

  • Enter Vmware Vcenter or ESX Host

5

  • Select Vmware virtual machine that you would like to V2V
  • Enter the state of the VM after conversion
  • Enter a temporary location to hold virtual disk during conversion

6

7

8

9

10

That’sall for today. We will show how to migrate Vmware VM to Microsoft Azure in our next article. Stay Tuned.

Thursday, January 22, 2015

Webinar:- Solving Real-World Problems with SCOM Dashboards

clip_image001

Over the course of the last year, there has been increased focus on dashboarding solutions for System Center Operations Manager and there has been a wide variety of dashboards tailored to different use cases and end users.

Savision will host a webinar for the SCU NA Network which will focus on different dashboarding scenarios that we've seen in the real world. They will discuss how they can be leveraged to improve the efficiency and transparency of your IT organization.            
The webinar will be heavy on demonstrations and will include the debut of Savision's newest solution - an HTML5 dashboarding tool with an in-line, WYSIWYG authoring experience. No need to edit XML files, write PoweShell scripts, or dive into the data warehouse with SQL; simply point and click and see a live version of your dashboard be built before your eyes.

The webinar will take place on Thursday, January 29th at 10 AM CST. Sign up for the webinar: http://www2.savision.com/l/12082/2015-01-22/q8xst

Tuesday, January 20, 2015

Physical to Virtual Machine Conversion–Using Microsoft Virtual Machine Convertor 3.0

 

We just tested MVMC 3.0 (updated on 2 Dec 2014) to perform P2V for the following guest operating system:-

  • Windows Server 2008 R2
  • Windows Server 2012
  • Windows Server 2012 R2
  • Download MVMC 3.0 – Click here

    Make sure MVMC is installed on the host which has installed the following requirements:-

  • .Net Framework 3.5 and .Net 4 (if host running Win 2008 R2 SP1)
  • .Net framework 4.5 (if host running Win 2012 or Win 8)
  • Visual C++ Redistribution for Visual Studio 2012 Update 1. Download Update 4 from here
  • Install BITS feature. Make sure BIT-Compact Server. We forget to install Compact Server features, causing us to fail P2V a server. So remember, to drill into BIT and tick Compact Server features.
  • a Shared folder (refer to screenshot)
  • a Working Folder (refer to screenshot)
  • [ Configuration ]

    Select “Physical machine conversion”

    1

    Enter your source (physical server) details and authentication

    2

    MVMC will install an agent into the source machine

    3

    Once detected, the system will list down and allow you to select partition to convert to Hyper-V Virtual disk. You can select to convert all disk or selected disk. Here it also allow you to specify VHD type format: dynamic or fixed disk.

    4

    Enter new VM name and VM specification (CPU and Memory)

    5

    Next is enter your destination Hyper-V Server detail and credential to hold the virtual machine result.

    6

    Specify a temporary share folder to host the conversion data . Make sure you have sufficient hard disk space.

    7

    The end result will store in working folder

    8

    On the next page, you can define to connect to virtual switch or remain unconnected

    9

    Review the summary before begin the P2V process.

    10

    The end result, MVMC will convert to

    • VHD format
    • Size remain the same after conversion. Mean if your existing size is 1 TB and use space only 30GB, the end result will create 1 TB size. You still need to perform own shrinking to reduce the size.
    • Additional data disk will remain in offline state. You need to manually online the disk. The disk will located in SCSI controller.
    • Virtual disk will name according to drive letter. Example: C.vhd, D.vhd.

    Webinar–Build a Highly Available Hyper-V Cluster and Microsoft Clustered Storage Storage Spaces and Starwind Virtual SAN

     

    Tap_Room_Meeting

    Tap Room meeting: Build a highly available Hyper-V cluster with just 2 physical servers using Microsoft Clustered Storage Spaces

    22 January, 11 am ET / 4 pm GMT
    Host: Max Kolomyeytsev, Product Manager, StarWind Software Inc.

    Building a Hyper-V cluster may seem a lofty goal if you only have 2 physical servers and no storage hardware.
    Join Max Kolomyeytsev, StarWind Product Manager to learn how to configure Microsoft clustered storage spaces without dedicated storage hardware and how to then deploy a Hyper-V cluster using this storage. All with just 2 physical servers.

    Hurry to order a table here!

    Webinar_Banner

    Microsoft Clustered Storage Spaces and StarWind Virtual SAN: For a Complete Software-Defined Storage Solution

    Date: Wednesday, January 21, 2015 at 11:00 AM PT / 2:00 PM ET
    Speakers: Jon Toigo, Toigo Partners International LLC, Anatoly Vilchinskiy, StarWind Software Inc.

    Microsoft is enabling software-defined storage to work with its own hypervisor computing meme, building on its SMB 3.0 protocol and Storage Spaces technology. While the approach has its merits, building from the familiar to newer storage architectures, the resulting storage infrastructure is more of a scale out NAS than a Virtual SAN. With StarWind Virtual SAN technology, complimentary to Microsoft Hyper-V, a Virtual SAN may be implemented in a virtual Microsoft environment that delivers better resource utilization and greater overall cost efficiency.


    Join us for this discussion of the strengths and limitations of Microsoft Clustered Storage Spaces and how a Virtual SAN from StarWind Software can complement and improve on the infrastructure.

    Register today!