Active IQ Unified Manager Discussions

Slow workflow execution

francoisbnc

I wonder why workflow execution is so slow at the first line of a command 2 minutes in this exemple with WFA 2.2 (same behavior with 2.1 version) without LDAP auth.

11:45:36.381 INFO  [Create volume] ### Command 'Create volume' ###

11:47:12.276 INFO  [Create volume] Executing command: ./Create_volume8173598297431862987.ps1 -AggregateName 'sas_t2_002' -Array '10.139.32.11' -Size '1000' -VolumeGuarantee 'none' -VolumeName 'test'

11:47:12.744 INFO  [Create volume] Get-WfaCredentials -Host 10.139.32.11

11:47:12.900 INFO  [Create volume] Credentials successfully provided for '10.139.32.11'

11:47:13.103 INFO  [Create volume] Connect-NaController (with credentials) -Name 10.139.32.11 -Timeout 60000 -ErrorAction Stop

11:47:24.662 INFO  [Create volume] Connected to controller

11:47:24.927 INFO  [Create volume] Creating a new volume - name 'test' , aggregate name 'sas_t2_002' , size '1000m' , volume guarantee 'none'

11:47:34.147 INFO  [Create volume] Command completed, took 117735 milliseconds

My productive wotkflows take more than 30 minutes just for cloning 5 volumes and mapping luns inside to igroup.

Any suggestions appreciate.

François

1 ACCEPTED SOLUTION

jcbettinelli

Salut François,

We had such kind of issue with SnapManager Service for one of our customer.

There is an option in Internet Explorer called "Check for publisher's certificate revocation". I'm wondering if this option could help as well in your problem.

If this is enable, some programs needs an internet access.

That would be nice if you could give it a try

Cheers,

JC

View solution in original post

49 REPLIES 49

sinhaa

Francois, Parker,

     I don't know what else can I suggest you to try. I just can't think of anything as of now.

Maybe you can try to upgrade the WFA server to .NET 4.5 version and if possible to Powershell 3.0 and see if it helps.

-sinhaa

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

francoisbnc

Hi sinhaa,

Do you know if some kind of certificates check is used for ONTAP module?

I traced communication during load of module, and process tried to access 50.63.243.228 port 80.

3573          184.174793000          10.140.16.45          50.63.243.228          TCP          66          52724 > http [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=256 SACK_PERM=1

Following this fact,  I configured proxy in Server.

11:18:14.316 INFO  [Remove volume] ### Command 'Remove volume' ###

11:18:36.499 INFO  [Remove volume] Executing command: ./Remove_volume6766461420913838121.ps1 -Array '10.139.32.11' -VolumeName 'test'

11:18:36.655 INFO  [Remove volume] Get-WfaCredentials -Host 10.139.32.11

11:18:37.014 INFO  [Remove volume] Credentials successfully provided for '10.139.32.11'

11:18:37.139 INFO  [Remove volume] Connect-NaController (with credentials) -Name 10.139.32.11 -Timeout 60000 -ErrorAction Stop

11:18:42.536 INFO  [Remove volume] Connected to controller

11:18:44.861 INFO  [Remove volume] Removing all volume quotas, volume name: test

Workflow speed is miraculous good now

stevenj

Francois,

What exactly did you change within your server to get the workflow to speed up? Are you talking Internet settings (as in the proxy setups in IE, etc)?

francoisbnc

Hello stevenj,

In my case WFA service was running with an active directory account, because I use some workflows commandlet that needs credentials, as get-service for exemple.

So I had to login interactively  with this service account and set proxy setting or set via regedit the correct HKEY_USERS Keys

[S-1-5-21..........\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

"MigrateProxy"=dword:00000001

"ProxyEnable"=dword:00000001

"ProxyHttp1.1"=dword:00000000

"ProxyServer"="http://ProxyServername:80"

François

jcbettinelli

Salut François,

We had such kind of issue with SnapManager Service for one of our customer.

There is an option in Internet Explorer called "Check for publisher's certificate revocation". I'm wondering if this option could help as well in your problem.

If this is enable, some programs needs an internet access.

That would be nice if you could give it a try

Cheers,

JC

View solution in original post

elic_co

Hi all.

Tried to do all the examples shown and still takes long time like other posts.

 

Tried to change the "revocation" setting in Internet Explorer, tried creating the powershell.exe.config file with relevant configuration, also tried removing executor="http-executor" from xml file and restarting service,  and server is already 2008R2.

 

Any other ideas?

WFA Server service runs with local system.

 

Thanks.

stevenj

Was this done on the workstation that the workflows were executed from or on the server? What user account? Still seeing issues with the workflows taking about 45 seconds to load the powershell modules.

stevenj

Ignore - Read the response.... Changed the setting under the user that runs the WFA Server Service and dropped the load from 45 seconds to under 2 seconds.

Thanks!!

francoisbnc

Hi jc,

You are totaly right.

Removing Check for publisher's certificate revocation fix the problem as well.

François

aparker

How much of a delay did you have before?

-Alan

francoisbnc

2 minutes

Francois

sinhaa

I'm glad it has  finally worked for both of you.

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

francoisbnc

sinhaa,

The idea was not to configure proxy settings in WFA server, can you tell me more about this unwanted traffic.

francois

sinhaa

Francois,

         Honestly, I don't know the answer right now. I'll post it once I find out.

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

francoisbnc

Hi Sinaa,

Was there a change on Netappp side? I have to change to v3.0 because compatibility with ocum 6.2 and the slowdown problem reoccurs, event certificate unchecked.

I tried to play with bug solution 802749 and standalone-full.xml. When I removed lines, the WFA server service won't to start any more.

For HTTP: <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" executor="http-executor"/>
For HTTPS: <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true" executor="http-executor">

 

 

François

sinhaa

Francois,

          I've not tried removing the http-executors in wfa3.0. If that is the case, I'm not sure.

 

 I can suggest another thing which has worked for some others.

 

Upgrade your .NET version to 4.5 or later. Then after run the .NET repair tool from here.

 

http://www.microsoft.com/en-us/download/details.aspx?id=30135

 

Do it even if the .NET upgrade went fine and didn't throw any errors. Just download the repair tool and run it

 

 

sinhaa

 

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

francoisbnc
 

sinhaa

Francois,

 

         Run the .NET repair tool and see if it helps.

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

francoisbnc

Hello sinhaa,

Yes I did, but after removing this key, I cannot start WFA server service any more.

For .NET I run WFA on W2K12R2 so 4.5 is installed as feature already.

François

abhit

Francois:

 

Thanks for your reply.

Are you still facing the slow execution problem with WFA 3.0?


Regards

Abhi

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public