Skip to content

Commit 0cc8210

Browse files
committed
Added the ability to read in the partnersTable from a DynamoDB.
1 parent 764d078 commit 0cc8210

File tree

1 file changed

+3
-3
lines changed
  • Management-Utilities/auto_create_sm_relationships

1 file changed

+3
-3
lines changed

Management-Utilities/auto_create_sm_relationships/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ There are a few things you need to do in order to get this script to run properl
2626
- partnerSvmName - The name of the SVM where you want the SnapMirror destination volume to reside.
2727
- partnerSvmSourceName - Is the "peered name" of the source SVM. Usually, it is the same as the source SVM, but can be different if that same name already exists on the partner file system. When you peer the SVM it will require you to create an alias for the source SVM so all the SVM names are unique.
2828

29-
*NOTE:* Instead of defining the partnersTable in the script, you can define dynamodbPartnersTableName and dynamodbRegion and the script will read in the partner information from the specified DynamoDB table. The partners table should have the following fields:
29+
**NOTE:** Instead of defining the partnersTable in the script, you can define dynamodbPartnersTableName and dynamodbRegion and the script will read in the partner information from the specified DynamoDB table. The partners table should have the following fields:
3030
- soureceId - Which is the concatentation of the source file system ID followed by a ":" followed by the SVM name. It is done this way because the id has to be unique in the table. It is split up into its two components in the script when it is read in.
3131
- partnerFsxnIp - Set to the IP address of the management port of the partner FSxN file system.
3232
- partnerSvmName - The name of the SVM where you want the SnapMirror destination volume to reside.
3333
- partnerSvmSourceName - Is the "peered name" of the source SVM. Usually, it is the same as the source SVM, but can be different if that same name already exists on the partner file system. When you peer the SVM it will require you to create an alias for the source SVM so all the SVM names are unique.
3434

3535
- secretsTable - This table provides the secret name, and username and password keys to use for each of the file systems. It should have 4 fields:
36-
- fsxId - Set to the AWS File System ID
36+
- fsxId - Set to the AWS File System ID.
3737
- secretName - Set to the name of the secret created in step one.
3838
- usernameKey - Set to the name of the key that holds the username.
3939
- passwordKey - Set to the name of the key that holds the password.
4040

41-
*NOTE:* Instead of defining the secretsTable in the script, you can define dynamodbSecretsTableName and dynamodbRegion and the script will read in the secretsTable information from the specified DynamoDB table. The table should have the same fields as the secretsTable defined above.
41+
**NOTE:** Instead of defining the secretsTable in the script, you can define dynamodbSecretsTableName and dynamodbRegion and the script will read in the secretsTable information from the specified DynamoDB table. The table should have the same fields as the secretsTable defined above.
4242

4343
- secretsManagerRegion - Set to the region where the Secrets Manager has been set up.
4444
- destinationVolumeSuffix - Set to the string you want appended to the source volume name to create the destination volume name.

0 commit comments

Comments
 (0)