JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Managing System Services in Oracle® Solaris 11.2
Oracle Technology Network
Library
PDF
Print View
Feedback
search filter icon
search icon

Document Information

Using This Documentation

Chapter 1 Introduction to the Service Management Facility

Chapter 2 Getting Information About Services

Chapter 3 Administering Services

Chapter 4 Configuring Services

Chapter 5 Using SMF to Control Your Application

Creating an SMF Service

How to Create an SMF Service Using the Service Bundle Generator Tool

Creating a Service to Start or Stop an Oracle Database Instance

Database Start and Stop Service

Database Listener Service

Naming Services, Instances, Property Groups, and Properties

How to Convert a Run Control Script to an SMF Service

Using a Stencil to Create a Configuration File

How to Create a Stencil Service

Stencil Service Examples in Oracle Solaris

Puppet Stencil Service

High Level View of Puppet Services

Initial Puppet Configuration File

Puppet Stencil File

Modifying the Puppet Configuration File

Kerberos Stencil Service

Appendix A SMF Best Practices and Troubleshooting

Index

Using a Stencil to Create a Configuration File

If your application cannot use libscf library interfaces to read properties, you can use a stencil to create a configuration file. A stencil service creates configuration files by using a stencil file and property values defined in the stencil service. A stencil file contains a structural definition of a configuration file that is required by a service even though that service is now managed by SMF. Stencil services enable you to take advantage of SMF configuration management with no change to the existing application.

The stencil is used to generate a configuration file immediately before the service instance start method is executed. If you update the stenciled property values, restart the service to incorporate the changes into the configuration file before the application starts and reads the configuration file.