Requirements for Oracle and Oracle RAC Environments

Requirements for Oracle and Oracle RAC Environments

Requirements for Oracle and Oracle RAC Environments This topic describes the user privileges that are required for Oracle and Oracle RAC target and source environments. The Delphix Server requires two users on source and target environments, the OS User and the Database User. When setting up a source or target environment, the HostChecker script confirms that both of these users exist on the target or source environment. HostChecker includes a script, createDelphixOSUser.sh, that allows the system administrator to create an OS User, and prompts for adding primary and secondary group memberships. It also includes another script, createDelphixDBUser.sh, that allows the system administrator to create a Database User. The OS User is necessary for adding an environment, adding a dSource, and provisioning a VDB. The Database User is used for adding a dSource, and taking snapshots of dSources or VDBs. Environment User Privileges Source OS User 1. Profile and privileges similar to Oracle User. 2. Write permission to the sqlplus directory, for example $ORACLE_HOME/sqlplus. 3. Write permission to the $ORACLE_HOME/dbs directory. 4. Group Memberships: OSDBA (typically dba) as primary group Oracle Install Group (typically oinstall) as secondary group If ASM is used, asmadmin and asmdba to provision to and from ASM Source Databas Use the HostChecker bundle script createDelphixDBUser.sh to create a database user for Delphix with necessary Database e User privileges. Target OS User 1. Write permission to the $ORACLE_HOME/dbs directory. 2. Secondary group membership in the asadmin group for provisioning to an ASM installation. 3. Must have the appropriate permissions on a mount directory for VDBs, for example /mnt/provision. 4. For detection of listeners with non-standard configurations, must have sudo access to pargs on Solaris or ps on Linux, HP-UX, or AIX. Example (Solaris Source) Defaults:delphix_os !requiretty delphix_os ALL=NOPASSWD:/bin/pargs Example (Linux, HP-UX, or AIX Source) Defaults:delphix_os !requiretty delphix_os ALL=NOPASSWD:/bin/ps 5. sudo privileges mount/umount, mkdir/rmdir. If a provisioning user does not have these permissions, then the mount directory must exist and be writeable by the provisioning user. Example (All Targets, Standard Listener) Defaults:delphix_os !requiretty delphix_os ALL=NOPASSWD:/bin/mount, /bin/umount, /bin/mkdir, / bin/rmdir Example (Solaris Target, Non-standard Listener) Defaults:delphix_os !requiretty delphix_os ALL=NOPASSWD:/bin/mount, /bin/umount, /bin/mkdir, / bin/rmdir, /bin/pargs Example (Linux/HP-UX/AIX Target, Non-standard Listener) Defaults:delphix_os !requiretty delphix_os ALL=NOPASSWD:/bin/mount, /bin/umount, /bin/mkdir, / bin/rmdir, /bin/ps Oracle RAC OS User Source 1. Must exist on all RAC nodes. 2. Must have the same configuration on all nodes (same user id/group). 3. Must have permissions to run crsctl and srvctl. Example (This shows that the group dba has read/write/execute permission on the database resources) $ crsctl getperm resource ora.trois.db Name: ora.trois.db owner:ora112:rwx,pgrp:dba:rwx,other::r-- Environment discovery on a single instance or RAC installation relies on the presence of the following files: /etc/oratab (for single instance discovery only) /etc/oraInst.loc or /var/opt/oracle/oraInst.loc (this file points to $INVENTORY_HOME) $INVENTORY_HOME/ContentsXML/inventory.xml For each Oracle Home, $ORACLE_HOME/inventory/ContentsXML/comps.xml.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us