> Regarding the ldom database at
> /var/opt/SUNWldm/ldom-db.xml 
> 
> Can anybody please explain what is this for? 
> 

This file should only hold "requirements and constraints specified but not yet 
instantiated in the current configuration", i.e. information about domains that 
have not been bound yet. In reality, in current versions, it contains a bit 
more than that : vdsdev names and port range of vcc services, for instance (my 
understanding is that the "vdsdev" issue is getting fixed in LDoms 1.1). If you 
lose the file or it gets corrupted, those properties revert back to canonical 
values: your configuration still works but with canonical names. Also, you lose 
all information about unbound domains.

> How do this complements or overrides the ldom config
> stored in the SC? 

The ldom config stored in the SC is what's restored when your server is reset 
or powered off/on. The ldom-db.xml file complements it with the info it has 
(unbound domains's info) and does not overwrite it.

A "strange" case is when you revert back to an old spconfig on the SC (ldm 
set-config), the ldom-db.xml file is not directly related to the config you 
will be in after your server reset. The algorithm still works  because the file 
does not do any harm on the running configuration, it just restores the state 
of unbound domains.

> 
> Thanks
> Luis
--
This message posted from opensolaris.org

Reply via email to