Rack controllers (snap/2.9/UI)

2.7 2.8 2.9
Packages CLI ~ UI CLI ~ UI CLI ~ UI

A rack controller can connect to multiple VLANs, each from a different network interface. This configuration provides a scaling factor that can help as a network architecture grows in size.

Five questions you may have:

  1. How does MAAS communication work?
  2. How do I install a rack controller?
  3. How do I list rack controllers?
  4. How do I configure MAAS for multiple API servers?
  5. How do I unregister a rack controller?

Install a rack controller

Installing a rack controller consists of installing the rack controller software and then registering the rack controller with the region API server. When MAAS installs a rack controller on the same host as the region API server, registration occurs automatically.

Once registered, this extra rack controller will appear immediately alongside the primary controller in the web UI and begin to sync with it:

List rack controllers

You can also list and confirm all registered rack controllers via the CLI; select the “Snap 2.9 CLI” link at the top of the page to find out how. Note that you will need multiple rack controllers to achieve specific high availability configurations.

If you are using VM nodes, you must ensure that the new rack controller can communicate with the VM host.

Unregister a rack controller

Most likely, you would only “unregister” an extra, unnecessary rack controller. In this case, you need to delete it from the region API server; there is no ‘unregister’ command.

To do so, navigate to the ‘Controllers’ page of the web UI. Enter the controller’s page by clicking on the machine you want to delete and select ‘Delete’ from the drop-down (and then ‘Delete controller’). MAAS will do the right thing if the controller is used for DHCP HA; that is, the DHCP HA needs to be disabled.

Although similar, this is not the same as deletion. Here, you are deleting a machine that is a part of MAAS itself.

Unless you remove the software on this machine, rebooting it will cause the machine to re-instate itself as a rack controller. This behaviour may change with future versions of MAAS.

Last updated a month ago.