Search This Blog

Monday, February 9, 2015

System Center Universe APAC 2015

 

SCU

System Center Universe APAC is back! Haven’t heard of the event? Here’s some sneak peak on what’s waiting for you:

TOP 10 reasons why you should attend:

  1. LIVE at Asia Pacific - Never before has Asia Pacific and Singapore seen such a great pool of speakers in ONE event. TOP Cloud, Azure, System Center and Hyper-V experts from all across the globe are here! YOU no longer have to travel to the other side of the world to meet them!
  2. Secret knowledge SHARED! - Speakers will be sharing their top secrets, best practices, tips & tricks with YOU! Priceless information that we may not be able to get even on the internet!
  3. and many more….

EXCLUSIVE RATE just for you!

  • US$190/ticket OR US$150/ticket for a group of 5 or more
  • Special rate with Capri – SGD230++ per night
  • Use this code: SCUBLOG [valid until 15 Feb 2015]

Register here and select Option 3: Registration with RSVP code

Monday, February 2, 2015

New Blog Sponsor:- ArCycle Software

 

Let welcome our new blog sponsor: ArCycle Software.

ArCycle, the virtualized storage disaster recovery solution company has just released version 3.1 of its vmBackup. vmBackup is a backup and replication solution for the leading virtualization platform –Microsoft Hyper-V and Vmware vSphere.. The product effectively implements disaster recovery scenarios as well as addresses data deduplication and remote replication business tasks. Interested to know more, please feel free to click below

240х200

Guess how much does it cost? The product is distributed Free of charge. There are no hidden costs. They allow any type of use, including commercial use. The distributed version has no function or time restrictions. The only thing ArCycle charges for is premium support.

Cannot Deploy Vmware VM From Imported VM Template–“The virtualization software on host does not support setting NumLock”–ID10638

 

We was trying to deploy a VM from VMM 2012 R2 to Vmware host. We have completed the integration to Vmware Vcenter and imported Vmware VM Template. However encountered below error message when deploy a VM

Product:-

  • VMM 2012 R2
  • Vmware Vcenter 4.1
  • Vmware ESX 4,1

Error message:-

The virtualization software on host does not support setting NumLock. Specify a host that is running Windows Hyper-V and then try the operation again

ID: 10638

VMM-Error1

Resolution:-

  • Update VMM 2012 R2 to Update Rollup 4. Click here

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:-