How tocreate LDOMS in oracle solaries servers
Creating LDOMs (Logical Domains) on Oracle Solaris servers (specifically on SPARC-based Oracle servers) involves using the Oracle VM Server for SPARC (previously called LDOMs) to partition the hardware into multiple isolated virtual servers. Here’s a step-by-step guide:
Check hardware:
ldm list-devices
Check existing control domain:
ldm list
ldm command to create and configure new domains.
ldm add-domain myldom
myldom is the name of the new logical domain.
ldm set-vcpu 4 myldom # 4 virtual CPUs
ldm set-memory 8G myldom # 8 GB memory
ldm add-vdsdev vdisk mydisk myldom # Virtual disk
ldm add-vntsd net mynet myldom # Virtual network
ldm bind myldom
ldm start myldom
bind prepares the domain for activation.
start boots the domain.
Example:
ldm start -c myldom
-c option starts the domain console for installation.
ldm list
ldm list -l myldom
ldm set-vcpu 6 myldom # increase CPUs
ldm set-memory 16G myldom
ldm stop myldom
ldm unbind myldom
ldm remove-domain myldom
✅ In short:
ldm add-domain <name> → assign CPU, memory, network, and disk
ldm bind → ldm start → install Solaris OS
ldm commands