How to use resource pools

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

Administrators can manage MAAS resource pools to group machines in sensible wasy. All MAAS installations have a resource pool named “default,” to which MAAS automatically adds new machines.

Add a resource pool

Choose Organisation > Pools > Add pool; enter Name and Description; select Save pool.

Choose Resource > Add pool; enter Name and Description; select Add pool.

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

Delete a resource pool

If you delete a resource pool, all machines that belong to that resource pool will return to the default pool. There is no confirmation dialogue; pools are deleted immediately.

Choose Organisation > Pools > trash can > Delete.

Choose Resource > trash can > Delete.

maas $PROFILE resource-pool delete $RESOURCE_POOL_ID

Add a machine to a pool

Choose Machines > (machine) > Categorise > Set pool > Select pool > Resource pool > Set pool.

Choose Machines > (machine) > Configuration (resource pool) > Save changes.

maas $PROFILE machine update $SYSTEM_ID pool=$POOL_NAME

Remove a machine from a pool

Choose Machines > (machine) > Categorise > Set pool > Select pool > Resource pool >“default” > Set pool.

Choose Machines > (machine) > Configuration > “default” > Save changes.

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

Add a VM host to a pool

Choose KVM > LXD > (VM host) > KVM host settings > Resource pool > Save changes.

You can add a VM host to a resource pool when you create a new VM host, or you can edit the VM host’s configuration:

maas $PROFILE machine update $SYSTEM_ID pool=$POOL_NAME

Remove a VM host from a pool

Choose KVM > LXD > (VM host) > KVM host settings > Resource pool > “default” > Save changes.

Edit the VM host’s configuration and assign it to the “default” resource pool:

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

List resource pools

This feature is only available through the MAAS CLI.

maas $PROFILE resource-pools read

List a single pool

This feature is only available through the MAAS CLI.

maas $PROFILE resource-pool read $RESOURCE_POOL_ID

Update a pool

This feature is only available through the MAAS CLI.

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

The description field is optional.


Last updated 23 days ago.