Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 23946 invoked from network); 13 Dec 2007 12:23:51 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by static-ip-69-64-49-119.inaddr.intergenia.de with SMTP; 13 Dec 2007 12:23:51 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 9D13C7D87DF;
 Thu, 13 Dec 2007 13:23:51 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 28548-06; Thu, 13 Dec 2007 13:23:51 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 12EEC7D84F1;
 Thu, 13 Dec 2007 13:23:51 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 13 Dec 2007 12:36:55 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6E1257D8BAB
 for <oracle-l@freelists.org>; Thu, 13 Dec 2007 12:36:55 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 22409-06 for <oracle-l@freelists.org>;
 Thu, 13 Dec 2007 12:36:55 -0500 (EST)
Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BAE2D7D8C1D
 for <oracle-l@freelists.org>; Thu, 13 Dec 2007 12:36:54 -0500 (EST)
Received: by nz-out-0506.google.com with SMTP id s18so425078nze.1
        for <oracle-l@freelists.org>; Thu, 13 Dec 2007 09:36:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
        bh=O7m1D3kD4Sq84Q+C8LsZd5SPgUVuuokEWjxPvRtgaz0=;
        b=kB+XUjwwhdYWpMS81ZfksBTTflmvwba5Srmw1PThm7R3QaN5KS8unbicI4ZJ8e0UIJnFf6I2oCmfkPP1Oqjg3yKa1oKsM6IEn2rGHrGtq58md+rp5HNEHHtXvxZhApC9SfgSmwZIuqcuV8lw8CEmoyOAlywUSNeDZ+d5qppoBr0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
        b=Q795xJQxqlSu3MX2ljx0a+2I4wWGc9mwjFrperAhH138gRNTKsaKd5p57zWXJc9iU396GhudzQ4LdgtsxHdjtbWuBYpK3K7MKyTajDsqPbx70nm3LJmHQNZwwUVU+q2psPxYtrsHt+AbsJA+BZ+fAslvVZ+bGqRTPAtJ4f6+Pjk=
Received: by 10.114.199.1 with SMTP id w1mr2520834waf.109.1197567413407;
        Thu, 13 Dec 2007 09:36:53 -0800 (PST)
Received: by 10.114.154.3 with HTTP; Thu, 13 Dec 2007 09:36:53 -0800 (PST)
Message-ID: <5f35c2320712130936l592b69dbgbe9b8fce42d33b18@mail.gmail.com>
Date: Thu, 13 Dec 2007 11:36:53 -0600
From: "Li Li" <litanli@gmail.com>
To: "Niall Litchfield" <niall.litchfield@gmail.com>
Subject: Re: separate owner/ORACLE_HOME for crs, ASM, and database in RAC environment
Cc: "Dan Norris" <dannorris@dannorris.com>, 
 "William Wagman" <wjwagman@ucdavis.edu>, finn.oracledba@gmail.com, 
 oracle-l <oracle-l@freelists.org>
In-Reply-To: <7765c8970712130125p2e81b2f7t7c866300243d2512@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_42720_9014310.1197567413397"
References: <774166.43674.qm@web35415.mail.mud.yahoo.com>
	 <5f35c2320712121850p6b62c2a7k15d8fcd452d0e739@mail.gmail.com>
	 <7765c8970712130125p2e81b2f7t7c866300243d2512@mail.gmail.com>
X-archive-position: 3929
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: litanli@gmail.com
Precedence: normal
Reply-to: litanli@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
------=_Part_42720_9014310.1197567413397
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks Niall, I did set the ORA_CRS_HOME environment variable

On Dec 13, 2007 3:25 AM, Niall Litchfield <niall.litchfield@gmail.com>
wrote:

