Skip to main content

1.5.3 Dynamic Reconfiguration of CPUs and Memory


1.5.3 Dynamic Reconfiguration of CPUs and Memory
Adding or deleting a CPU
Oracle VM Server for SPARC automatically recognizes and makes available any CPUs added through physical partition dynamic reconfiguration.

One of the following operations is performed for any system board (PSB<BB>) incorporated or CPU added through physical partition dynamic reconfiguration.
  1. If the PSB (BB) is added to a physical partition with logical domain configuration information set to factory-default (configuration at factory shipment), all mounted CPUs on the added PSB (BB) are automatically added to the control domain.
  2. If a new PSB (BB) is added to a physical partition with logical domains configured or logical domain configuration information saved, the mounted CPUs on the PSB (BB) are not assigned to any of the logical domains. To use these CPUs, you need to add them to a logical domain by using the ldm command.
  3. If you release a PSB (BB) from a physical partition with logical domains configured,  the CPU assignment of the logical domains is automatically deleted as a result when you replace the PSB (BB). In that case, adding a PSB (BB) automatically adds as many CPUs as were deleted to the logical domains.
To delete a CPU through dynamic reconfiguration, the following conditions must be met. If the conditions are not met, dynamic reconfiguration processing of the physical partition stops and a message appears.
  1. No running processes are bound to the CPU to be deleted.
    If any process is bound, you need to release the binding of the process or stop the process.
  2. The CPU to be deleted does not belong to any processor set.
    If the CPU belongs to any processor set, you need to delete it from the processor set in advance by using the psrset command.
  3. A CPU core is assigned to the logical domains without the core ID (CID) specified in the ldm add-core command or the ldm set-core command.
If the above conditions are not met when logical domain resources are deleted and a system board is released during physical partition dynamic reconfiguration, physical partition dynamic reconfiguration processing stops and a message appears.
Adding or deleting memory
One of the following operations is performed for any system board (PSB<BB>) incorporated or memory added through physical partition dynamic reconfiguration.
  1. If the PSB (BB) is added to a physical partition with logical domain configuration information set to factory-default (configuration at factory shipment), all mounted memory on the added PSB (BB) is automatically added to the control domain.
  1. If a new PSB (BB) is added to a physical partition with logical domains configured or logical domain configuration information saved, the mounted memory on the PSB (BB) is not assigned to any of the logical domains. To use this memory, you need to add it to the logical domains by using the ldm command.
  1. If you release a PSB (BB) from a physical partition with logical domains configured, when you replace the PSB (BB), the memory assignment of the logical domains is automatically deleted as a result. In that case, adding a PSB (BB) automatically adds the same size memory as was deleted to the logical domains.
    Before deleting the PSB (BB) through physical partition dynamic reconfiguration, note the following:
    - If the memory with the specified physical address has been assigned to a logical domain by the mblock option of the ldm add-memory command or ldm set-memory command, do not delete the PSB (BB) through physical partition dynamic reconfiguration.