How to Create a New Domain With CPU Whole Cores
Note:
You only need to stop and unbind the domain if you optionally set the max-cores constraint.Example 15-3 Creating a New Domain With Two CPU Whole Cores
This example creates a domain, ldg1
, with two CPU whole cores. The first command creates the ldg1
domain. The second command configures the ldg1
domain with two CPU whole cores.
At this point, you can perform further configuration on the domain, subject to the restrictions described in Step 3 in How to Create a New Domain With CPU Whole Cores.
The third and fourth commands show how to bind and start the ldg1
domain, at which time you can use the ldg1
domain.
primary# ldm add-domain ldg1 primary# ldm set-core 2 ldg1 ... primary# ldm bind ldg1 primary# ldm start-domain ldg1