Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

max loop iterations

francoisbnc

I created script for change options in volumes, but the max iterations is set to 100 by design.

What is the way to change it.

Help appreciated

francois

4 REPLIES 4

paragp

Yes you are right this has been set to a a max of 100. How many iterations do you need ? . You could split it into multiple rows of 100 iterations each or execute the workflow multiple times to set volume options in batches of 100

francoisbnc

Multiple DFMs and filers are involved, so filter return a total of 990 volumes.

The idea behind is to set vol autosize values on all volumes for prevent base snapshots autodeletion in case of volume full.

Is it not possible to bypass this limitation?

paragp

Unfortunately we don't have a way to do this now. The limit was added to protect the server from being stretched beyond capacity. I am taking this down as a feature request. The only way you can do it now is to either somehow chunk them into 10 rows of 100 volumes or execute the workflow multiple(10) times with sufficient time duration between executions to allow the DFM servers and WFA to see the updated volumes.

francoisbnc

As source is selected by query in loop, I don't see exactly how chunk.

Have to have multiple query with records 0..100, 101..200 etc or other ways?

SELECT

            vol.name AS 'name', array.ip AS 'array.ip', array.name AS 'array.name'

FROM

            storage.volume AS vol

JOIN

            storage.array AS array ON vol.array_id = array.id

WHERE

            vol.name LIKE '%${volume_name}%'

            AND vol.name NOT LIKE  'sdw%'

            AND vol.name NOT LIKE '%mirror%')

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