File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Management-Utilities/auto_set_fsxn_auto_grow Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# Automatically Set Auto Size mode to Grow on FSx for NetApp ONTAP Volumes
22
33## Introduction
4- This project helps to mitigate the issue of not being able to set the auto size mode to
4+ This project helps to mitigate the issue of not being able to set the auto size mode
55on an FSxN volume when creating it from the AWS console or API. It does this by providing
66a Lambda function that will set the mode for you, and instructions on how to set up a
77CloudWatch event to trigger the Lambda function whenever a volume is created. With this
@@ -53,7 +53,7 @@ secretsManagerRegion variable to the region where your secrets are stored. Final
5353set the auto size parameters (autoSizeMode, growThresholdPercentage,
5454maxGrowSizePercentage, shrinkThresholdPercentage, minShrinkSizePercentage and
5555maxWaitTime) as you see fit. NOTE: Do note delete the variables
56- or set them to None or empty strings, as the script will fail to run appropraitely
56+ or set them to None or empty strings, as the script will fail to run appropriately
5757if done so.
5858
5959Once you have updated the program, click on the "Deploy" button.
Original file line number Diff line number Diff line change 4242# Set the auto size mode. Supported values are "grow", "grow_shrink", and "off".
4343autoSizeMode = "grow"
4444#
45- # Set the grow-threshold-precentage for the volume. This is the percentage of the volume that must be used before it grows.
45+ # Set the grow-threshold-percentage for the volume. This is the percentage of the volume that must be used before it grows.
4646growThresholdPercentage = 85
4747#
4848# Set the maximum grow size for the volume in terms of the percentage of the provisioned size.
4949maxGrowSizePercentage = 120
5050#
51- # Set the shrink-threshold-precentage for the volume. This is the percentage of the volume that must be free before it shrinks.
51+ # Set the shrink-threshold-percentage for the volume. This is the percentage of the volume that must be free before it shrinks.
5252shrinkThresholdPercentage = 50
5353#
5454# Set the minimum shirtk size for the volume in terms of the percentage of the provisioned size.
6363# otherwise the Lambda timeout feature will kill it before it is able to
6464# iterate as many times as you want it to. Also note that the main reason for
6565# it to take a while for a volume to get created is when multiple are being
66- # created at the same time, so if you have autmation that might create a lot of
66+ # created at the same time, so if you have automation that might create a lot of
6767# volumes at the same time, you might need to either adjust this number really
6868# high, or come up with another way to get the auto size mode.
6969maxWaitTime = 60
You can’t perform that action at this time.
0 commit comments