Create a system with BYOL licensing
You can use this workflow to create a new Cloud Volumes ONTAP system using bring-your-own-license (BYOL) licensing.
|
|
When using BYOL licensing:
|
Choose the workflow to use based on the type of Cloud Volumes ONTAP deployment:
Create a system for a single node
You can use this workflow to create single node system with BYOL licensing.
1. Select the region
Perform the workflow Get regions and choose the name value of the required region for the region parameter in step 10.
2. Select the workspace
Perform the workflow Get tenants and choose the workspacePublicId value for the tenantId parameter in step 10.
3. Select the VNets
Perform the workflow Get VNets and do the following:
-
Choose the
idvalue of the desired vnet from thevirtualNetworksfor thevnetIdparameter in step 10. -
Choose the
cidrvalue of the desired cidr from thevirtualNetworksfor thecidrparameter in step 10. -
Choose the
idof the desired subnet from thevirtualNetworks→cidrs→subnetsfor thesubnetIdparameter in step 10. -
Choose the
idof the desired security group from thesecurityGroupsfield for thesecurityGroupIdparameter in step 10.
4. Select the Azure availability zone
Perform the workflow Get Availability Zones and choose the number from zones for the availabilityZone parameter in step 10.
5. Select Azure packages configuration
Perform the Get Azure Packages workflow and choose the name of the desired package item for the packageName parameter.
6. Obtain the required NSS key
An NSS key is required when using BYOL licensing. You can create a key or select an existing key, and include the NSS key in the nssAccount parameter in step 10.
-
To create a new NSS key using the NetApp Console web user interface, perform the task Generate NSS user ID and choose the
id. -
To select an existing NSS key, perform the workflow Get NSS keys and choose the
idof the required NSS user.
7. Select the Azure cloud provider accounts
Perform the Get Azure Cloud Provider Accounts workflow and choose the publicId of the desired cloud provider account item from the azureAccounts for the cloudProviderAccount parameter.
8. Select the Azure permutations
Perform the Get Azure Permutations workflow and pick the desired permutation:
-
Choose the
ontapVersionof the desired permutation for theontapVersionfield inside thevsaMetadataparameter in step 10. -
Choose the
typeof the desired license item from thelicenseparameter for thelicenseTypefield inside thevsaMetadataparameter in step 10. -
Choose the
instanceTypeof the desired permutation for theinstanceTypefield inside thevsaMetadataparameter in step 10.
You will also need to include the serialNumber value in the REST API call.
9. Select the Azure storage account types
Perform the Get Azure Storage Account Types workflow and pick the desired storage type.
-
Choose the
diskTypeof the desired storage type item for thestorageTypeparameter in step 10. -
Choose the
sizeof the desired disk size from thesizes→sizefield for thesizefield inside thediskSizeparameter in step 10. -
Choose the
unitof the desired disk size from thesizes→sizefield for theunitfield inside thediskSizeparameter in step 10.
10. Create the system
| HTTP method | Path |
|---|---|
POST |
/occm/api/azure/vsa/working-environments |
- curl example
curl --location --request POST 'https://api.bluexp.netapp.com/occm/api/azure/vsa/working-environments' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --header 'Content-Type: application/json' --d @JSONinput
- Input
-
The JSON input example includes the minimum list of parameters. This request uses BYOL licensing as indicated in the
licenseTypeparameter. TheserialNumberis required. - JSON input example
{
"name": "Azure123",
"tenantId": "tenantID",
"region": "eastus2",
"packageName": "azure_custom",
"dataEncryptionType": "AZURE",
"vsaMetadata": {
"ontapVersion": "ONTAP-9.9.0X5.T1.azure",
"licenseType": "azure-cot-premium-byol",
"instanceType": "Standard_DS3_v2"
},
"nssAccount": "x0x0x000-0000-000x-00xx-x0000cx0000xx",
"subnetId": "/subscriptions/x000xx00-0x00-0000-000x/resourceGroups/occm_group_eastus2/providers/Microsoft.Network/virtualNetworks/Vnet1/subnets/ProxySubnet",
"svmPassword": "password",
"vnetId": "/subscriptions/x000xx00-0x00-0000-000x/resourceGroups/occm_group_eastus2/providers/Microsoft.Network/virtualNetworks/Vnet1",
"cidr": "10.0.0.0/16",
"diskSize": {
"size": 1,
"unit": "TB"
},
"storageType": "Premium_LRS",
"resourceGroup": "Azure000-xx",
"serialNumber": "00000110000000000001",
"subscriptionId": "x000xx00-0x00-0000-000x",
"cloudProviderAccount": "ManagedServiceIdentity",
"availabilityZone": 2
}
- Output
-
The JSON output example includes an example of the
VsaWorkingEnvironmentRresponseresponse. - JSON output example
{
"publicId": "VsaWorkingEnvironment-uFPaNkrv",
"name": "Azure123",
"tenantId": "tenantID",
"svmName": "svm_Azure123",
"creatorUserEmail": "user_mail",
"status": null,
"providerProperties": null,
"reservedSize": null,
"clusterProperties": null,
"ontapClusterProperties": null,
"cloudProviderName": "Azure",
"snapshotPolicies": null,
"actionsRequired": null,
"activeActions": null,
"replicationProperties": null,
"schedules": null,
"svms": null,
"workingEnvironmentType": "VSA",
"supportRegistrationProperties": null,
"supportRegistrationInformation": null,
"capacityFeatures": null,
"encryptionProperties": null,
"supportedFeatures": null,
"isHA": false,
"haProperties": null,
"k8sProperties": null,
"fpolicyProperties": null,
"saasProperties": null,
"cbsProperties": null,
"complianceProperties": null,
"monitoringProperties": null
}
Create a system for a high availability pair
You can use this workflow to create an HA system with BYOL licensing.
1. Select the region
Perform the workflow Get regions and choose the name value of the required region for the region parameter in step 9.
2. Select the workspace
Perform the workflow Get tenants and choose the workspacePublicId value for the tenantId parameter in step 9.
3. Select the VNets
Perform the workflow Get VNets and do the following:
-
Choose the
idvalue of the desired vnet from thevirtualNetworksfor thevnetIdparameter in step 9. -
Choose the
cidrvalue of the desired cidr from thevirtualNetworksfor thecidrparameter in step 9. -
Choose the
idof the desired subnet from thevirtualNetworks→cidrs→subnetsfor thesubnetIdparameter in step 9. -
Choose the
idof the desired security group from thesecurityGroupsfield for thesecurityGroupIdparameter in step 9.
4. Select Azure packages configuration
Perform the Get Azure Packages workflow and choose the name of the desired package item for the packageName parameter.
5. Obtain the required NSS key
An NSS key is required when using BYOL licensing. You can create a key or select an existing key, and include the NSS key in the nssAccount parameter in step 9.
-
To create a new NSS key using the NetApp Console user interface, perform the task Generate NSS user ID and choose the
id. -
To select an existing NSS key, perform the workflow Get NSS keys and choose the
idof the required NSS user.
6. Select Azure cloud provider accounts
Perform the Get Azure Cloud Provider Accounts workflow and choose the publicId of the desired cloud provider account item from the azureAccounts for the cloudProviderAccount parameter.
7. Select the Azure permutations
Perform the Get Azure Permutations workflow and pick the desired permutation:
-
Choose the
ontapVersionof the desired permutation for theontapVersionfield inside thevsaMetadataparameter in step 9. -
Choose the
typeof the desired license item from thelicenseparameter for thelicenseTypefield inside thevsaMetadataparameter in step 9. -
Choose the
instanceTypeof the desired permutation for theinstanceTypefield inside thevsaMetadataparameter in step 9.
You will also need to include the serialNumber value in the REST API call.
8. Select the Azure storage account types
Perform the Get Azure Storage Account Types workflow and pick the desired storage type.
-
Choose the
diskTypeof the desired storage type item for thestorageTypeparameter in step 9. -
Choose the
sizeof the desired disk size from thesizes→sizefield for thesizefield inside thediskSizeparameter in step 9. -
Choose the
unitof the desired disk size from thesizes→sizefield for theunitfield inside thediskSizeparameter in step 9.
9. Create the system
| HTTP method | Path |
|---|---|
POST |
/occm/api/azure/ha/working-environments |
- curl example
curl --location --request POST 'https://api.bluexp.netapp.com/occm/api/azure/ha/working-environments' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>' --header 'Content-Type: application/json' --d @JSONinput
- Input
-
The JSON input example includes the minimum list of parameters. This request uses BYOL licensing as indicated in the
licenseTypeparameter. TheplatformSerialNumberNode1andplatformSerialNumberNode2parameters are required. - JSON input example
{
"name": "ShirleyHa2701",
"tenantId": "tenantID",
"region": "eastus2",
"packageName": "azure_ha_standard",
"dataEncryptionType": "AZURE",
"capacityTier": "Blob",
"vsaMetadata": {
"ontapVersion": "ONTAP-9.9.0X5.T1.azureha",
"licenseType": "azure-ha-cot-premium-byol",
"instanceType": "Standard_DS4_v2"
},
"nssAccount": "x0x0x000-0000-000x-00xx-x0000cx0000xx",
"writingSpeedState": "NORMAL",
"subnetId": "/subscriptions/x000xx00-0x00-0000-000x/resourceGroups/occm_group_eastus2/providers/Microsoft.Network/virtualNetworks/Vnet1/subnets/Subnet1",
"svmPassword": "password",
"vnetId": "/subscriptions/x000xx00-0x00-0000-000x/resourceGroups/occm_group_eastus2/providers/Microsoft.Network/virtualNetworks/Vnet1",
"cidr": "10.0.0.0/16",
"ontapEncryptionParameters": null,
"skipSnapshots": false,
"diskSize": {
"size": 500,
"unit": "GB",
"_identifier": "500 GB"
},
"storageType": "Premium_LRS",
"azureTags": [],
"resourceGroup": "ShirleyHa2701-rg",
"subscriptionId": "x000xx00-0x00-0000-000x,
"cloudProviderAccount": "ManagedServiceIdentity",
"backupVolumesToCbs": false,
"enableCompliance": false,
"enableMonitoring": false,
"availabilityZone": null,
"haParams": {
"platformSerialNumberNode1": "00000110000000000001",
"platformSerialNumberNode2": "00000110000000000002"
}
}
- Output
-
The JSON output example includes an example of the
VsaWorkingEnvironmentRresponseresponse. - JSON output example
{
"publicId": "VsaWorkingEnvironment-Kms14Nkv",
"name": "ShirleyHa2701",
"tenantId": "tenantID",
"svmName": "svm_ShirleyHa2701",
"creatorUserEmail": "user_email",
"status": null,
"providerProperties": null,
"reservedSize": null,
"clusterProperties": null,
"ontapClusterProperties": null,
"cloudProviderName": "Azure",
"snapshotPolicies": null,
"actionsRequired": null,
"activeActions": null,
"replicationProperties": null,
"schedules": null,
"svms": null,
"workingEnvironmentType": "VSA",
"supportRegistrationProperties": null,
"supportRegistrationInformation": null,
"capacityFeatures": null,
"encryptionProperties": null,
"supportedFeatures": null,
"isHA": true,
"haProperties": null,
"k8sProperties": null,
"fpolicyProperties": null,
"saasProperties": null,
"cbsProperties": null,
"complianceProperties": null,
"monitoringProperties": null
}