Wednesday, July 20, 2005

Creating an SMF service (Part 1)



This is Part 1 of an attempt to document creating a new service in SMF.




Resources:

smf(5) and other related manpages

/usr/share/lib/xml/dtd/service_bundle.dtd.1

BigAdmin SelfHealing Site

BigAdmin Developer SMF Intro

BigAdmin SMF QuickStart

docs.sun.com Solaris 10 Admin Guide

Ben Rockwood's SMF Manifest Cheatsheet




The goal is to create a SMF manifest to start a monitoring daemon. (maybe one of those mugs as well)




Before going doing much poking around. I was expecting that I would create a binary instance and a script instance. I would like to be able to have a single manifest that contains all of the services/instances/bits I need.




There are two complementary functions a binary and a script. Recently the script has been modified it now has two operation modes. A "Full" mode and a compatability mode.




I will try to document the problems I run into and the solutions I find.



Part 2


topic:{technorati}[Solaris]
topic:{technorati}[SMF]

No comments:

Post a Comment