Automic Workload Automation

Expand all | Collapse all

Graceful reload Service Manger.

  • 1.  Graceful reload Service Manger.

    Posted Dec 20, 2016 08:42 AM
    For committing the changes done in the smd/smc via editing is there a "downtimeless" method?
    Is there a way to force the Service Manager to reload the config files via Command line?

    There is no procedure to force the Service Manager to reload the config files without downtime.                       


  • 2.  Graceful reload Service Manger.
    Best Answer

    Posted Dec 21, 2016 04:26 AM
    But you can always add or modify entries via the Service Manager Dialog, these changes take effect immediately.


  • 3.  Graceful reload Service Manger.

    Posted Feb 16, 2017 05:21 AM
    Daniel Trimmel said:
    But you can always add or modify entries via the Service Manager Dialog, these changes take effect immediately.
    I'm also not happy with your solution, as i am trying to manage a service manager configuration on a cluster situation, and automating this step is still not possible ... not a nice feature :-1:


  • 4.  Graceful reload Service Manger.

    Posted Feb 16, 2017 07:46 AM
    Hello DanielLahman610562

    Is your Service Manager running on Windows or Unix / Linux ?

    It's true that changes in UC4.smc and UC4.smd will not be taken into account until the ServiceManager service is restarted.

    However you may try the following in Windows - it's trickier in Unix/Linux as you need to know the Smgr's process ID to kill it:

    Add entries to UC4.smd & UC4.smc in command line

    1. UC4.smd
    echo DEFINE <Agent name>;<Start Command>;<StartPath> >> <path to SMGR\bin>\UC4.smd

    example:

    echo DEFINE WIN01;C:\Automic\Agents\WIN01\bin\ucxjwx6.exe;C:\Automic\Agents\WIN01\bin\ >> C:\Automic\SMgr\bin\UC4.smd


    2. UC4.smc

    echo !AIT 0 >> <path to SMGR\bin>\UC4.smc
    echo !REATE <Agent Name> >> <path to SMGR\bin>\UC4.smc
    example:
    echo !AIT 0 >> C:\Automic\SMgr\bin\UC4.smc
    echo !REATE WIN01 >> C:\Automic\SMgr\bin\UC4.smc
    The exclamation marks at the beginning of the lines mean that the instruction will not be taken into account at startup :
    • No WAIT between the process is created.
    • The process "WIN01" will not start automatically when the SMgr starts.

    If you change '!AIT 0' to 'WAIT 30' for instance the SMgr will wait 30 seconds before starting the agent, and if you use 'CREATE WIN01' instead of '!REATE WIN01' the agent will start automatically when the SMgr starts.

    Stop and restart the Service Manager

    Please note you will need admin rights to do this.

    Use net stop <Service Name> then net start <Service Name>

    example :
    net stop UC4.ServiceManager.AE
    net start UC4.ServiceManager.AE

    Hope this helps.

    Kind regards,
    Antoine


  • 5.  Graceful reload Service Manger.

    Posted Aug 09, 2017 05:33 PM
    Will there be a future update to refresh the uc4.smd file? Bringing down the servicemanager for a refresh would bring the automation engine down, and a manual update always poses risks of error


  • 6.  Graceful reload Service Manger.

    Posted Aug 10, 2017 04:11 AM
    Hello Rafael_Lubera_1451
    I don't think there is any enhancement planned for this, but please feel free to submit an enhancement suggestion at ideas.automic.com.

    Best regards,
    Antoine


  • 7.  Graceful reload Service Manger.

    Posted Aug 10, 2017 04:48 AM
    Rafael Lubera said:
    Will there be a future update to refresh the uc4.smd file? Bringing down the servicemanager for a refresh would bring the automation engine down, and a manual update always poses risks of error

    For what it's worth, I asked for the exact same thing about 18 months ago (specificially, to implement a "kill -HUP" Option which, for most GNU/Linux daemons, causes them to reload their configuration without a restart). That didn't go anywhere.

    If you do submit this on ideas.automic.com again, please post the link here. You'll definetly get a +1 from me.

    Best,
    Carsten


  • 8.  Graceful reload Service Manger.

    Posted Aug 10, 2017 05:25 AM
    will support it as well.


  • 9.  Graceful reload Service Manger.



  • 10.  Graceful reload Service Manger.

    Posted Aug 14, 2017 12:23 PM
    Dear participants,

    FYI, I just noticed that the democratic rights associated with citizenship in the Great Nation of Automic can now be fully excercised.

    Or, in other words, the linked suggestion is now open for voting.


  • 11.  Graceful reload Service Manger.

    Posted Aug 16, 2017 03:14 AM
    supported.


  • 12.  Graceful reload Service Manger.

    Posted Feb 10, 2018 10:39 AM
    seems that not that many automic users do have this issue.
    (and secretly pushing this up again, but shhhhhhhhh)

    cheers, Wolfgang


  • 13.  Graceful reload Service Manger.

    Posted Feb 11, 2018 01:40 PM

    Combined with my idea, “Add 'Run SMC file' button to Service Manager Dialog (GUI)”, this would be even more useful. The Service Manager GUI could have two buttons:

    • Reload SMD/SMC files
    • Run SMC file