You cannot remove a class and maintain upgrade compat (at least not one marked 
"public").  You cannot even remove a monitor.  The breaks the whole concept of 
upgrade.  Upgrade maintains that any overrides or references to a specific ID 
must be able to be maintained across upgrades.

The supported method is to mark the object "deprecated" and disable the 
discovery.  It is ugly.

If you want to make major structural changes in MP's on the fly - that means 
your MP is not mature.... so the answer is - stop sealing them.



From: [email protected] [mailto:[email protected]] On 
Behalf Of Orlebeck, Geoffrey
Sent: Monday, November 30, 2015 11:59 AM
To: '[email protected]' <[email protected]>
Subject: [msmom] Removing A Class from MP:

Is it normal/expected behavior if you remove a class from a Management Pack, 
that you cannot import over the top of the Management Pack when it had the 
class?

For some testing I created a class to target a monitor, when I finished testing 
I deleted the class and wanted to import the updated version, but Visual Studio 
threw an error about the verification failed. I then tried importing directly 
into SCOM and received the same failure.

Is there a supported/better way to remove a class from a MP and overwrite it 
without having to delete the MP and import as new? The only reason I mind 
blowing away the entire MP is the amount of time the discoveries and health 
takes to re-apply on the MP when it's "new" as opposed to just an update.

Any thoughts or recommendations would be appreciated.

Thank you.
Confidentiality Notice: This is a transmission from Community Hospital of the 
Monterey Peninsula. This message and any attached documents may be confidential 
and contain information protected by state and federal medical privacy 
statutes. They are intended only for the use of the addressee. If you are not 
the intended recipient, any disclosure, copying, or distribution of this 
information is strictly prohibited. If you received this transmission in error, 
please accept our apologies and notify the sender. Thank you.




Reply via email to