ITMS Administrator Group

 View Only
  • 1.  Forward Agent using GPO

    Posted Apr 26, 2016 02:49 AM

    Hello community,

    We are about to move the NS from one Data Center to other DC. Of course we will have full backup of application box as well as SQL Database. But in the event the recovery from the backups fails, we consider to forward agents and use other NS temporarily as the last resort. Because the original NS is down in disaster scenario and you cannot forward agents by the targeted agent settings.

    My question is what entries in registry should be modified in order to successfully redirect Agents by the means of GPO. Currently we run 7.5.1 over http.

    Thanks for the tips.

    Tomasz



  • 2.  RE: Forward Agent using GPO
    Best Answer

    Posted Apr 26, 2016 03:10 AM

    You can change the NSSERVER via AeXAgentUtil.exe

    /server:<server> | /ns:<server>    Switches the Agent to the new Notification Server specified by the host name <server>
    /web:<web> | /nsweb:<web>    Switches the Agent to the new Notification Server specified by the URL <web>

    This is supported and I think it´s better than modify some registry entries.

     



  • 3.  RE: Forward Agent using GPO

    Broadcom Employee
    Posted Apr 26, 2016 03:53 AM

    For 7.5, if usage of registry is a requirement, then you can change the following entries:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Servers]
    @="<server-name>"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent\Servers\<server-name>]
    "Web"="http://<server-name>/Altiris"

    The Agent restart will be required, thought.

    Also you can execute the script with GPO and use utility approach described by "cheldt" above. The "AeXAgentUtil.exe /Server:<server-name>" will be enough.



  • 4.  RE: Forward Agent using GPO

    Posted Apr 26, 2016 06:42 AM
    Note that the AeXAgentUtil /server: command will not work if the server cannot be contacted.


  • 5.  RE: Forward Agent using GPO

    Posted Apr 26, 2016 07:38 AM

    yes, but in this scenario it will redirect to the active NS.



  • 6.  RE: Forward Agent using GPO

    Posted Apr 26, 2016 07:39 AM

    Thank you. That works for me.



  • 7.  RE: Forward Agent using GPO

    Posted Apr 26, 2016 07:41 AM

    Registry is not a requirement but it was an initial idea. I'd like to avoid agent restart, therefore I prefer the AeXAgentUtil.exe utility approach.