I've had real good success with script packages on Linux. I am trying to repeat that on a Windows VM. It has the scp-cloud scripts (cmd and vbs, etc.) and starts fine as an instance in my SCP 2.1 environment.
However, I cannot get script packages to run. What is the mechanism by which the actual script is transferred to an instance? Do I need a Cygwin SSH daemon running? If I create a pattern and attach a script package to a Windows instance, it will deploy fine (I can connect to it, it receives an IP, etc.), but it takes a long time (15 minutes) at "Executing script package", after which it reports the instance is up and running in the cloud. However, nothing seems to take place on the instance.
Hardcoding the script (no variables processed) results in much faster processing time, but still no results on the instance.
This topic has been locked.
5 replies Latest Post - 2013-03-19T11:38:27Z by SystemAdmin
Pinned topic Windows script packages
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-03-19T11:38:27Z at 2013-03-19T11:38:27Z by SystemAdmin
Re: Windows script packages2013-02-17T19:14:55Z in response to SystemAdminHi, a couple of question to understand better the scenario and provide the information.
1 - are you using SCP 2.1 or SCP 2.1 FP1 ? I ask for it because the way to process the script packages is a little bit different between them
2 - which is the image type you are using (basic / intermediate / advanced) ?
Anyway you don't need cygwin ssh in the image.
Re: Windows script packages2013-02-20T14:33:31Z in response to SystemAdminYes basic does not support the script packages while advanced and intermediate yes.
The way how it works is different if the image is advanced or intermediate.
For the advanced images they are pushed in the image and executed from SCP using RXA.
For the intermediate images they are downloaded from SCP and executed using scp-cloud-init.
It's difficult to understand what is the cause of your failure, it might be also the script package itself or the image.
If you have an issue I suggest to involve the support team providing them the troubleshooting information so that they can do the proper problem determination
aelfner 110000DAB747 PostsACCEPTED ANSWER
Re: Windows script packages2013-03-18T23:30:32Z in response to SystemAdminI am also at SCP2.1 FP1 and trying to get a Windows script package to work on a Win7 system.
When I try to upload the .zip file, it just says 'Failed'. How can I find out what it is objecting to?