Log-in |

Material

Status

As of 2009/04/14, implementation is in progress.
The code base is hosted at hg.opensolaris.org and may
be viewed at src.opensolaris.org .  It includes a README file and the draft ARC case at p1-arccase.txt .

Introduction

Motivation

Users would benefit from and upcoming projects will require the ability to
change configuration data for multiple services in the service configuration
facility (SCF, a.k.a. the SMF repository) from a file, all at once.  Since these
changes should be upgradable (i.e., changes to the file should be propagated)
and users will want to undo these changes, the repository
must be extended.

Conceptual direction

It seems that an appropriate base concept for this change is the organization
of service configuration properties into profiles.  To
illustrate, consider the general/enabled property of the system/cron:default
and network/telnet:default services:

![](current.png)

This is the state after a Solaris 10 system has booted for the first time and
the administrator has disabled the telnet service.  The services were created
as disabled, were then enabled by the generic_open.xml profile, but then

telnet

 was disabled as mentioned.  No record of what changes were
made when were retained, so undo or upgrade (of generic_open.xml, in this
example) is not generally feasible.

Suppose we allowed properties to specified in layered profiles:

![](proposed.png)

Here the base profile represents the default properties of the services,
the property changes prescribed by the generic_open.xml file have been
overlayed in a generic_open profile, and local administrative changes
(svcadm disable telnet, in this case) have been overlayed in the local
profile.  To clients, only the top-most value is seen, which results in the
same effect as the first diagram.  In this situation, though, each profile
may be removed or upgraded independently.

This project will flesh out the necessary concepts and implement the requisite
changes to the repository and associated SMF tools.

Discussion

Comments and questions should be directed to the smf-discuss mailing list.
See the Discussions link on the left side of this page to subscribe, unsubscribe,
or view the archives.

last modified by admin on 2009/10/26 13:09
Collectives
Project

Project smf-profiles Pages

© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.