Ensure that the domain has the whole-core constraint enabled prior to setting the max-cores constraint.
primary# ldm set-core 1 domain-name
primary# ldm ls -o resmgmt domain-name
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.
primary# ldm set-core 1 ldg1 primary# ldm ls -o resmgmt ldg1 NAME ldg1 CONSTRAINT cpu=whole-core max-cores=unlimited