# $Id: ora-smf.5.txt,v 1.4 2005/07/16 23:18:35 joost Exp $ NAME ora-smf - smf(5) service bundle for Oracle databases and listeners DESCRIPTION ora-smf is a service bundle for starting Oracle databases and listeners. It consists of 1 method and 4 service bundles. AUTHORIZATIONS The service bundles contain two authorizations: solaris.smf.manage.oracle.database solaris.smf.manage.oracle.listener These authorizations give the priveleges required to execute the method (and thus to start and stop databases and listeners) and to modify all of the properties of the services and instances. To use these authorizations, they must be added to the authorization description database, auth_attr(4) first. For example: solaris.smf.manage.oracle.database:::Manage Oracle databases solaris.smf.manage.oracle.listener:::Manage Oracle listeners Secondly, these authorizations must be connected to a user account on the system. This can be done by associating the authorizations directly with a useraccount. For example: usermod -A solaris.smf.manage.oracle.database john gives the user john the authorization to manage all aspects of the Oracle smf(5) configuration. A better, more scalable, approach is to connect the authorizations to a profile, for example by adding a line like Oracle Managenent:::Manage Oracle:\ auths=solaris.smf.manage.oracle.database,\ solaris.smf.manage.oracle.listener to the prof_attr(4) profile description database. Then, users who require the authorizations can be associated with this profile with the following usermod -P "Oracle Managenent" john FILES /opt/ora-smf/method/ora-smf /opt/ora-smf/method/ora-smf-func /opt/ora-smf/manifest/oracle-database-service.xml /opt/ora-smf/manifest/oracle-database-instance.xml /opt/ora-smf/manifest/oracle-listener-service.xml /opt/ora-smf/manifest/oracle-listener-instance.xml