Enabling IPAM and DNS registration with AWS
When creating a network blueprint for an Amazon Web Services (AWS) environment, you can enable external IP address management (IPAM) and domain name system (DNS) registration. Currently, embedded BMC Network Automation, Infoblox, and VitalQIP is supported for IPAM. Infoblox is also supported as a third-party DNS.
Before you begin, you must configure BMC Atrium Orchestrator for Infoblox and VitalQIP.
The overall process for enabling IPAM and DNS registration is:
- Set up IPAM and DNS as described below and in Enabling-IP-address-management (and its subtopics).
- Configure the Amazon Web Services (AWS) provider type.
- Set up a network blueprint (with DNS and IPAM enabled).
- Set up the logical hosting environment (LHE).
- Create a service blueprint. (See Building-service-blueprints-for-Amazon-Web-Services and Building-service-blueprints.)
- Create the service offering,
Enabling IPAM
When you create a network blueprint for an AWS environment, you can enable external IPAM through integration with BMC Network Automation. IPAM allows you to consistently manage IP addressing of servers throughout your on-premises and AWS environments.
Before you begin using IPAM, see Configuring BMC Network Automation to support third party IPAM solution and Creating and configuring BMC Atrium Orchestrator modules to communicate with other third party IPAM systems.
Once enabled, this IPAM integration allows the virtual machines (VMs) provisioned and onboarded through BMC Cloud Lifecycle Management to acquire the IP addresses from the IPAM solution. When the VMs are decommissioned or offboarded, the IP addresses are released back to the IPAM solution.
To enable IPAM when you create a network blueprint for AWS, select the isolation boundary in the Network Designer workspace, and then select the Enable External IPAM check box. (When you create a logical data center for AWS, you can disable IPAM if you choose.)
Enabling DNS registration
Additionally, when creating a network blueprint, you can add a domain name system or server (DNS) in your network. This can help you manage servers in off-premises cloud providers through BMC Server Automation, which stores IP addresses as a host name. BMC Server automation enrolls Amazon instances by its host name instead of IP addresses when provisioning.
Enabling DNS registration also allows for changes to IP addresses for these servers in cloud environments (for example, dynamic public IPs in AWS). When an associated dynamic public IP address changes for a VM instance, the entry in the DNS is updated, allowing BMC Server Automation to automatically resolve the name to correct the IP address.
Before you start with DNS registration
Before you get started, you must configure BMC Atrium Orchestrator for DNS registration and install Bind9 where your BMC Atrium Orchestrator server is installed. See Configuring-BMC-Atrium-Orchestrator-for-automatic-DNS-registration.
If you are adding DNS, configure the performDnsOperation setting to true in the BMC Network Automation global.properties file. (On Windows, this file is usually in C:\BCA-Networks-Data. On UNIX, the file is usually in /opt/bmc.)
Configuring DNS cache on the BMC Server Automation server
If a VM is restarted from BMC Cloud Lifecycle Management, and the VM has a dynamic public IP address (and the same IP address is registered in the DNS), the following workflow occurs:
- When the VM is stopped, the VM is deregistered from the DNS server.
- When the VM is started again, the machine is registered in the DNS with the new dynamic public IP that AWS allocates.
- The UpdateServerProperties job, which is run automatically updates BMC Server Automation with the new dynamic public IP (from step 2).
- On Microsoft Windows Server 2012, complete one of the following steps to ensure that this job runs successfully. Note that the steps might differ based on your operating system.
- If the VM is started after the DNS cache expiration time, no additional configuration is required.
If the VM is started before the DNS cache expiration time, disable the DNS cache on the BMC Server Automation server:
- Start the Registry Editor (regedit.exe).
- Locate the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters.
- Select Edit > New > DWORD (32-bit) Value, and add the following values:
- Value: MaxCacheTTL
- Data Type: DWORD
- Data value: 0