Display Default LDOM services PurposeCommand Check ldom manager (ldmd)# svcs ldmd Check vntsd is running# svcs vntsd Check Default Services are running# ldm list-services primary Check ldm software# ldm -V check ldoms manager package in Solaris 11# pkg info ldomsmanager Creating Default LDOM services PurposeCommand add virtual console concentrator (vcc)# ldm add-vcc port-range=5000-5100 primary-vcc0 primary add virtual network switch (vsw)# ldm add-vsw net-dev=net0 … [Read more...] about LDOMs (OVM for SPARC) Command line reference [cheat sheet]
LDOMs
How to create an I/O domain
An I/O domain has a direct access to the underlying hardware devices. It is used generally in a case where you want performance improvements avoiding the overheads to access the hardware indirectly through control domain. You can create I/O domain is 2 ways: 1. Using the entire PCIe BUS 2. Using a PCIe end point device Creating I/O domains using PCIe buses Now as shown in ther digram we can assign a complete PCI bus(pci_1) to the I/O domain assuming there are no disk or network devices on … [Read more...] about How to create an I/O domain
How to save LDOM configuration and restore from xml file
It is necessary to save LDOM configuration to rebuild it in future in case of a hardware failure on the physical server. Now every LDOM has constraints defined which can be saved as xml file. This file will contain all the resource allocation to a LDOM. Saving LDOM configuration To save constraints of a single domain : # ldm list-constraints -x ldom_name > ldom_name.xml To save constraints of all the domains : # ldm list-constraints -x > all_ldoms.xml Restoring LDOM configuration There … [Read more...] about How to save LDOM configuration and restore from xml file
How to reset LDOM configuration to factory default
The factory-default configuration is the configuration when you first time install the Oracle VM Server for SPARC software on to a fresh Solaris OS. To set the physical server to factory-default configuration : 1. Remove all the guest LDOMs 2. Remove all the saved LDOM configurations 3. Restore the factory default configuration a. from command line b. from service processor Stop all the ldoms, unbind and delete them First step is to stop all the domains, unbind them and remove … [Read more...] about How to reset LDOM configuration to factory default
LDOM live migration basics explained
One of the best features included in the Oracle VM server for SPARC 2.1 version was live migration. Live migration enables migrating active LDOMs from one physical system to other without any downtime. This may help you in doing any maintenance activity like patching or hardware changes on the physical server also helps in load balancing between 2 servers. Live Migration phases Phase 1 : Pre-checks In this phase the source machine does pre-checks on the target system to ensure that the … [Read more...] about LDOM live migration basics explained
How to clone LDOMs using ZFS
The ZFS snapshot and cloning feature can be used to clones LDOMs. This comes very handy when you need to create multiple ldoms with some softwares already installed. The steps involved are : 1. Setup the primary domain 2. Create a guest LDOM (base LDOM) 3. Unconfigure, stop and unbind the base LDOM 4. Take zfs snapshot of base LDOM (called as golden image) 5. Clone the golden image to create new LDOMs Setup the primary domain Setup the primary domain with necessary resources and … [Read more...] about How to clone LDOMs using ZFS
How to install and configure LDOMs (Oracle VM for SPARC)
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. Types of logical … [Read more...] about How to install and configure LDOMs (Oracle VM for SPARC)