Compartilhar via


Authoring Management Packs Resource

I added a link to https://www.authormps.com. This is a site maintained by a co-worker geared towards management pack authors. It is in its early stages, but should prove to be an excellent resource for management pack authoring.

Comments

  • Anonymous
    April 29, 2007
    Hi Jakub One quick question, if I have two windows applications(A and B).B can not be installed without A.  How can I define the relationship between them?

  • Anonymous
    April 30, 2007
    If B's identity is defined by A, then you would establish a hosting relationship between them. Outside of that, there isn't a clear way to model a dependency like this that is actually enforced. You can look at creating your own Reference derived relationship. Can you be more specific? It is is something like my application relies on .Net 3.0 to be installed, then there isn't really a built in relationship to handle that.

  • Anonymous
    May 02, 2007
    Thanks for your reply. But if I defined the hosting relationship between them. They can not be defined as windows application then(multi-hosting conflict). A is a windows application. When I set up B without A, it will give me the error message. But B is not defined by A. Both of the identities are created by the registy query result.

  • Anonymous
    May 03, 2007
    What are you trying to accomplish by modeling this relationship? The fact that an instance of the relationship would exist already implies that B was installed successfully, so I am a bit unclear as to how this relationship would affect health of either instance.

  • Anonymous
    May 07, 2007
    B will generate WMI indications, which will indicate the healthy of A. That means one unit monitor of A need to query the namespace created by B. You know we only can define the monitor for computer with App B, otherwise it will generate no namespace error.

  • Anonymous
    May 07, 2007
    So shouldn't the install of B fail if A isn't there? What value is modeling this relationship giving you in terms of a health model?

  • Anonymous
    May 08, 2007
    I thought we need to define a relationship between them. Because

  1. B can not be installed without A
  2. B will effect the health state of A But I dont know what I can define for that? Need your help then. Thanks
  • Anonymous
    May 10, 2007
    If you make sure that B is not installed without A via your setup procedure, then you don't need a relationship between them as the monitor should never fail since the two will be there together. The fact that A makes something available to B, does not mean that B's health is affected by A necessarily. From what you have told me so far, it doesn't sound like you need a relationship. If you want one, you would need to define your own, derived from System.Reference, as I don't think we have anything that fits your scenario.