Saturday, June 13, 2009

SMF and jumpstart

SMF is Sun's Service Management Facility, and is their method of controlling startup and shutdown, enabling and disabling, and dependencies of services. Traditionally in Solaris and UNIX this was done with inetd and RC scripts. Here are some links:
Unfortunately with most "how-to" on SMF they just talk about how to use svcs of svcadm to quickly show you information, or start and stop services. What I wanted, however, was to find out which file(s) this information was stored in, so that I could set it up on a server without using the commands (specifically set it in the "finish" script of jumpstart)

Turns out it this can be done with a service manifest / site.xml file, as shown in these posts:

No comments: