Installing additional clusters
In an environment comprising large numbers of nodes, it is likely that you will want to organise the nodes on a more distributed basis. The standard install of the MAAS region controller includes a cluster controller, but it is possible to add additional cluster controllers to the configuration, as shown in the diagram below: ![]() Each cluster controller will need to run on a separate Ubuntu server. Installing and configuring the software is straightforward though: $ sudo apt-get install maas-cluster-controller
This meta-package will install all the basic requirements of the system. However, you may also wish or need to run DHCP and/or DNS services, in which case you should also specify these: $ sudo apt-get install maas-cluster-controller maas-dhcp maas-dns
Configuring the cluster controllerOnce the packages are installed, the cluster controller needs to know where to look for the region controller. This is achieved using dpkg to configure the software: $ dpkg-reconfigure maas-cluster-controller
![]() The configuration script should then bring up a screen where you can enter the IP address of the region controller. Additionally, you will need to run the maas-import-pxe-files script to install the distro image files locally for commissioning: $ maas maas node-groups import-boot-images
...and optionally set up the DHCP and DNS for the cluster by either:
Client-side DNS configurationWhen using a third party tool such as juju it will need to be able to resolve the hostnames that the MAAS API returns to it. In order for this to happen, client-side DNS must be configured to point to MAAS’s DNS server. Generally speaking, this is a simple case of adding the following line to the /etc/resolv.conf file on your client host: nameserver <IP OF MAAS DNS HOST>
replacing the <IP OF MAAS DNS HOST> with the actual IP address of the host running the MAAS DNS server. However, for hosts using the resolvconf package, please read its documentation for more information. |
手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )
GMT-8, 2025-8-25 14:35 , Processed in 0.016917 second(s), 19 queries .
Supported by Best Deal Online X3.5
© 2001-2025 Discuz! Team.