Managing XenServer with System Center Virtual Machine Manager (SCVMM) 2012
Update: Just discovered it was released in German on Michel form MS blog and he worked with Thomas from Citrix on the English one which has then published on his blog. So we can say this is a result form MS and Citrix geeks partnership http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif?m=1302980580g
German Source: http://www.server-talk.eu/2011/06/14/citrix-xenserver-fabric-management-in-system-center-virtual-machine-manager-2012/
English Source: http://blogs.citrix.com/2011/06/16/managing-xenserver-with-system-center-virtual-machine-manager-scvmm-2012/
In many of today data centers you will commonly find hypervisors from multiple vendors used in parallel because of various reasons. Typical candidates are the hypervisors from VMware, Microsoft or Citrix and -in rare cases- Red Hat (KVM).
The challenge with these kinds of heterogeneous environments is the management (i.e. operational procedures, maintenance, support). To allow efficient processes it is necessary to leverage a management platform that is common across the various technologies. With the upcoming new 2012 version of Microsoft’s System Center Virtual Machine Manager, SCVMM will be able to manage hypervisors from other vendors as well. As Microsoft and Citrix maintain close and longstanding relationship (see http://www.v-alliance.com/ for further information) Citrix XenServer is one of the platforms that can be managed by SCVMM.
The intention of this blog, which is a joint effort between Michel Lüscher (Consultant Datacenter – Windows Server and Virtualization) from Microsoft Consulting in Switzerland and myself, is to give you an initial idea about what’s coming in the near future. (The German version of this article can be found here)
Important: Please note that this article refers to the public beta of System Center Virtual Machine Manager 2012 and the XenServer Supplemental Pack only. The RTM (Release to Manufacturing) version might have a different features and functionalities!
SCVMM management functionalities
SCVMM will be able to perform the following tasks on XenServer hosts.
- VM Deployment
- VM Template and Services Deployment
- Intelligent Placement (Host Rating)
- Support for PV and HVM Virtual Machines
- VMM Templates (not XenServer Templates)
- VM Migration
- XenMotion (within the attached Resource Pool)
- LAN Migration between XenServer and the VMM Library
- No V2V (use P2V instead)
- Host Management
- Dynamic Optimization
- Power Optimization
- Maintenance Mode
- Storage
- Support for all kinds of XenServer Repositories
- Network
- OOB Integration
- Support for logical networks
Requirements
SCVMM 2012 will support the following versions of XenServer:
- Citrix XenServer 6.0
- Citrix XenServer 6.0.2
Microsoft is committed to constantly work on the XenServer support side, to ensure post-6.0 releases of XenServer can be managed by SCVMM shortly after their public appearance. Based on the close partnership Citrix supports this effort by providing the Microsoft engineering teams with early releases of XenServer as soon as they become available.
Citrix XenServer Supplemental Pack
To allow Microsoft System Center Virtual Machine Manager managing a XenServer or XenServer Resource Pool, it is necessary to install the “SCVMM Integration Suite Supplemental Pack” within the Dom0 of the respective XenServer(s). Please note that the provided supplemental pack is compatible with XenServer 6.0 or higher only.
The installation of the supplemental pack can to be done using two different ways. The more complex way (which is required for existing XenServers) is leveraging the XenServer CLI and requires root permissions.
1. Download and mount the installation ISO:
# mkdir /tmp/scvmm
# cd /tmp
# wget http://downloadns.citrix.com.edgesuite.net/akdlm/5622/scvmm-beta-integration.iso
# mount -o loop /tmp/scvmm-beta-integration.iso /tmp/scvmm
2. Install the components:
# cd /tmp/scvmm
# cd xs#xenserver-integration-suite
# ./install.sh
# cd ../xs#xenserver-transfer-vm
# ./install.sh
# cd /
(click to enlarge)
http://cdn.ws.citrix.com/wp-content/uploads/2011/06/Install-300x225.png
3. Clean up.
# umount /tmp/scvmm
# rmdir /tmp/scvmm
# rm /tmp/ scvmm-beta-integration.iso
The easier way of installing the supplemental pack is during the initial XenServer setup. During the installation procedure the wizards asks if further supplemental packs should be installed. All you need to do is to insert the Supplemental Pack CD (or ISO) and follow the on-screen instructions.
1)
http://cdn.ws.citrix.com/wp-content/uploads/2011/06/SupPack_1-300x225.png
2)
http://cdn.ws.citrix.com/wp-content/uploads/2011/06/SupPack_2-300x225.png
3)
http://cdn.ws.citrix.com/wp-content/uploads/2011/06/SupPack_3-300x225.png
Integrating Citrix XenServer into SCVMM
After the installation completed successfully we need to switch to the SCVMM Admin Console for the final preparatory work. The first step is to create a “Run As Account” within the “Create Run As Account Wizard”, as shown on the screenshot below (Settings Workspace ⇒ Security ⇒ Create Run As Account (Ribbon)):
http://cdn.ws.citrix.com/wp-content/uploads/2011/06/runAs-300x223.png
The next step is to actually integrate the XenServer with SCVMM. This is done using the following wizard: “Fabric Workspace ⇒ Servers ⇒ Add Resources (Ribbon) ⇒ Citrix XenServer Hosts and Clusters”, as shown on the screenshot below:
http://cdn.ws.citrix.com/wp-content/uploads/2011/06/AddXS_1-300x223.png
http://cdn.ws.citrix.com/wp-content/uploads/2011/06/AddXS_2-300x223.png
Now the XenServer should be listed as a available resource within the “Fabric Workspace”, as shown below:
http://cdn.ws.citrix.com/wp-content/uploads/2011/06/AddXS_3-300x216.png
Troubleshooting
In case the integration of XenServer into SCVMM is not successful, check the following items:
- Is DNS functional and can all relevant servers be resolved?
- Is the XenServer Certificate valid and does it correspond with the computer name specified? (Click on “View Certificate” within the wizard)
- Can SCVMM connect to the XenServer? Run the following command on your SCVMM server to check (replace XenServer name, user name and password accordingly):
C:\ winrm enum http://schemas.citrix.com/wbem/wscim/1/cim-schema/2/Xen_HostComputerSystem -r:https://MyXenServer:5989 -encoding:utf-8 -a:basic -u:”root” -p:”MyPassword” -skipcacheck -skipcncheck
Further information
- Microsoft TechNet: Managing Citrix XenServer Overview
- Citrix CTX129390: XenServer 5.6 Service Pack 2 Release Notes
- Citrix: Helpful Resources for XenServer