Hi Dalmiro,
-
Yes, the slow down only happens on the 2008 R2 server, of which we have one instance. Running the command $PSVersionTable.PSVersion on that server outputs the version as 3.0
-
We have four machines in the deployment process. Three are 2012R2 and one 2008R2. The pause is consistent over all the 2012R2 at 3-4 seconds.
-
Using the script console to run the “hello world” script I got the following results over three runs (total time as reported by octopus):
a. 2008R2 – 41seconds, 16 seconds, 16 seconds
b. 2012R2 – 7 seconds, 3 seconds, 3 seconds
-
Remoting onto the 2008R2 server and opening a Powershell console is about 1 second before the prompt is available.
There are the raw logs from Octopus for the last run of the script in the console.
2008R2
Task ID: ServerTasks-3457
Task status: Success
Task queued: Thursday, March 10, 2016 1:12 PM
Task started: Thursday, March 10, 2016 1:12 PM
Task duration: 16 seconds
Server version: 3.3.1+Branch.master.Sha.e396cf22d54f41a30788b619666a8517ea60d2b9
| == Success: Script run from management console ==
|
| == Success: Run script on: Advance2go ==
13:12:24 Verbose | Octopus Deploy: Calamari version 3.3.1+Branch.master.Sha.25c4524418a3a9922cde6da7ebf074dba37ea326
13:12:32 Verbose | Name Value
13:12:32 Verbose | ---- -----
13:12:32 Verbose | PSVersion 3.0
13:12:32 Verbose | WSManStackVersion 3.0
13:12:32 Verbose | SerializationVersion 1.1.0.1
13:12:32 Verbose | CLRVersion 4.0.30319.18408
13:12:32 Verbose | BuildVersion 6.2.9200.16398
13:12:32 Verbose | PSCompatibleVersions {1.0, 2.0, 3.0}
13:12:32 Verbose | PSRemotingProtocolVersion 2.2
13:12:32 Info | hello world from ADVANCE2GO
13:12:33 Info | Exit code: 0
2012R2
Task ID: ServerTasks-3459
Task status: Success
Task queued: Thursday, March 10, 2016 1:13 PM
Task started: Thursday, March 10, 2016 1:13 PM
Task duration: 3 seconds
Server version: 3.3.1+Branch.master.Sha.e396cf22d54f41a30788b619666a8517ea60d2b9
| == Success: Script run from management console ==
|
| == Success: Run script on: Aus-WEB1 ==
13:13:18 Verbose | Octopus Deploy: Calamari version 3.3.1+Branch.master.Sha.25c4524418a3a9922cde6da7ebf074dba37ea326
13:13:19 Verbose | Name Value
13:13:19 Verbose | ---- -----
13:13:19 Verbose | PSVersion 5.0.10105.0
13:13:19 Verbose | WSManStackVersion 3.0
13:13:19 Verbose | SerializationVersion 1.1.0.1
13:13:19 Verbose | CLRVersion 4.0.30319.34209
13:13:19 Verbose | BuildVersion 10.0.10105.0
13:13:19 Verbose | PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
13:13:19 Verbose | PSRemotingProtocolVersion 2.3
13:13:20 Info | hello world from AUS-WEB1
13:13:20 Info | Exit code: 0
Thanks.