Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI
This information is Copyright 2007 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
         SMF services for Xen addendum
    1.2. Name of Document Author/Supplier:
         Author:  John Levon
    1.3  Date of This Document:
        29 August, 2007
4. Technical Description
SMF services for Xen addendum 

1.  Introduction

    PSARC 2007/127 introduced the new SMF services provided for running a
    Solaris-based domain 0 when running on Xen or a Xen-compatible hypervisor.

    Further work has generated the need for an additional service, described
    below. The "platform profiles" problem described in PSARC 2007/127 applies
    equally well to this service.

    As before, a patch binding is requested.

2.  Domains service

    Solaris zones provides a simple transient service that allows autobooting
    of zones when the control plane (global zone) is booted, and graceful
    shutdown at shutdown/reboot time. In a similar fashion this amendment is
    for the transient service:

        svc:/system/xctl/domains:default

    Behaviour is very similar to that of system/zones:default; guest domains
    marked as autoboot are booted at dom0 boot time, and are shut down cleanly
    at shutdown.

    This is achieved by having the 'domains' service depend upon xend:default.
    When the service is started, we ask xend to autoboot all domains as needed.

    On shutdown, we ask xend to shutdown all running domains and wait for this
    to complete (timing out after 6 minutes if no further progress is being
    made).
   
    Note that a restart of xend should not cause guest domains to be restarted.
    This is the current behaviour of the upstream community version of Xen. We
    have avoided this behaviour by making sure the domains service does not
    restart on a restart of its dependent services, xend and xenconsoled.

    We intend to work with the community to fix this defect in the upstream
    version in a similar fashion.
  
3.  Interface table

    It is unclear that the interfaces provided in this document will remain
    stable as upstream community development continues. In particular,
    forthcoming releases are providing a radical new base for administrative
    remote access to the control tools. As a result, we feel that the
    interfaces described here are best represented by a classification of
    Volatile:

        svc:/system/xctl/domains:default                Volatile

4.  References

    PSARC/2006/260 Solaris on Xen
    PSARC/2007/128 SMF services for Xen

Reply via email to