DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: help to create multiple instances in Solaris.

  1. #1
    Join Date
    Jan 2006
    Location
    Bangalore,IND
    Posts
    47

    help to create multiple instances in Solaris.

    I have to create 3 instances in anew solaris server. I have installled Oracle 9iR2 and ready to create instances.

    I have set the .profile for Oracle user and should i need to create 3 profiles for 3 instances or just with one. If so how can iset 3 oracle sid's in one .profile file?

    Also when i login as Oracle every time i am executing the profile manually after login. How to set this automatic so that when i login as Oracle user all the profile, shell and env's are set.

    Thanks

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    it depends on what shell you are using as to what file you change.

    Also dont put the ORACLE_SID in the profile, use the oraenv utility else you will get into difficulties

  3. #3
    Join Date
    Jan 2006
    Location
    Bangalore,IND
    Posts
    47
    I am using bash shell and could you elaborate how to set oraenv. Is that different from .profile?

    I have set all the oracle related env setting in .profile. Is that right to do?

    Thanks

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    .profile is fo rthe k shell, you want .bash_profile

  5. #5
    Join Date
    Apr 2003
    Location
    Gourock, Scotland
    Posts
    102
    Use oraenv to be sure your settings are correct:

    . oraenv (note the space between . and oraenv)

    At the prompt, type the SID you wish to use.
    If I have to choose between two evils, I always like to choose the one I haven't tried yet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width