Snow Commander includes access to a select group of popular Azure public images, which customers can use to create services in Commander's Service Catalog. However, there are several thousand available public images on Azure, and customers often find that they need access to an Azure public image that is not included in the pre-configured images that Commander will recognize.
The images that Commander recognizes by default are controlled by entries in the \Program Files\Embotics\Commander\tomcat\common\classes\arm-images.xml file, as shown below:
Snow Software regularly updates this with new images that Commander should recognize by default. This file is overwritten with each upgrade and should not be edited or altered by Commander administrators.
Adding Azure public images to Commander
Azure public images which are not included in Commander by default can be added to Commander by editing their names into \Program Files\Embotics\Commander\tomcat\common\classes\arm-images.custom.xml file.
The arm-images.custom.xml file contains no configured images by default, but you can refer to the arm-images.xml file for the appropriate syntax to add entries.
The easiest way to avoid errors in syntax is to copy one of the lines from the arm-images.xml into the arm-images.custom.xml file, and then edit the values used. Adding new Azure public images to Commander via the arm-images.custom.xml file requires 6 parameters:
- image name - Can be any name chosen by your organization. The name set here will be displayed in Commander when adding the image to the service catalog, so it's important to choose a name that is distinct from other images and is easy for your admin portal users to understand.
- region - The Azure region where the VM will be hosted. This must match the Azure value for that region, and your Azure subscription must allow for VMs to be deployed to the specified region.
- publisher - Publisher name for the public image, listed as Publisher ID on Azure. This must exactly match the Azure value for the image.
- offer - Offer name for the public image, listed as Product ID on Azure. This must exactly match the Azure value for the offer.
- sku - The instance of an offer for the public image, listed as Plan ID on Azure. This must exactly match the Azure value for the sku.
- osDiskSizeGb - Size for the OS disk needed for the public image, in gigabytes. Must be at least the minimum size necessary to deploy the image OS.
Example
For this example, we will be adding Ubuntu Server 20.04 LTS to Commander.
Once we have located the desired public image on Azure, we can click on the Usage Information + Support tab to view the parameters needed to add the public image to Commander under Usage Information.
Commander administrators should note that, at times, the values on Azure listing for some images may be inaccurate, as publishers sometimes make changes to the URN that are not reflected in the Azure marketplace. The values are case sensitive, and in the above example, the publisher's name, Canonical, should have an upper-case C, but Azure lists it with a lower-case C.
As an alternative, sites such as https://az-vm-image.info/ are recommended to quickly find values for the needed image and to verify that the info in the Azure marketplace and Commander arm-images.custom.xml file are correct.
Using the values on either site, edit the values in the arm-images.custom.xml to match the values of the public image, as shown here:
Save the changes made to this file. The new image will not appear in Commander until there is a synchronization of the Azure inventory. Navigate to Views > Inventory and the right click on the Azure cloud account and click Synchronize Inventory. Once the synchronization completes, the image will be available to add to the service catalog.
Troubleshooting
The image does not appear in Commander after adding it to the arm-images.custom.xml file.
There are few common issues which prevent the images from appearing in Commander after being added to the arm-images.custom.xml file.
Value mismatch - The values added to the arm-images.custom.xml file are case sensitive and must exactly match the values used by Azure for the URN of the image. Verify the data that you're using is correct by using sites such as https://az-vm-image.info/.
Region not present in Commander - The region specified in the arm-images.custom.xml file must also be available to the Azure account and both present and connected in Commander. In the admin portal, click Views > Inventory and then expand the Azure account to verify that the specified region is present. If it's not, right click the Azure account, click Select Regions, and then check the box next to the specified region to add it to the infrastucture view for the Azure account.
The image was previously present in Commander but is no longer there.
The common cause for this is new Azure public images being added to the arm-images.xml file rather than the arm-images.custom.xml. Adding new public images to arm-images.xml file will work, and the images will appear in Commander, however, the purpose of this file is to make available the default public images included with the Commander installation, and as such, the file is overwritten after each Commander ugprade.
To avoid having Azure public images disappear from Commander, only list new public images in the arm-images.custom.xml file. Re-adding the the image to the arm-images.custom.xml file will remedy this issue.
Account not authorized to deploy to the specified region - The Azure account added in Commander must be authorized to deploy to the region specified. You can verify this by finding the image in question on the Azure marketplace, and clicking Create. Under the region listing, Azure will give a listing regions to which the account may deploy.
Related Articles
Configuring Azure AD for SSO with Snow Commander 32Number of Views Creating an Application Registration for Adding Azure to Commander 10Number of Views Enable CD/DVD media attachment for VMs in the Snow Commander Service Portal 4Number of Views Resolving Commander Installation or Upgrade Failures 693Number of Views Inventory device records for container images may be deleted if they were running on a public cloud instance that has been… 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago