Go to main content
oracle home
Developing System Services in Oracle
®
Solaris 11.4
Exit Print View
Search Term
Search Scope:
This Document
Entire Library
» ...
Documentation Home
»
Oracle Solaris 11.4 Information Library
»
Developing System Services in ...
Updated: November 2020
Developing System Services in Oracle
®
Solaris 11.4
Document Information
Using This Documentation
Product Documentation Library
Feedback
Chapter 1 Introduction to Developing Service Management Facility Services
SMF Documentation
New Features in This Release
Service Management Privileges
Chapter 2 Using SMF to Control Your Application
Creating an SMF Service
Creating an SMF Service Using the Service Bundle Generator Tool
How to Create an SMF Service Using svcbundle
Naming Services and Instances
Naming Property Groups and Properties
Using Reserved Characters
Property Group Types and Property Types
Creating Service Instance Methods
Service Method Scripts
Securing Service Tasks
Service Development Best Practices
Service Method Best Practices
Use SMF Method Exit and Useful Exit Reason
Use Dependencies, Avoid Using Timeouts
Provide Documentation
Validate the Service Manifest
Use Standard Locations
Converting a Run Control Script to an SMF Service
How to Convert a Run Control Script to an SMF Service
Creating a Service Using Multiple Manifests
Chapter 3 Creating a Service to Run Periodically
Periodic Services
Creating a Periodic Service
Specifying the periodic_method Element
Periodic Service Scheduling Constraints Attributes
Other Periodic Service Scheduling Attributes
Periodic Service Start Method Attributes and Context
Storing Periodic Service Data in the Service Configuration Repository
Restarter Properties
periodic Property Group
Last and Next Start Method Invocations
start Property Group
Creating a Periodic Service Using the Service Bundle Generator Tool
How to Create a Periodic Service Using svcbundle
Scheduling Executions of a Periodic Service Start Method
Scheduling After the Instance is Initially Enabled
Scheduling After System Downtime
Scheduling After Service Restart
Scheduling After Start Method Problems
Chapter 4 Creating a Service to Run on a Specific Schedule
Scheduled Services
Creating a Scheduled Service
Specifying the scheduled_method Element
Scheduled Service Scheduling Constraints Attributes
Other Scheduled Service Scheduling Attributes
Scheduled Service Start Method Attributes and Context
Storing Scheduled Service Data in the Service Configuration Repository
Creating a Scheduled Service Using the Service Bundle Generator Tool
How to Create a Scheduled Service Using svcbundle
Scheduling Executions of a Scheduled Service Start Method
Scheduling One Invocation Per Interval
Scheduling One Invocation Per Multiple Intervals
Scheduling Invocations at Irregular Intervals
Resolving Multiple Possible Invocations in One Interval
Scheduling After System Downtime
Scheduling After Service Restart
Scheduling After Start Method Problems
Chapter 5 Creating Services to Manage Oracle Database Instances
Configuring the Environment
Creating a Service to Start or Stop an Oracle Database Instance
Database Instance Control Service Manifest
Start/Stop Method Script for the Oracle Database Instance Control Service
Add Database Service Instances
Creating an Oracle Database Listener Service
Listener Service Manifest
Add Listener Service Instances
Chapter 6 Using a Stencil to Create a Configuration File
Creating a Stencil Service
How to Create a Stencil Service
How to Create a Stencil Service to Generate Multiple Configuration Files
Puppet Stencil Service
High Level View of Puppet Services
Puppet Configuration File
Puppet Stencil File
Modifying the Puppet Configuration File
WebUI Stencil Service
Chapter 7 Creating a Service that Notifies if Conditions are not Satisfied
Creating a Goal Service
Best Practices for Designing Goal Services
Index
Index A
Index C
Index D
Index F
Index G
Index I
Index L
Index M
Index O
Index P
Index R
Index S
Index T
Index W
Language:
English
Developing System Services in Oracle
®
Solaris 11.4
November 2020
Describes how to create SMF services.
Document Information
Using This Documentation
Product Documentation Library
Feedback
1 Introduction to Developing Service Management Facility Services
SMF Documentation
New Features in This Release
Service Management Privileges
2 Using SMF to Control Your Application
Creating an SMF Service
Creating an SMF Service Using the Service Bundle Generator Tool
How to Create an SMF Service Using svcbundle
Naming Services and Instances
Naming Property Groups and Properties
Using Reserved Characters
Property Group Types and Property Types
Creating Service Instance Methods
Service Method Scripts
Securing Service Tasks
Service Development Best Practices
Service Method Best Practices
Use SMF Method Exit and Useful Exit Reason
Use Dependencies, Avoid Using Timeouts
Provide Documentation
Validate the Service Manifest
Use Standard Locations
Converting a Run Control Script to an SMF Service
How to Convert a Run Control Script to an SMF Service
Creating a Service Using Multiple Manifests
3 Creating a Service to Run Periodically
Periodic Services
Creating a Periodic Service
Specifying the periodic_method Element
Periodic Service Scheduling Constraints Attributes
Other Periodic Service Scheduling Attributes
Periodic Service Start Method Attributes and Context
Storing Periodic Service Data in the Service Configuration Repository
Restarter Properties
periodic Property Group
Last and Next Start Method Invocations
start Property Group
Creating a Periodic Service Using the Service Bundle Generator Tool
How to Create a Periodic Service Using svcbundle
Scheduling Executions of a Periodic Service Start Method
Scheduling After the Instance is Initially Enabled
Scheduling After System Downtime
Scheduling After Service Restart
Scheduling After Start Method Problems
4 Creating a Service to Run on a Specific Schedule
Scheduled Services
Creating a Scheduled Service
Specifying the scheduled_method Element
Scheduled Service Scheduling Constraints Attributes
Other Scheduled Service Scheduling Attributes
Scheduled Service Start Method Attributes and Context
Storing Scheduled Service Data in the Service Configuration Repository
Creating a Scheduled Service Using the Service Bundle Generator Tool
How to Create a Scheduled Service Using svcbundle
Scheduling Executions of a Scheduled Service Start Method
Scheduling One Invocation Per Interval
Scheduling One Invocation Per Multiple Intervals
Scheduling Invocations at Irregular Intervals
Resolving Multiple Possible Invocations in One Interval
Scheduling After System Downtime
Scheduling After Service Restart
Scheduling After Start Method Problems
5 Creating Services to Manage Oracle Database Instances
Configuring the Environment
Creating a Service to Start or Stop an Oracle Database Instance
Database Instance Control Service Manifest
Start/Stop Method Script for the Oracle Database Instance Control Service
Add Database Service Instances
Creating an Oracle Database Listener Service
Listener Service Manifest
Add Listener Service Instances
6 Using a Stencil to Create a Configuration File
Creating a Stencil Service
How to Create a Stencil Service
How to Create a Stencil Service to Generate Multiple Configuration Files
Puppet Stencil Service
High Level View of Puppet Services
Puppet Configuration File
Puppet Stencil File
Modifying the Puppet Configuration File
WebUI Stencil Service
7 Creating a Service that Notifies if Conditions are not Satisfied
Creating a Goal Service
Best Practices for Designing Goal Services
Index
A
C
D
F
G
I
L
M
O
P
R
S
T
W