Follow these instructions to enable DNS record creation for fenced VMs.
Requirements
- Install the DNS snap-in on the Commander application server.
- Ensure the Commander Service Account has permission to create and modify DNS records on the target DNS server.
- Adding the account to the DnsAdmins group is the simplest method.
- Apply the workflow to individual components rather than services, including vApps.
Creating the Batch Files
Create the following batch files on the Commander application server. Flexera recommends you use a single directory for all executables that Commander will call in workflows.
Add_DNS.bat
@echo off dnscmd.exe %1 /RecordAdd %2 %3 A %4
Remove_DNS.bat
@echo off echo Y | dnscmd.exe %1 /RecordDelete %2 %3 A %4
Alternatively, download FencedDNS.zip here and extract it to the scripts directory on your Commander application server.
You can also choose to use the embedded script workflow step to make the workflow more portable.
Workflow Step – Add DNS Record
Create a new completion workflow or add the following step to an existing workflow. When you do so, replace dnsServer and domainName with the correct values for your domain.
Make sure that the Completion Workflow is applied only to those services in your catalog which are fenced.
Workflow Step – Remove DNS Record
Similarly, when decommissioning you can add the following step to remove the DNS records in your change request approval workflow. When you do so, replace DnsServer and domainName with the correct values for your environment.
Related Articles
Clean up orphaned vRouters for fenced networks in Commander 11Number of Views Creating an SSL certificate for Snow Commander using Let's Encrypt and DNS validation 15Number of Views Configure Azure Active Directory for SSO with Snow Commander 37Number of Views Configure a CA Certificate for FlexNet Manager for Engineering Applications Admin and Reporting services 174Number of Views Controlling Commander logging level 320Number 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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago