Search This Blog

Tuesday, June 28, 2011

Unable to Configure End User Recovery In DPM 2010

 

You will encountered some problem when try to configure end user recovery using DPM 2010 Administrator Console.

image

Error message:-

image

After Google around, manage to find the solution from Matthijs blog. His blog is teaching you to solve above issue by going to DPMADSchemaExtension.exe tool rather than DPM Console.

Note:- DO NOT RUN IN THE DPM SERVER !!!

If you run DPMADSchemaExtension.exe from the DPM server, you will end up the same error message as above.

Resolution:-

1. Go to Domain Controller Server

2. Map to Z:\ of the EUR location

image

3. Execute DPMADSchemaExtension.exe from the mapping drive.

Thanks to Matthijs and read more on his blog about the process of running DPMADSchemaExtension.exe.

Saturday, June 25, 2011

Private Cloud using VMM 2012

 

I’ve shared about Private Cloud using VMM 2008 R2 and SSP 2.0 either in events or discussion sharing. Now it’s time to move up one level by looking what’s VMM 2012 has offered in term of private cloud.

I will start by describing what’s Private Cloud for those who is still news with virtualization. A Private cloud is a cloud that is provisioned and managed on-premises by an organization. The cloud is deployed using an organization own hardware to take advantages of the cloud model. Using VMM 2012, an organization can manage the cloud definition, cloud assignment, access to cloud and the underlying physical resources.

Let look how’s VMM 2012 configuration on Private Cloud. Some picture is shown as thumbnail as i think it is not important or already available in current version. But you can still view it by clicking on it.

3 Simple steps:

  • Cloud Definition
  • Assignment to Cloud
  • Access to the Cloud

This is the ribbon available for private cloud:-

image

Cloud Definition

Compare to previous VMM 2008 R2 version, VMM 2012 has a another group special for Clouds and no longer using Hosts Group. Below is the sample of 2 Private Cloud which I've created. Each Cloud is dedicated according to hypervisor version .

image

In Cloud definition, you can assign resources based on host group, identify logical network, load balancer, Virtual IP, storage and Library which can use in the cloud.

imageimage

imageimage

imageimage

image

Next, You can define the Capacity Limit for this particular cloud.

image

Then Virtual Machine Capability Profiles based on hypervisor capacity. This can eliminate any mistake during virtual machine provisioning based on hypervisor platform.

image

User Assigment to Cloud

To control access to Private Cloud, you need to assign user to the cloud. During assignment of  Private Cloud, you can configure extra setting such as roles, members, cloud assignment, quota, templates resources and actions to the managed Virtual Machine in the Private Cloud.

imageimage

image

This is the scope that you define to access based on Cloud (which you’ve configured above) and additional cool features is receive PRO TIPS in Self Service Portal.

image

Then, quota assignment for the Private Cloud

image

imageimage

imageimage

Access to Private Cloud

To Access Private Cloud, it is still remain the same layout. Just key in the URL of the self service portal

image

image

image

Neat right. Once Cloud has defined you can look into next stage: Service Management. Check out Service Management using VMM 2012 in this link:_ http://www.ms4u.info/2011/04/deploy-services-via-vmm-2012-beta.html 

Friday, June 24, 2011

Unable to Connect Citrix VM via Console When Using VMM 2012

 

VMM 2012 Beta has released since few month ago. One of the cool features is the support on managing Citrix XenServer without Citrix XenCenter.

If you have add Citrix XenServer and try managing Virtual Machine running inside XenServer. You will be able to Power on , provisiong VM using template, Stop, etc.

However when you Connect via VMM 2012 Console and you received an error message

" Unable to download VNCControl.msi from (your Xenserver name)”

and unable to Connect via Console. Now here is the resolution to solve this issue.

Resolution

1. Configure DNS to resolve xenserver01

2. On VMM Server, use Internet Explorer to browse

http://xenserver01.ms4u.info/VNCControl.msi

XenServer name: xenserver01

Domain name : ms4u.info

The URL is case sensitive.

3. Install VNCControl.msi

4. Try Connect via Console from VMM 2012 Console. Xen Viewer will open the VM which running in XenServer.

image

Tuesday, June 14, 2011

Backup AzMan using DPM 2010

 

Not long ago, i had shared about “Azman” in this article : Offline Sharing- Understand AzMan In Hyper-V. Now the question is how do i backup AzMan ?

Easy way is navigate to the location where InitialStore.xml is residing and manual backup the file.

2

