本文描述如何使用 REST API 為 Oracle 建立應用程式磁碟區群組 (AVG)。 詳細資料包括部署所需的選取參數和屬性。 本文也會指定條件約束和一般值,建立 Oracle 的 AVG (如果適用)。
應用程式磁碟區群組:建立
在建立要求中,使用下列 URI 格式:
/subscriptions/<subscriptionId>/providers/Microsoft.NetApp/resourceGroups/<resourceGroupName>/providers/Microsoft.NetApp/netAppAccounts/<accountName>/volumeGroups/<volumeGroupName>?api-version=<apiVersion>
| URI 參數 | 描述 | Oracle AVG 的限制 |
|---|---|---|
subscriptionId |
訂用帳戶識別碼 | None |
resourceGroupName |
資源群組名稱 | None |
accountName |
NetApp 帳戶名稱 | None |
volumeGroupName |
磁碟區群組名稱 | 建議的格式為 <SID>-<Name> - SID:唯一識別碼。 Oracle 唯一系統識別碼只能包含英數位元、連字號 ('-') 和底線 ('_')。 其必須是最少 3 個字元和最多 12 個字元的字串,而且必須以字母開頭。 - 名稱:您選擇的字串。 範例: ORA-Testing |
apiVersion |
API 版本 | 必須是 2023-05-01 或更新版本 |
Request body
要求本文包含外部參數、群組屬性,以及要建立的磁碟區陣列,每個磁碟區都有其個別外部參數和磁碟區屬性。
下表描述建立 Oracle 部署所需的要求本文參數和群組層級屬性。
| URI 參數 | 描述 | Oracle AVG 的限制 |
|---|---|---|
Location |
要在其中建立應用程式磁碟區群組的區域 | None |
| 群組屬性 | ||
groupDescription |
群組的描述 | 自由格式字串 |
applicationType |
應用程式類型 | 使用 ORACLE 進行 Oracle 的 AVG 部署 |
applicationIdentifier |
應用程式特定識別碼字串 | 針對 Oracle,此參數是唯一的系統識別碼 |
deploymentSpecId |
部署規格識別碼,定義部署特定應用程式磁碟區群組類型的規則 | 必須是:10542149-bfca-5618-1879-9863dc6767f1 |
volumes |
要建立的磁碟區陣列 (請參閱下一個資料表,以取得磁碟區細微程度的詳細資料) | 可以有 2-12 個磁碟區,作為 Oracle 部署的一部分: - 必要:1 個資料和 1 個記錄 - 選用:資料 2-8、mir-log、備份、二進位 |
下表描述要求本文參數和磁碟區屬性,用於在 Oracle 應用程式磁碟區群組中建立磁碟區。
| 磁碟區層級要求參數 | 描述 | 限制 |
|---|---|---|
name |
磁碟區名稱,其中包含 Oracle SID,以使用群組中的磁碟區來識別資料庫 | 無。 範例或建議的磁碟區名稱: - <sid>-ora-data1 (資料)- <sid>-ora-data2 (資料)- <sid>-ora-log (記錄)- <sid>-ora-log-mirror (mirlog)- <sid>-ora-binary (二進位)- <sid>-ora-bakup (備份) |
tags |
磁碟區標記 | None |
zones |
可用性區域 | 針對 Oracle AVG: - 如果區域具有可用性區域,則您必須選取區域。 例如:區域 (1、2 或 3)。 - 如果區域沒有可用區域,且未啟用 PPG 的使用,則客戶可進行區域部署 (需要 PPG 啟用)。 |
| 磁碟區屬性 | 描述 | Oracle 值限制 |
|---|---|---|
creationToken |
匯出路徑名稱,通常與磁碟區名稱相同。 | <sid>-ora-data1 |
throughputMibps |
QoS 輸送量 | 您應該根據 1 MiBps 與 4500 MiBps 之間的磁碟區類型來設定輸送量。 |
usageThreshold |
以位元組為單位的磁碟區大小。 此值必須位於 50 GiB 到 100-TiB 範圍內。 例如,100 GiB = 107374182400 個位元組。 | 您應該以位元組為單位設定磁碟區大小。 |
exportPolicyRule |
磁碟區匯出原則規則 | 必須針對 Oracle 指定至少一個匯出原則規則。 只能針對 Oracle 修改下列規則值。 其餘必須具有其預設值: - unixReadOnly:應該是 false。 - unixReadWrite:應該是 true。 - allowedClients:指定允許的用戶端。 無限制地使用 0.0.0.0/0。 - hasRootAccess:必須是 true,才能使用根使用者進行安裝。 - chownMode:指定 chown 模式。 - Select nfsv41: or nfsv3::true。 建議針對所有磁碟區使用相同的通訊協定版本。 所有其他規則值都必須保留預設值。 |
volumeSpecName |
指定要建立之應用程式磁碟區群組的磁碟區類型 | Oracle 磁碟區必須具有下列其中一個值: - ora-data1 - ora-data2 - ora-data3 - ora-data4 - ora-data5 - ora-data6 - ora-data7 - ora-data8 - ora-log - ora-log-mirror - ora-binary - ora-backup |
proximityPlacementGroup |
適當放置磁碟區的鄰近放置群組 (PPG) 資源識別碼。 這是選擇性參數。 如果區域具有可用的區域,則一律優先使用區域。 | data、log 和 mirror-log、ora-binary 和 backup 磁碟區必須各自指定 PPG,最好是一般 PPG。 |
subnetId |
Azure NetApp Files 的委派子網路識別碼。 | 所有磁碟區的子網路識別碼都必須相同。 |
capacityPoolResourceId |
容量集區的識別碼 | 容量集區的類型必須是手動 QoS。 一般而言,所有 Oracle 磁碟區都會放置在通用容量集區中。 不過,這不是必要條件。 |
protocolTypes |
要使用的通訊協定 | 此參數應該是 NFSv3 或 NFSv4.1,而且應該符合本表稍早所述匯出原則規則中指定的通訊協定。 |
endpointType |
復寫組態的端點類型。 | 允許的值為 dst |
remoteVolumeResourceId |
遠端磁碟區的資源識別碼 | 磁碟區識別碼 |
replicationSchedule |
複寫的頻率(每日、每小時或每 10 分鐘) | 允許的值為 daily、 hourly或 _10minutely |
範例:Oracle API 要求內容的應用程式磁碟區群組
本節中的範例說明針對各種 Oracle 設定傳入磁碟區群組建立要求中的值。 這些範例示範命名、調整大小和值的最佳做法,如資料表中所述。
在下列範例中,會指定選取的預留位置。 您應該將其取代為設定特有的值。 這些值包括:
<SubscriptionId>-例:aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e<ResourceGroup>-例:TestResourceGroup<NtapAccount>-例:TestAccount<VolumeGroupName>-例:SH9-Test-00001<SubnetId>-例:/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/SH9_Subnet<CapacityPoolResourceId>-例:/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/SH9_Pool
使用 curl 建立 Oracle 的應用程式磁碟區群組
您可以使用透過 curl 呼叫 API 的範例殼層指令碼,建立下列範例的 Oracle 磁碟區群組:
擷取訂用帳戶 ID。 這個指令會自動擷取訂用帳戶標識碼併產生授權權杖:
subId=$(az account list | jq ".[] | select (.name == \"Pay-As-You-Go\") | .id" -r)echo "Subscription ID: $subId"建立存取權杖:
response=$(az account get-access-token)token=$(echo $response | jq ".accessToken" -r)echo "Token: $token"使用 curl 呼叫 REST API:
echo "---"curl -X PUT -H "Authorization: Bearer $token" -H "Content-Type:application/json" -H "Accept:application/json" -d @<ExampleJson> https://management.azure.com/subscriptions/$subId/resourceGroups/<ResourceGroup>/providers/Microsoft.NetApp/netAppAccounts/<NtapAccount>/volumeGroups/<VolumeGroupName>?api-version=2023-05-01 | jq .
範例:Oracle 建立要求的應用程式磁碟區群組
此範例會使用下列磁碟區建立磁碟區群組名稱 "group1":
- test-ora-data1
- test-ora-data2
- test-ora-data3
- test-ora-data4
- test-ora-data5
- test-ora-data6
- test-ora-data7
- test-ora-data8
- test-ora-log
- test-ora-log-mirror
- test-ora-binary
- test-ora-backup
將 JSON 範本儲存為 sh9.json:
附註
需要取代預留位置 <SubnetId> 和 <CapacityPoolResourceId>,而且當您使用此 JSON 作為範本,進行專屬的部署時,磁碟區資料需要調整。
{
"location": "westus",
"properties": {
"groupMetaData": {
"groupDescription": "Volume group",
"applicationType": "ORACLE",
"applicationIdentifier": "OR2"
},
"volumes": [
{
"name": "test-ora-data1",
"zones": [
"1"
],
"properties": {
"creationToken": " OR2-ora-data1",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data1",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": "test-ora-data2",
"zones": [
"1"
],
"properties": {
"creationToken": " OR2-ora-data2",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data2",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": "test-ora-data3",
"zones": [
"1"
],
"properties": {
"creationToken": " OR2-ora-data3",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data3",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": "test-ora-data4",
"zones": [
"1"
],
"properties": {
"creationToken": " OR2-ora-data4",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data4",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-data5",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-data5",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data5",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-data6",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-data6",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data6",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-data7",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-data7",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data7",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-data8",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-data8",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data8",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-log",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-log",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-log",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-log-mirror",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-log-mirror",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-log-mirror",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-binary",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-binary",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-binary",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"name": " OR2-ora-backup",
"zones": [
"1"
],
"properties": {
"creationToken": "test-ora-backup",
"serviceLevel": "Premium",
"throughputMibps": 10,
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-backup",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
}
]
}
}
}
}
調整並啟動指令碼
附註
此 JSON 輸入檔應該與上述腳本搭配使用。
#! /bin/bash
# 1. Extract the subscription ID:
#
subId=$(az account list | jq ".[] | select (.name == \"Pay-As-You-Go\") | .id" -r)
echo "Subscription ID: $subId"
#
# 2. Create the access token:
#
response=$(az account get-access-token)
token=$(echo $response | jq ".accessToken" -r)
echo "Token: $token"
#
# 3. Call the REST API using curl:
#
echo "---"
curl -X PUT -H "Authorization: Bearer $token" -H "Content-Type:application/json" -H "Accept:application/json" -d @sh9.json https://management.azure.com/subscriptions/$subId/resourceGroups/rg-westus/providers/Microsoft.NetApp/netAppAccounts/ANF-WestUS-test/volumeGroups/test-ORA?api-version=2022-03-01 | jq .
附註
在 curl 呼叫結束時使用 | jq . 會以更結構化的格式傳回 JSON。
範例結果
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
"name": "group1",
"type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
"location": "westus",
"properties": {
"provisioningState": "Creating",
"groupMetaData": {
"groupDescription": "Volume group",
"applicationType": "ORACLE",
"applicationIdentifier": "OR2"
},
"volumes": [
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data1",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data1",
"serviceLevel": "Premium",
"creationToken": "test-ora-data1",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data2",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data2",
"serviceLevel": "Premium",
"creationToken": "test-ora-data2",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data3",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data3",
"serviceLevel": "Premium",
"creationToken": "test-ora-data3",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data4",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data4",
"serviceLevel": "Premium",
"creationToken": "test-ora-data4",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data5",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data5",
"serviceLevel": "Premium",
"creationToken": "test-ora-data5",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data6",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data6",
"serviceLevel": "Premium",
"creationToken": "test-ora-data6",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data7",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data7",
"serviceLevel": "Premium",
"creationToken": "test-ora-data7",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-data8",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-data8",
"serviceLevel": "Premium",
"creationToken": "test-ora-data8",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-log",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-log",
"serviceLevel": "Premium",
"creationToken": "test-ora-log",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-log-mirror",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-log-mirror",
"serviceLevel": "Premium",
"creationToken": "test-ora-log-mirror",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-binary",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-binary",
"serviceLevel": "Premium",
"creationToken": "test-ora-binary",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
},
{
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup",
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
"name": "test-ora-backup",
"zones": [
"1"
],
"properties": {
"throughputMibps": 10.0,
"volumeSpecName": "ora-backup",
"serviceLevel": "Premium",
"creationToken": "test-ora-backup",
"usageThreshold": 107374182400,
"subnetId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
]
}
}
]
}
}
}
}
}
設定跨區域或跨區域複寫 (預覽)
您可以將 跨區或跨區域複寫 用於應用程式磁碟區群組的災害復原。 此範例會設定跨區域複寫。 這項功能目前為 預覽狀態。
附註
在此範例中,必須取代 <CapacityPoolResourceId>、<SrcVolumeId> 和 <SubnetId> 的預留位置。
{
"location": "eastus",
"properties": {
"groupMetaData": {
"groupDescription": "Data Protection: Test group for ORA",
"applicationType": "ORACLE",
"applicationIdentifier": "ORA"
},
"volumes": [
{
"name": "ORA-ora-data1",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-data1",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data1",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data1>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data2",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-data2",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data2",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data2>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data3",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-data3",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data3",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data3>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data4",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-data4",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data4",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data4>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data5",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-data5",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data5",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data5>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data6",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-data6",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data6",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data6>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data7",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-data7",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data7",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data7>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data8",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-data8",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data8",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data8>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-log",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-log",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-log",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_log>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-log-mirror",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-log-mirror",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-log-mirror",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_log_mirror>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-binary",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-binary",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-binary",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_binary>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-backup",
"zones": [
2
],
"properties": {
"creationToken": "ORA-ora-backup",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-backup",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_backup>,
"replicationSchedule": "Hourly"
}
}
}
}
]
}
}
使用鄰近放置群組進行跨區域複寫
此範例會針對使用鄰近放置群組部署的 Oracle 應用程式磁碟區群組設定跨區域複寫。
附註
在此範例中,必須取代 <CapacityPoolResourceId>、<SrcVolumeId> 和 <SubnetId> 的預留位置。
{
"location": "eastus",
"properties": {
"groupMetaData": {
"groupDescription": "Data Protection: Test group for ORA",
"applicationType": "ORACLE",
"applicationIdentifier": "ORA"
},
"volumes": [
{
"name": "ORA-ora-data1",
"properties": {
"creationToken": "ORA-ora-data1",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data1",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data1>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data2",
"properties": {
"creationToken": "ORA-ora-data2",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data2",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data2>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data3",
"properties": {
"creationToken": "ORA-ora-data3",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data3",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data3>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data4",
"properties": {
"creationToken": "ORA-ora-data4",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data4",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data4>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data5",
"properties": {
"creationToken": "ORA-ora-data5",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data5",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data5>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data6",
"properties": {
"creationToken": "ORA-ora-data6",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data6",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data6>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data7",
"properties": {
"creationToken": "ORA-ora-data7",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data7",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data7>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-data8",
"properties": {
"creationToken": "ORA-ora-data8",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-data8",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_data8>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-log",
"properties": {
"creationToken": "ORA-ora-log",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-log",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_log>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-log-mirror",
"properties": {
"creationToken": "ORA-ora-log-mirror",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-log-mirror",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_log_mirror>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-binary",
"properties": {
"creationToken": "ORA-ora-binary",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-binary",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_binary>,
"replicationSchedule": "Hourly"
}
}
}
},
{
"name": "ORA-ora-backup",
"properties": {
"creationToken": "ORA-ora-backup",
"serviceLevel": "standard",
"throughputMibps": 10,
"exportPolicy": {
"rules": [
{
"ruleIndex": 1,
"unixReadOnly": true,
"unixReadWrite": true,
"kerberos5ReadOnly": false,
"kerberos5ReadWrite": false,
"kerberos5iReadOnly": false,
"kerberos5iReadWrite": false,
"kerberos5pReadOnly": false,
"kerberos5pReadWrite": false,
"cifs": false,
"nfsv3": false,
"nfsv41": true,
"allowedClients": "0.0.0.0/0",
"hasRootAccess": true
}
]
},
"protocolTypes": [
"NFSv4.1"
],
"subnetId": <SubnetId>,
"usageThreshold": 107374182400,
"volumeSpecName": "ora-backup",
"capacityPoolResourceId": <CapacityPoolResourceId>,
"proximityPlacementGroup": <ProximityPlacementGroupResourceId>,
"volumeType": "DataProtection",
"dataProtection": {
"replication": {
"endpointType": "dst",
"remoteVolumeResourceId": <SrcVolumeId_backup>,
"replicationSchedule": "Hourly"
}
}
}
}
]
}
}