Automic Workload Automation

 View Only
  • 1.  silent installation?

    Posted Jun 01, 2023 04:58 AM

    Hello there,

    is it posible to run the ServiceManager (V12.3.9) installion on Windows in silent mode.

    I have to upgrade a lot of Hosts and I am trying to automate it. 

    What about things like Windows Core Server?



  • 2.  RE: silent installation?

    Broadcom Employee
    Posted Jun 01, 2023 07:03 AM

    Hi @Bastian Fischer 

    the installation of the Service Manager must include the following steps

    1. create a directory (without blanks)
    2. copy Service Manager's files into that directory
    3. create a directory for the log-files
    4. config Service Manager by modifying ucybsmgr.ini, *.smc and *.smd files
    5. register Service Manager service in Windows (UCYBSMGR[.EXE] -install Phrase)
    6. set the start-type of the newly created service e.g. UC4.ServiceManager.Automic
    7. start the service e.g. sc start UC4.ServiceManager.Automic or powershell "Get-Service -ComputerName myServer -Name UC4.ServiceManager.Automic | Start-Service" 

    When you do (only) an upgrade/update of your existing (running) installation, the following steps must be done

    1. stop the service e.g. sc stop UC4.ServiceManager.Automic or powershell "Get-Service -ComputerName myServer -Name UC4.ServiceManager.Automic | Stop-Service -Force"
    2. replace only the binary files (.exe, .dll, msl) in the proper directory
    3. start the service

    Note: In my examples the service was created with the phrase Automic.

    More information can be found here: https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/21.0.6/Automic%20Automation%20Guides/Content/Installation_Manual/AE/InstalltheAE_ServiceManager.htm

    Hope this helps

    Michael



    ------------------------------
    Michael K. Dolinek

    Engineering Program Manager | Agile Operation Division
    Broadcom Software
    ------------------------------



  • 3.  RE: silent installation?

    Posted Jun 01, 2023 08:55 AM

    Thank You Micheal,

    just replacing the files should be possible via script.  Stopping and starting the Service will beocme tricky to update UC4 via UC4.

    I´m thinking about following Worklow:

    • Copy Files with jobFT into temp directory on Agent
    • Copy .ps oder .bat script into temp directory
    • JOBS that will execute the Skript containing following steps:
      • Stop UC4 Service
      • copy files from temp to ServiceManager directory
      • start Service
    • JOBS that will start when the Agent is back again, just to check if everything went fine



  • 4.  RE: silent installation?

    Broadcom Employee
    Posted Jun 02, 2023 03:36 AM

    Hi @Bastian Fischer


    when you want to update/upgrade Service Manager and the Agent please have a look at Centralized Agent Upgrade (CAU).

    see https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/21.0.6/Automic%20Automation%20Guides/Content/Installation_Upgrade/install_CAU.htm

    Michael



    ------------------------------
    Michael K. Dolinek

    Engineering Program Manager | Agile Operation Division
    Broadcom Software
    ------------------------------



  • 5.  RE: silent installation?

    Posted Jun 02, 2023 04:06 AM

     I love it when a plan comes together. - Hannibal Smth

    Update Job is working fine. Had to set RC always = 0 in postconditions. Because the update job endet with endet lost and was beeing blocked automaticaly.