Bloggarkiv

Netscaler masterclass presentation Oktober 2014

Today I presented on the Netscaler masterclass on the subject,  System Center and Netscaler and here is my presentation –> https://www.slideshare.net/secret/uSy62iG3eeoaFY

My talk consisted about using the different integrations between System Center and Netscaler, primarly on

* Virtual Machine Manager and Netscaler (Using the load balancer extention to deploy load balancing rules for service templates)
* Operations Manager and Netscaler (How to setup monitoring for Netscaler and use it together with Distributed Applications)
* Orchestrator and Netscaler (How to setup automation tasks against Netsacler using the NITRO SDK)

And as promised in the presentation here is my scripts that I use for the different tasks.

 

Add-Server activity (Note that this requires that the SDK is added to C:\SDK folder and that the different DLL files are added to the global assembly cache.

Set-location «c:\sdk»
[System.Reflection.Assembly]::Load(«System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a»)
$publish = New-Object System.EnterpriseServices.Internal.Publish
$publish.GacInstall(«C:\sdk\lib\Newtonsoft.Json.dll»)

(ADD THE DLL files to the global assembly for Orcehstrator to use for reference)

 

Add-Server

$path1 = Resolve-Path «C:\sdk\lib\Newtonsoft.Json.dll»
[System.Reflection.Assembly]::LoadFile($path1)
$path = Resolve-Path «C:\sdk\lib\nitro.dll»
[System.Reflection.Assembly]::LoadFile($path)

$user = «»
$pass = «»
$nsip = «»

(NOTE THAT THE CODE ABOVE NEEDS TO BE ADDED TO EACH ACTIVITY)

$nitrosession = new-object com.citrix.netscaler.nitro.service.nitro_service($nsip,”http”)
$session = $nitrosession.login($user,$pass)

$server1 = New-Object com.citrix.netscaler.nitro.resource.config.basic.server
$server1.name = «»
$server1.ipaddress = «»
$ret_value=[com.citrix.netscaler.nitro.resource.config.basic.server]::add($nitrosession,$server1)

Add-Service

$service1 = New-Object com.citrix.netscaler.nitro.resource.config.basic.service
$service1.name = «»
$service1.servicetype = «»
$service1.monitor_name_svc = «»
$service1.port= «»
$service1.servername= «»
$ret_value=[com.citrix.netscaler.nitro.resource.config.basic.service]::add($nitrosession,$service1)

Create Load balanced Service

$nitrosession = new-object com.citrix.netscaler.nitro.service.nitro_service($nsip,”http”)
$session = $nitrosession.login($user,$pass)

$lbvserver1 = New-Object com.citrix.netscaler.nitro.resource.config.lb.lbvserver
$lbvserver1.name=»»
$lbvserver1.servicetype=»»
$lbvserver1.port=»»
$lbvserver1.ipv46=»»
$lbvserver1.lbmethod=»»
$lbvserver1.servicename=»»
$ret_value=[com.citrix.netscaler.nitro.resource.config.lb.lbvserver]::add($nitrosession,$lbvserver1)

$lb_to_service = New-object com.citrix.netscaler.nitro.resource.config.lb.lbvserver_service_binding
$lb_to_service.name = «»
$lb_to_service.servicename = «»
$ret_value=[com.citrix.netscaler.nitro.resource.config.lb.lbvserver_service_binding]::add($nitrosession,$lb_to_vserver)

System Center Configuration Manager 2012 R2 CU3

Today Microsoft released CU3 version of ConfigMgr 2013 R2, and there are some minor bugfixes but there is also one important new change here!

That is the ability to define allowed Management Points for a client to communicate with,

This cumulative update introduces a new registry key on clients that will restrict which management point (MP) a client can communicate with. This can be useful in environments with multiple MP’s in different forests, and the clients are only able to communicate with a subset of them. Setting the registry value to only those MP’s reachable by the client can improve overall efficiency. The new registry value is AllowedMPs, a REG_MULTI_SZ (multi-string) type under HKEY_LOCAL_MACHINE\Software\Microsoft\CCM

Each entry is the Fully Qualified Domain Name of the management point(s) with which the client is allowed to communicate. This value does not affect the selection of any other site systems such as distribution points, software update points, etc.; it only affects the primary site MP selection. Note: Once defined, there is no “fallback” or other method for clients to communicate with other MP’s. It is not intended for mobile clients.”

From the KB  http://support.microsoft.com/kb/2994331

XenDesktop 7.5 and Windows Azure Pack Gallery Image

Yesterday Citrix announced a Tech Preview of a XenDesktop 7.5 Gallery image for Azure Pack.
For those so not familiar with Azure Pack, this is a portal which builds upon System Center (and some other tools) do deliver an Azure-like portal where you can setup some of the features like Azure does. I’ve blogged about it before if you want to know more about it here –> http://msandbu.wordpress.com/2013/06/28/azure-pack-configuration-for-windows-server-2012-r2/

Now a Gallery Image is where a end-user want to provision a new-service, he can either choose custom create of choose a finished Image from the gallery.
(A copy from the Azure Gallery)
image

Now imaging giving customers the ability to provision XenDestkop resources as they need it. Or just for the IT-guys to have a streamlined process of doing it. This is where the XenDesktop gallery image comes in.

Now what do we need to setup this image ?

* Windows Azure Pack
* Server 2012 R2 image sysprepped
* XenDesktop 7.5 Media
* The XenDesktop Gallery Image

Then we need to do alot of changes, first we need to create a new VHD which will contain the setup files. First go into disk management and create a new VHD (Which needs to be 4GB) which is called XenDesktop.vhd
image

image

After you created the VHD, mount it using Explorer and copy the content from the 7.5 ISO to the VHD file.
When you are done with this, go into the Virtual Machine Manager console, the into the library node and then click import physical resources.

image

Then choose “add resources”, select the XenDesktop.vhd then select which library server and destionation to store the VHD file. After it is finished importing right-click on it and choose properties. The set Famility to CitrixXenDesktopMedia, and then set the release to 7.5.0.0 and lastly set the operating system type to “none”

image

Then Click OK, after we are done with this we need to modify our operating system disk image. Does this need to be VHD ? YES! Azure Pack does not support VHDX. ) and it needs to be fixed)

