You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Vineet Saini <sw...@gmail.com> on 2014/07/28 21:27:55 UTC

How to Run script on Windows Compute

Is it possible to use runScript method to run command/command on windows
node?

Any example or link would be great help.

Re: How to Run script on Windows Compute

Posted by Andrew Phillips <an...@apache.org>.
> It was an intent to add an Overthere driver long time ago [1] but that
> never got completed. I agree that it would be a really nice addition,
> so feel free to file a feature request in our JIRA [2] for this.

Obviously, a pull request would be greatly appreciated, too! [*] ;-)

ap

[*] I'm biased w.r.t. Overthere, since it's developed by the company I work...

Re: How to Run script on Windows Compute

Posted by Ignasi Barrera <ig...@gmail.com>.
It was an intent to add an Overthere driver long time ago [1] but that
never got completed. I agree that it would be a really nice addition,
so feel free to file a feature request in our JIRA [2] for this.


I.


[1] https://github.com/jclouds/legacy-jclouds/pull/734
[2] https://issues.apache.org/jira/browse/JCLOUDS

On 30 July 2014 15:30, Vineet Saini <sw...@gmail.com> wrote:
> Any plan to support WinRM to do same for Windows in addition to ssh?
>
> May be use https://github.com/xebialabs/overthere or similar approach. Can
> request this as enhancement to support WinRM to run command on windows?
>
>
> On Tue, Jul 29, 2014 at 12:34 PM, Ignasi Barrera <na...@apache.org> wrote:
>>
>> jclouds currently implements access to the nodes using SSH. We support the
>> sshj and jsch libraries, and right now this is the only protocol supported
>> to access the nodes.
>>
>> This means that to run scripts on a Windows host there should be an SSH
>> server running there and listening on port 22. Also, jclouds will upload the
>> script to the node before running it, so the configuration in the node
>> should allow that upload. Once that is done, jclouds will run the script
>> locally.
>>
>> Unfortunately I don't have an example  to share, but this should give you
>> an idea of what the requirements are and set an starting point.
>>
>> I.
>>
>> El 28/07/2014 21:28, "Vineet Saini" <sw...@gmail.com> escribió:
>>
>>> Is it possible to use runScript method to run command/command on windows
>>> node?
>>>
>>> Any example or link would be great help.
>>>
>

Re: How to Run script on Windows Compute

Posted by Vineet Saini <sw...@gmail.com>.
Any plan to support WinRM to do same for Windows in addition to ssh?

May be use https://github.com/xebialabs/overthere or similar approach. Can
request this as enhancement to support WinRM to run command on windows?


On Tue, Jul 29, 2014 at 12:34 PM, Ignasi Barrera <na...@apache.org> wrote:

> jclouds currently implements access to the nodes using SSH. We support the
> sshj and jsch libraries, and right now this is the only protocol supported
> to access the nodes.
>
> This means that to run scripts on a Windows host there should be an SSH
> server running there and listening on port 22. Also, jclouds will upload
> the script to the node before running it, so the configuration in the node
> should allow that upload. Once that is done, jclouds will run the script
> locally.
>
> Unfortunately I don't have an example  to share, but this should give you
> an idea of what the requirements are and set an starting point.
>
> I.
> El 28/07/2014 21:28, "Vineet Saini" <sw...@gmail.com> escribió:
>
> Is it possible to use runScript method to run command/command on windows
>> node?
>>
>> Any example or link would be great help.
>>
>>

Re: How to Run script on Windows Compute

Posted by Ignasi Barrera <na...@apache.org>.
jclouds currently implements access to the nodes using SSH. We support the
sshj and jsch libraries, and right now this is the only protocol supported
to access the nodes.

This means that to run scripts on a Windows host there should be an SSH
server running there and listening on port 22. Also, jclouds will upload
the script to the node before running it, so the configuration in the node
should allow that upload. Once that is done, jclouds will run the script
locally.

Unfortunately I don't have an example  to share, but this should give you
an idea of what the requirements are and set an starting point.

I.
El 28/07/2014 21:28, "Vineet Saini" <sw...@gmail.com> escribió:

> Is it possible to use runScript method to run command/command on windows
> node?
>
> Any example or link would be great help.
>
>