VMware Cloud Community
anba89
Enthusiast
Enthusiast
Jump to solution

Copy File from Windows Share to vRA Appliance

Hi

Is there a way to copy a file from a Windows Share to the vRA Appliance using a vRO workflow?

I need this because I have to read and process the content of these files. But maybe there are better ways to do this.

Thanks.

Andi

Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
qc4vmware
Virtuoso
Virtuoso
Jump to solution

Can you place the file on shared storage like a netapp or something that both the windows system and the vRO appliance can speak to?  Or can you run the process twice the first time dropping a file somewhere and the second time making a call directly to orchestrator with the xml as the payload?  If you can only do a single run of this tool you could call orchestrator, process the xml, and then drop a file or email the xml somewhere.

We also have windows hosts we use as helpers in our environment so maybe you could do your processing within one of those helpers?  We make calls via the guest tools and extract the results from the output of powershell or other command line tools.

Paul

View solution in original post

Reply
0 Kudos
5 Replies
daphnissov
Immortal
Immortal
Jump to solution

Yes, there are better ways for doing this. You definitely want to avoid a workflow which copies anything to the vRA/vRO appliances. If you can give more details about what you're trying to accomplish, we can suggest alternatives.

Reply
0 Kudos
anba89
Enthusiast
Enthusiast
Jump to solution

A tool creates an XML file which then must be read and processed by a vRO workflow. Of course there is also the option that the tool makes a api call with the XML string as content. But the customer wanted an XML file to be generated, which can also be archived.

Reply
0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

I would handle this by publishing that XML file to a very simple web server and then having vRO do a call to that URI to get the contents of the XML.

Reply
0 Kudos
qc4vmware
Virtuoso
Virtuoso
Jump to solution

Can you place the file on shared storage like a netapp or something that both the windows system and the vRO appliance can speak to?  Or can you run the process twice the first time dropping a file somewhere and the second time making a call directly to orchestrator with the xml as the payload?  If you can only do a single run of this tool you could call orchestrator, process the xml, and then drop a file or email the xml somewhere.

We also have windows hosts we use as helpers in our environment so maybe you could do your processing within one of those helpers?  We make calls via the guest tools and extract the results from the output of powershell or other command line tools.

Paul

Reply
0 Kudos
anba89
Enthusiast
Enthusiast
Jump to solution

Thank you for your feedback.

The tool now makes a call directly to orchestrator with the xml as the payload.

Then I process the content and save the file in a folder.

Works very well for us.

Reply
0 Kudos