<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>

<!-- $Id: oracle-database-instance.xml,v 1.11 2005/12/28 20:19:02 joost Exp $ 

  The contents of this file are subject to the terms of the
  Common Development and Distribution License, Version 1.0 only
  (the "License").  You may not use this file except in compliance
  with the License.

  You can obtain a copy of the license at 
   http://www.opensource.org/licenses/cddl1.php
  See the License for the specific language governing permissions and 
  limitations under the License.

  Copyright 2005, Joost Mulders.

  This document contains a service definition for an Oracle database instance. 

  It contains some instance specific variables like ORACLE_SID and ORACLE_HOME.
  These must be filled in below. 

  Other -generic database- service properties are inherited from the parent
  service, 'application/oracle/database'.

  A database instance can be brought under SMF control by:
   * running $MTHPATH/ora-smf autoimport
 *OR*  
   * filling in the blanks (marked with '' or ':default') below
   * svccfg import <file>
-->

<service_bundle type='manifest' name='oracle-database-instance'>
 <service
  name='application/oracle/database'
  type='service'
  version='1'>
 
  <!-- The SMF instance name MUST match the database instance -->
  <instance name='' enabled='false'>
   <method_context
    working_directory=':default'
    project=':default'
    resource_pool=':default'>

    <!-- 
      The credentials of the user with which the method is executed. 
    -->
    <method_credential
     user=''
     group=''
     supp_groups=':default'
     privileges=':default'
     limit_privileges=':default'/>

    <method_environment>
     <envvar name='ORACLE_SID' value='' />
     <envvar name='ORACLE_HOME' value='' />

     <!--
      For Oracle 8 & 9
      <envvar name='ORA_NLS33' value='' />
      For Oracle 10g
      <envvar name='ORA_NLS10' value='' />
     -->

    </method_environment>
   </method_context>

  </instance>
 </service>
</service_bundle>