Right-click on the sysprepped VHDX file and choose Properties, from there alter the Famility to which type of operating system it is running, in my case its
”Windows Server 2012 R2 Datacenter”

and set the release to 1.0.0.0 and then of course change the Operating System to Windows Server 2012 R2 Datacenter as well.

image

Click OK after you are done. Next we need to “tag” the virtual disks so that the gallery item can use to find the vhds.

Open up Virtual Machine Manager PowerShell console. Run the following command,

$myVhd = Get-SCVirtualHardDisk | where {$_.Name -match ‘sysprepped’} “Make sure that the name matches the name of your VHD file)

$tags = $myvhd.tag
$tags += «WindowsServer2012″
Set-scvirtualharddisk -virtualharddisk $myVHD -Tag $tags

$myVhd.Tag (This spits out the info so you can see that the tag is applied)

image

Now we need to import the Gallery image extention to the Library share, this can either be done by using the GUI or the PowerShell.

PowerShell

$libraryShare = Get-SCLibraryShare | Where-Object {$_.Name -eq ‘MSSCVMMLibrary’}
$resextpkg = «C:\Users\administrator.CONTOSO\Downloads\XenDesktopRole.resextpkg» (Here the path needs to be changed to where the resextpkg is located)
Import-CloudResourceExtension -ResourceExtensionPath $resextpkg -SharePath $libraryShare

image

Next we need to enter Azure Pack – admin site. Go into VM Clounds and Gallery and choose Import.

image

From here add the XenDesktopRole.resdefpkg, and verifies that it actually imports.

image

Next we need to make this item, public and add it do some different plans.
image

Go into the item and choose Make Public, then assign to some plans. If you don’t have any plans you need to create some from the plans menu pane within the Admin site.

So what now ? Open the Azure Pack site as and tenant which is enabled for the plan and choose from Gallery and see for yourself.

image

 

