Home Man
Today's Posts

The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Help required with Solaris LDoms


Login to Reply

Thread Tools Search this Thread
# 1  
Old 08-21-2017
Help required with Solaris LDoms

System: SPARC S7-2 Server; 2x8-core CPUs; 128Gb RAM; 2x600Gb HDD.

I am trying to figure out how to run these is multiple Virtual Machines (LDoms). Unfortunately I cannot find a tutorial so am using the Oracle VM Server for SPARC 3.4 Administration Guide; which is frustrating because it assumes a higher level of knowledge than I possess.

So far I have managed to create two client LDoms and installed Solaris 10 on one and Solaris 11 on the other. I was unable to network them; that is my next challenge.

I wish to be able to make snapshots of the LDoms as I go so that I can fall back if I make a mistake; also to be able to duplicate a usable LDom rather than have to start from the beginning each time I want a new virtual system. With this in mind I have used:
ldm list-constraints -x domain > XML_file

to make the configuration file, and I understand that one of
ldm add-domain -i XML_file
ldm set-domain -i XML_file

is required to restore it. The admin guide (mentioned above) does not state whether you should use
ldm remove-domain domain

before restoring the domain.

Can anyone help, either by giving me advice, or by directing me to a proper tutorial?

I also have physical Solaris 10 systems that, if I could, I would virtualise using the ldmp2v utility and run on one of my new systems while I sorted out a newer configuration on the other. I have managed to run it in Collection Phase, but need help in the Preparation and Conversion phases.

I'll be grateful for any help,

# 2  
Old 09-05-2017
Hi. I lost the mother board on my Sparc server running Solaris 10 and lost the SP.
the below restored everything. Very easy as long as you have backups.

ldm list-spconfig
factory-default - should be current. ( next startup )

Will not restore primary if spconfig and ldom-db.xml differ

mv /var/opt/ldom-db.xml /var/opt/ldom-db.xml-orig


ldm init-system -r -i primary-ldomname.xml

ldm add-domain -i ldomname.xml

bind ldomname
ldm start-domain ldomname

That's it. Then ldm add-spconfig latest
# 3  
Old 09-05-2017
Thanks for this. So this is how you restored a working client domain onto a brand-new hardware after the old one croaked?

I don't appear to have an /var/opt/ldom-db.xml. Is it possibly somewhere else on a Solaris 11 system?

# 4  
Old 09-05-2017
Hi. Yep Solaris 11 is different. That was just a slight gotcha I noticed for solaris 10. But in answer to your question. Try restoring the guest domain before deleting it, and see what happens. Ldm wont allow you to duplicate existing configs. So a simple delete and add should restore you to where you want.
# 5  
Old 09-11-2017
it should be noted that the virtual disk service, virtual switch configurations and virtual console configs are in the LDM config but not part of an individual LDOM export.

you'll have to do ldm list -l >file.txt to get that.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Oracle DBA licensing on Solaris 11 LDOMS psychocandy Solaris 8 12-13-2017 07:35 PM
Install LDoms in T2000 running Solaris 11.2 MuziKizuM Solaris 0 08-20-2015 01:16 PM
Booting Solaris LDOMS Control Domains aeroforce Solaris 6 08-02-2013 04:56 PM
Migrating Solaris 8, 9 to Guest Domains (LDOMs) bobby320 Solaris 1 12-10-2011 04:05 PM
VxVM 5.0 Licence key required on solaris suresha2lu Solaris 1 04-23-2010 03:04 AM
Immediate Help Required for Patch Installation on Solaris 10 kamaldeep1986 Solaris 0 07-16-2009 05:11 PM
Ldoms on T5220 with existing solaris 10 OS fugitive Solaris 1 06-24-2009 01:37 AM
Info required zones in solaris rogerben Solaris 1 02-18-2009 11:40 PM

All times are GMT -4. The time now is 01:41 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password