CA Client Automation

  • 1.  Agent plugin enable/disable by configuration policy

    Posted Oct 28, 2015 04:43 AM

    We have some managed assets that have sdagent and amagent disabled. We don't know how they ended in that state, but we need to reenable them remotely.

    Caf doesn't allow enable/disable commands on remote hosts, and psexec is not possible as assets are ENC connected.

     

    Is there a configuration policy that can be used to force caf plugins to be enabled or disabled?



  • 2.  Re: Agent plugin enable/disable by configuration policy

    Broadcom Employee
    Posted Oct 28, 2015 09:28 AM

    Sorry to say this, not sure how experienced you are with ITCM Are you sure they are disabled ?

    Both of those plugins run on demand, so you will not see them normally if you do a caf status

     

    If you are sure, then :

     

    Do you have CA Remote Control ? 

    You could login and enable the other plugins

     

    You could also create a login script that does the following, if they are already enable it will just re-enable them.

     

    caf enable sdagent

    caf enable amagent



  • 3.  Re: Agent plugin enable/disable by configuration policy

    Posted Oct 28, 2015 10:01 AM

    Hi Gordon,

     

    Remote "caf start sdagent" or "caf start amagent" notifies that plugins are disabled. In those systems where sdagent is disabled but amagent is working, I've created an AM job that executes "caf enable sdagent" thus solving the problem.

     

    The problem is that there are some machines that have both plugins disabled, so I cannot send an SD job to enable amgent, nor send an AM job to enable sdagent.

     

    Managed assets are customer´s machines, so we cannot connect to them by our initiave. We have to wait until the final user opens a ticket, and, in the meanwhile, nothing can be done.

     

    So we need something that changes the plugin state remotely and transparently to the final user (we don't have control over login scripts either). Configuration policy, if supported, seems a good way to do it.

     

    Regards.



  • 4.  Re: Agent plugin enable/disable by configuration policy

    Broadcom Employee
    Posted Oct 29, 2015 12:18 PM

    Sorry Sergio

     

    I am afraid there is no way to do this via configuration policy. What version are you running. you could possible use the health monitoring agent

    regards

    Rich



  • 5.  Re: Agent plugin enable/disable by configuration policy

    Posted Oct 29, 2015 12:47 PM

    Sadly we are in 12.8FP1, so no health monitoring on the agent.



  • 6.  Re: Agent plugin enable/disable by configuration policy

    Broadcom Employee
    Posted Oct 29, 2015 01:31 PM

    really sorry but I cannot think of anything else that could help



  • 7.  Re: Agent plugin enable/disable by configuration policy
    Best Answer

    Posted Oct 29, 2015 02:21 PM

    I think I have an idea which should work – we can ‘hijack’ one of the CAF Scheduler tasks in config policy to fix it. Take the ‘Run Mirrorsync’ scheduler task which is not used in windows usually, and change it to allow it to enable the SDAgent and AMAgent Plug-ins. Change the policy as follows:

     

     

    ·         Command Line:                enable amagent sdagent

     

    ·         Enabled:                              TRUE

     

    ·         Plugin dependency:        cfregister

     

    Deliver this policy only to those machines which need it, and remove it when they are fixed. It’s not really critical since it won’t hurt anything if the enable command gets run multiple times but it’s not necessary.

     

    Steve McCormick, ITIL

    CA Technologies

    Principal Services Consultant

    Tel: +1-731-676-4223

    Stephen.McCormick@ca.com

    <mailto:Stephen.McCormick@ca.com>



  • 8.  Re: Agent plugin enable/disable by configuration policy

    Posted Nov 04, 2015 12:02 PM

    Hi Steve,

     

    I've been trying your suggestion and it looks very promising. I'm still doing some tests, but it seems to have solved the problem in some of the "lost" agents. There are others that still don't run the jobs, but probably they have different problems with same symptom.

     

    Thanks for your help.

     

    Regards.



  • 9.  Re: Agent plugin enable/disable by configuration policy

    Posted Nov 03, 2015 10:41 AM

    HI

    I was wondering if you issue or questions have been resolved with the advice given ?

    Thanks and let us know

    Joe



  • 10.  Re: Agent plugin enable/disable by configuration policy

    Broadcom Employee
    Posted Nov 04, 2015 08:54 AM

    Hi

     

    Do you require any further assistance on this

     

    Regards

    Rich