If you deployed the management network and API access network without DHCP, you can add IP address ranges and change DNS servers after deployment.
Procedure
- Log in to the Integrated OpenStack Manager web interface as the
admin
user. - In OpenStack Deployment, click the name of your deployment and open the Manage tab.
- On the Network tab, select the network that you want to modify.
- To add an IP address range, select Add IP Range and enter the IP address range that you can add to the network.
In the dialog box displayed, you can click Add IP Range again for adding multiple IP address ranges at once.
Important: The Management and the API access networks cannot include more than 100 IP addresses each.
- To change the DNS servers for new controllers, select Change DNS.
For example, DNS=192.168.10.11 192.168.10.12.
- In the dialog box displayed, enter the DNS server for DNS1.
DNS1: 192.168.10.11
- To add new DNS servers to the network, click Add DNS.
- Enter the new DNS server for DNS2.
DNS2: 192.168.10.12
- Click OK. You can see that the new DNS server is present on each of the Management and the API networks.
- You can use the following command for changing DNS server on existing controllers. New DNS server can be used for new controllers created after this change.
/etc/systemd/resolved.conf systemctl restart systemd-resolved systemd-resolve --status
Note: You can use generic DNS server addresses for verifying the configuration changes. DNS servers for both the Management and the API networks are the same and in one line. DNS server from the Management network is at the beginning. - In the dialog box displayed, enter the DNS server for DNS1.
- To change the DNS servers for the vio manager:
- Edit the DNS server setting.
/etc/systemd/resolved.conf
For example, DNS=172.20.3.41 172.30.3.42.
You can only use the DNS server from the Management network.
- Restart the DNS server.
systemctl restart systemd-resolved
- Verify the DNS server status.
systemd-resolve --status
- Delete the coredns pods.
- Add the new DNS server to the vio manager.
ovfenv -k vami.DNS.vio-manager --value <new dns server>
For example,
ovfenv -k vami.DNS.vio.manager --value "172.30.3.41,170.30.3.42"
.
- Edit the DNS server setting.
- To add an IP address range, select Add IP Range and enter the IP address range that you can add to the network.