|Machine details||Machine list|
|Machine summary||Network tab|
|Storage configuration||Commissioning log|
|Hardware test status and logs||Raw log output|
|Event logs||Updating machine configuration|
Machines are the heart of MAAS. They are the backbone of your data centre application(s), providing the functions that are relevant to your customers. MAAS manages their transit through a life-cycle, from adding and enlistment, through commissioning, allocation, and deployment, finally being released back to the pool, or retired altogether. You can move them around, create redundant versions (even in other geographies you can access), and basically rearrange them to the extent that your network allows.
For example, in the illustration below, you see a typical small hospital data centre, including servers ready and allocated for functions like Pharmacy, Orders, Charts, and so on:
These example machines would typically be duplicated in several different geographies, with a quick way to switch to a redundant node, should anything go wrong (e.g., high availability). We used the word node there because, In the network language of MAAS, machines are one of several different types of nodes. A node is simply a network-connected object or, more specifically, an object that can independently communicate on a network. MAAS nodes include controllers, network devices, and of course, machines.
Looking back at the example above, you can see that there are several columns in the machine list:
The columns list the following details for each machine:
- FQDN | MAC: The fully qualified domain name or the MAC address of the machine.
- Power: ‘On’, ‘Off’ or ‘Error’ to highlight an error state.
- Status: The current status of the machine, such as ‘Ready’, ‘Commissioning’ or ‘Failed testing’.
- Owner: The MAAS account responsible for the machine.
- Cores: The number of CPU cores detected on the machine.
- RAM: The amount of RAM, in GiB, discovered on the machine.
- Disks: The number of drives detected on the machine.
- Storage: The amount of storage, in GB, identified on the machine.
Incidentally, you can get to this list of machines from the choice “Machines” on the top menu of the MAAS web UI. This action will display a table like the one above, listing all the machines that are currently visible to your MAAS installation. During commissioning and deployment, MAAS updates the table to reflect the changing state of each machine. These values are augmented with green, amber and red icons to represent successful, in-progress and failed transitions, respectively. The MAAS web UI employs similar icons and colours throughout the interface to reflect a machine’s status.
Rolling the cursor over status icons often reveals more details. For example, a failed hardware test script will place a warning icon alongside the hardware type tested by the script. Rolling the cursor over this will reveal which test failed. Likewise, you can find some immediate options by rolling over the column data items in the machines table.
The ‘Add hardware’ drop-down menu is used to add either new machines or a new chassis. This menu changes context when one or more machines are selected from the table, using either the individual checkboxes in the first column or the column title checkbox to select all.
With one or more machines selected, the ‘Add hardware’ drop-down menu moves to the left, and is joined by the ‘Take action’ menu. This menu provides access to the various machine actions that can be applied to the selected machine(s):
The ‘Filter by’ section limits the machines listed in the table to selected keywords and machine attributes.
Click a machine’s FQDN or MAC address to open a detailed view of a machine’s status and configuration.
The default view is ‘Machine summary’, presented as a series of cards detailing the CPU, memory, storage and tag characteristics of the machine, as well as an overview of its current status. When relevant, ‘Edit’ links take you directly to the settings pane for the configuration referenced within the card. The machine menu bar within the web UI also includes links to logs, events, and configuration options:
The menu includes links to a number of additional forms and controls, as described in the following sections.
As shown above, the Machine summary presents an overview of CPU, memory, storage, tags, and general settings:
The first card presents some basics of the machine resources and configuration:
Here are some details on what this card presents, with details on in-card links described in following sections:
- OVERVIEW the machine status (in this case “Deployed”), and lists OS version information.
- CPU shows the specifics of the CPU(s), including a link to test the processor(s).
- MEMORY gives the total available RAM for this machine, along with a test link.
- STORAGE presents the total amount of storage available and the number of disks that provide that storage. There are two links here: one gives the storage layout (with the opportunity to change it for devices that are in ‘Ready’ or ‘Allocated’ states.
- Owner identifies the owner of the machine.
- Domain indicates the domain in which the machine exists.
- Zone shows the AZ in which this machine resides, along with a link to edit the machine configuration (to change the AZ, if desired).
- Resource pool shows the pool to which this machine has been assigned, and an edit link.
- Power type gives the current power type, which links to the relevant edit form.
- Tags presents the list of tags associated with this machine, editable via the link.
Note that clicking any of the links in this card will either present a pop-up form or take you to another item in the machine menu – so using the browser “back” button will take you completely away from this machine’s page. For example, you can choose the “Test CPU” option, which brings up this overlay:
From this screen, you can choose test scripts and run the tests (in the background) as the interface returns to the Machine summary. A linked note in the CPU block lets you know that the tests are in progress:
And you can watch the results under the “Tests” option in the Machine menu:
The rest of the cards on the Machine summary are either self-explanatory, or they’re covered in the sections below. The main point is this: You can see that nearly everything about machines takes place within the main menu’s “Machines” option. Incidentally, you can learn more about testing by visiting the Hardware testing page.
This “tab” provides you with a way to view/edit the network and interface configuration for a machine:
In the case of this deployed machine, there are not many editing options. If the machine is in a ‘Ready’ state, though, altering the network configuration is possible:
Options on this tab are described in the introduction to Networking article in this documentation set.
Machine storage configuration
The Storage tab on the machine list brings up a form that allows you to view/edit the file system, partitioning and storage parameters for the selected machine:
This tab describes the filesystem(s) in use, as well as the available and used partitions for this machine. See the article Storage for a detailed discussion on how to use this screen, as well as many other considerations for machine storage configurations.
The “Commissioning” tab brings up a summary log of commissioning events:
Clicking on any of the “View log” links will take you to specific, detailed logs for that particular event or milestone:
These logs present an extremely detailed, timestamped record of completion and status items from the commissioning process. See the article on Logging for more details on how to read and interpret these logs.
Hardware test status and logs
This tab presents a summary of tests run against this particular machine:
You can view the summary report, or click on a “View log” link to get details on any particular tests:
The format of these screens is very similar to the Configuration logs shown above. For more information, please see the article on Hardware testing.
Raw log output
The “Logs” tab shows raw log output, switchable between YAML and XML formats:
Help interpreting these logs can be found under the Logging section of this documentation.
The “Event” tab displays a list ot timestamped status updates for events and actions performed on the machine:
There is a button that allows you to see the next 10 events, and a link to show the entire history. Detailed discussion of this event log can be found under the Logging section of this documentation.
Updating machine configuration
The final tab from the Machine menu allows you to update machine and power configuration options:
There are two sections to this tab. The “Machine configuration” section offers some general parameters, mostly related to how this machine is grouped and categorised. More information on these options are found in the relevant sections of the documentation (e.g., tags, resource pools, and so forth).
The “Power configuration” supplies the parameters necessary for MAAS to access the machine to PXE-boot it. Note that this machine failed testing. Editing the “Power configuration” section gives us a clue as to what might be wrong:
After entering the correct password and recycling things, the problem goes away:
More information on Power configuration will be found in the Power management section of this documentation.
This article has offered you a cursory glimpse into machines and how they are configured and managed in MAAS. Read on through this section of the documentation to learn more.