-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcreate_sm_without_peering.yaml
More file actions
103 lines (81 loc) · 2.9 KB
/
create_sm_without_peering.yaml
File metadata and controls
103 lines (81 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Description: "Create a SM relationship between two volumes. Assumes that the cluster and vservers are already peered and the destintion volume does not already exist."
Parameters:
SourceLinkArn:
Description: "The ARN to the Lambda link function that manages the sources file system."
Type: String
SourceSecretArn:
Description: "The Secret ARN that holds the sources fsxadmin password."
Type: String
SourceSecretKey:
Description: "The key to use within the AWS secret that holds the source fsxadmin paswword."
Default: "password"
Type: String
SourceFileSystemId:
Description: "The Source File System ID."
Type: String
SourceSvmName:
Description: "The name of the SVM that holds the source volume."
Type: String
SourceVolumeName:
Description: "The name of the volume to replicate."
Type: String
DestinationLinkArn:
Description: "The ARN to the Lambda link function that manages the destination file system."
Type: String
DestinationSecretArn:
Description: "The Secret ARN that holds the destination fsxadmin password."
Type: String
DestinationSecretKey:
Description: "The key to use within the AWS secret that holds the destination fsxadmin password."
Default: "password"
Type: String
DestinationFileSystemId:
Description: "The destination File System ID."
Type: String
DestinationSvmName:
Description: "The name of the SVM to replicate to."
Type: String
DestinationVolumeName:
Description: "The name of the destination volume."
Type: String
DestinationAggregate:
Description: "The aggregates to use to create the destination volume. Default is aggr1."
Type: CommaDelimitedList
Default: "aggr1"
Policy:
Description: "The SnapMirror policy to use."
Type: String
Default: "MirrorAllSnapshots"
Reverse:
Description: "Reverse the relationship. Can be set to 'true' during an update to reverse the relationship."
Type: String
Default: "false"
Resources:
SnapMirrorRelationship:
Type: "NetApp::FSxN::SnapMirror"
Properties:
FsxAdminPasswordSource:
Secret:
SecretArn: !Ref SourceSecretArn
SecretKey: !Ref SourceSecretKey
FileSystemId: !Ref SourceFileSystemId
LinkArn: !Ref SourceLinkArn
FsxnDestinationInfo:
FsxAdminPasswordSource:
Secret:
SecretArn: !Ref DestinationSecretArn
SecretKey: !Ref DestinationSecretKey
FileSystemId: !Ref DestinationFileSystemId
LinkArn: !Ref DestinationLinkArn
SnapMirrorSourceEndpoint:
SVM:
Name: !Ref SourceSvmName
Volume: !Ref SourceVolumeName
SnapMirrorEndpoint:
SVM:
Name: !Ref DestinationSvmName
Volume: !Ref DestinationVolumeName
SnapMirrorDestinationCreation:
Aggregates: !Ref DestinationAggregate
Policy: !Ref Policy
Reverse: !Ref Reverse