@@ -55,13 +55,15 @@ sections:
55
55
- Set the destination *discontrollertype* of the VM as NVMe.
56
56
- Use the following PowerShell script to do so: [SAP-on-Azure-Scripts-and-Utilities/NVMe-Preflight-Check at main · Azure/SAP-on-Azure-Scripts-and-Utilities · GitHub](https://github.com/Azure/SAP-on-Azure-Scripts-and-Utilities/tree/main/NVMe-Preflight-Check)
57
57
```PowerShell
58
- azure-nvme-VM-update.ps1 [-subscription_id] <String> [-resource_group_name] <String> [-vm_name] <String> [[-disk_controller_change_to] <String>] [-vm_size_change_to] <String> [[-start_vm_after_update] <Boolean>] [[-write_logfile] <Boolean>]
58
+ azure-nvme-VM-update.ps1 [-subscription_id] \ <String\ > [-resource_group_name] \ <String\ > [-vm_name] \ <String\ > [[-disk_controller_change_to] \ <String>] [-vm_size_change_to] \ <String\ > [[-start_vm_after_update] \ <Boolean>] [[-write_logfile] \ <Boolean>]
59
59
```
60
60
- question : |
61
61
How can I check if a given image is tagged as NVMe?
62
62
answer: |
63
63
To check if a given image is tagged as NVMe, please use the following command:
64
- az vm image show --urn URN_OF_IMAGE
64
+ ```
65
+ az vm image show --urn URN_OF_IMAGE
66
+ ```
65
67
- question : |
66
68
How do I tag an image that supports NVMe for remote disk?
67
69
answer: |
@@ -70,23 +72,26 @@ sections:
70
72
- AzCopy Reference:
71
73
[https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10]
72
74
```
73
- azcopy copy <local path to your vhd> <container in your storage account>
75
+ azcopy copy \ <local path to your vhd\> \ <container in your storage account>
74
76
```
75
77
2. Create your image gallery either using powershell/portal/cli:
76
78
[https://docs.microsoft.com/en-us/azure/virtual-machines/create-gallery]
77
79
3. Create the image definition:
78
80
[https://docs.microsoft.com/en-us/azure/virtual-machines/image-version]
79
81
**Please make sure to include --feature DiskControllerTypes=SCSI,NVMe**
80
82
81
- CLI Example:
82
- az sig image-definition create --resource-group <resourceGroupName> --gallery-name <galleryName> --gallery-image-definition <imageName> --publisher <publisher> --offer <offerName> --sku <skuName> --os-type <osType> --os-state <osState> --feature DiskControllerTypes=SCSI,NVMe
83
-
83
+ CLI Example:
84
+ ```
85
+ az sig image-definition create --resource-group \<resourceGroupName\> --gallery-name \<galleryName\> --gallery-image-definition \<imageName\> --publisher \<publisher\> --offer \<offerName\> --sku \<skuName\> --os-type \<osType\> --os-state \<osState\> --feature DiskControllerTypes=SCSI,NVMe
86
+ ```
87
+
84
88
4. Create the image version under the NVMe-tagged gallery with the NVMe-supported vhd:
85
89
[https://docs.microsoft.com/en-us/azure/virtual-machines/image-version]
86
90
87
91
CLI Example:
88
- az sig image-version create --resource-group <resourceGroupName> --gallery-name <galleryName> --gallery-image-definition <imageName> --gallery-image-version <version> --target-regions <region1> <region2> --replica-count <replicaCount> --os-vhd-uri <NVMe-supported vhd uri> --os-vhd-storage-account <storageAccount>
89
-
92
+ ```
93
+ az sig image-version create --resource-group \<resourceGroupName\> --gallery-name \<galleryName\> --gallery-image-definition \<imageName\> --gallery-image-version \<version\> --target-regions \<region1\> \<region2\> --replica-count \<replicaCount\> --os-vhd-uri \<NVMe-supported vhd uri\> --os-vhd-storage-account \<storageAccount>
94
+ ```
90
95
- question : |
91
96
How do I configure an ARM template for my initial VM launch?
92
97
answer: |
0 commit comments