# ldm set-core 1 domain
# ldm ls -o resmgmt domain
Notice that max-cores is set to unlimited. The domain cannot be used in conjunction with hard partitioning until the max-cores constraint is enabled.
This example shows how to apply the whole-core constraint on the ldg1 domain. The first command applies the constraint, while the second command verifies that it is enabled.
# ldm set-core 1 ldg1 # ldm ls -o resmgmt ldg1 NAME ldg1 CONSTRAINT cpu=whole-core max-cores=unlimited threading=max-throughput