MAAS parameters
MAAS parameters set where a Cloud Management Platform (CMP) order is placed in MAAS, which machines qualify for it, and whether it becomes a physical machine or a virtual machine
4 minute read
Each imported MAAS zone becomes a CMP environment. For a physical server, CMP asks MAAS to allocate a Ready machine that meets the order’s requirements, then deploys the chosen image to it. MAAS server selection explains how machines and VM hosts are chosen.
| Field | Description |
|---|---|
| Region Controller | The host name or IP address of the MAAS region controller. |
| Protocol | https is recommended and selected by default. Select http if HTTPS is not enabled on the region controller. |
| Port | The port the MAAS API listens on. The dialog opens with 443; change it if you change the protocol. MAAS serves HTTP on port 5240 by default. |
| Account username | The username of the MAAS account for CMP. |
| Password | The password for that account. |
| SSL Verification | Whether CMP verifies the region controller’s SSL certificate. If the certificate is self-signed or issued by a private certificate authority, see SSL root certificates. |
A new handler has no environments until you import a location. Locations are MAAS availability zones, and CMP creates one environment for each selected zone.
To add another environment for an imported zone, select the plus icon beside it and select Create.
An environment cannot provision until an image is imported and linked to it. CMP imports the operating system images available in MAAS.
CMP imports MAAS subnets as networks, so that orders can request them.
For a physical server, MAAS allocates only a machine that already has an interface on every network the order requests.
CMP runs scripts on a MAAS server over SSH, with the private key that matches the key selected under Key pair name for that server. Upload each private key to CMP once.
CMP reads the account’s keys from MAAS when an environment is created. If you add a key to the MAAS account later, refresh the list on each environment’s MAAS Parameters tab by selecting the import icon in the Key pair name row.
For accepted key formats, see Key material.
To bring existing MAAS machines into CMP, open the handler’s Servers tab and select Sync VMs from followed by the handler’s name. The Dry-run Sync VMs from button beside it previews the sync without making changes.
From CMP, you can power MAAS servers on and off, and reboot them.
Deleting a MAAS server in CMP deletes a virtual machine. A physical machine is released back to MAAS, and its disks are securely erased.
MAAS parameters set where a Cloud Management Platform (CMP) order is placed in MAAS, which machines qualify for it, and whether it becomes a physical machine or a virtual machine
For each MAAS order, Cloud Management Platform (CMP) either asks MAAS to allocate a physical machine that meets the order’s requirements or creates a virtual machine on a MAAS VM host