Symantec Management Platform (SMP) Community

 View Only
  • 1.  FAQ: Policy appling on multiple computers

    Posted Jan 04, 2012 04:41 PM

    Here's a question that we received in our Dev Team group email, and thought it was a good discussion thread to share:

    I’m having few queries regarding policy apply on multiple computers.

    I’m having a policy created which is similar to Wallpaper policy discussed on connect site. Consider a situation where I’m having 1 Notification server and the plug-in is installed  on multiple computers. Now when I change the policy and I want it to apply to multiple computers, also I want to log the information i.e.  to which computers the policy is applied.

    So how can I get this information programmatically so that I can log it into some file on hard drive. Is there any article which discusses the same thing or is there any code template available to get this information.  So in short what I’m interested is to get the machines which are selected for policy apply.



  • 2.  RE: FAQ: Policy appling on multiple computers
    Best Answer

    Posted Jan 04, 2012 04:42 PM

    You should override the OnBuildClientConfigXml2() Method and query the server to get any information required.  Please go through the following links which may found useful regarding your query.
     
    http://ali-mydev.altiris.com/Wiki/default.aspx/Altiris.NSCore/CookbookIWatchPolicySolution.html
    http://ali-mydev.altiris.com/wiki/content/upload/html/CreatingAClientPolicy.html



  • 3.  RE: FAQ: Policy appling on multiple computers

    Posted Jan 04, 2012 09:36 PM

    The only problem with ali-mydev URL's is that you have to be connected to the corporate network to receive them.  Are there any outside Symantec network URL's with the same information?

    Regards



  • 4.  RE: FAQ: Policy appling on multiple computers

    Posted Jan 04, 2012 09:41 PM

    ... in addition are they definately looking for a programmatic answer?  The initial question seems to be a standard policy question - e.g. they appear to be wanting to know which computers will receive the ammended policy (in other words the current Target or Computer collection set in the policy)?

    Since the target can change over time based on the filters it uses are they intending to only change the offline data on a change in the policy or on a schedule etc.  The problem is that they will never necessarily be sure of the machines which have the ammended data unless they can ensure that the query they use also takes into account the last time the machine received config AND that their plugin was installed at this time...