Summary
The SovLabs DNS module uses a default suffix for the DNS name of an additional network interface (nic) by default.
You can override that default suffix using the custom property, SovLabs_AdditionalNicOverrideHostname-nic# where # is a value 1-9
- For example, if you have a nic1 on the server myserver.mydomain.com, the default behavior of the DNS module is to append "-nic1" to the base-name and use that for the DNS entry for that network interface.
- The resulting name would be myserver-nic1.mydomain.com
- To override "nic1" with your own custom string, set SovLabs_AdditionalNicOverrideHostname-nic1 to a value of your string, for example "-nfs".
- The resulting DNS name for nic1 would be myserver-nfs.mydomain.com
- The resulting DNS name for nic1 would be myserver-nfs.mydomain.com
- To override "nic1" with your own custom string, set SovLabs_AdditionalNicOverrideHostname-nic1 to a value of your string, for example "-nfs".
- The resulting name would be myserver-nic1.mydomain.com
If you want a dash in the nic suffix, you must include it in the string value for the SovLabs_AdditionalNicOverrideHostname-nic# property.
value | result |
---|---|
-nfs | myserver-nfs.domain.com |
nfs | myservernfs.domain.com |
Affected Versions
This property was implemented in SovLabs version 2018.2.4
Considerations
- The property SovLabs_AdditionalNicOverrideHostname-nic# does NOT perform any validation checks against the set DNS configuration to determine if the hostname already exists.
- Please be sure that the name selected is not already in use or the provision may fail.
- The property SovLabs_AdditionalNicOverrideHostname-nic# can be created as Custom Property in the Administration tab (Administration>Property Dictionary>Property Definitions) and selected via the dropdown inside the blueprint for ease-of-use
Solution
Overview
Maximum support number of additional NICs is 9
- Login to the vRA tenant
- Click-on the Design tab > Blueprints
- Hover over the desired blueprint name and click Edit
- Click on the vSphere machine component on the Blueprint Design Canvas
- Click on the Properties tab
- In the Custom Properties section:
- Click on the New Property button
- Name field: Type in SovLabs_AdditionalNicOverrideHostname-nic# where # is a value 1-9
- Value field: Type in a NIC hostname
- Click the OK button
- Optional: Set the Show in Request option to Yes if value needs to be set differently at build time
- Click OK
Repeat Steps 3-4 for all desired blueprints
0 Comments