Oracle Database Oracle Clusterware Installation Guide for HP-UX
Oracle Database Oracle Clusterware Installation Guide for HP-UX
Oracle Database Oracle Clusterware Installation Guide for HP-UX
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Creating Groups and Users <strong>for</strong> <strong>Oracle</strong> <strong>Clusterware</strong><br />
3. Repeat this procedure on all of the other nodes in the cluster.<br />
2.4.5 Creating the <strong>Oracle</strong> <strong>Clusterware</strong> User<br />
You must create a software owner <strong>for</strong> <strong>Oracle</strong> <strong>Clusterware</strong> in the following<br />
circumstances:<br />
■ If an <strong>Oracle</strong> software owner user does not exist; <strong>for</strong> example, if this is the first<br />
installation of <strong>Oracle</strong> software on the system<br />
■ If an <strong>Oracle</strong> software owner user exists, but you want to use a different operating<br />
system user, such as crs, with different group membership, to give separate<br />
clusterware and database administrative privileges to those groups in a new<br />
<strong>Oracle</strong> <strong>Clusterware</strong> and <strong>Oracle</strong> <strong>Database</strong> installation<br />
In <strong>Oracle</strong> documentation, a user created to own only <strong>Oracle</strong> <strong>Clusterware</strong> software<br />
installations is called the crs user. A user created to own either all <strong>Oracle</strong><br />
installations, or only <strong>Oracle</strong> database installations, is called the oracle user.<br />
2.4.5.1 Determining if an <strong>Oracle</strong> Software Owner User Exists<br />
To determine whether an <strong>Oracle</strong> software owner user named oracle or crs exists,<br />
enter a command similar to the following (in this case, to determine if oracle exists):<br />
# id oracle<br />
If the user exists, then the output from this command is similar to the following:<br />
uid=501(oracle) gid=501(oinstall) groups=502(dba),503(oper)<br />
Determine whether you want to use the existing user, or create another user.<br />
If you want to use the existing user, then ensure that the user's primary group is the<br />
<strong>Oracle</strong> Inventory group (oinstall).<br />
2.4.5.2 Creating or Modifying an <strong>Oracle</strong> Software Owner User <strong>for</strong> <strong>Oracle</strong><br />
<strong>Clusterware</strong><br />
If the <strong>Oracle</strong> software owner (oracle, crs) user does not exist, or if you require a<br />
new <strong>Oracle</strong> software owner user, then create it. The following procedure uses crs as<br />
the name of the <strong>Oracle</strong> software owner.<br />
1. To create a user, enter a command similar to the following:<br />
2-6 <strong>Oracle</strong> <strong>Clusterware</strong> <strong>Installation</strong> <strong>Guide</strong><br />
Note: If you intend to use multiple <strong>Oracle</strong> software owners <strong>for</strong><br />
different <strong>Oracle</strong> <strong>Database</strong> homes, then <strong>Oracle</strong> recommends that you<br />
create a separate <strong>Oracle</strong> software owner <strong>for</strong> <strong>Oracle</strong> <strong>Clusterware</strong>, and<br />
install <strong>Oracle</strong> <strong>Clusterware</strong> using the <strong>Oracle</strong> <strong>Clusterware</strong> software<br />
owner.<br />
If you want to create separate <strong>Oracle</strong> software owners (oracle, crs,<br />
asm) to create separate users and separate operating system privileges<br />
groups <strong>for</strong> different <strong>Oracle</strong> software installations, then note that each<br />
of these users must have the oinstall group as their primary group,<br />
and each user must share the same <strong>Oracle</strong> Central Inventory, to<br />
prevent corruption of the Central Inventory. Refer to "Creating<br />
Custom Configuration Groups and Users <strong>for</strong> Job Roles" on page 3-4.<br />
# /usr/sbin/useradd -u 501 -g oinstall crs