Lecture 16: October 22, 2007: Where are we


Table of Contents

SMF services
daemontools services
The user services

This is going to summarize where you should be with your installation. Certainly not all of you are there, and this is a good week for you to catch up. Remember to work together with the other admin(s) of your machine.

SMF services

As you (should) know (by now) the basic way that services are handled in Solaris 10 is with the Service Management Facility which we began discussing in lecture 3 and provided an example of in Lecture 5.

You learned to take inventory of these services with commands such as svcs -a, and to start and stop the services with the commands svcadm enable/disable SRVNAME.

You should have an example of this sort, of a simple service using tcpserver running on your machine. This example required the installation of the ucspi and cdb software as well. We also created a directory in the /var/ to hold the scripts for this service.

We also looked a bit into the kinds of permissions and capabilities that these services might need.

daemontools services

We learned another system for controlling services as provided by Dan Bernstein and used for controlling many of his services. We are learning how to run these services using the SMF facilities instead, but that learning process is not yet complete, so we installed a service under SMF that is used to run the DJB-style services.

That was the service svscan.

The user services