my personal blog about systemcenter

Reblogged from Tao Yang , spend your money wisely

Categories: Uncategorized
Comments Off on Reblogged from Tao Yang , spend your money wisely

The following blog post is a copy from Tao Yang site , he does amazing work and publish it so everyone can enjoy it , personally I couldn’t live without his work.

You can agree with the posts or not , personally publishing others work almost 1-1 and charging for it is bad taste , but that’s the double edges sword of MIT licensing and publishing your stuff for others.

Nothing wrong with charging for your time/mp/scripts , just create them yourself or pay others to make them

Spend Your Money Wisely

clip_image002As what I’d like to consider myself as – a seasoned System Center specialist, I have benefitted from many awesome resources from the community during my career in System Center. These resources consist of blogs, whitepapers, training videos, management packs and various tools and utilities. Although some of them are not free (and in my opinion, they are not free for a good reason), but large percentage of these resources I value the most are all free of charge.

This is what I like the most about the System Center community. Over the last few years, I got to know many unselfish people and organisations in the System Center space, who have made their valuable work completely free and open source for the broader community. Due to what I am going to talk about in this post, I am not going to mention any names in this post (unless I absolutely have to) . But if anyone is interested t know my opinion, I’m happy to write a separate post introducing what I believe are valuable resources.

First of all, I’m just going to put it out there, I am not upset, and this is not going to be a rant and I’m trying to stay positive.

I started working on System Center around 2007-2008 (ConfigMgr and OpsMgr at that time) . I started working on OpsMgr because my then colleague and now fellow SCCDM MVP (like I mentioned, not going to mention names) has left the company we were working for and I had to pick up the MOM 2005 to OpsMgr 2007 project he left behind. The very first task for me was to figure out a way to pass the server’s NetBIOS name to the help desk ticketing system and I managed to achieve this by creating a PowerShell script and utilised the command notification channel to execute the script when alerts were raised. I then used the same concept and developed a PowerShell script to be used in the command notification to send content rich notification emails which covered many information not available from native email notification channel.

When I started blogging 5 years ago, this script was one of the very first posts I published here. I named this solution “Enhanced SCOM Alert Notification Emails”. Since it was published, it has received many positive feedbacks and recommendations. I have since published the updated version (2.0) here:

http://blog.tyang.org/2012/08/16/scom-enhanced-email-notification-script-version-2/

After version 2.0 was published, a fellow member in the System Center community, Mr. Tyson Paul has contacted me, told me he has updated my script. I was really happy to see my work got carried on by other members in the community and since then, Tyson has already made several updates to this script and published it on his blog (for free of course):

Version 2.1: http://blogs.msdn.com/b/tysonpaul/archive/2014/08/04/scom-enhanced-email-notification-script-version-2-1.aspx

Version 2.2: http://blogs.msdn.com/b/tysonpaul/archive/2015/01/30/scom-enhanced-email-notification-script-version-2-2.aspx

This morning, I have received an email from a person I have never heard of. This person told me his organisation has developed a commercial solution called “Enhanced Notification Service for SCOM” and I can request a NFR by filling out a form from his website. As the name suggests (and I had a look on the website), it does exactly what mine and Tyson’s script does – sending HTML based notification emails which include content rich information including associated knowledge articles.

Well, to be fair, on their website, they did mention a limitation of running command notifications that you have a AsyncProcessLimit of 5. But, there is a way to increase this limit and if your environment is still hitting the limit after you’ve increased it, I believe you have a more serious issue to fix (i.e. alert storm) rather than enjoying reading those “sexy” notification emails. Anyways, I don’t want to get into technical argument here, it’s not the intention of this post.

So, do I think someone took my idea and work from Tyson and myself? It is pretty obvious, make your own judgement. Am I upset? not really. If I want to make a profit from this solution, I wouldn’t have published out on my blog in the first place. And believe me, there are many solutions and proof-of-concepts I have developed in the past that I sincerely hope some software vendors can pickup and develop a commercial solution for the community – simply I don’t have the time and resources to do all these by myself (i.e. my recently published post on managing ConfigMgr log files using OMS would be a good commercial solution).

In the past, I have also seen people took scripts I published on my blog, replaced my name with theirs from the comment section and published it on social media without mentioning me whatsoever. I knew it was my script because other comments in the script are identical to my initial version. When I saw it, I have decided not to let these kind behaviour get under my skin, and I believe the best way to handle it is to let it go. So, I am not upset when I read this email today. Instead, I laughed! Hey, if this organisation can make people to pay $2 per OpsMgr agent per year (which means for a fully loaded OpsMgr management group would cost $30k per year for “sexy” notification emails), all I’m going to say is:

