Help required with Solaris LDoms


 
Thread Tools Search this Thread
Operating Systems Solaris Help required with Solaris LDoms
# 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:
Code:
ldm list-constraints -x domain > XML_file

to make the configuration file, and I understand that one of
Code:
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
Code:
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,

Andrew
# 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

reboot

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?

Andrew
# 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 or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Oracle DBA licensing on Solaris 11 LDOMS

My understanding is that Oracle DB licensing is based on number of cores etc. If you use virtual machines (e.g.ldoms) you need to partition it properly otherwise, in theory you have to pay based on the host machine. Can anyone confirm I'm right here? And explain it in bit more detail (i.e.... (8 Replies)
Discussion started by: psychocandy
8 Replies

2. Solaris

Install LDoms in T2000 running Solaris 11.2

Hi, im trying a lab with Solaris 11.2 in SunFire T2000 I read about know problem with ldomsmanager version. Solaris 11 comes with ldomsmanager 2.2 and T2000 needs 1.2. I need to install ldomsmanager version 1.2 but i donīt know why... i canīt find it at oracle site. I found oracle VM for SPARC... (0 Replies)
Discussion started by: MuziKizuM
0 Replies

3. Solaris

Booting Solaris LDOMS Control Domains

We are having a discussion on what order LDOMS and control domains should be booted. I think it should be LDOMS first then Control. Can anyone tell me why I am wrong or why I am right. Thanks, :confused: (6 Replies)
Discussion started by: aeroforce
6 Replies

4. Solaris

Migrating Solaris 8, 9 to Guest Domains (LDOMs)

Hi Everyone, one question is it possible to migrate a physical standalone Solaris 8 or 9 OS to Guest Domain (LDOMs). If yes, can someone please provide steps to migrate these OS to LDOMs. Thanks, Kartheek. (1 Reply)
Discussion started by: bobby320
1 Replies

5. UNIX for Advanced & Expert Users

Immediate Help Required for Patch Installation on Solaris

Hi All, I am new to Solaris. I have to install some latest patches on my SPARC Machine running Solaris 10. I have installed the required patches. Please guide me through the rest of the process. Please include even minute details so that I don't face any problems while doing this activity.... (3 Replies)
Discussion started by: kamaldeep1986
3 Replies

6. Solaris

Immediate Help Required for Patch Installation on Solaris 10

Hi All, I am new to Solaris. I have to install some latest patches on my SPARC Machine running Solaris 10. I have installed the required patches. Please guide me through the rest of the process. Please include even minute details so that I don't face any problems while doing this activity. ... (0 Replies)
Discussion started by: kamaldeep1986
0 Replies

7. Solaris

Ldoms on T5220 with existing solaris 10 OS

Hi I;ve a T5220 box running solaris 10 update 6 with 6 zones on it and zfs SAN file systems is it possible to configure Control domain on this box without removing the exisinting OS and zones ? (1 Reply)
Discussion started by: fugitive
1 Replies

8. Solaris

Info required zones in solaris

Can anyone explain me what is the use of zones in solaris. Also how to find whether it is a local or global zone. (1 Reply)
Discussion started by: rogerben
1 Replies
Login or Register to Ask a Question