Then click next (From here the OS “sysprepped” image should appear and you need to have a virtual network in place before you can continue on here .

image

Next we can define which role this VM should have, and we can setup a XenDeskTop Controller but we still need to create the site after VM creation. But we can also deploy StoreFront, LicenseServer, Session Host and Desktop Director

image

Pretty cool!

Veeam Management pack for Hyper-V and Vmware walktrough

Yesterday, Veeam released their new management pack which for the first time includes support for both Vmware and Hyper-V. Now I have gotten a lot of questions regarding (Why have Hyper-V monitoring if Microsoft has it ?) well Veeam’s pack has alot more features included, such as capacity planning, heat maps and so on.

The management pack can be downloaded as an free trial from veeam’s website here –> http://www.veeam.com/system-center-management-pack-vmware-hyperv.html

Now as for the architecture of the functionality here it’s quite simple

image

First of there are two components.

* Veeam Virtualization Extesions (Service and UI) it manages connections to VMware systems and the Veeam Collector(s), controling licensing, load balancing, and high availability

* Veeam Collector component gathers data from VMware and injects its information into the Ops Agent.

It is possible to install all of these components on the management server itself. You can also install the collector service on other servers which have the Opsmgr agent installed. The virtualization extension service must be installed on the management server.

In my case I wanted to install this on the mangement server itself, since I have a small enviroment. Before I started the installation I needed to make sure that the management server was operating in proxy mode.

8

Next I started the installation on the management server. Now as with all of Veeams setup it can automatically configure all prerequisites and is pretty straight forward. (Note it will automatically import all required management packs into SCOM1

If you have a large enviroment it is recommended to split ut collectors into different hosts and create a resource pool (There is an online calculator which can help you find out how many collectors you need) http://www.veeam.com/support/mp_deployment.html

You can also define if collector roles should be automatically deployed

2

After the installation is complete (using the default ports) you will find the extensions shortcut on the desktop

4

By default this opens a website on the localhost (using port 4430) from here we need to enter the connection information to Vmware (Hyper-V hosts are discovered automatically when they have the agent installed) Same with Veeam Backup servers as well.

5

After you have entered the connection info you will also get a header saying the recommended number of collector hosts.

7

After this is finished setup you can open the OpsMgr console. From here there is one final task that is needed. Which is to Configure the Health Service, this can be dome from tasks under _All_active_Alerts under VMware monitoring pane.

image

After this is done you need to expect atleast 15 min before data is populated into your OpsMgr servers, depending on the load. You can also view the events logs on the Opsmgr servers to see that data is correctly imported.

image

and after a while, voila!

I can for instance view info about storage usage

image

 

Vm information

image

Now I could show grafs and statistics all day but one of the cool stuff in this release, is the cloud capacity planning reports.

image

They allow it to see for instance how many virtual machines I would need in Azure (and what type) to move them there.

image

Setup Management pack for SQL 2012 with Operations Manager

Now Microsoft recently released their new management pack for SQL Server, which included new dashboard views for SQL administrators. Now this is nice and it gives a clear overview of the current configuration and what’s happening at the time. Now it supports most the SQL versions, except 2014 (yet…)

Version

32-bit SQL Server on 32-bit OS

32-bit SQL Server on 64-bit OS

64-bit SQL Server on 64-bit OS

SQL Server 2005

Supported

Supported*

Supported (for SQL Server 2005 SP2 or later only)

SQL Server 2008

Supported

Supported*

Supported

SQL Server 2008 R2

Supported

Supported*

Supported

SQL Server 2012

Supported

Supported*

Supported

Another heads up! is that by default Microsoft recommends that you monitor no more then 50 databases (per agent) to avoid spikes in the CPU usage. And also not all features are discovered and monitored by default

image

So in order to get monitoring on these features we would neeed to create en override on the different objects. This can be done by going into Authoring –> Management Pack –> Objects –> Object Discovery –> Scope –> (Choose SQL objects) right-click on the feature which is not enabled and choose Override –> choose a class for which you want this overide to work for. Then create a new management pack and choose Enabled == True

 image

Now the installation is quite simple, head to this webpage and download the management packs –> http://www.microsoft.com/en-us/download/details.aspx?id=10631

Download and then go into the Operations Manager Console –> Administration –> Management Packs –> Import

(NOTE: it is also an best-practice to import the Windows Server management packs first in order to properly monitor aspects such as disk, processor, memory, network)

And after we have imported the management packs we get alot of tasks related to SQL in the dashboard

image

In order to use these we need to install the SQL management studio on the Operations Manager server. After you have imported the managmeent pack you also need to attach accounts to the SQL profiles in order to have the proper access to the SQL servers.

This post from Kevin Holman (which is a couple of years old, still explains in good detail how to configure the profiles and accounts –> http://blogs.technet.com/b/kevinholman/archive/2010/09/08/configuring-run-as-accounts-and-profiles-in-r2-a-sql-management-pack-example.aspx)

Now after you have properly configured the managment pack with permissions, its time to do some proper tuning. For instance by default, the mangement pack will not inform about database backups, which I find a bit disturbing since this is something I would really want to monitor.

In order to enable this monitor go into Monitoring pane –> Microsoft SQL Server –> SQL Server Database Engines –> Databases –> Databases view (Then choose a random SQL database) right-click choose open –> Health explorer (Click the filter monitors to remove showing of unhealth objects) Then under Database backup status it does not have any info.

image

Now right-click on that object and choose override –> choose enabled true and enter a date here where it should check how old the database is.

image

After you have then stored this in a mangement pack and choosen which object this rule should apply to, Operations Manager should start to report back with the status if you have taken backup or not.

I can see that after enabling the rule, the alarm appears.

image

Now there are of course loads of different monitors, which will cause overhead to the SQL server and the operations manager. Many monitors are by default added because Microsoft thinks its a good idea, but your database admin or yourself might not agree. Important to remember that Microsoft have to create a baseline which applies to most setups but if you don’t agree you can customize to your hearts desire! Smilefjes

So I live by a rule with Operations Manager, if you don’t need to monitor it. Disable it!
Last but not least a preview of the new dashboards which comes with the new management pack

image

Task sequences best practices Configuration Manager 2012

Microsoft has recently released a document series which contain best practices for task sequences with Configuration Manager 2012 R2. This series goes trough a step-by-step in all the different steps in a task sequence.

For all IT-pros working with task sequences I suggest taking a look at the document series here –> http://www.microsoft.com/en-us/download/details.aspx?id=43412

In other related news, my fellow MVP Kent Agerlund has released a new book (updated) for Configuration Manager 2012 R2 master the fundamentals, which you also should take a look at if you want to learn more –> http://www.amazon.co.uk/System-Center-2012-Configuration-Manager/dp/9187445085/ref=sr_1_1?ie=UTF8&qid=1404503771&sr=8-1&keywords=kent+agerlund

Microsoft Virtual Machine Converter 2.0

So this is such a great update I have to blog about it, I have been in many projects involving migrating from VMware to Hyper-V and there of course many options to choose from there. Alas Microsoft had its own Virtual Machine Converter but didn’t have support for the latest version.

Microsoft today released a new version of Virtual MAchine Converter which contains the following updates:

With the release today, you will be able to access many updated features including:

  • Added support for vCenter & ESX(i) 5.5
  • VMware virtual hardware version 4 – 10 support
  • Linux Guest OS migration support including CentOS, Debian, Oracle, Red Hat Enterprise, SuSE enterprise and Ubuntu.

We have also added two great new features:

  • On-Premises VM to Azure VM conversion: You can now migrate your VMware virtual machines straight to Azure. Ease your migration process and take advantage of Microsoft’s cloud infrastructure with a simple wizard driven experience.
  • PowerShell interface for scripting and automation support: Automate your migration via workflow tools including System Center Orchestrator and more. Hook MVMC 2.0 into greater processes including candidate identification and migration activities.

 

So alot of great new features which should make it even easier to convert Virtual Machines. Also another important factor here is this.

At this time, we are also announcing the expected availability of MVMC 3.0 in fall of 2014. In that release we will be providing physical to virtual (P2V) machine conversion for supported versions of Windows.

Since Microsoft removed this option from SCVMM in R2 release its great that it is coming back. You can download the tool from here –> http://www.microsoft.com/en-us/download/details.aspx?id=42497

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
   

Cross platform monitoring System Center Operations Manager

First of, this is a looong post Smilefjes

This is a subject that actually I presented at the NIC conferance in Norway in january.
How we can use Operations Manager to monitor other worksloads other then Microsoft / Windows. Since in most enterprises they have a lot of different platforms such as:
Linux, Vmware, Citrix, Cisco, Microsoft and of course many are looking at towards cloud solutions such as Amazon and Azure.

So im going to show short on each topic how we can use operations manager to monitor all of these solutions.

Now by itself Operations Manager has a good extensive list of monitoring options against Microsoft workloads such as

* Exchange
* SharePoint
* System Center
* Lync
* Active Directory

You can see here for a comprehensive list of Management Packs available for Operations Manager –> http://social.technet.microsoft.com/wiki/contents/articles/16174.microsoft-management-packs.aspx

And of course there is support for Network devices and some Unix/Linux distroes.

The list of supported Network Devices is here –> http://www.microsoft.com/en-us/download/details.aspx?id=26831 Note that operations manager uses SNMP and ICMP for monitoring Network devices.

For UNIX/LINUX based devices you have a newly added managmenet pack –> http://www.microsoft.com/en-us/download/details.aspx?id=29696
It supports CentOS, SUSE Linux, Red Hat, Solaris and Ubuntu and so on.

Now all of the options i’ve list so far is built-in capabilities. Operations Manager works with using agents (Except for Network devices) you have an agent installed, you import a management pack which contains the logic such as rules and alerts, views and reports and you start getting notifications.

So when monitoring for instance Hyper-V we need an agent installed on our Hyper-V agents and the Hyper-V management pack.  There is also an VMM management pack which gives us a more detailed overovew of our Hyper-V / Cloud infrastructure
Hyper-V

image

VMM

image

Monitoring Citrix Netscaler

For Network devices, we need to have the SNMP service installed on our management server. This can be done using Server Manager or the PowerShell command.

Install-Windowsfeature SNMP-service

After that is done we define the service to allow SNMP packets from hosts.

image

After this is done we have to do some changes to the network device. If we for instance want to monitor Citrix Netscaler we first need to download Netscaler management pack from Citrix. If we have a Netscaler running in our enviroment we have a download pane in the GUI

image

And download the management pack

image

Then import the management pack to SCOM. Which can be done under administation –> management packs –> import.

Then we have to add some SNMP configuration to Netscaler to allow it to communicate with SCOM. This can be done using the CLI command

8

Community string is used for authentication against the SCOM server.  Next we need to run a network discovery rule

Make sure that the default account here has the same credentials as the community string we entered on the Netscaler

ns1

Then under Devices, enter IP address and choose SNMP version 1 / 2 and bind the run account

ns1

After we ran the discovery we have the Netscaler device appear in our infrastructure under network devices.

12

Monitoring XenDesktop

Monitoring XenDesktop 7.x requires a Managment Pack from a Citrix partner called ComTrade. They make Management Packs for most of the Citrix products. The setup is pretty basic and install the agent that they come with on the XenDesktop Controller and on the Management Server and add an license

image

Import the management Packs for XenDesktop.We also have to define the agent installed on the XenDesktop Delivery Controller as an Proxy, this allows it to fetch data outside of its object.

And voila we have a custom view for XenDesktop which gives us a good overview of the Site and can also view how many sessions on the site.

image

As a part of the transition to the Cloud many are looking at a hybrid cloud solution where we have a combined on-premise and a public cloud provider, but one of the problems that appear is monitoring cloud services on the cloud provider.

Monitoring XenServer

Again, since this is a Citrix product it requires a management pack from ComTrade. XenServer is using a custom built FreeBSD so we cannot use the regular Unix/linux management pack to monitor it. On theo ther hand using the Management Pack from ComTrade gives us the total overview.

In order to monitor a XenServer we need a regular server running as an proxy agent. This server will be running as an Xenserver management proxy, so this will connect to the XenServer pool and gather data and report back to Management Server.

First we need again to enter a connection to the pool from the proxy agent

image¨

Then enter a license (or else the agent will not forward any information at all)

and voila!
image

 

Monitoring Azure

Monitoring services in Azure is not as easy as It seems, we can use S2S VPN and have an agent installed on all VMs running there, or setup a gateway server but this only covers the virtual machines and does not cover the other roles there.

Microsoft luckily created a managmenet pack that we can use to monitor Azure services directly from Operations Manager. You can find it here –> http://www.microsoft.com/en-us/download/details.aspx?id=38414

After importing the management pack we will get a new pane under Administration called Windows Azure, here we have to setup Operations Manager against an Azure account we wish to monitor.

Here we have to enter a subscription ID and a Management Certificate against our account

After we are done here, we acn go to authoring and setup  Azure monitoring. Since it by default does not start to monitor objects in Azure, we have to define which objets it should monitor.

Here we can monitor our Cloud Services, Subscription, Virtual Machines and Storage Containers. So after we have configured what we want it to monitor it will start generating alerts.

image

Monitoring Amazon Web Services

Amazon has done a good job when creating its Management Pack for Web Services. (Which can be downloaded from here –> https://aws.amazon.com/windows/system-center/

It contains good information and gives a good overview of most of your infrastructure running in Amazon.

To setup monitoring, import the management pack. Go into Authoring pane and run the Amazon Web Services under Management Pack objects. Here we need to define a watcher node (which will be used to communicate with Amazon as define a run as account.
The run as account should be in form of an Access Key ID and the Secret Access ID using Basic Authentication.

After we have that setup it will start gathering info and start monitoring objects as they appear.

image

Monitoring Unix/Linux agents

Monitoring Unix/Linux requires that we import the management pack for monitoring Unix/Linux, which can be found here –> http://www.microsoft.com/en-us/download/details.aspx?id=29696

Now in my case I want to monitor ubuntu, then I need to use the Universal Linux MP. Since ubuntu does not have its own management pack. After I’ve imported that I have to setup two accounts under Adminsitration –> Unix/Linux accounts

ONe for agent maintance and one for monitoring.  Both of these have to be bound to a profile. (You can see more about accounts which need to be defined here –> http://technet.microsoft.com/en-us/library/hh287150.aspx)

After that we have to setup a discovery (note the linux server needs to be entered with a DNS name)

image

Monitoring VMware

Monitoring VMware from operations manager, requires an Management pack from Veeam.
The management pack requires that we have some extra components installed on a server which has an Operations manager agent installed. This server is used to communicate with vCenter and get info from the Vmware enviroment.

These components are web services which allow communication flow

•Veeam Vmware Collector

•Veeam Virtualization Extensions Services

•Veeam Virtualization Extensions UI

(These components can be installed on the same server)

After these components has been installed we have to setup connection to vCenter from the Extensions Services web gui.

image

After this is done we will start to get information into Operations Manager.

image

 

Now there are also some other Management Packs which are on Microsoft Pinpoint which shows other third party products which we can monitor from Operations Manager.
Many third party vendors do not have their management pack available on Pinpoint to contact your vendor in case you are unsure if they have a management pack.  Important to note that this is just to show the possbilities we have with Operations Manager, important to many management packs will in many cases slow down your setup and requires alot of tuning before it works as you want it to Smilefjes

My little System Center book project!

For sometime now I have been occupied with my little book project, it has taken a lot of time from my blogging since it has been completely new territory for my part. But! it has been a unique learning experience and I think that I’ve never been this good a using Word… Ever!

A while back a publisher contacted me and asked if I was interested in writing a book for them, at first I thought nah… don’t have the time and capasity to finish this in time.. But after thinking about it a couple of days I thought when am I going to get this opportunity again ? Therefore I said yes! and fast forward a couple of months ahead and here I am with the finished product.

So allow me to introduce my little book

Configuration Manager 2012 High-availability and Performance Tuning

Microsoft SCCM High Availability and Performance Tuning

 http://www.packtpub.com/microsoft-sccm-high-availability-and-performance-tuning/book

FThis is the first time I’ve ever written anything that was over 10 pages (Yes including school as well) and it has been a unique experience and I wish to thanks the publisher Packt www.packtpub.com who has given me this opportunity.

I also wish to thank my reviewers
Marius Skovli and Dragos Madarasan for good feedback in the review process.

Følg

Få nye innlegg levert til din innboks.

Bli med 45 andre følgere