Create LDOM # ldm add-domain DB01 # ldm add-vcpu 8 DB01 # ldm add-memory 16G DB01 # ldm add-vnet vid=98,99 vnet01 primary-vsw-core DB01
Create Volume Disk # zfs create -V 100gb ldom-pool/DB01-OS
Create Alias # ldm add-vdsdev /dev/zvol/dsk/ldom-pool/DB01-OS DB01-OS@primary-vds0 # ldm remove-vdsdev ldomweb_disk9 /dev/dsk/c13t5006016936E02582d0s2
Add Disk to LDOM # ldm add-vdisk vdisk1 DB01-OS@primary-vds0 DB01
Remove Disk from LDOM # ldm remove-disk vdisk9 ldom-web
Add ISO to LDOM # ldm add-vdsdev options=ro /source/sol-11_4-text-sparc.iso iso@primary-vds0 # ldm add-vdisk sol11_iso iso@primary-vds0 DB01
Check Config LDOM # ldm list-bindings DB01
Listing LDOM # ldm list # ldm bind DB01 # ldm start DB01
Setting variables # ldm set-var auto-boot?=true ldom01 # ldm set-var boot-device=vdisk1 ldom01
List the resource for all LDOMs and per LDOM # ldm list -o cpu primary # ldm list -o network,memory ldom01
List all server resources # ldm list-devices -a # ldm list-devices mem
Remove ISO / Disk from LDOM # ldm rm-vdisk iso11 ldom-DB01
|