How to manage resource pools

Errors or typos? Topics missing? Hard to read? Let us know.

MAAS uses resource pools to group machines and VM hosts for better allocation. New machines default to the “default” pool.

Learn more about Resource pools

Add a resource pool

UI:

  • MAAS 3.4: Organisation > Pools > Add pool > Enter Name & Description > Save pool.
  • Earlier versions: Resource > Add pool > Enter Name & Description > Add pool.

CLI:

maas $PROFILE resource-pools create name=$NAME description="$DESCRIPTION"

Delete a resource pool

UI:

  • MAAS 3.4: Organisation > Pools > (trash can) > Delete.
  • Earlier versions: Resource > (trash can) > Delete.

CLI:

maas $PROFILE resource-pool delete $RESOURCE_POOL_ID

Add a machine to a pool

UI:

  • MAAS 3.4 forward: Machines > Select machine > Categorise > Set pool > Select Resource pool > Set pool.
  • Earlier versions: Machines > Select machine > Configuration > Set Resource pool > Save changes.

CLI:

maas $PROFILE machine update $SYSTEM_ID pool=$POOL_NAME

Remove a machine from a pool

UI:

  • MAAS 3.4: Same as “Add a machine to a pool,” but select “default” as the resource pool.
  • Earlier versions: Machines > (machine) > Configuration > Set pool to “default” > Save changes.

CLI:

maas $PROFILE machine update $SYSTEM_ID pool="default"

List resource pools

CLI:

maas $PROFILE resource-pools read

View a single pool

CLI:

maas $PROFILE resource-pool read $RESOURCE_POOL_ID

Update a pool

CLI:

maas $PROFILE resource-pool update $RESOURCE_POOL_ID name=newname description="A new description."

description is optional.


Last updated 6 days ago.