Sometime you need to know the internal ID (Guid) of management pack or management pack element before the MP imported to SCSM. This can be done very easy using some T-SQL magic.
Sometimes you can’t install update rollup for SCSM because right after you press Install button on first page, the update process crashed. This issue came from very early versions of the SCSM and still sometime happened at this time, even for SCSM 2012 R2 UR2 update.
Since SCSM 2012 SP1, any component of SMSM self-service portal can’t be located on management server (technically, this will work, but not supported any more). But if you using SCSM since 2010 or 2012, you can have SMPortal installed on management server. In this case you need to remove SMPortal.
The only-supported way is to uninstall management server together with self-service portal and reinstall management server. This is dangerous operation (you just need to save all your custom assemblies from SCSM directory and install management server, target installation to same database). But sometime, especially in lab environment, you need to remove self-service with some “fast” way. This article describe how to do this, but please keep in mind: this is unsupported.
To remove portal you can simple remove Sharepoint and remove all IIS sites. But if you try to update management server after this, you will get “Microsoft System Center 2012 Service Manager is not in a valid state.”. This is because installer “know” that SMPortal was installed before. To clean-up this, you must change registry. Please open the key: HKEY_CLASSES_ROOT\Installer\Features\5BA67A970AE3F4C4989BC10A4083CEE2 and remove next values:
After this you can safely update your management server.
If you often using the XML criteria in SCSM (with SDK or in view with Advanced View Editor) then you can faced with two different notation used as value for properties of enumeration type (like Status, Category, Area and so on): $MPElement[Name=’’]$ and Guid format (xxxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx, or uniqueidentifier in T-SQL). In this article I will describe the deference and will explain why XML validation can fail when $MPElement$ notation used.
“Dear Anton Gritsenko,
Congratulations! We are pleased to present you with the 2012 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in System Center Cloud and Datacenter Management technical communities during the past year.”
Thanks everyone who participated! Special thanks to Alexey Zhuravlev who help me all time at way to MVP!