How To Install and Configure Ldom or Oracle VM Server For SPARC
How To Install and Configure Ldom or Oracle VM Server For SPARC
BLOG POST
The Geek Diary LDOMs ➢ How to install and configure LDOMs (Oracle VM for SPARC)
Chennai
Madurai
Virtualization has been a need of time over several past years as we have machines now even with 16
cores and memory in TBs. A single machine is now capable of accommodating even more than 100 VMs
at a time. Oracle VM for SPARC formerly known as LDOMs has played a key role in oracles virtualization
strategies and is improving with every version. Before start configuring our first oracle VM for SPARC let us
understand types of ldoms, ldom services and virtual devices.
NAME
Guest No direct access to underlying hardware and does not provide virtual device or services to
other ldoms. Uses virtual device.
I/O has direct access to underlying hardware in the server. It can be used in cases like oracle DB
which wants direct/raw access to the storage devices.
Control Service domain that also runs the ldoms manager software to control the configuration of
hypervisor. This ldom manager is responsible for mapping between physical and virtual
devices.
VLDC virtual logical domain communication channel between logical domain and
channel hypervisor
VCC Virtual console Acts as a virtual console for each logical domain
concentrator
1 of 9 10/17/2016 7:12 PM
How to install and configure ldom or oracle vm server for SPARC http://thegeekdiary.com/how-to-install-and-configure-ldoms-oracle-vm-f...
VSW Virtual switch service provides network access for guest ldoms to the physical
network ports
VDS virtual disk service provides virtual storage service for guest ldoms
VCPU virtual CPU Each thread of a T series CPU acts as a virtual CPU
MAU Mathematical Each core of T series CPU will have a MAU for accelerated
arithmetic unit RAS/DSA encryption
VCONS Virtual console a port in guest ldom that connects to the VCC service in
control domain
VNET Virtual network network port in guest ldom which is connected to the VSW
service in the control domain
VSDEV Virtual disk service physical storage device that is virtualized by VDS service in
device control domain
VDISK Virtual disk VDISK in guest domain is connected to the VDS service in
control domain/service domain
To install the LDOM software simply unzip the software zip and run the install-ldm script with -s option in
case you don’t want to use the configuration assistant to configure the primary and guest ldoms.
Create the essential services like vsw, vcc and vds required to serve the guest LDOMs.
Chennai
Madurai
2 of 9 10/17/2016 7:12 PM
How to install and configure ldom or oracle vm server for SPARC http://thegeekdiary.com/how-to-install-and-configure-ldoms-oracle-vm-f...
By default all the VCPUs, Memory and MAUs are assigned to the primary domain which is the default
domain created after installing the OVM for SPARC software. Primary or control domain is used to
configure all the guest ldoms and provide necessary virtual services to them like vcc, vsw and vds. Logical
domain manager is responsible to create, delete, modify and control ldoms, thus make sure the ldmd
service is running before configuring the primary and guest domains. Use delayed reconfiguration in order
to configure the primary ldom without rebooting for previous changes to take effect.
By default communication between control domain and all the guest domains is disabled. To enable it,
virtual switch has to be configured as the network device instead of nxge0.
3 of 9 10/17/2016 7:12 PM
How to install and configure ldom or oracle vm server for SPARC http://thegeekdiary.com/how-to-install-and-configure-ldoms-oracle-vm-f...
The vntsd daemon is responsible to provide the virtual network terminal services to the guest ldoms. If this
service is not running enable it with svcadm command.
We would assign 8 VCPUs, 2 GB of memory and 1 MAU to our first guest ldom. Also a virtual network
vnet1 will be created and associated with the virtual switch vsw0.
Here we first need to specify the physical device that needs to be exported by vdsdev to the guest domain
and then we actually add the virtual disk thus created to the guest domain. Now use any one of the 3
methods mentioned below.
1. Adding physical disks
2. Adding file
3. Adding a volume
4 of 9 10/17/2016 7:12 PM
How to install and configure ldom or oracle vm server for SPARC http://thegeekdiary.com/how-to-install-and-configure-ldoms-oracle-vm-f...
Now we can also do a jumpstart installation of the guest domain. But one of the easiest and most widely
used method is add iso image as virtual disk to the guest ldom and install it from it. Here you can access
the vdisk sol10_iso in the ok prompt and boot from it.
Now check the port which is bound with the guest domain and connect the virtual console of the guest
domain.
Now you can see various flags in the “ldm list” command output. The falgs represent the current state of
the ldom.
5 of 9 10/17/2016 7:12 PM
How to install and configure ldom or oracle vm server for SPARC http://thegeekdiary.com/how-to-install-and-configure-ldoms-oracle-vm-f...
primary# ldm -V
# ldm list-devices -a
# ldm list-devices mem
6 of 9 10/17/2016 7:12 PM
How to install and configure ldom or oracle vm server for SPARC http://thegeekdiary.com/how-to-install-and-configure-ldoms-oracle-vm-f...
…
1. LDOMs (OVM for SPARC) Command line reference [cheat sheet]
2. How to create an I/O domain
3. How to save LDOM configuration and restore from xml file
4. How to reset LDOM configuration to factory default
5. LDOM live migration basics explained
7 of 9 10/17/2016 7:12 PM
How to install and configure ldom or oracle vm server for SPARC http://thegeekdiary.com/how-to-install-and-configure-ldoms-oracle-vm-f...
LDOMs (OVM for SPARC) Command line The ultimate Solaris Volume Manager (SVM)
reference interview questions
Solaris Volume Manager (SVM) command line The ultimate Solaris zones (containers) interview
reference questions
Solaris ZFS command line reference The ultimate Solaris networking interview
questions
RHEL 7 – RHCSA Notes (Cheat Sheets)
The ultimate ZFS interview questions
CentOS / RHEL 7 : firewalld Cheat Sheet
8 of 9 10/17/2016 7:12 PM
How to install and configure ldom or oracle vm server for SPARC http://thegeekdiary.com/how-to-install-and-configure-ldoms-oracle-vm-f...
9 of 9 10/17/2016 7:12 PM