VMware Aria Automation Orchestrator

 View Only
  • 1.  "Copy file from VCO to Guest" workflow does not work.

    Posted Mar 04, 2025 01:14 AM
    Edited by antonioaraujo Mar 04, 2025 01:15 AM

    Dear Colleagues,

    I hope you are fine.

    Article ID: 369269 from Broadcom KB (vRealize Orchestrator Workflow:- "Copy file from VCO to Guest" does not work) describe a procedure to copy a file from Aria Orchestrator to Guest on vCenter. 

    The procedure shows that first we need to copy the file to Aria Orchestrator Container and from their copy to Guest VM. The sequence of executions includes a command to copy the file from Aria Orchestrator Host to a specific container, and once this is done, go to the workflow "Copy file from VCO to Guest" and run it.

    However, there is one detail I would like to confirm, if Aria Automation or Orchestrator is restarted, the file would be deleted, right?

    If this is the case, is there a way to automate the copy of the file from Host to a specific container or make the file persistent in the file system?

    Best regards

    Antonio



  • 2.  RE: "Copy file from VCO to Guest" workflow does not work.

    Posted Mar 05, 2025 12:28 PM

    Hi,

    even if technically it is possible, everything related to the file manipulation in vRO is not so straightforward and relatively limited. In most cases, it is much more efficient and manageable to use vRO as an orchestrator and not as a files share. By that I mean the files should be located on remote share and copied from it directly to the destination bypassing vRO as a storage. These are most used ways to do so:

    1. Create a websever to expose files and use HTTP to download them to to remote server directly
    2. Use remote management protocols (winrm/ssh) and execute copy commands from vRO
    3. Use dedicated scripting server, which holds the copy script. Call that script from vRO and provide source and destination values to the script. The scripting server will run the script and return the output back to the vRO, so you can decide in vRO workflow what to do next based on the output's value.

    Hope you will find it useful 😉



    ------------------------------
    If you find the answer helpful, please click on the RECOMMEND button.

    Please visit my blog to get more information: https://clouddepth.com
    ------------------------------



  • 3.  RE: "Copy file from VCO to Guest" workflow does not work.

    Posted Mar 06, 2025 01:05 AM

    Dear  @WhiteForEver,

    I hope you are fine.

    Thank you very much for your detailed comments. I got the point.

    Yes, it seems you are right, file manipulation in vRO is not so straightforward and relatively limited.

    Best regards

    Antonio




  • 4.  RE: "Copy file from VCO to Guest" workflow does not work.

    Posted Mar 07, 2025 01:14 PM

    You're very welcome. 



    ------------------------------
    If you find the answer helpful, please click on the RECOMMEND button.

    Please visit my blog to get more information: https://clouddepth.com
    ------------------------------



  • 5.  RE: "Copy file from VCO to Guest" workflow does not work.

    Posted Mar 09, 2025 01:51 PM

    The folder /data/vco/var/run/vco on Orchestartor appliance is mounted onto the folder /var/run/vco on vco-server-app container.

    No need to bother with "docker cp". This content will be preserved even if you restart vRO, as it is on the host filesystem.

    Not sure about an appliance upgrade, though: some files were missing for us after that, so better to verify...




  • 6.  RE: "Copy file from VCO to Guest" workflow does not work.

    Posted Mar 17, 2025 02:23 AM

    Dear @xian,

    I hope you are fine.

    Thank you very much for your comments and please excuse me for the late reply.

    I will keep that on my mind.

    For now, I am exploring a different approach to copy files to guest. Instead of using the "Copy file from VCO to Guest" workflow, I am using an ISO image that includes the files. This ISO is stored in a datastore, then I am using a workflow to add a CD-ROM with the ISO image and copy files to the VM.  Working on that :)

    Thanks again!

    Best regards

    Antonio