> We have a very similar setup - which i don't like by the way - I cant
> look today but think you might need to set CRS_ORACLE_HOME in your
> environment. I  concur about the logs by the way.
>
> On 13/12/2007, Li Li <litanli@gmail.com> wrote:
> > Hi, Dan,
> >
> > my OSASM group is "dba" also, I know this defeats some of the
> separation,
> > but I just wanted to test this out. It's very strange to me that I have
> this
> > issue because in my case both oracle and oraclex have "oinstall" as
> primary
> > group and "dba" as second group, and oracle's RDBMS home and oraclex's
> RDBMS
> > home all have 775 permission. I am trying to get some other eyes on this
> > issue to see what I am missing :(
> >
> > Thank you all for your time to reply!
> > -Li
> >
> > On Dec 12, 2007 7:20 PM, Dan Norris <dannorris@dannorris.com> wrote:
> >
> > > In my experiences with this, the oraclex user (the RDBMS owner) will
> have
> > > to be in the OSASM group. This defeats some of the separation, but as
> I
> > > understand it, the Oracle developers know that the separation isn't
> quite
> > > complete yet and someone told me that we should expect "true"
> separation
> > in
> > > a future release (probably 11g R2). If your OSASM group is also dba,
> then
> > > I'm not sure I know why you're having issues. I tried the same thing
> and
> > had
> > > three users: 1) a clusterware owner, 2) an ASM owner, and 3) an RDBMS
> > owner.
> > > I found that the clusterware can be separated pretty cleanly from the
> > other
> > > two, but the ASM and RDBMS owners essentially have power over each
> others'
> > > domains since the RDBMS user must be in the OSASM group and I think
> the
> > ASM
> > > owner may have had to be in the OSDBA. I don't have access to my test
> > > systems for this any longer, so my memory may be a little off. It's
> also
> > > possible that things have changed slightly since my testing which was
> done
> > > with 11gR1-beta5.
> > >
> > > Dan
> > >
> > >
> > > ----- Original Message ----
> > > From: Li Li <litanli@gmail.com>
> > > To: William Wagman <wjwagman@ucdavis.edu>
> > > Cc: finn.oracledba@gmail.com; oracle-l <oracle-l@freelists.org>
> > > Sent: Wednesday, December 12, 2007 5:51:26 PM
> > > Subject: Re: separate owner/ORACLE_HOME for crs, ASM, and database in
> RAC
> > > environment
> > >
> > > Hi, Bill,
> > >
> > > I don't use asmlib because its dependency on linux kernel. I just
> create
> > > ASM diskgroups using RAW devices. when I login as oracle and start
> dbca,
> > ASM
> > > disks are all look/work fine.
> > >
> > >
> > > On Dec 12, 2007 5:14 PM, William Wagman <wjwagman@ucdavis.edu> wrote:
> > >
> > > >  Greetings,
> > > >
> > > > The thinking is to separate CRS, ASM and RDBMS for ease of
> maintenance.
> > > > This is also the Oracle suggestion that each be in a separate home.
> It
> > makes
> > > > patching and upgrading easier.
> > > >
> > > > As to the disk issues. First are you using ASMLIB? Make sure if you
> are
> > > > it is configured correctly and the disks have been created.
> > > >
> > > > Also look at the status of this disks as described in v$asm_disk.
> They
> > > > status must be either provisioned or candidate. I have encountered
> this
> > > > situation before where the status was unknown and that caused me
> > problems.
> > > >
> > > > Also, are you using multipathing? If so make sure you have scanorder
> and
> > > > scanexclude set correctly in the oracleasm file as that can affect
> > things.
> > > > There was a thread about this a while ago.
> > > >
> > > > I apologize for not being more specific but I still don't have a
> good
> > > > enough understanding of how things work. A lot of what I have done
> is
> > > > through trial and error and can give you things to look at but
> that's
> > about
> > > > it at this point.
> > > >
> > > >
> > > > Bill Wagman
> > > > Univ. of California at Davis
> > > > IET Campus Data Center
> > > > wjwagman@ucdavis.edu
> > > > (530) 754-6208
> > > >
> > > >
> > > >  *From:* oracle-l-bounce@freelists.org
> > [mailto:oracle-l-bounce@freelists.org
> > > > ] *On Behalf Of *Finn Jorgensen
> > > > *Sent:* Wednesday, December 12, 2007 2:09 PM
> > > > *To:* litanli@gmail.com
> > > > *Cc:* oracle-l
> > > > *Subject:* Re: separate owner/ORACLE_HOME for crs, ASM, and database
> in
> > > > RAC environment
> > > >
> > > >   Before trying to figure this one out, I'm trying to wrap my brain
> > > > around why you would do that. What's the thinking behind this setup?
> > > >
> > > > Finn
> > > >
> > > >
> > > > On 12/12/07, Li Li <litanli@gmail.com> wrote:
> > > > >
> > > > > Hi, List,
> > > > >
> > > > > I am testing to setup a 2-node RAC environment with separate
> > > > > owner/ORACLE_HOME for crs, ASM, and database, it's 10gR2 on Redhat
> AS
> > 4.
> > > > >
> > > > > 2 users are created: oracle and oraclex, oracle owns clusterware
> home
> > > > > and ASM home, oraclex owns database home.
> > > > >
> > > > > first, I login as oracle and installed clusterware and database
> > > > > software (in 2 different oracle home of course), configured and
> > started ASM
> > > > > instance, everything worked fine.
> > > > >
> > > > > second, I login as oraclex and installed database software, then I
> > > > > tried to create a database using dbca, but I ran into error when I
> > chose ASM
> > > > > as my database storage, the error is:
> > > > > "DBCA could not startup the ASM instance configured on this node.
> To
> > > > > proceed with database creation using ASM you need the ASM instance
> to
> > be up
> > > > > and running. Do you want to recreate the ASM instance on this
> node?"
> > > > >
> > > > > But the ASM instance IS already running. I am guessing this must
> be
> > > > > because of some permission issue but I am not sure what I am
> missing.
> > I have
> > > > > oracle and oraclex both have "oinstall" as primary group and "dba"
> as
> > second
> > > > > group.
> > > > >
> > > > > I googled but cannot find any useful information. Can anybody give
> me
> > > > > some suggestion? Any comment would be greatly appreciated!
> > > > >
> > > > > Thanks,
> > > > > -Li
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
>
> --
> Niall Litchfield
> Oracle DBA
> http://www.orawin.info
>

