Session Host VM Names and How They Are Generated
Warning: Nerdio Manager does not install the BgInfo Azure extension during any automation or management process. However, the BgInfo extension may be installed either through a scripted action directly, or unintentionally, as stated in the Azure PowerShell module issues report.
Session host VM names are assigned in one of the following ways.
Manually Add a Session Host to a Host Pool
When adding one host to a host pool, you can specify the host's name (VM name and AD computer object name).
Nerdio Manager Automatically Generates the VM Names
When manually adding more than one host to a host pool, you provide a name prefix and the system adds a "-xxxx" suffix with randomly generated alphanumeric characters.
When Nerdio Manager creates a net new VM (that is, one that never existed before) automatically, for example during creation of a host pool or increasing the host pool size to contain more VMs, it appends a randomly generated 4-character alphanumeric suffix to the host name.
Once generated and assigned, this suffix never changes. It is permanent. Even when the host is scaled in automatically (by being deleted after business hours), and then re-created the following morning, the name stays the same.
This is also true when session host VMs are re-imaged using the Resize/Re-image command. The VM name is re-used.
The only way to "release" a VM name is by manually deleting it from Nerdio Manager. This way, when a new VM is created in the future, it has a net new name.
Tip: If you have an application that requires the list of machine names in advance, you should create the host pool with whatever number of VMs are needed and make a note of all of their names. These names do not change, even if the hosts are deleted and re-created by the auto-scale engine.
To view previously used host names:
-
From the Manage Hosts action menu, select Auto-scale > Used VM Names.
-
The pop-up displays the names.
Comments (0 comments)