DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
OSA reference

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: configuring, adding, or removing a printer, user account, or backup schedule. Examples of operations on object attributes include: setting a default printer, changing the login shell of a user, getting a list of printers that 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 (/usr/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 using object calls. The object classes are reached by having the Server API call into the OSAs.


Next topic: Creating class definition tables
Previous topic: OSA reference

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005