Automic Workload Automation

 View Only
  • 1.  connect to server i.e out of Automic without agent installing

    Posted Feb 19, 2024 10:25 AM

    My requirement is to connect an server (i.e to both linux or windows) from Automic server, without installing agent in Automic. After connecting to server, have to execute a curl command and download a package to /temp  path and install it in same directory. No usage of Winscp.putty and sftp commands. connect using username and password with no hostkey inclusion.



    ------------------------------
    Thank you
    ------------------------------


  • 2.  RE: connect to server i.e out of Automic without agent installing

    Posted Feb 20, 2024 02:44 AM

    Hi,

    how would you achieve this without Automic at all? Which tools can you use to access a Windows and/or Unix/Linux computer to run curl, etc.?

    regards
    Peter



    ------------------------------
    Automic Certified Professional/Expert & Broadcom Knight

    For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
    ------------------------------



  • 3.  RE: connect to server i.e out of Automic without agent installing

    Posted Feb 20, 2024 02:53 AM

    Hi Kiran

    I don't see how this question is Automic related?

    Ansible would have been a good choice, if you don't want to script everything on your own. However this will not comply with "no usage of winscp, putty and sftp commands" - good luck with that. I would discuss the requirements if I would be you.

    Regards
    Joel



    ------------------------------
    ☎️ Swisscom Automation Engineer & 🧙 PE Membership Creator

    Automic Kurse, Tutorials, Tools und mehr auf:
    https://membership.philippelmer.com/
    Zwei Wochen kostenlos testen!
    ------------------------------



  • 4.  RE: connect to server i.e out of Automic without agent installing

    Posted Feb 20, 2024 03:52 AM

    Hi Joel Wiesman,

    Sorry for the confusion. My exact requirement is if a server is launched from Virtualization i.e may be Linux or windows. Automic should get that status and execute a job. Job involving connecting to a launched server through ssh and execute curl command to download a particular package and install that package in /temp path.




  • 5.  RE: connect to server i.e out of Automic without agent installing

    Posted Feb 20, 2024 08:28 AM
    Edited by P Verghese Feb 20, 2024 08:33 AM

    Perhaps your base VM image should also have an Automic OS agent embedded within it with settings to connect to a Automic Server whenever it is launched. Then you can run jobs from Automic otherwise as others have already stated this is not an Automic related problem.

    Regards

    P Verghese