Skip to main content
  1. Home >
  2. Products >
  3. Computing Products >
  4. Servers >
  5. Fujitsu SPARC servers >
  6. Downloads >
  7. User Manuals >
  8. Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 System Operation and Administration Guide >
  9. 8.14.7 Configuring the CPU Socket Constraints to the Logical Domain Configuration

8.14.7 Configuring the CPU Socket Constraints to the Logical Domain Configuration


8.14.7 Configuring the CPU Socket Constraints to the Logical Domain Configuration
The following example describes how to create the logical domain ldom1 which owns 16 GB mirrored memory and 8 CPU cores that are associated with CPU socket #4.
Use the ldm add-domain command to create the logical domain ldom1.
primary# ldm add-domain ldom1
Use the ldm set-socket command to constrain ldom1 to use the resources that are associated with CPU socket#4.
primary# ldm set-socket socket_id=4 ldom1
Allocate 8 CPU cores and 16-GB memory to ldom1.
primary# ldm set-core 8 ldom1
primary# ldm set-memory 16G ldom1
Bind the resources to ldom1 and start ldom1.
primary# ldm bind-domain ldom1
primary# ldm start-domain ldom1
Note - To bind and start the logical domain, you should prepare a virtual console concentrator, a virtual network switch, and a virtual disk service. For details on each item, see the Oracle VM Server for SPARC Administration Guide of the version used.
Use the ldm list-socket command to show the list of the resources of each CPU socket.
You can confirm only the resources that are associated with CPU socket #4 are assigned to ldom1.
# ldm list-socket ldom1
CONSTRAINTS
DOMAIN SOCKET_ID STATE
ldom1 4 active

SOCKET
TENANT VCPUS CORES SOCKET_ID GROUP
ldom1 16 8 4 /BB1

MEMORY
PA SIZE SOCKET_ID BOUND
0x760050000000 16G 4 ldom1

IO
Figure 8-5 shows the physical partition configuration after the ldm set-socket command is executed in the physical partition configured with two SPARC M10-4S units (BB#0 and BB#1).
Figure 8-5  Resources After the Execution of the ldm set-socket Command
Figure 8-5  Resources After the Execution of the ldm set-socket Command