Академический Документы
Профессиональный Документы
Культура Документы
In the last part I walked you through the basics of LDOMs .lets now dive into the installation
and configuration of LDOMs.The first thing you will need is a T-series hardware and OVM
for sparc software. The latest version is 2.2 , if you are going to use this version please go
through the hardware and software requirements as it does not support some old T-series
hardware and also old firmware levels.
# unzip p14054041_22_SOLARIS64.zip
# cd p14054041_22_SOLARIS64/OVM_Server_SPARC-2_2/Install
# ./install-ldm
Thats it and the OVM software is installed. pretty easy huh ! Now its time to reboot your
system and creating your control domain.
After the OVM software is installed all the resources in the server are by default assigned to
control domain.
# ldm list
Name State Flags Cons VCPU Memory Util Uptime
primary active -t-cv SP 256 128G 0.6% 1h 13m
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.
2.VDS
Only one VDS can be configure per control or service domain.All virtual storage devices are
serviced through VDS.
3.VSW
Thius service enables logical domains to communicate with physical network.Unlike VDS,
VSW is created for each network port we intend to use
for logical domains. We have 2 network ports which we are going to use for LDOMs.
Use below commands to check VCPUs and memory assigned to primary domain.
# psrinfo -vp
# prtdiag -v | grep -i mem
# ldm list-services
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.
Here I will show you all the three methods you can use any one out of these.
Now the VDS device is added they must be assigned to the domain
After this we should configure virtual network ports and bind them VSW service.
Now you can have jumpstart installation of your LDOM or you can add the ISO image of
solaris 10 as vdisk in LDOM
Now connect to the LDOM on port 5000 as seen in the above command
# telnet localhost 5000
Trying 127.0.0.1...
Connected to localhost.
Escape character is ^].
Connecting to console ldom1 in group ldom1 ....
Press ~? for control options ..
{0} ok
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