Another way is by using DPM 2010. Normally we overlook the setting and click Next all the way. Let me show you the place where the Initial Store is? This picture is taken from my previous article. Concentrate looking at below the “red box”.

1

Tick Initial Store will automatically backup AzMan configuration.

The initial store contains the security permissions for Hyper-V’s
Authorization Manager (azman). This is an xml file located in
%systemdrive%\ProgramData\Microsoft\Windows\Hyper-V\. You would only need to perform a restore if this xml file becomes corrupt or is deleted somehow.

Backing up virtual machines and the initial store are independent of each other. You only need to back up the initial store if you are using the Authorization Manager in Hyper-V and don’t want to lose your settings.

Sunday, June 12, 2011

Moving Virtual Machine Without Using Hyper-V Export/Import

 

Howdy ! Ever encounter a problem whereby your existing Hyper-V hardware has a problem and would like to move the VMs to another Hyper-V host. I’m not talking about Export/Import features on Hyper-V.

If you’re interested, keep reading on this article to see how i can achieve this scenario.

In normal hard way which everyone will do, you will probably

1. Export / Import – not a good options if hard disk size is limited and you need to present the VM to another Hyper-V Host in a quick way.

2. Copy and Paste VHD. Recreate VM configuration and assign back existing VHD. – not a good options as i need to key in the ip address on the VM and longer duration of copying/paste process.

3. Restore from DPM – good if total VM faulty but it will took very long process to restore. So far based on my experience is 1GB per minute. If you have 100GB fixed disk VM, will most likely took you 100 minute (just estimation).

4. Use Quick Storage Migration – not applicable as i need additional storage.

5. Use Live Migration – i’m not using Cluster Hyper V.

6. Use Migrate to move VM from 1 host to another – good but slow and i need HDD space/ present new LUN to new Host.

How about total failure but you have managed to copy the whole VM configuration, snapshot and VHD? We can’t use back the VM configuration as you did not export the VM.

Do i get your interest to read more….. (scroll down…)

Here is my real experience on how to achieve this scenario without using Export/Import.

1. Make sure the VM is stopped / Saved State.

2. Use Hyper-V Mover tool to detach the VM. This will remove hard link from Hyper V host. Example: LowVM Virtual Machine.

1

2

3. On Hyper-V manager snap-in, LowVM Virtual machine has detached and you no longer see it on the snap-in.

4. Reassign the LUN to another Hyper V Host.

Overview

5. Use Hyper-V Mover tool to attach the VM. The tool will detect new location by itself and add to new Hyper-V Host. Click on below picture to see the process of attaching.

3

6. Restart Hyper-V Virtual Machine Management services

4

7. On Hyper-V Manager snap-in, you will see the LowVM Virtual Machine has added to the new Hyper-V Host.

Quite easy and fast process (less than 1 minute).

Some thoughts on this tool :

  • A VM can only be detached if it is in the "Saved" or "Stopped" state.
  • It is not necessary to stop the Hyper-V service and all modifications are detected live by the service.
  • A VM can only be imported if it contains at least on HDD on the IDE 0 controller.
  • All the VM files must be under the same directory, HDD and snapshots.
  • All files that are modified are backed-up next to the original files; All other files are not modified nor moved.
  • .NET 3.5 must be installed.

It’s provided free by Microsoft CodePlex. To get it, please click here.

Note:- Use Hyper-V Mover on your own risk.

Thursday, June 9, 2011

Offline Sharing: Understand AzMan In Hyper-V

 

This month is my last month as MVP : Virtual Machine. A year has passed so far and i still remember when i was awarded as MVP : Virtual Machine on 1st July 2010 – 30th June 2011 (a year). Time to do countdown and waiting on 1st July 2011 to announce about my renewable MVP status.

Before my award end this month, here is my contribution to MVUG members or blog visitors. This is an offline sharing and no schedule webcast on this session. Time for me to take a break and spend few days left before 1st July 2011.

Recording demo will upload soon.

Lastly thank you on your support.

Best regards,

Lai Yoong Seng (MVP: Virtual Machine)

Monday, June 6, 2011

Convert XenServer VHD To Hyper V VHD

 

Previously Citrix has a tool called “Project Kensho ver 1.3” which is under experimental to convert Vmware or XenServer to Hyper V VHD. More information about this tool:- http://community.citrix.com/display/xs/Kensho.

However it no longer available to download from MyCitrix website.

Citrix has included this tool into Citrix XenServer 5.6 and you can use XenCenter to perform import and export appliance. Bear in mind, it is not a conversion tool and may not be 100% working.

