Академический Документы
Профессиональный Документы
Культура Документы
Thats it and the OVM software is installed. pretty easy huh ! Now its time to reboot your
system and creating your control domain.
Creating Control Domain :
Fist step is to ensure all the required services required for LDOMs to work are online.
# svcs -a | grep ldom
online 12:32:11 svc:/ldoms/ldmd:default
online 12:32:11 svc:/ldoms/vntsd:default
As you can see all the 256 threads and 128 GB of memory is assigned to the control
domain.To create LDOMs some resources must be free and virtual serrvices
must be created. Now primary domain should be given atleast 4 VCPU and 4 GB of memory.
# ldm set-mau 1 primary
# ldm set-vcpu 4 primary
# ldm set-mem 4G primary
For these settings to take effect primary domain must be rebooted.But before that it is good
practise to configure the virtual services required to create the guest LDOMs.
1.VCC
for creating VCC service a range of TCP ports must be specified. The LDOM console can be
accessed through the port bound to it using telnet command.
# ldm add-vcc port-range=5000-5100 primary-vcc0 primary
Use below commands to check VCPUs and memory assigned to primary domain.
# psrinfo -vp
# prtdiag -v | grep -i mem
ldm
ldm
ldm
ldm
add-domain ldom1
add-vcpu 4 ldom1
add-mau 1 ldom1
add-memory 4G ldom1
here we have added 4 VCPU, 4GB memory and 1 MAU unit to the created LDOM.Now each
LDOM has its own instance of OBP.so we can configure the
standard variable as we configure on a standalone servers.
# ldm set-variable
# ldm set-variable
# ldm set-variable
devices@200/disk@0
auto-boot\?=true ldom1
local-mac-address\?=true ldom1
boot-device=/virtual-devices@100/channelldom1
Now the VDS device is added they must be assigned to the domain
# ldm add-vdisk ldom1-vdsk1 ldom1-vdsk1@primary-vds0 ldom1
After this we should configure virtual network ports and bind them VSW service.
# ldm add-vnet ldom1-vnet0 primary-vsw0 ldom1
# ldm add-vnet ldom1-vnet1 primary-vsw1 ldom1
Now you can have jumpstart installation of your LDOM or you can add the ISO image of
solaris 10 as vdisk in LDOM
# ldm add-vdsdev /var/tmp/sol10.iso iso@primary-vds0
# ldm add-vdisk iso iso@primary-vds0
On ok prom devalias will show the iso image we added as a disk. You can boot from this iso
as boot iso and start solaris 10 installation.
Now your first LDOM is ready with solaris 10 installed on it. If you liked the LDOM basics
articles subscribe/like/follow us.
OVM for sparc (formerly known as LDOMs) explained Part 1 : The basics
OVM for sparc (formerly known as LDOMs) explained Part 2 : Installation & Con