Our Ansible playbooks make getting started easy – from basic installation to setting up high availability. If you prefer the manual approach, MAAS is still relatively easy to install, upgrade, and configure. We try to make it easy to ask for new features or – better yet – just contribute some code↗
. You can also report bugs, get help, and even do some self-help troubleshooting.
Start with any of these links, or – if you want a little background information about MAAS – read on in this article before you jump to the how-to guides.
MAAS is an open-source tool that lets you create a data centre from bare-metal servers. You can discover, commission, deploy, and dynamically reconfigure a large network of individual units. MAAS converts your hardware investment into a cohesive, flexible, distributed data centre, with a minimum of time and effort.
This section will answer a few questions:
MAAS expands to “Metal As A Service” – it converts bare-metal servers into cloud instances of virtual machines. There is no need to manage individual units. You can quickly provision or destroy machines, as if they were instances hosted in a public cloud like Amazon AWS, Google GCE, or Microsoft Azure.
MAAS can act as a standalone PXE/preseed service or integrate with other technologies. It works exceptionally well with Juju↗
, the service and model management tool. MAAS manages the machines and Juju manages the services running on those machines – a perfect arrangement. Virtual machines (VMs)↗
can even act as MAAS machines if they boot from the network via PXE.
Tell me about PXE booting
PXE stands for “Preboot Execution Environment,” usually pronounced “pixie.” The term refers to a way of booting an OS image (or other software assembly) downloaded to a client via a NIC. The NIC must be PXE-capable for this to work. Many NICs can be configured to support PXE boot with a software switch.
MAAS can manage a large number of physical machines by merging them into user-defined resource pools. MAAS automatically provisions participating machines and makes them available for use. You can return unused machines to the assigned pool at any time.
MAAS also discovers all of the USB and PCI devices attached to your physical or virtual machines, and allows you to delete them from the machine’s visible configuration, prior to deployment, if you so desire.
A smooth system-management experience
MAAS integrates all the tools you need into a smooth system-management experience. It includes the following thirteen features:
These tools can be controlled from a responsive web UI. You can easily (re)configure and scale your data centre with MAAS.
MAAS works with any system configuration tools. Both the Chef↗
and Juju↗
teams recommend MAAS as a physical provisioning system.
NOTE:
Please note that Windows and RHEL images require Ubuntu Advantage↗
to work correctly with MAAS.
MAAS relies on two key components: the region controller and the rack controller. The region controller handles operator requests; the rack controller provides high-bandwidth services to multiple racks. In essence, rack controllers manage racks, while the region controller manages the data centre. We generally recommended installing both controllers on the same system. The default MAAS install delivers this co-located configuration automatically. This all-in-one solution also provides DHCP.
See Concepts and terms for a deeper understanding of these components. Note that in special cases, such as high availability or load balancing, you will want to install multiple region and rack controllers. You should also review your existing network design to determine whether MAAS-managed DHCP will cause problems.
When you add a new machine to MAAS, or elect to add a machine that MAAS has enlisted, MAAS commissions it for service and adds it to the pool. At that point, the machine is ready for use. MAAS keeps things simple, marking machines as “New,” “Commissioning,” “Ready,” and so on.
Tell me, quickly, about enlistment and commissioning.
There are two ways to add a machine to MAAS. Assuming it’s on the network and capable of PXE-booting, you can add it explicitly – or MAAS can simply discover it when you turn it on.
Enlistment just means that MAAS discovers a machine when you turn it on, and presents it to the MAAS administrator, so that they can choose whether or not to commission it. Machines that have only been enlisted will show up in the machine list as “New.”
Commissioning means that MAAS has successfully booted the machine, scanned and recorded its resources, and prepared it for eventual deployment. Machines that you explicitly add are automatically commissioned. MAAS marks a successfully-commissioned machine as “Ready” in the machine list.
MAAS controls machines through IPMI (or another BMC). It can also manage machines through a converged chassis controller, such as Cisco UCS. You can choose how you want to control power on your machines based on what is available. MAAS overwrites the machine’s disk space with your chosen, pre-cached OS images.
NOTE: The above comment about disk space bears repeating: MAAS will overwrite the disk space of all machines it enlists. All pool machines are under the control of MAAS; you should provision them using other methods.
MAAS users allocate machines for use when needed. The web UI also allows you to allocate machines manually, such as when you are reserving specific hardware for certain users. You can remotely access and customise the installed operating system via SSH.
An allocated MAAS machine is more flexible than a virtual instance in a cloud. You have complete control, including hardware drivers and root access. If you want to upgrade the BIOS, for example, you can allocate a machine to yourself and complete the upgrade. Once you have completed the upgrade, you can send the machine back to the pool.
Note that Juju↗
is designed to work with MAAS. MAAS becomes a back-end Juju resource pool with all functionality fully available. For instance, if Juju removes a machine, then MAAS will release that machine to the pool. With Juju, MAAS can become an integral part of your data centre strategy and operations.