How to Configure an Existing Domain With CPU Whole Cores

If a domain already exists and is configured to use CPU threads, you can change its configuration to use CPU whole cores.

  1. (Optional) Stop and unbind the domain.

    This step is required only if you also set the max-cores constraint.

    primary# ldm stop domain-name
    primary# ldm unbind domain-name
  2. Set the number of CPU whole cores for the domain.
    primary# ldm set-core number-of-CPU-cores domain
  3. (Optional) Set the max-cores property for the domain.
    primary# ldm set-domain max-cores=max-number-of-CPU-cores domain
  4. (Optional) Rebind and restart the domain.

    This step is required only if you also set the max-cores constraint.

    primary# ldm bind domain-name
    primary# ldm start-domain domain-name

Example 15-4 Configuring an Existing Domain With Four CPU Whole Cores

This example updates the configuration of an existing domain, ldg1 by configuring it with four CPU whole cores.

primary# ldm set-core 4 ldg1