2015-02-16 04:27 PM
How to make sure that the resize volume takes care of the underlying aggrs used space calculation.
Resize should not run or fail, if the underlying aggrs used capacity crosses say 80% due to the resize.
How to achieve the same ? Using Constants ? If so does it take care of current resizing capacity into account as well ?
Else define a variable say $aggrUsedSpacePercentage <= 90 in Advaced tab ?
2015-02-16 07:15 PM
Hello Every body,
I have question about Audit log, If create , resize or delete Volume
I want to know who are action. and if have 3rd party software for integrate with netapp please tell me.
Thank you very much.
2015-02-17 07:48 AM
I have written a workflow that grows a 7-mode volume to a desired free space percentage if doing so would not exceed any one of three aggregate thresholds (actual used space in aggregate, actual guaranteed + used space, and committed percentage). The workflow also grows VSM destinations. I am planning on upgrading the workflow to cDOT sometime this week. What version, and mode of OnTap and WFA are you trying to support.
2015-02-17 08:33 PM
One way to do this is:
Resize Volume command can be disabled if the resize leads to aggregate going above 80% used space threshold.
In the Advanced tab you can have a condition like:
- $TargetSize is the size to which the volume has to be grown to.
- volume1 is the variable name of the volume in Resize Volume command
((volume1.aggregate.used_size_mb + ($TargetSize - volume1.size_mb))/volume1.aggregate.size_mb) < 0.8
The above condition in advanced tab can be converted to throw an exception if the intent is to abort the workflow and not to just disable the command.
Note: You might have to change your logic slightly if you want to take care of volume guarantees. The above assumes the volume is thickly provisioned.
2015-02-17 10:29 PM
Thanks for your query. Couple of questions.
Is your 3rd party software only using WFA REST APIs to do create , resize or delete Volume?
And you want to know which user has done create , resize or delete Volume from the 3rd party software.
Is my understanding correct?
2015-02-18 01:57 PM
Can you share your 7Mode workflow where you have taken care of the 3 thresholds ? And I will also wait for your cDOT workfows in the mean time.
BTW, do we need to resize the VSM destination in case of cDOT ? I thought ONTAP takes care of that if the volume type is dp.
2015-02-19 09:47 AM
Yes the expression helped and it worked. And yes my intent is to abort the workflow and not just disable the command.
Can you point me at some examples on how to abort ?
Since in my case I am trying to to increment the volume size. I put the expression like the one below,
($IncrementSizeInGB*1024 + (int)resizeVolume.aggregate.used_size_mb)/((int)re
The int type was added as I ran into a issue. It did a string concatenation and not addition.