DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Designing SCOadmin object service agents

OSAs and the Server API

Object service agents define classes of objects, their attributes, and the operations that can be performed on those objects and attributes.

A SCOadmin object class represents a system administrative entity or sub-system - anything that can be reasonably managed at the system administration level. Examples of object classes include: printers, user accounts, and backup schedules. Examples of operations on object class instances include: enabling a printer, changing the login shell of a user, and getting a list of printers which are rejecting print requests.

The SCOadmin Server API provides a framework for object management and a collection of useful standardized routines for OSAs. It provides a format by which all OSAs will be called when they are needed; either to modify object instances or to get data from them. The Server API includes the SCOadmin services library, consisting of a C/C++ interface (/usr/lib/libsysadm.a and associated header files /usr/include/scoAdmin) and a Tcl interface (/etc/sysadm.d/lib/sysadm.tlib).

When a SCOadmin manager wants to create, modify, examine, or remove an object instance, it identifies the object and action to the Server API. The object classes are reached by having the Server API call into the OSAs.


Next topic: Creating class definition tables
Previous topic: Designing SCOadmin object service agents

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003