Test scenario:-

a) Hyper V Host running Windows Server 2008 R2 with SP1

b) Citrix XenServer 5.6 SP2

c) XenCenter

d) In my simulation lab, i have converted Citrix Virtual Appliance (running Windows Server 2008 R2) & one virtual machine running in Citrix XenServer 5.6 SP2 (Windows Server 2008).

Here is how i perform this tasks:-

1. To use it, go to XenCenter console. Select Tools | Virtual Appliance Tools | Export Appliance

image

2. Give a name of the export appliance and set the destination

image

3. Select the VM

image

4. On EULA page, just click Next

image

5. On Security options, leave it default and click Finish.

image

6. On Ready to export Appliance, review the setting and click Finish to start exporting

image

7. The Export process will take a while.

image 

The final result is a VHD has exported. Copy the VHD to Hyper V Host, create a new VM configuration and assign HDD to the converted VHD.

Final step is start the VM, uninstall Citrix Tool for Virtual Machine and install Hyper V Integration Component. Once done, reboot the VM and you are set to go.

Note: This tool is still under experimental.

Sunday, June 5, 2011

VMM 2012 Library Enhancement

 

Recently my customer ask me a lot of question about VMM 2008 R2 capabilities. One of the most frequent question is why you should deploy VMM into the virtualization environment ?

Before i explain about the benefit of VMM, i respond by asking similar question “Why customer deploy VMware with Vcenter? Similar concept apply here. When we deploy virtualization, we need to have management software. VMM is a must for medium and large scale corporation in order to manage virtualization infrastructure. How about small scale ( 1 or 2 Hyper V host) ? If you have budget, then i strongly recommend that you deploy SCE.

Yes. You can use other tools such as Hyper V Manager or RSAT. But certain tasks require  VMM to be in placed , simplify more on best on virtualization management. One of the demo which I've shown to the customer is VM Template and VM Provision.

With Hyper V Manager snap in, i need to spend 30- 45 minutes to install operating system, configure computer name, change time zone, product key, join to domain and need to restart several times.

But with VMM, customer is impressed that i can setup the whole VM within 10-15 minutes. Not to mentioned, that the entire process is automated even on changing computer name, change time zone, product key, join to domain and restart the VM.

On VMM 2012, there is even more offering in term of VMM Library. Let quickly have a look on these new capabilities.

a) New ribbon available for VMM Library. Similar as Microsoft Office interface.

image

b) Export and Import Template. VM Template created on one VMM can export and import on another VMM Server.

image

image

You can secure the template by entering the password to encrypt the template settings.

c) Additional template. Previously in VMM 2008 R2,  only has VM Template. With VMM 2012, you will have additional Service Templates & Service Deployment Configuration. These template is useful when you want to provision VM as a service. I have discussion about it on this link.

image

c) More Profiles. Previously, VMM 2008 R2, only has hardware & guest OS profiles. In VMM 2012, you will have additional profiles such as Application, Capability, Guest OS, Hardware , Host and SQL Profiles.

image

In term of Guest OS profile, you can configure to install Server Roles and Features during VM Provision. This is one of the cool capability.

image

Application Profile and SQL Profile only available when template is running Windows Server 2003 OS or higher. Application profile allow you to define virtual application / web application which has created using Server App-V.

image

Meanwhile, SQL Profile allow you to define configuration of the SQL Server setup configuration. Both profiles only run when deploying as a services and will not deploy through standalone VM deployment.

image

Host Profile – allow you to specify the configuration to perform Bare Metal installation for Hyper V Host.

Lastly, Capability Profiles included with three (3) hypervisor platform setting. It is use during Cloud configuration.

image

Here is the setting on Hyper V platform. You may not remember the limit of each platform, therefore to avoid wrong configuration during Cloud, you will have predefined hardware limit according to hypervisor.

image

d) Resource Group. Allow to group similar resources into 1 group. Example:- You have deploy multiple VMM Library on different branches. Instead of guessing each resources, you can just just the resource group and VMM will use the nearest VMM Library. More info, click here.

e) Update Catalog & Baselines. This option applicable, when you have WSUS server to patch Hyper V and Virtualization infrastructure. More info, please click here.

Library refresh is still set to 1 hour. To reflect any new resources immediately, you need to manually refresh the VMM Library.

Check it out and you will soon realise VMM 2012 is a great product to use in order to manage your virtualization infrastructure.

Cheers,

“Virtual Lai”