However, I do want to advise the broader System Center community: Please spend your money wisely!

There is only so much honey in the pot. You all have a budget. This is what the economist would call Opportunity Cost. If you have a certain needs or requirement and you can satisfy your requirement using free solutions, you can spend your budget on something that has a higher Price-Performance Ratio. If you think there’s a gap between the free and paid solution, please ask your self these questions:

  • Are these gaps really cost me this much?
  • Are there any ways to overcome this gap?
  • Have I reached out the the SMEs and confirm if this is a reasonable price?
  • How much would it cost me if I develop an in-house solution?

Lastly, I receive many emails from people in the community asking me for advise, and providing feedback to the tools I have published. I am trying my best to make sure I answer all the emails (and apologies if I have missed). So if you have any doubts in the future that you’d like to know my opinion, please feel free to contact me. And I am certain, not only myself, but other SMEs and activists in the System Center community would also love to help a fellow community member.

Virtual Machine Manager 2016 TP2 Require SQL Enterprise Edition

Categories: Uncategorized
Comments Off on Virtual Machine Manager 2016 TP2 Require SQL Enterprise Edition

So at least for now during the preview manually installed VMM require SQL Enterprise Edition and not Standard

Will be interresting to see if this is still a requirement at GA , and if the SQL entitlement will follow

 

The Virtual Machine Manager database was not created.
The Virtual Machine Manager database was not created. Delete NO_PARAM.mdf and NO_PARAM_log.ldf if they exist at NO_PARAM or use a unique name for the database. Also, verify that disk quota management is not enabled for the drive where the database is being created. Then run Setup again.
09:15:47:Failed sql script: Threw Exception.Type: Microsoft.VirtualManager.DB.CarmineSqlException, Exception.Message: Unable to connect to the VMM database because of a general database failure.
Ensure that the SQL Server is running and configured correctly, then try the operation again.
09:15:47:StackTrace: at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.SqlContext.ExecuteNonQueryCommand(String command, Action`1 parameterAdder)
at Microsoft.VirtualManager.Setup.DBConfigurator.ExecuteScript(String fileName, IVmmDbTransaction tx)
09:15:47:InnerException.Type: System.Data.SqlClient.SqlException, InnerException.Message: Online index operations can only be performed in Enterprise edition of SQL Server.
09:15:47:InnerException.StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
09:15:47:Out of Impersonation

Updated 2012 R2 ISO includes November Update.

Categories: Uncategorized
Comments Off on Updated 2012 R2 ISO includes November Update.

 

 

 

 

 

2012R2ISO

 

 

Includes November 2014 update roll up, please review KB3000850 for more information.

Before installing this product please review KB2966870.

Automatic Virtual Machine Activation
Release Notes: Important Issues in Windows Server 2012 R2

 

 

Not sure how i missed this but there is a “new” ISO on MVLS and MSDN for download that includes the large November update so easier / faster to baseline a new host after install

Thank you Microsoft

 

Error 25250 Unable to find Adapter

Categories: Hyper-V, Virtual Machine Manager, Windows Server 2012 R2
Comments Off on Error 25250 Unable to find Adapter

clip_image002

clip_image003

Error (25240)

Adding a member to the adapter team Applications failed with error Unable to find Adapter HP FlexFabric 20Gb 2-port 650FLB Adapter #2 in Team after addition

Recommended Action

Ensure the team is functioning correctly and retry the operation.

I ran into the following problem applying a Logical Switch to a some shiny new hyper-v hosts , i could select the adapters and create the Logical Switch , but appyling it ended up in a rollback after it tried to add the 2nd adapter to the team

clip_image005

After looking around for a bit i saw that the 2nd network card was disabled in Windows


clip_image006

And after enbling the network card everything was green again

So always check the cable Smiley err i mean the network card

Adding HP Blade Centers to Operations Manager

Categories: HP, Operations Manager, SCOM
Comments Off on Adding HP Blade Centers to Operations Manager

image

Install the HP Blade Management pack on a host with a Operations Manager Agent Installed

image

Add Onboard Administrator , to start with later we can add virtual connect domain

image

Add DNS/Ip and username / password to the HP Blade Onboard Administrator

image

And we have a few to start with

image

And now the waiting game start

image

Discovery is every 4 hours or if you kick the agent , just after a litle while

image

And after a bit we have the first enclosures in the monitoring and ready to add more.