------=_Part_42720_9014310.1197567413397
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks Niall, I did set the ORA_CRS_HOME environment variable<br><br>
<div class="gmail_quote">On Dec 13, 2007 3:25 AM, Niall Litchfield &lt;<a href="mailto:niall.litchfield@gmail.com">niall.litchfield@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">We have a very similar setup - which i don&#39;t like by the way - I cant<br>look today but think you might need to set CRS_ORACLE_HOME in your
<br>environment. I &nbsp;concur about the logs by the way.<br>
<div>
<div></div>
<div class="Wj3C7c"><br>On 13/12/2007, Li Li &lt;<a href="mailto:litanli@gmail.com">litanli@gmail.com</a>&gt; wrote:<br>&gt; Hi, Dan,<br>&gt;<br>&gt; my OSASM group is &quot;dba&quot; also, I know this defeats some of the separation,
<br>&gt; but I just wanted to test this out. It&#39;s very strange to me that I have this<br>&gt; issue because in my case both oracle and oraclex have &quot;oinstall&quot; as primary<br>&gt; group and &quot;dba&quot; as second group, and oracle&#39;s RDBMS home and oraclex&#39;s RDBMS
<br>&gt; home all have 775 permission. I am trying to get some other eyes on this<br>&gt; issue to see what I am missing :(<br>&gt;<br>&gt; Thank you all for your time to reply!<br>&gt; -Li<br>&gt;<br>&gt; On Dec 12, 2007 7:20 PM, Dan Norris &lt;
<a href="mailto:dannorris@dannorris.com">dannorris@dannorris.com</a>&gt; wrote:<br>&gt;<br>&gt; &gt; In my experiences with this, the oraclex user (the RDBMS owner) will have<br>&gt; &gt; to be in the OSASM group. This defeats some of the separation, but as I
<br>&gt; &gt; understand it, the Oracle developers know that the separation isn&#39;t quite<br>&gt; &gt; complete yet and someone told me that we should expect &quot;true&quot; separation<br>&gt; in<br>&gt; &gt; a future release (probably 11g R2). If your OSASM group is also dba, then
<br>&gt; &gt; I&#39;m not sure I know why you&#39;re having issues. I tried the same thing and<br>&gt; had<br>&gt; &gt; three users: 1) a clusterware owner, 2) an ASM owner, and 3) an RDBMS<br>&gt; owner.<br>&gt; &gt; I found that the clusterware can be separated pretty cleanly from the
<br>&gt; other<br>&gt; &gt; two, but the ASM and RDBMS owners essentially have power over each others&#39;<br>&gt; &gt; domains since the RDBMS user must be in the OSASM group and I think the<br>&gt; ASM<br>&gt; &gt; owner may have had to be in the OSDBA. I don&#39;t have access to my test
<br>&gt; &gt; systems for this any longer, so my memory may be a little off. It&#39;s also<br>&gt; &gt; possible that things have changed slightly since my testing which was done<br>&gt; &gt; with 11gR1-beta5.<br>&gt; &gt;
<br>&gt; &gt; Dan<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ----- Original Message ----<br>&gt; &gt; From: Li Li &lt;<a href="mailto:litanli@gmail.com">litanli@gmail.com</a>&gt;<br>&gt; &gt; To: William Wagman &lt;<a href="mailto:wjwagman@ucdavis.edu">
wjwagman@ucdavis.edu</a>&gt;<br>&gt; &gt; Cc: <a href="mailto:finn.oracledba@gmail.com">finn.oracledba@gmail.com</a>; oracle-l &lt;<a href="mailto:oracle-l@freelists.org">oracle-l@freelists.org</a>&gt;<br>&gt; &gt; Sent: Wednesday, December 12, 2007 5:51:26 PM
<br>&gt; &gt; Subject: Re: separate owner/ORACLE_HOME for crs, ASM, and database in RAC<br>&gt; &gt; environment<br>&gt; &gt;<br>&gt; &gt; Hi, Bill,<br>&gt; &gt;<br>&gt; &gt; I don&#39;t use asmlib because its dependency on linux kernel. I just create
<br>&gt; &gt; ASM diskgroups using RAW devices. when I login as oracle and start dbca,<br>&gt; ASM<br>&gt; &gt; disks are all look/work fine.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On Dec 12, 2007 5:14 PM, William Wagman &lt;
<a href="mailto:wjwagman@ucdavis.edu">wjwagman@ucdavis.edu</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; &nbsp;Greetings,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; The thinking is to separate CRS, ASM and RDBMS for ease of maintenance.
<br>&gt; &gt; &gt; This is also the Oracle suggestion that each be in a separate home. It<br>&gt; makes<br>&gt; &gt; &gt; patching and upgrading easier.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; As to the disk issues. First are you using ASMLIB? Make sure if you are
<br>&gt; &gt; &gt; it is configured correctly and the disks have been created.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Also look at the status of this disks as described in v$asm_disk. They<br>&gt; &gt; &gt; status must be either provisioned or candidate. I have encountered this
<br>&gt; &gt; &gt; situation before where the status was unknown and that caused me<br>&gt; problems.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Also, are you using multipathing? If so make sure you have scanorder and<br>&gt; &gt; &gt; scanexclude set correctly in the oracleasm file as that can affect
<br>&gt; things.<br>&gt; &gt; &gt; There was a thread about this a while ago.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I apologize for not being more specific but I still don&#39;t have a good<br>&gt; &gt; &gt; enough understanding of how things work. A lot of what I have done is
<br>&gt; &gt; &gt; through trial and error and can give you things to look at but that&#39;s<br>&gt; about<br>&gt; &gt; &gt; it at this point.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Bill Wagman<br>&gt; &gt; &gt; Univ. of California at Davis
<br>&gt; &gt; &gt; IET Campus Data Center<br>&gt; &gt; &gt; <a href="mailto:wjwagman@ucdavis.edu">wjwagman@ucdavis.edu</a><br>&gt; &gt; &gt; (530) 754-6208<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &nbsp;*From:* <a href="mailto:oracle-l-bounce@freelists.org">
oracle-l-bounce@freelists.org</a><br>&gt; [mailto:<a href="mailto:oracle-l-bounce@freelists.org">oracle-l-bounce@freelists.org</a><br>&gt; &gt; &gt; ] *On Behalf Of *Finn Jorgensen<br>&gt; &gt; &gt; *Sent:* Wednesday, December 12, 2007 2:09 PM
<br>&gt; &gt; &gt; *To:* <a href="mailto:litanli@gmail.com">litanli@gmail.com</a><br>&gt; &gt; &gt; *Cc:* oracle-l<br>&gt; &gt; &gt; *Subject:* Re: separate owner/ORACLE_HOME for crs, ASM, and database in<br>&gt; &gt; &gt; RAC environment
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &nbsp; Before trying to figure this one out, I&#39;m trying to wrap my brain<br>&gt; &gt; &gt; around why you would do that. What&#39;s the thinking behind this setup?<br>&gt; &gt; &gt;<br>
&gt; &gt; &gt; Finn<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 12/12/07, Li Li &lt;<a href="mailto:litanli@gmail.com">litanli@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Hi, List,<br>
&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I am testing to setup a 2-node RAC environment with separate<br>&gt; &gt; &gt; &gt; owner/ORACLE_HOME for crs, ASM, and database, it&#39;s 10gR2 on Redhat AS<br>&gt; 4.<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; 2 users are created: oracle and oraclex, oracle owns clusterware home<br>&gt; &gt; &gt; &gt; and ASM home, oraclex owns database home.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; first, I login as oracle and installed clusterware and database
<br>&gt; &gt; &gt; &gt; software (in 2 different oracle home of course), configured and<br>&gt; started ASM<br>&gt; &gt; &gt; &gt; instance, everything worked fine.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; second, I login as oraclex and installed database software, then I
<br>&gt; &gt; &gt; &gt; tried to create a database using dbca, but I ran into error when I<br>&gt; chose ASM<br>&gt; &gt; &gt; &gt; as my database storage, the error is:<br>&gt; &gt; &gt; &gt; &quot;DBCA could not startup the ASM instance configured on this node. To
<br>&gt; &gt; &gt; &gt; proceed with database creation using ASM you need the ASM instance to<br>&gt; be up<br>&gt; &gt; &gt; &gt; and running. Do you want to recreate the ASM instance on this node?&quot;<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; But the ASM instance IS already running. I am guessing this must be<br>&gt; &gt; &gt; &gt; because of some permission issue but I am not sure what I am missing.<br>&gt; I have<br>&gt; &gt; &gt; &gt; oracle and oraclex both have &quot;oinstall&quot; as primary group and &quot;dba&quot; as
<br>&gt; second<br>&gt; &gt; &gt; &gt; group.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I googled but cannot find any useful information. Can anybody give me<br>&gt; &gt; &gt; &gt; some suggestion? Any comment would be greatly appreciated!
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Thanks,<br>&gt; &gt; &gt; &gt; -Li<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>
<br><br></div></div><font color="#888888">--<br>Niall Litchfield<br>Oracle DBA<br><a href="http://www.orawin.info/" target="_blank">http://www.orawin.info</a><br></font></blockquote></div><br>

------=_Part_42720_9014310.1197567413397--
--
http://www.freelists.org/webpage/oracle-l


