Oracle Installations with Standard and Job Role Separation Groups and Users
A job role separation configuration of Oracle AI Database and Oracle ASM is a configuration with groups and users to provide separate groups for operating system authentication.
Review the following sections to understand more about a Job Role Separation deployment.
About Oracle Installations with Job Role Separation
Job role separation requires that you create different operating system groups for each set of system privileges that you grant through operating system authorization.
With Oracle Grid Infrastructure job role separation, Oracle ASM has separate operating system groups that provide operating system authorization for Oracle ASM system privileges for storage tier administration. This operating system authorization is separated from Oracle AI Database operating system authorization. In addition, the Oracle Grid Infrastructure installation owner provides operating system user authorization for modifications to Oracle Grid Infrastructure binaries.
With Oracle AI Database job role separation, each Oracle AI Database installation has separate operating system groups to provide authorization for system privileges on that Oracle AI Database. Multiple databases can, therefore, be installed on the cluster without sharing operating system authorization for system privileges. In addition, each Oracle software installation is owned by a separate installation owner, to provide operating system user authorization for modifications to Oracle AI Database binaries. Note that any Oracle software owner can start and stop all databases and shared Oracle Grid Infrastructure resources such as Oracle ASM or Virtual IP (VIP). Job role separation configuration enables database security, and does not restrict user roles in starting and stopping various Oracle Clusterware resources.
You can choose to create one administrative user and one group for operating system authentication for all system privileges on the storage and database tiers. For example, you can designate the oracle user to be the installation owner for all Oracle software, and designate oinstall to be the group whose members are granted all system privileges for Oracle Clusterware; all system privileges for Oracle ASM; all system privileges for all Oracle AI Databases on the servers; and all OINSTALL system privileges for installation owners. This group must also be the Oracle Inventory group.
If you do not want to use role allocation groups, then Oracle strongly recommends that you use at least two groups:
- A system privileges group whose members are granted administrative system privileges, including OSDBA, OSASM, and other system privileges groups.
- An installation owner group (the
oraInventorygroup) whose members are granted Oracle installation owner system privileges (theOINSTALLsystem privilege).
Note:
To configure users for installation that are on a network directory service such as Network Information Services (NIS), refer to your directory service documentation.
Related Topics
Standard Oracle AI Database Groups for Database Administrators
Oracle AI Database has two standard administration groups: OSDBA, which is required, and OSOPER, which is optional.
- The OSDBA group (typically,
dba)You must create this group the first time you install Oracle AI Database software on the system. This group identifies operating system user accounts that have database administrative privileges (the
SYSDBAprivilege).If you do not create separate OSDBA, OSOPER, and OSASM groups for the Oracle ASM instance, then operating system user accounts that have the
SYSOPERandSYSASMprivileges must be members of this group. The name used for this group in Oracle code examples isdba. If you do not designate a separate group as the OSASM group, then the OSDBA group you define is also by default the OSASM group. - The OSOPER group for Oracle AI Database (typically,
oper)OSOPER grants the OPERATOR privilege to start up and shut down the database (the
SYSOPERprivilege). By default, members of the OSDBA group have all privileges granted by theSYSOPERprivilege.
Extended Oracle AI Database Groups for Job Role Separation
Oracle AI Database provides an extended set of database groups to grant task-specific system privileges for database administration.
The extended set of Oracle AI Database system privileges groups are task-specific and less privileged than the OSDBA/SYSDBA system privileges. They are designed to provide privileges to carry out everyday database operations. Users granted these system privileges are also authorized through operating system group membership.
You do not have to create these specific group names, but during interactive and silent installation, you must assign operating system groups whose members are granted access to these system privileges. You can assign the same group to provide authorization for these privileges, but Oracle recommends that you provide a unique group to designate each privilege.
The subset of OSDBA job role separation privileges and groups consist of the following:
- OSBACKUPDBA group for Oracle AI Database (typically,
backupdba)Create this group if you want a separate group of operating system users to have a limited set of database backup and recovery related administrative privileges (the SYSBACKUP privilege).
- OSDGDBA group for Oracle Data Guard (typically,
dgdba)Create this group if you want a separate group of operating system users to have a limited set of privileges to administer and monitor Oracle Data Guard (the SYSDG privilege). To use this privilege, add the Oracle AI Database installation owners as members of this group.
- The OSKMDBA group for encryption key management (typically,
kmdba)Create this group if you want a separate group of operating system users to have a limited set of privileges for encryption key management (the SYSKM privilege). To use this privilege, add the Oracle AI Database installation owners as members of this group.
The OSRACDBA group for Oracle Real Application Clusters Administration (typically,
racdba)Create this group if you want a separate group of operating system users to have a limited set of Oracle Real Application Clusters (RAC) administrative privileges (the SYSRAC privilege). To use this privilege:
- Add the Oracle AI Database installation owners as members of this group.
- For Oracle Restart configurations, if you have a separate Oracle Grid Infrastructure installation owner user (
grid), then you must also add thegriduser as a member of the OSRACDBA group of the database to enable Oracle Grid Infrastructure components to connect to the database.
Related Topics
Creating an ASMSNMP User
The ASMSNMP user is an Oracle ASM user with privileges to monitor Oracle ASM instances. You are prompted to provide a password for this user during installation.
In addition to the OSASM group, whose members are granted the SYSASM system privilege to administer Oracle ASM, Oracle recommends that you create a less privileged user, ASMSNMP, and grant that user SYSDBA privileges to monitor the Oracle ASM instance. Oracle Enterprise Manager uses the ASMSNMP user to monitor Oracle ASM status.
During installation, you are prompted to provide a password for the ASMSNMP user. You can create an operating system authenticated user, or you can create an Oracle AI Database user called asmsnmp. In either case, grant the user SYSDBA privileges.
Oracle Automatic Storage Management Groups for Job Role Separation
Oracle Grid Infrastructure operating system groups provide their members task-specific system privileges to access and to administer Oracle Automatic Storage Management.
- The OSASM group for Oracle ASM Administration (typically,
asmadmin)Create this group as a separate group to separate administration privileges groups for Oracle ASM and Oracle AI Database administrators. Members of this group are granted the SYSASM system privileges to administer Oracle ASM. In Oracle documentation, the operating system group whose members are granted privileges is called the OSASM group, and in code examples, where there is a group specifically created to grant this privilege, it is referred to as
asmadmin.Oracle ASM can support multiple databases. If you have multiple databases on your system, and use multiple OSDBA groups so that you can provide separate SYSDBA privileges for each database, then you should create a group whose members are granted the OSASM/SYSASM administrative privileges, and create a grid infrastructure user (grid) that does not own a database installation, so that you separate Oracle Grid Infrastructure SYSASM administrative privileges from a database administrative privileges group.
Members of the OSASM group can use SQL to connect to an Oracle ASM instance as SYSASM using operating system authentication. The SYSASM privileges permit mounting and dismounting disk groups, and other storage administration tasks. SYSASM privileges provide no access privileges on an RDBMS instance.
If you do not designate a separate group as the OSASM group, but you do define an OSDBA group for database administration, then by default the OSDBA group you define is also defined as the OSASM group.
- The OSOPER group for Oracle ASM (typically,
asmoper)This is an optional group. Create this group if you want a separate group of operating system users to have a limited set of Oracle instance administrative privileges (the SYSOPER for ASM privilege), including starting up and stopping the Oracle ASM instance. By default, members of the OSASM group also have all privileges granted by the SYSOPER for ASM privilege.