Trouble with Hyper-V, Virtual Machine manager and XenClient

So in my Hyper-V enviroment all of hosts are administered by Virtual Machine Manager. The other day I needed to deploy Citrix XenClient to a hyper-v host (Since its the only hypervisor that is supported for the syncronizer part)

Now by default when installing XenClient it sets up the TomCat service running on port 443. After the XenClient installation was complete and I didn’t think much about it for the next week or so.

image

After that I needed to deploy a new virtual machine from a template to the same host, and then I started getting some strange error messages on the job status in VMM

“A Hardware Management error has occured trying to contact server”

image

Now I could either change the ports used for BITS in VMM by following the instructions here –> http://support.microsoft.com/kb/2405062 or I could change the ports of the TomCat engine by following the setup her –> http://support.citrix.com/article/CTX134691

So in my case I changed VMM To use different ports for BITS (Since I have other products that might run on 443 on a Hyper-V server.

image

After I changed the port, VM deployment worked as it should again!

#hyper-v, #virtual-machine-manager, #xenclient

System Center 2012 tools and third-party extensions

This is something I’ve been meaning to write for some time, since I see new  tools and extensions added to System Center every day. Many of these extensions are powerful and free which many use in their day to day job. So therefore I decided to write down a list of those tools I know free or otherwise(cost money) for the System Center portofolia. This list shows the whole ecosystems around System Center and the possibilities it has!  Im guessing that many here might be new to someone. Hopefully some of these tools are of use to you Smilefjes

And if someone knows of an extension or tool that is not on the list please leave a comment and ill add it to the list ASAP.

Operations Manager

http://www.silect.com/mp-author MPAuthor, allows you to create custom management packs
http://bit.ly/1cRID8M Visio stensils Operations Manager
http://bit.ly/1nl43Fd XML Connector
http://bit.ly/1lXBBrx MPViewer (shows embedded resources in bundles (such as images or scripts), loads MPs asynchronously, and has the ability to Unseal and Unpack MP Bundles.)
http://bit.ly/OnrePp Override Explorer
http://bit.ly/1gaKMwk Override Creater
http://www.nice.de NICE management packs
http://bit.ly/1nOiLBx Maintance Mode tool
http://bit.ly/1i7tSTQ Microosft Management Packs Wiki
http://www.ozsoft-consulting.com/mp4sap/ SAP Management Packs
http://bit.ly/1i7tViA Management Packs for Veeam
http://bit.ly/Onrhe4 Management Pack for SolarWinds
http://bit.ly/1gqJ2A1 Infront Advanced Server Management PAck
http://bit.ly/1gqJ4aU Brocade Managemement Pack
http://dell.to/1kjzAmv Dell Management PAcks
http://bit.ly/1nOjDGm HP management packs
http://ibm.co/1fvSMN2 IBM management paks
http://bit.ly/1iex297 Managment Packs for Citrix
http://nt-ap.com/PuDSgs Management Packs for NetApp
http://communities.quest.com/community/management-extensions/scom Management Packs extensions from Quest
http://www.opslogix.com/products Management Packs from opslogix
https://devcentral.f5.com/mpack Management packs from F5
https://bridgeways.com/products Management packs from Bridgeway
https://aws.amazon.com/windows/system-center/ Management Pack for Amazon
http://bit.ly/1fUpCsl Visual studio authoring extensions
http://bit.ly/1nl4Beo Management Packs for A10
http://hypervmpe2012.codeplex.com/ Management Pack extensions for Hyper-V

 

Configuration Manager

http://www.dell.com/learn/us/en/04/solutions/dcsm-microsoft-system-center Dell Update tools
http://technet.microsoft.com/nb-no/windows/dn475741.aspx MDT 2013
http://www.nowmicro.com/rct/ Right-Click tools
http://bit.ly/1oNtLNX Configuration Manager support center
http://www.microsoft.com/en-us/download/details.aspx?id=36213 Configuration Manager tookit
http://sccmclictr.codeplex.com/ Client Center
http://blog.coretech.dk/kea/coretech-application-e-mail-approval-tool/ CoreTek Application e-mail approval tool
http://blog.coretech.dk/jgs/coretech-package-source-changer/ CoreTek package source changer
http://bit.ly/1i7tTqM Secunia Update manager
http://patchmypc.net/scup Enterprise Update Catalog
http://www.1e.com/it-efficiency/software/shopping-software-deployment/ 1E App store

 

Virtual Machine Manager

http://www.savision.com/products Savision Cloud Repoter
http://www.brocade.com/partnerships/technology-alliance-partners/partner-details/microsoft/microsoft-systems-center/index.page Brocade Load balancer extension
http://www.citrix.com/go/products/xenserver/microsoft-beta.html Citrix integration pack
http://bit.ly/1iCazW0 Cisco integration for Virtual Machine Manager
http://host-sflow.sourceforge.net/host-sflow-scvmm.php sFlow
https://msandbu.wordpress.com/2013/10/08/netscaler-10-1-and-system-center-virtual-machine-manager-provider/ Citrix Netscaler and Virtual Machine manager
http://devcentral.f5.com/LinkClick.aspx?link=http%3a%2f%2fdevcentral.f5.com%2fdownloads%2fplugins%2fF5LoadBalancerPowerShellSetup-214-x64.zip&tabid=73&mid=3221 F5 BIG-IP load balancer extension
http://h20195.www2.hp.com/V2/GetPDF.aspx%2F4AA4-8089ENW.pdf HP Storage add-on
http://www.microsoft.com/en-us/download/details.aspx?id=29309 Virtual Machine Manager component add-ons and exteions
   

 

Service Manager

http://www.provance.com/products/provance-it-asset-management-pack/overview Provate IT Asset Management
http://www.signatureconsultancy.com/scsm-dashboard.html Singature SCSM dashboard
http://gallery.technet.microsoft.com/SCSM-Console-Extensions-ff8a1026 Impacted buisness services
http://www.cireson.com/app-store/scsm-web-console/ Cireson extensions
http://www.microsoft.com/en-us/download/details.aspx?id=38791 Exchange connector 3.0
http://gallery.technet.microsoft.com/Service-Manager-SendEmail-8171ba70 Send Email
http://www.microsoft.com/en-us/download/details.aspx?id=36214 Service Manager authoring tool
http://go.microsoft.com/fwlink/p/?LinkID=232378 Sizing Tool Service Manager
http://www.scutils.com/products/knowledge-base Scutils

Orchestrator

http://www.kelverion.com/integration_packs/ip-citrix-xenddesktop/ Kelverion Integration Packs
http://blog.coretech.dk/jgs/scsm-sco-management-pack-transfer-tool-beta-2-freeware/ Orchestrator management pack transfer tool
http://www.microsoft.com/en-us/download/details.aspx?id=39622 Orchestrator add-ons and extensions
http://www.eupsco.com/ End-user portal orchestrator
http://smip.codeplex.com/ Social Media integration Pack Orchestrator
http://technet.microsoft.com/en-us/library/hh295851.aspx Microsoft Integration Packs
https://communities.cisco.com/docs/DOC-37155 Cisco UCS integration pack
http://windowtotheprivatecloud.com/using-esi-orchestrator-integration-pack-to-automate-the-creation-of-recoverpoint-protected-cluster-shared-volumes/ EMC integration pack
http://blogs.technet.com/b/privatecloud/archive/2013/10/02/automation-orchestrator-integration-pack-for-powershell-script-execution-version-1-2.aspx PowerShell execution Integration pack
https://scorch.codeplex.com/ Codeplex integration packs
http://www.cloudoscommunity.com/blogs/cid/3840 F5 integration pack
http://sccmclictropalis.codeplex.com/ SCCM client center Integration pack

 

Azure Pack

http://www.cloudcruiser.com/partners/microsoft/ CloudCruiser
   

#configuration-manager, #operations-manager, #system-center, #virtual-machine-manager

XenDesktop 7.1 TechPreview Service Template

Citrix released yesterday a tech preview of their Service Template for XenDesktop 7.1 for System Center Virtual Machine Manager.
This template allows for rapid and easy deployment of an entire XenDesktop 7 infrastructure, including setup of Director, License Server, Desktop Delivery Controller and Storefront.

It does not by default include Netscaler as part of the that template but that is something we can add to the “mix” later.
the Techpreview of the template can be downloaded from mycitrix here –> https://www.citrix.com/downloads/xendesktop/betas-and-tech-previews/system-center-service-template-tech-preview.html (This requires a valid mycitrix account) it has a template for XenDesktop and for PVS.

ill continue on with the XenDesktop template and show how it is deployed.
The template contains a bunch of PowerShell scripts, XenDesktop 7.1 ISO file and the template file itself, in order to fully setup the template it needs to VMM ISO file and a generalized 2012 VHD file.

After we have downloaded the template file open VMM –>
Then go into Library and Import Template –>

image

Then point to the extracted XenDesktop folder.
Then choose next, now we need to point the template to the different ISO files and generalized 2012 template.

image

After that is done and the mappings are correct we can contine on with the importing.

image

This will take some time since it needs to import the XenDesktop to the library. When we now go into Service Templates we can see XenDesktop listed as an option there. If we right click and choose “Open Designer” we can see how the layout will look like.

image

Now if we wanted to we could use the Netscaler integration as well to deploy multiple DCC and Storefronts and automatically setup a load balancing of these services as part of the deployment. Lets see how that can be done using the Service Template. (Note that this integration is still not support in 2012 R2) (UPDATED: IT WORKS) but for the purpose of demonstrating how it CAN be done ill show it anyways. So after we have installed the addon and created a VIP template for DCC and one for Storefront we can open the designer again.

Next we can connect the VIP profiles to the different components, one DCC VIP template for DCC and one for Storefront which has different load balancing mechanisms setup.

image

Now If I where to configure a deployment of this. I can configure the amount of each server I want in order to ensure scailability and redudancy.
When I start the deploy wizard I get a question to define what is my management network.

image

Here I can define what is the backend of the netscaler and what the VIP addres of the load balancing solution is going to be.

image

But since the integration between Netscaler and VMM is not functioning in R2 ill need to get back on that in a later post (UPDATE IT WORKS). But if I go into one of the servers I can see the application scripts that are run in order to setup a functional site.

image

If I for instance have ComTrade installed on Operations Manager in order to have monitoring of my Citrix enviroment I can add this as a Application Configuration in the last step to have a complete, XenDesktop 7 setup with load balanced Netscaler solution and have complete monitoring using Operations Manager.

This is the power of Citrix and Microsoft!

#citrix, #netscaler, #system-center, #virtual-machine-manager, #xendesktop

Creating a virtual network for Virtual Machine Manager

This is going to be a long one, and I want it done properly! Smilefjes Since I have seen multiple blogs containing the same recipe over and over again on how to setup networking within Virtual Machine Manager I have yet to see a blog post that actually describes and shows how it all links together, yeah everyone can create a network within VMM and describe how to do it but to show the “big picture” is something else.

So the things I am going to go trough.
1: Logical Networks
2: VM Networks
3: Port profiles and Port Classifications (Uplinks and how to attach VLANs to a host)
4: Logical Switch and NIC Teaming
5: The Big Picture how it is all linked together.
 
Lets start with the first things first, the Logical Network.
Logical Network is a container. When you create a logical Network you need to create Network Sites within it. Network Sites might be different locations or depending on the site of your company different networks.

For instance I can create a Logical Network called Sandbu, within it I have 3 sites, which will be for my different networks. Within these sites I need to attach all my VLANs which I need on my virtulization hosts.
Important to note that I do not attach a logical network to something, but  I attach my network sites to a host group or multiple host group.  I can also create an IP-pool from each VLAN I associate with each of the Network Sites. In my case I only needed an IP-pool for where my Virtual Machines are going to be placed, the rest will be using DHCP. The IP-pool is associated with a VLAN, so when I want to provision my VMs I can use from the IP-pool which the VMM maintains or I can use DHCP. The overview will look like this.

image

So what actually happens to the hyper-v hosts when I attach a network site to the host groups ? Not much actually, the hosts get the site “linked” to them, so when I go to Hardware of the host and look on the Network Adapters I can see that my newly created network site appears under.
image

This is because I linked the network site to the host group this host resides in.
What happens if I associate a logical network with the sites to this host ?
Not much, it limits the host to the use of these VLANs if I for instance wanted to create a network switch.

image

Ill leave it at that at the moment.
Now we have created a logical network, attached network sites added VLANs and created a IP-pool of adresses. Next we need to create VM Networks.
VM Network are virtual network which are networks useable for virtual machines or virtual nic who are part of a NIC team.

Since our network sites are VM traffic, Storage and management which will all go trough the a virtual NIC and trough a switch we need to create VM Networks for them.
After we have created the VM networks for each VLAN.

So in my case I need to create three networks, one for virtual machines, one for management and one for storage. Important to note that VM networks are associated with a VLAN within a network site. Here I can now create a vm network for my virtual machines from the network site I created earlier with an IP-pool.

image

Now since the VM networks are linked to the Logical Networks, and the Logical Networks are linked to the Host groups the hosts will have them as well. We can see this when we try to edit the network settings of a virtual machine on one of the hosts.

Now since I have three VM networks I can choose from each of them.

image

I have three VM networks to choose from in my case. I can also create a hardware profile which uses the VM network by default so I dont have to change network settings each time.

Now the next parts are port profiles and port classifications.
Port Classifications
are just to describe a virtual port profile (even thou you can not link it directly, you can only link it when you create a logical switch)
So when we create a port classifications this is all we do

image

Note there are alot of predefined port classifications here as well.
Next is the port profiles.
There are two types of port profiles. One is an Uplink Port Profile (Which is actually a profile for how to setup NIC teaming)  Here we select what kind of NIC teaming we want.
image

Uplink Port Profiles are also linked to a Network Site. If we want the three network sites trunked via the Uplink Port (NIC teaming) we need to add all sites.

And the other port profile is virtual network adapter port profile (Here we can define offload settings and what type of security settings and bandwitdth settings). Note that a virtual network adapter port profile is not linked to a network site or a logical network.
After we have created the uplink port profiles and the virtual network adapter port profiles we have to create a last magical component which is a Logical Switch.

A Logical Switch is just a template actually. Its based upon the extensible switch which comes with 2012 and includes the uplink port profile, and virtual port adapter profile and what extensions that is going to be included.

And there we link the port classification to the virtual network port profiles. So when we create the logical switch it bind (Different Port Profiles, Extensions) and adds the template to a switch.

And since the uplink port profile is linked to the host group we can now create a logical switch on a host group. So to be able to create a logical switch on a host we need to make sure that the logical network and network sites are assosiated with the host.

So after the switch is created we can add it to a host.
image

After we have created the logical switch we can then add virtual network adapters for the different services, then the virtual network adapter can be added to a VM network and added a port classification.

image

Note that these virtual network adapters are not the ones that can be created by using NIC teaming manager (These network adapters can only be created via powershell or via SCVMM)
So now when I check my virtual machines on this host I can move them to the newly created switch and choose Subnet.

image

So the big picture. (This took some time to create via Visio)
Logical Overview

image

Physical Overview

image

Done for to now, hopefully this post made sense for some! Smilefjes

#scvmm-2012, #system-center, #virtual-machine-manager

System Center requirements

Just thought I post a quick post about system requirements regarding the System Center products, this is because im setting up a new lab enviroment with the 2012 edition of System center. And ill try to blog about installation and setup of these systems and how the integrate to each other. This post is most for myself so I can remember the requirements for each product. This new test lab will be running on a Windows 8 Hyper-v cluster.

  • SCOM ( System Center Operations Manager )
  • SCCM ( System Center Configuration Manager )
  • SCVMM ( System Center Virtual Machine Manager )
  • SCSM ( System Center Service Manager )
  • SCDPM ( System Center Data Protection Manager )
  • System Center Orchestrator
  • System Center App controller

SCOM 2012

Management Server

  • Server Operating System: must be Windows Server 2008 R2 SP1.
  • Windows PowerShell version: Windows PowerShell version 2.0.
  • Windows Remote Management: Windows Remote Management must be enabled for the management server.
  • Microsoft Core XML Services (MSXML) version: Microsoft Core XML Services 6.0 is required for the management server.
  • Both .NET Framework 3.5 Service Pack 1 (SP1) and .NET Framework 4 are required. For more information, see the following documents:

Operations Console

Web Console

  • Web browsers: Internet Explorer 7, Internet Explorer 8, Internet Explorer 9
  • Internet Information Services (IIS) 7.5 and later versions, with the IIS Management Console and the following role services installed
    • Static Content
    • Default Document
    • Directory Browsing
    • HTTP Errors
    • HTTP Logging
    • Request Monitor
    • Request Filtering
    • Static Content Compression
    • Web Server (IIS) Support
    • IIS 6 Metabase Compatibility
    • ASP.NET
    • Windows Authentication

Operational Database (This also applies to the Data warehouse database)

 SCCM 2012
 Most of these roles require .Net 3.5 SP1 and .Net 4.0
Site Server 
  • Remote Differential Compression
  • .Net 4.0
  • .Net 3.51 SP1
Application Catalog Web Service Point 
  • HTTP Activation
  • Non-HTTP Activation
  • ASP.NET
  • IIS 6 Metabase Compatibility
Application Catalog Web Site Point 
  • Common HTTP Features:
    • Static Content
    • Default Document
  • Application Development:
    • ASP.NET (and automatically selected options)
  • Security:
    • Windows Authentication
  • IIS 6 Management Compatibility:
    • IIS 6 Metabase Compatibility
Distribution point
  • Application Development:
    • ISAPI Extensions
  • Security:
    • Windows Authentication
  • IIS 6 Management Compatibility:
    • IIS 6 Metabase Compatibility
    • IIS 6 WMI Compatibility
  • Common HTTP Features:
    • HTTP Redirection
  • IIS Management Scripts and Tools
    • Remote Differential Compression
    • BITS Server Extensions (and automatically selected options), or Background Intelligent Transfer Services (BITS) (and automatically selected options)
    • Incase of deployment you also need Windows Deployments Services
Management point
  • BITS
    • Application Development:
      • ISAPI Extensions
    • Security:
      • Windows Authentication
    • IIS 6 Management Compatibility:
      • IIS 6 Metabase Compatibility
      • IIS 6 WMI Compatibility
 Software update point
  • Requires Windows Server Update 3.0 SP2

Site database (have no idea but SCCM is a bit picky on which database version it supports)

  • SQL Server 2008 SP2 with Cumulative Update 9
  • SQL Server 2008 SP3 with Cumulative Update 4
  • SQL Server 2008 R2 with SP1 and Cumulative Update 4
  • The instance of SQL Server in use at each site must use the following collation: SQL_Latin1_General_CP1_CI_AS.

SCVMM 2012

VMM Database

  • SQL Server 2008 R2 SP1 or earlier
  • SQL Server 2008 SP2
VMM Management Server
  • Windows Automated Installation Kit (AIK) for Windows 7
  • At least Microsoft .NET Framework 3.5 Service Pack 1 (SP1)
VMM Self-Service Portal
  • .NET Extensibility
  • ASP.NET
  • Default Document
  • Directory Browsing
  • HTTP Errors
  • IIS 6 Metabase Compatibility
  • IIS 6 WMI Compatibility
  • ISAPI Extensions
  • ISAPI Filters
  • Request Filtering
  • Static Content
  • .Net 3.5
SCSM 2012
Service Manager Server 
  • Windows Server 2008 R2 with SP1
  • Microsoft .NET Framework 3.5 with SP1
  • ADO.NET Data Services Update for .NET Framework 3.5 SP1
  • Windows PowerShell 2.0
  • Microsoft Report Viewer Redistributable

Database Server

  • Windows Server 2008 R2 with SP1
  • 64-bit version of SQL Server 2008 with SP1, SP2 or version 2008 R2
  • SQL Server Reporting Services

Service Manager console

  • Windows Powershell 1.0 or higher
  • Microsoft Report Viewer Redistributable
  • Microsoft .NET Framework 3.5 with SP1
  • ADO.NET Data Services Update for .NET Framework 3.5 SP1

Self-Service Portal

  • IIS 7.5 with IIS 6 metabase compatibility installed
  • Self-signed SSL certificate
  • ASP.NET 2.0
  • Microsoft .NET Framework 4.0
  • Microsoft Analysis Management Objects
  • Microsoft SharePoint Foundation 2010
  • Or Microsoft SharePoint Server 2010
  • Or Microsoft SharePoint 2010 for Internet Sites Enterprise
  • Excel Services in SharePoint 2010 is required for hosting dashboards for advanced analytical reports

SCDPM 2012

  • Microsoft .NET Framework 3.5 with Service Pack 1 (SP1)
  • Microsoft Visual C++ 2008 Redistributable
  • Windows PowerShell 2.0
  • Windows Single Instance Store (SIS)
  • Microsoft Application Error Reporting
  • 64-bit version of SQL Server 2008 R2, Enterprise or Standard Edition.

SC Orchestrator 2012

  • Microsoft SQL Server 2008 R2
  • SQL_Latin1_General_CP1_CI_AS
  • Microsoft .NET Framework 3.5 Service Pack 1
  • Microsoft .NET Framework 4

SC App controller 2012

  • Microsoft .NET Framework 4
  • Static Content
    • Default Document
    • Directory Browsing
    • HTTP Errors
    • ASP.NET
    • .NET Extensibility
    • ISAPI Extensions
    • ISAPI Filters
    • HTTP Logging
    • Request Monitor
    • Tracing
    • Basic Authentication
    • Windows Authentication
    • Request Filtering
    • Static Content Compression
    • IIS Management Console
  • SQL Server 2008 R2 Datacenter
  • SQL Server 2008 R2 Enterprise
  • SQL Server 2008 R2 Standard
  • SQL Server 2008 Enterprise
  • SQL Server 2008 Standard

#hyper-v, #internet-information-services, #sccm, #scom, #scvmm, #system-center, #system-center-2012, #virtual-machine-manager, #windows-8