Sun Cluster Quick Start Guide for Solaris OS

ProcedureHow to Set Up the User Environment

Perform this procedure on both nodes. The steps in this procedure use the C shell environment. If you are using a different shell, perform the equivalent tasks for your preferred shell environment.

For more information, see Customizing a User’s Work Environment in System Administration Guide: Basic Administration.

  1. Open the cconsole master console window, if it is not already open.

    Use the master console window to perform the steps in this procedure on both nodes at the same time.

  2. Display the settings for the umask and the environment variables.


    phys-X# umask
    phys-X# env | more
    
  3. If not already set, set the umask to 22.

    This entry sets the default permissions for newly created files.


    umask 022
  4. Ensure that the PATH includes the following paths.

    • /usr/bin

    • /usr/cluster/bin

    • /usr/sbin

    • /oracle/oracle/product/10.2.0/bin

  5. (Optional) Add the following paths to the MANPATH.

    • /usr/cluster/man

    • /usr/apache/man

  6. Set the ORACLE_BASE and ORACLE_SID environment variables.


    ORACLE_BASE=/oracle
    ORACLE_SID=orasrvr
  7. Verify the setting changes that you made.


    phys-X# umask
    phys-X# env | more