<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3005934468887687781</id><updated>2012-02-17T03:20:53.358+01:00</updated><category term='CentOS installation'/><category term='Oracle Database 11g installation'/><category term='Oracle Data Guard'/><category term='Oracle Real Application Clusters on 10gR2'/><category term='RMAN Recovery Manager'/><category term='Oracle DataGuard'/><category term='Oracle Real Application Clusters on 11gR2'/><category term='Oracle TimesTen'/><category term='RMAN Duplicating Database'/><category term='Performing Recovery'/><category term='Oracle Unbreakable Enterprise Linux'/><category term='Oracle VM'/><category term='SCHEMA MANAGEMENT'/><category term='Oracle Database 10g installation'/><category term='C and PRO*C samples'/><category term='ORA ERROR'/><title type='text'>Database administrator workshop</title><subtitle type='html'>I've recently achieved the Oracle Database 11g Administrator Certified Professional and I would like to write my own technical experience on real world scenarios.

I hope you enjoy this blog.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>65</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-7816707343049006761</id><published>2011-01-05T16:44:00.006+01:00</published><updated>2011-01-05T17:26:03.959+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Database 11g installation'/><title type='text'>Installation of Kerberos 5 on linux and Oracle authentication on 11gR2</title><content type='html'>For more information about Kerberos just read the MIT documentation about the terminology used. For Oracle authentcation just read the Oracle Advanced Security Administrator's Guide.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First of all as oracle user you have to check if you installed your Oracle Database Server with Oracle Advanced Security option. Type&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[oracle@plutone ~]$ adapters&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;and you should see something like&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;...&lt;br /&gt;Installed Oracle Advanced Security options are:&lt;br /&gt;...&lt;br /&gt;Kerberos v5 authentication&lt;br /&gt;...&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Go to the MIT website and download the latest available stable realease of Kerberos.&lt;br /&gt;&lt;a href="http://mit.edu/kerberos/"&gt;http://mit.edu/kerberos/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For me it was krb5-1.9.&lt;br /&gt;I've copied the krb5-1.9-signed.tar file on my directory /u04/kerberos5 and then typed the following commands:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone /root]# cd /u04/kerberos5&lt;br /&gt;[root@plutone kerberos5]# tar xvf krb5-1.9-signed.tar&lt;br /&gt;[root@plutone kerberos5]# tar xvfz krb5-1.9.tar.gz&lt;br /&gt;[root@plutone kerberos5]# cd krb5-1.9/src&lt;br /&gt;[root@plutone src]# pwd&lt;br /&gt;/u04/kerberos5/krb5-1.9/src&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then you have to compile the kerberos files using the usual commands:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone src]# ./configure &lt;br /&gt;[root@plutone src]# make &lt;br /&gt;[root@plutone src]# make install &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now it's time to configure one of the two Kerberos configuration files. To the default conf file I've modified only my hostname (plutone)&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone src]# vi /etc/krb5.conf&lt;br /&gt;[logging]&lt;br /&gt; default = FILE:/var/log/krb5libs.log&lt;br /&gt; kdc = FILE:/var/log/krb5kdc.log&lt;br /&gt; admin_server = FILE:/var/log/kadmind.log&lt;br /&gt;&lt;br /&gt;[libdefaults]&lt;br /&gt; default_realm = EXAMPLE.COM&lt;br /&gt; dns_lookup_realm = false&lt;br /&gt; dns_lookup_kdc = false&lt;br /&gt; ticket_lifetime = 24h&lt;br /&gt; forwardable = yes&lt;br /&gt;&lt;br /&gt;[realms]&lt;br /&gt; EXAMPLE.COM = {&lt;br /&gt;  kdc = plutone:88&lt;br /&gt;  admin_server = plutone:749&lt;br /&gt;  default_domain = example.com&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;[domain_realm]&lt;br /&gt; .example.com = EXAMPLE.COM&lt;br /&gt; example.com = EXAMPLE.COM&lt;br /&gt;&lt;br /&gt;[appdefaults]&lt;br /&gt; pam = {&lt;br /&gt;   debug = false&lt;br /&gt;   ticket_lifetime = 36000&lt;br /&gt;   renew_lifetime = 36000&lt;br /&gt;   forwardable = true&lt;br /&gt;   krb4_convert = false&lt;br /&gt; }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then you should modify (or create) the second kerberos configuration file, I mean kdc.conf:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone src]# cd /usr/local/var/krb5kdc/&lt;br /&gt;[root@plutone krb5kdc]# ll&lt;br /&gt;total 0&lt;br /&gt;[root@plutone krb5kdc]# vi kdc.conf &lt;br /&gt;[kdcdefaults]&lt;br /&gt;   kdc_ports = 750,88&lt;br /&gt;&lt;br /&gt;[realms]&lt;br /&gt;   EXAMPLE.COM = {&lt;br /&gt;      kdc_ports = 750,88&lt;br /&gt;      database_name = /usr/local/var/krb5kdc/principal&lt;br /&gt;      admin_keytab = FILE:/usr/local/var/krb5kdc/kadm5.keytab&lt;br /&gt;      acl_file = /usr/local/var/krb5kdc/kadm5.acl&lt;br /&gt;      key_stash_file = /usr/local/var/krb5kdc/.k5.KERB.IT&lt;br /&gt;      max_life = 10h 0m 0s&lt;br /&gt;      max_renewable_life = 7d 0h 0m 0s&lt;br /&gt;   }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Let's create the kerberos database for the Key Distribution Centers (KDCs) . The following command created five files.&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone krb5kdc]# /usr/local/sbin/kdb5_util create -r EXAMPLE.COM -s&lt;br /&gt;Loading random data&lt;br /&gt;Initializing database '/usr/local/var/krb5kdc/principal' for realm 'EXAMPLE.COM',&lt;br /&gt;master key name 'K/M@EXAMPLE.COM'&lt;br /&gt;You will be prompted for the database Master Password.&lt;br /&gt;It is important that you NOT FORGET this password.&lt;br /&gt;Enter KDC database master key:    &lt;br /&gt;Re-enter KDC database master key to verify: &lt;br /&gt;[root@plutone krb5kdc]# ls -la&lt;br /&gt;total 32&lt;br /&gt;drwxr-xr-x 2 root root 4096 Jan  5 14:30 .&lt;br /&gt;drwxr-xr-x 3 root root 4096 Jan  5 13:06 ..&lt;br /&gt;-rw------- 1 root root   72 Jan  5 14:30 .k5.KERB.IT&lt;br /&gt;-rw-r--r-- 1 root root  386 Jan  5 14:28 kdc.conf&lt;br /&gt;-rw------- 1 root root 8192 Jan  5 14:30 principal&lt;br /&gt;-rw------- 1 root root 8192 Jan  5 14:30 principal.kadm5&lt;br /&gt;-rw------- 1 root root    0 Jan  5 14:30 principal.kadm5.lock&lt;br /&gt;-rw------- 1 root root    0 Jan  5 14:30 principal.ok&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now let's create the acl file&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone krb5kdc]# echo "*/plutone@EXAMPLE.COM * *" &gt; kadm5.acl        &lt;br /&gt;[root@plutone krb5kdc]# more kadm5.acl                            &lt;br /&gt;*/plutone@EXAMPLE.COM * *&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;and create the principal administrator of the kerberos database&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone krb5kdc]# /usr/local/sbin/kadmin.local &lt;br /&gt;Authenticating as principal root/plutone@EXAMPLE.COM with password.&lt;br /&gt;kadmin.local:  addprinc admin/plutone@EXAMPLE.COM&lt;br /&gt;WARNING: no policy specified for admin/plutone@EXAMPLE.COM; defaulting to no policy&lt;br /&gt;Enter password for principal "admin/plutone@EXAMPLE.COM": &lt;br /&gt;Re-enter password for principal "admin/plutone@EXAMPLE.COM": &lt;br /&gt;Principal "admin/plutone@EXAMPLE.COM" created.&lt;br /&gt;kadmin.local:  quit&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now let's start the Kerberos daemons:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone krb5kdc]# /usr/local/sbin/krb5kdc &lt;br /&gt;[root@plutone krb5kdc]# /usr/local/sbin/kadmind&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;and see if there are any errors on log files&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone ~]# tail -f /var/log/kadmind.log&lt;br /&gt;Jan 05 14:42:36 plutone kadmind[22621](info): listening on fd 7: udp ::.464 (pktinfo)&lt;br /&gt;kadmind: setsockopt(8,IPV6_V6ONLY,1) worked&lt;br /&gt;Jan 05 14:42:37 plutone kadmind[22621](info): listening on fd 9: tcp 0.0.0.0.464&lt;br /&gt;Jan 05 14:42:37 plutone kadmind[22621](info): listening on fd 8: tcp ::.464&lt;br /&gt;Jan 05 14:42:37 plutone kadmind[22621](info): listening on fd 10: rpc 0.0.0.0.749&lt;br /&gt;kadmind: setsockopt(11,IPV6_V6ONLY,1) worked&lt;br /&gt;Jan 05 14:42:37 plutone kadmind[22621](info): listening on fd 11: rpc ::.749&lt;br /&gt;Jan 05 14:42:37 plutone kadmind[22621](info): set up 6 sockets&lt;br /&gt;Jan 05 14:42:37 plutone kadmind[22622](info): Seeding random number generator&lt;br /&gt;Jan 05 14:42:37 plutone kadmind[22622](info): starting&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# tail -f /var/log/krb5kdc.log  &lt;br /&gt;Jan 05 14:42:30 plutone krb5kdc[22619](Error): preauth pkinit failed to initialize: No realms configured correctly for pkinit support&lt;br /&gt;Jan 05 14:42:30 plutone krb5kdc[22619](info): setting up network...&lt;br /&gt;Jan 05 14:42:30 plutone krb5kdc[22619](info): listening on fd 6: udp 0.0.0.0.88 (pktinfo)&lt;br /&gt;Jan 05 14:42:30 plutone krb5kdc[22619](info): listening on fd 7: udp 0.0.0.0.750 (pktinfo)&lt;br /&gt;krb5kdc: setsockopt(8,IPV6_V6ONLY,1) worked&lt;br /&gt;Jan 05 14:42:30 plutone krb5kdc[22619](info): listening on fd 8: udp ::.88 (pktinfo)&lt;br /&gt;krb5kdc: setsockopt(9,IPV6_V6ONLY,1) worked&lt;br /&gt;Jan 05 14:42:30 plutone krb5kdc[22619](info): listening on fd 9: udp ::.750 (pktinfo)&lt;br /&gt;Jan 05 14:42:30 plutone krb5kdc[22619](info): set up 4 sockets&lt;br /&gt;Jan 05 14:42:31 plutone krb5kdc[22620](info): commencing operation&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now add a service principal for our Oracle Database Server&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone krb5kdc]# /usr/local/sbin/kadmin.local &lt;br /&gt;Authenticating as principal root/plutone@EXAMPLE.COM with password.&lt;br /&gt;kadmin.local:  DB11G/plutone@EXAMPLE.COM&lt;br /&gt;kadmin.local: Unknown request "DB11G/plutone@EXAMPLE.COM".  Type "?" for a request list.&lt;br /&gt;kadmin.local:  addprinc -randkey DB11G/plutone@EXAMPLE.COM&lt;br /&gt;WARNING: no policy specified for DB11G/plutone@EXAMPLE.COM; defaulting to no policy&lt;br /&gt;Principal "DB11G/plutone@EXAMPLE.COM" created.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Next the principal for the Oracle user, named marco, is created&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone krb5kdc]# /usr/local/sbin/kadmin.local &lt;br /&gt;Authenticating as principal root/plutone@EXAMPLE.COM with password.&lt;br /&gt;kadmin.local:  addprinc marco&lt;br /&gt;WARNING: no policy specified for marco@EXAMPLE.COM; defaulting to no policy&lt;br /&gt;Enter password for principal "marco@EXAMPLE.COM": &lt;br /&gt;Re-enter password for principal "marco@EXAMPLE.COM": &lt;br /&gt;Principal "marco@EXAMPLE.COM" created.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Extract the service table from kerberos. This file will be used on sqlnet.ora configuration.&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;kadmin.local:  ktadd -k /tmp/keytab DB11G/plutone&lt;br /&gt;Entry for principal DB11G/plutone with kvno 4, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:/tmp/keytab.&lt;br /&gt;Entry for principal DB11G/plutone with kvno 4, encryption type aes128-cts-hmac-sha1-96 added to keytab WRFILE:/tmp/keytab.&lt;br /&gt;Entry for principal DB11G/plutone with kvno 4, encryption type des3-cbc-sha1 added to keytab WRFILE:/tmp/keytab.&lt;br /&gt;Entry for principal DB11G/plutone with kvno 4, encryption type arcfour-hmac added to keytab WRFILE:/tmp/keytab.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Create the Oracle user on the Oracle Database Server. According to Oracle documentation (Oracle Advanced Security Administrator's Guide) "This username must be created in uppercase and must have the realm specified."&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;idle&gt; startup&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  626327552 bytes&lt;br /&gt;Fixed Size                  2215944 bytes&lt;br /&gt;Variable Size             427823096 bytes&lt;br /&gt;Database Buffers          188743680 bytes&lt;br /&gt;Redo Buffers                7544832 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;Database opened.&lt;br /&gt;idle&gt; create user "MARCO@EXAMPLE.COM" identified externally;&lt;br /&gt;&lt;br /&gt;User created.&lt;br /&gt;&lt;br /&gt;idle&gt; grant create session to "MARCO@EXAMPLE.COM";&lt;br /&gt;&lt;br /&gt;Grant succeeded.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The authent parameter should be as following:&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;idle&gt; show parameter authent&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;os_authent_prefix                    string      ops$&lt;br /&gt;remote_os_authent                    boolean     FALSE&lt;br /&gt;&lt;br /&gt;idle&gt; alter system set os_authent_prefix='' scope=spfile;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Copy the service table file from /tmp directory to elsewhere and give Oracle permission&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone krb5kdc]# cp /tmp/keytab /etc/&lt;br /&gt;[root@plutone krb5kdc]# chown oracle.oinstall /etc/keytab &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now it's time to configure sqlnet.ora file to point to kerberos. The following are the parameters added on sqlnet.ora file:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[oracle@plutone admin]$ pwd&lt;br /&gt;/u01/app/oracle/product/11.2.0/db_1/network/admin&lt;br /&gt;[oracle@plutone admin]$ vi sqlnet.ora &lt;br /&gt;SQLNET.KERBEROS5_KEYTAB=/etc/keytab&lt;br /&gt;SQLNET.KERBEROS5_CONF=/etc/krb5.conf&lt;br /&gt;SQLNET.KERBEROS5_CONF_MIT=TRUE&lt;br /&gt;SQLNET.AUTHENTICATION_KERBEROS5_SERVICE=DB11G&lt;br /&gt;SQLNET.AUTHENTICATION_SERVICES=(BEQ,KERBEROS5)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Let's get a ticket from Kerberos server&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;[oracle@plutone admin]$ okinit marco&lt;br /&gt;&lt;br /&gt;Kerberos Utilities for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2011 16:02:02&lt;br /&gt;&lt;br /&gt;Copyright (c) 1996, 2009 Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Password for marco@EXAMPLE.COM: &lt;br /&gt;[oracle@plutone admin]$ oklist&lt;br /&gt;&lt;br /&gt;Kerberos Utilities for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2011 16:02:15&lt;br /&gt;&lt;br /&gt;Copyright (c) 1996, 2009 Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Ticket cache: /tmp/krb5cc_500&lt;br /&gt;Default principal: marco@EXAMPLE.COM&lt;br /&gt;&lt;br /&gt;   Valid Starting           Expires            Principal&lt;br /&gt;05-Jan-2011 16:02:06  06-Jan-2011 00:02:03  krbtgt/EXAMPLE.COM@EXAMPLE.COM&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And now it's time to log in&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;[oracle@plutone admin]$ sqlplus /@DB11G&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 5 16:10:11 2011&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Connected to:&lt;br /&gt;Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;br /&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;br /&gt;&lt;br /&gt;marco@example.com@DB11G&gt; &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;What does it happen if I remove the ticket ?&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;&lt;br /&gt;[root@plutone krb5kdc]# rm /tmp/krb5cc_500 &lt;br /&gt;rm: remove regular file `/tmp/krb5cc_500'? y&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Pf course I'm not able to authenticate the user.&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;[oracle@plutone admin]$ sqlplus /@DB11G&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 5 16:19:52 2011&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;ERROR:&lt;br /&gt;ORA-12638: Credential retrieval failed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enter user-name: &lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-7816707343049006761?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/7816707343049006761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=7816707343049006761' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7816707343049006761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7816707343049006761'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2011/01/installation-of-kerberos-5-on-linux-and.html' title='Installation of Kerberos 5 on linux and Oracle authentication on 11gR2'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-1903863550860396249</id><published>2011-01-05T10:57:00.002+01:00</published><updated>2011-01-05T11:12:59.116+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle VM'/><title type='text'>Support Position for Oracle Products Running on VMWare Virtualized Environments</title><content type='html'>Today on Oracle website I discovered this interesting announcement on Oracle support status for VMware environments.&lt;br /&gt;On my company we have a VMWare support and already several VMWare virtualized environments, but we never thought to use those envs to virtualize some Oracle databases. We already need to virtualize Oracle databases, especially those for development and pre-production platforms, but we were waiting for just a IBM blade order.&lt;br /&gt;In my opinion I think to still suggest and implement the Oracle VM solution to my CTO because there are some issues not clear on the document and, at this moment, this VMware support position doesn't fit at all to our requirements because we would like to implement a RAC virtualized environment formed by 10gR2 nodes.&lt;br /&gt;&lt;br /&gt;This is the position of Oracle at 8 november 2010 (see doc id 249212.1 on metalink for more details and news). In bold I have highlighted my doubts.&lt;br /&gt;What's your opinion ?&lt;br /&gt;&lt;br /&gt;Regards.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Support Status for VMware Virtualized Environments &lt;br /&gt;-------------------------------------------------- &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Oracle has not certified any of its products on VMware virtualized &lt;br /&gt;environments.&lt;/span&gt; Oracle Support will assist customers running Oracle products &lt;br /&gt;on VMware in the following manner: Oracle will only provide &lt;br /&gt;support for issues that either are known to occur on the native OS, or &lt;br /&gt;can be demonstrated not to be as a result of running on VMware. &lt;br /&gt;&lt;br /&gt;If a problem is a known Oracle issue, Oracle support will recommend the &lt;br /&gt;appropriate solution on the native OS.  If that solution does not work in &lt;br /&gt;the VMware virtualized environment, the customer will be referred to VMware &lt;br /&gt;for support.   When the customer can demonstrate that the Oracle solution &lt;br /&gt;does not work when running on the native OS, Oracle will resume support, &lt;br /&gt;including logging a bug with Oracle Development for investigation if required.&lt;br /&gt;&lt;br /&gt;If the problem is determined not to be a known Oracle issue, we will refer &lt;br /&gt;the customer to VMware for support.   &lt;span style="font-weight:bold;"&gt;When the customer can demonstrate &lt;br /&gt;that the issue occurs when running on the native OS, Oracle will resume &lt;br /&gt;support&lt;/span&gt;, including logging a bug with Oracle Development for investigation &lt;br /&gt;if required. &lt;br /&gt;&lt;br /&gt;NOTE:  &lt;span style="font-weight:bold;"&gt;Oracle has not certified any of its products on VMware.  For Oracle RAC, Oracle will only &lt;br /&gt;accept Service Requests as described in this note on Oracle RAC 11.2.0.2 and later &lt;br /&gt;releases.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-1903863550860396249?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/1903863550860396249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=1903863550860396249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1903863550860396249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1903863550860396249'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2011/01/support-position-for-oracle-products.html' title='Support Position for Oracle Products Running on VMWare Virtualized Environments'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-8958991194402462920</id><published>2010-10-06T10:23:00.003+01:00</published><updated>2010-10-06T11:00:18.122+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Performing Recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='ORA ERROR'/><title type='text'>ORA-00214: controlfile inconsistent error after hiberning virtual machine</title><content type='html'>Today I discovered this error while trying to start a database on my virtual machine. I think it happened because yesterday I "hibernated" several times my machine while this virtual machine and database were still running and forgot to close them.&lt;br /&gt;Anyway.. this is what I've done to bring my database back to a normal and available status.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="sql"&gt;[oracle@plutone ~]$ SQL&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Mon Oct 4 11:56:36 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Connected to an idle instance.&lt;br /&gt;&lt;br /&gt;idle&gt; startup&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  263049216 bytes&lt;br /&gt;Fixed Size                  2212448 bytes&lt;br /&gt;Variable Size             213912992 bytes&lt;br /&gt;Database Buffers           41943040 bytes&lt;br /&gt;Redo Buffers                4980736 bytes&lt;br /&gt;ORA-00214: control file '/DATA/DB11G/control01.ctl' version 1935 inconsistent with file '/u01/app/oracle/flash_recovery_area/DB11G/control02.ctl' version 1932&lt;br /&gt;&lt;br /&gt;idle&gt; shutdown immediate&lt;br /&gt;ORA-01507: database not mounted&lt;br /&gt;&lt;br /&gt;ORACLE instance shut down.&lt;br /&gt;idle&gt; exit&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Ok.. the error is quite clear. I need to remove a controlfile. Let me see my configuration and where are located my controlfiles.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;[oracle@plutone ~]$ SQL&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Mon Oct 4 12:26:12 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Connected to an idle instance.&lt;br /&gt;&lt;br /&gt;idle&gt; startup nomount&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  263049216 bytes&lt;br /&gt;Fixed Size                  2212448 bytes&lt;br /&gt;Variable Size             213912992 bytes&lt;br /&gt;Database Buffers           41943040 bytes&lt;br /&gt;Redo Buffers                4980736 bytes&lt;br /&gt;idle&gt; show parameter control_file&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;control_file_record_keep_time        integer     7&lt;br /&gt;control_files                        string      /DATA/DB11G/control01.ctl, /u0&lt;br /&gt;                                                 1/app/oracle/flash_recovery_ar&lt;br /&gt;                                                 ea/DB11G/control02.ctl&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I tried to use only one controlfile and see if my database likes it.&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;idle&gt; alter system set control_files='/DATA/DB11G/control01.ctl' scope=spfile;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;idle&gt; shutdown immediate;&lt;br /&gt;ORA-01507: database not mounted&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ORACLE instance shut down.&lt;br /&gt;idle&gt; startup restrict&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  263049216 bytes&lt;br /&gt;Fixed Size                  2212448 bytes&lt;br /&gt;Variable Size             213912992 bytes&lt;br /&gt;Database Buffers           41943040 bytes&lt;br /&gt;Redo Buffers                4980736 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;Database opened.&lt;br /&gt;idle&gt; shutdown immediate&lt;br /&gt;Database closed.&lt;br /&gt;Database dismounted.&lt;br /&gt;ORACLE instance shut down.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Ok.. the first controlfile is the good one, so I have to copy it to my second controlfile location&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;idle&gt; host&lt;br /&gt;[oracle@plutone ~]$ cp /DATA/DB11G/control01.ctl /u01/app/oracle/flash_recovery_area/DB11G/control02.ctl&lt;br /&gt;[oracle@plutone ~]$ exit&lt;br /&gt;exit&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Start the instance again in nomount mode and add the second controlfile.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;idle&gt; startup nomount&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  263049216 bytes&lt;br /&gt;Fixed Size                  2212448 bytes&lt;br /&gt;Variable Size             218107296 bytes&lt;br /&gt;Database Buffers           37748736 bytes&lt;br /&gt;Redo Buffers                4980736 bytes&lt;br /&gt;idle&gt; show parameter control_files&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;control_files                        string      /DATA/DB11G/control01.ctl&lt;br /&gt;idle&gt; alter system set control_files='/DATA/DB11G/control01.ctl','/u01/app/oracle/flash_recovery_area/DB11G/control02.ctl' scope=spfile;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;idle&gt; shutdown immediate&lt;br /&gt;ORA-01507: database not mounted&lt;br /&gt;&lt;br /&gt;ORACLE instance shut down.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now let's start the instance in normal mode&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;idle&gt; startup&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  263049216 bytes&lt;br /&gt;Fixed Size                  2212448 bytes&lt;br /&gt;Variable Size             218107296 bytes&lt;br /&gt;Database Buffers           37748736 bytes&lt;br /&gt;Redo Buffers                4980736 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;Database opened.&lt;br /&gt;idle&gt; show parameter control_files&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;control_files                        string      /DATA/DB11G/control01.ctl, /u0&lt;br /&gt;                                                 1/app/oracle/flash_recovery_ar&lt;br /&gt;                                                 ea/DB11G/control02.ctl&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-8958991194402462920?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/8958991194402462920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=8958991194402462920' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/8958991194402462920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/8958991194402462920'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/10/ora-00214-controlfile-inconsistent.html' title='ORA-00214: controlfile inconsistent error after hiberning virtual machine'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-6792072813626687403</id><published>2010-10-04T14:34:00.016+01:00</published><updated>2010-10-06T09:58:18.763+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Duplicating Database'/><title type='text'>RMAN: how to duplicate a non-ASM active database to an ASM database</title><content type='html'>My goal is to duplicate a production database where all datafiles are on file system to an auxiliary database based on ASM.&lt;br /&gt;According on the same steps performed on this previous post &lt;a href="http://dbaworkshop.blogspot.com/2010/09/rman-how-to-duplicate-database-on-same.html"&gt;http://dbaworkshop.blogspot.com/2010/09/rman-how-to-duplicate-database-on-same.html&lt;/a&gt; I've used the following settings:&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;[oracle@plutone admin]$ more listener.ora&lt;br /&gt;# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora&lt;br /&gt;# Generated by Oracle configuration tools.&lt;br /&gt;&lt;br /&gt;SID_LIST_LISTENER =&lt;br /&gt;(SID_LIST =&lt;br /&gt;(SID_DESC =&lt;br /&gt;(GLOBAL_DBNAME = DB11G)&lt;br /&gt;(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)&lt;br /&gt;(SID_NAME = DB11G)&lt;br /&gt;)&lt;br /&gt;(SID_DESC =&lt;br /&gt;(GLOBAL_DBNAME = DUP11G)&lt;br /&gt;(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)&lt;br /&gt;(SID_NAME = DUP11G)&lt;br /&gt;)&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;LISTENER =&lt;br /&gt;(DESCRIPTION_LIST =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.172.130)(PORT = 1521))&lt;br /&gt;)&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;ADR_BASE_LISTENER = /u01/app/oracle&lt;br /&gt;&lt;br /&gt;[oracle@plutone admin]$ more tnsnames.ora&lt;br /&gt;# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora&lt;br /&gt;# Generated by Oracle configuration tools.&lt;br /&gt;&lt;br /&gt;DUP11G =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = plutone)(PORT = 1521)))&lt;br /&gt;(CONNECT_DATA =&lt;br /&gt;(SERVER = DEDICATED)&lt;br /&gt;(SID = DUP11G)&lt;br /&gt;)&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;DB11G =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = plutone)(PORT = 1521)))&lt;br /&gt;(CONNECT_DATA =&lt;br /&gt;(SERVER = DEDICATED)&lt;br /&gt;(SERVICE_NAME = DB11G)&lt;br /&gt;)&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt; &lt;br /&gt;I  needed of course to add at least an ASM instance and a diskgroup. After  I added 10GB of a virtual hard disk to my virtual machine I completed  the following steps:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;[root@plutone ~]# fdisk -l&lt;br /&gt;&lt;br /&gt;Disk /dev/sda: 21.4 GB, 21474836480 bytes&lt;br /&gt;255 heads, 63 sectors/track, 2610 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sda1   *           1          25      200781   83  Linux&lt;br /&gt;/dev/sda2              26         286     2096482+  82  Linux swap / Solaris&lt;br /&gt;/dev/sda3             287        2610    18667530   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdb1               1        1305    10482381   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdc: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdc1               1        1305    10482381   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdd: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Disk /dev/sdd doesn't contain a valid partition table&lt;br /&gt;[root@plutone ~]# fdisk /dev/sdd&lt;br /&gt;Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel&lt;br /&gt;Building a new DOS disklabel. Changes will remain in memory only,&lt;br /&gt;until you decide to write them. After that, of course, the previous&lt;br /&gt;content won't be recoverable.&lt;br /&gt;&lt;br /&gt;The number of cylinders for this disk is set to 1305.&lt;br /&gt;There is nothing wrong with that, but this is larger than 1024,&lt;br /&gt;and could in certain setups cause problems with:&lt;br /&gt;1) software that runs at boot time (e.g., old versions of LILO)&lt;br /&gt;2) booting and partitioning software from other OSs&lt;br /&gt;(e.g., DOS FDISK, OS/2 FDISK)&lt;br /&gt;Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)&lt;br /&gt;&lt;br /&gt;Command (m for help): n&lt;br /&gt;Command action&lt;br /&gt;e   extended&lt;br /&gt;p   primary partition (1-4)&lt;br /&gt;p&lt;br /&gt;Partition number (1-4): 1&lt;br /&gt;First cylinder (1-1305, default 1):&lt;br /&gt;Using default value 1&lt;br /&gt;Last cylinder or +size or +sizeM or +sizeK (1-1305, default 1305):&lt;br /&gt;Using default value 1305&lt;br /&gt;&lt;br /&gt;Command (m for help): w&lt;br /&gt;The partition table has been altered!&lt;br /&gt;&lt;br /&gt;Calling ioctl() to re-read partition table.&lt;br /&gt;Syncing disks.&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# fdisk -l&lt;br /&gt;&lt;br /&gt;Disk /dev/sda: 21.4 GB, 21474836480 bytes&lt;br /&gt;255 heads, 63 sectors/track, 2610 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sda1   *           1          25      200781   83  Linux&lt;br /&gt;/dev/sda2              26         286     2096482+  82  Linux swap / Solaris&lt;br /&gt;/dev/sda3             287        2610    18667530   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdb1               1        1305    10482381   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdc: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdc1               1        1305    10482381   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdd: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdd1               1        1305    10482381   83  Linux&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# mkfs.ext3 /dev/sdd1&lt;br /&gt;mke2fs 1.39 (29-May-2006)&lt;br /&gt;Filesystem label=&lt;br /&gt;OS type: Linux&lt;br /&gt;Block size=4096 (log=2)&lt;br /&gt;Fragment size=4096 (log=2)&lt;br /&gt;1310720 inodes, 2620595 blocks&lt;br /&gt;131029 blocks (5.00%) reserved for the super user&lt;br /&gt;First data block=0&lt;br /&gt;Maximum filesystem blocks=2684354560&lt;br /&gt;80 block groups&lt;br /&gt;32768 blocks per group, 32768 fragments per group&lt;br /&gt;16384 inodes per group&lt;br /&gt;Superblock backups stored on blocks:&lt;br /&gt;32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632&lt;br /&gt;&lt;br /&gt;Writing inode tables: done           &lt;br /&gt;Creating journal (32768 blocks): done&lt;br /&gt;Writing superblocks and filesystem accounting information: done&lt;br /&gt;&lt;br /&gt;This filesystem will be automatically checked every 34 mounts or&lt;br /&gt;180 days, whichever comes first.  Use tune2fs -c or -i to override.&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# more /etc/fstab&lt;br /&gt;LABEL=/                 /                       ext3    defaults        1 1&lt;br /&gt;LABEL=/boot             /boot                   ext3    defaults        1 2&lt;br /&gt;tmpfs                   /dev/shm                tmpfs   defaults        0 0&lt;br /&gt;devpts                  /dev/pts                devpts  gid=5,mode=620  0 0&lt;br /&gt;sysfs                   /sys                    sysfs   defaults        0 0&lt;br /&gt;proc                    /proc                   proc    defaults        0 0&lt;br /&gt;LABEL=SWAP-sda2         swap                    swap    defaults        0 0&lt;br /&gt;/dev/sdb1               /u02                    ext3    defaults        1 1&lt;br /&gt;#/dev/sdc1               /u03                    ext3    defaults        1 1&lt;br /&gt;[root@plutone ~]# mkdir /u04&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# more /etc/fstab&lt;br /&gt;LABEL=/                 /                       ext3    defaults        1 1&lt;br /&gt;LABEL=/boot             /boot                   ext3    defaults        1 2&lt;br /&gt;tmpfs                   /dev/shm                tmpfs   defaults        0 0&lt;br /&gt;devpts                  /dev/pts                devpts  gid=5,mode=620  0 0&lt;br /&gt;sysfs                   /sys                    sysfs   defaults        0 0&lt;br /&gt;proc                    /proc                   proc    defaults        0 0&lt;br /&gt;LABEL=SWAP-sda2         swap                    swap    defaults        0 0&lt;br /&gt;/dev/sdb1               /u02                    ext3    defaults        1 1&lt;br /&gt;#/dev/sdc1               /u03                    ext3    defaults        1 1&lt;br /&gt;/dev/sdd1               /u04                    ext3    defaults        1 1&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# mount /u04&lt;br /&gt;[root@plutone tmp]# mkdir -p /u04/app/oracle/product/11.2.0/grid&lt;br /&gt;[root@plutone tmp]# chown -R oracle.oinstall /u04&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now it's time to install the ASM drivers.  Download them from OTN. For my machine they were:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;[root@plutone rpm]# ls&lt;br /&gt;oracleasm-2.6.18-194.11.3.el5-2.0.5-1.el5.x86_64.rpm   oracleasmlib-2.0.4-1.el5.x86_64.rpm   oracleasm-support-2.1.3-1.el5.x86_64.rpm&lt;br /&gt;[root@plutone rpm]# rpm -Uvh oracleasm*&lt;br /&gt;&lt;br /&gt;Preparing...########################################## [100%]&lt;br /&gt;1:oracleasm-support################################### [ 33%]&lt;br /&gt;2:oracleasm-2.6.18-194.11############################# [ 67%]&lt;br /&gt;3:oracleasmlib######################################## [100%]&lt;br /&gt;&lt;br /&gt;ASMLib software packages are now installed successfully.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Configure the ASM library, with the following command:&lt;br /&gt;/etc/init.d/oracleasm configure&lt;br /&gt;Type  oracle and oinstall as user and group name that own the driver  interface; type y to configure starting ASM library on boot and again y  to scan ASM disks on boot.&lt;br /&gt;&lt;br /&gt;Create the diskgroup:&lt;br /&gt;/etc/init.d/oracleasm createdisk DG_DATA_DUP11G /dev/sdd1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Download/extract the grid software from oracle website  and create the ASM Instance as root user:&lt;br /&gt;./runInstaller&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/TKnmqOdEf9I/AAAAAAAACM4/Fuak_kFWw8c/s1600/duplicatedb_asm_2010-10-01_154504.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/TKnmqOdEf9I/AAAAAAAACM4/Fuak_kFWw8c/s320/duplicatedb_asm_2010-10-01_154504.jpg" alt="" id="BLOGGER_PHOTO_ID_5524200031055544274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/TKnmpiTx0_I/AAAAAAAACMw/QxK30_zhy4Y/s1600/duplicatedb_asm_2010-10-01_154519.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/TKnmpiTx0_I/AAAAAAAACMw/QxK30_zhy4Y/s320/duplicatedb_asm_2010-10-01_154519.jpg" alt="" id="BLOGGER_PHOTO_ID_5524200019205411826" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/TKnmplL0lBI/AAAAAAAACMo/a8V9WF-cHmY/s1600/duplicatedb_asm_2010-10-01_154542.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/TKnmplL0lBI/AAAAAAAACMo/a8V9WF-cHmY/s320/duplicatedb_asm_2010-10-01_154542.jpg" alt="" id="BLOGGER_PHOTO_ID_5524200019977344018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/TKnmpX6vBwI/AAAAAAAACMg/jqfk8DQcYO0/s1600/duplicatedb_asm_2010-10-01_154556.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/TKnmpX6vBwI/AAAAAAAACMg/jqfk8DQcYO0/s320/duplicatedb_asm_2010-10-01_154556.jpg" alt="" id="BLOGGER_PHOTO_ID_5524200016416016130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/TKnmpBbBbyI/AAAAAAAACMY/2TgRABnn_14/s1600/duplicatedb_asm_2010-10-01_154923.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/TKnmpBbBbyI/AAAAAAAACMY/2TgRABnn_14/s320/duplicatedb_asm_2010-10-01_154923.jpg" alt="" id="BLOGGER_PHOTO_ID_5524200010377424674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/TKnmA4YiloI/AAAAAAAACMQ/Jf-LTl30Wj0/s1600/duplicatedb_asm_2010-10-01_154926.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 122px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/TKnmA4YiloI/AAAAAAAACMQ/Jf-LTl30Wj0/s320/duplicatedb_asm_2010-10-01_154926.jpg" alt="" id="BLOGGER_PHOTO_ID_5524199320756328066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/TKnmATOCQhI/AAAAAAAACMI/W3_rrx9Dtp4/s1600/duplicatedb_asm_2010-10-01_154935.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/TKnmATOCQhI/AAAAAAAACMI/W3_rrx9Dtp4/s320/duplicatedb_asm_2010-10-01_154935.jpg" alt="" id="BLOGGER_PHOTO_ID_5524199310780154386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/TKnl_4gbhjI/AAAAAAAACMA/vkUzxrS-YlM/s1600/duplicatedb_asm_2010-10-01_154944.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 86px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/TKnl_4gbhjI/AAAAAAAACMA/vkUzxrS-YlM/s320/duplicatedb_asm_2010-10-01_154944.jpg" alt="" id="BLOGGER_PHOTO_ID_5524199303609550386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/TKnl_eb6zSI/AAAAAAAACL4/YuoQiNUeFiQ/s1600/duplicatedb_asm_2010-10-01_160157.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/TKnl_eb6zSI/AAAAAAAACL4/YuoQiNUeFiQ/s320/duplicatedb_asm_2010-10-01_160157.jpg" alt="" id="BLOGGER_PHOTO_ID_5524199296611306786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/TKnl_GkIGjI/AAAAAAAACLw/SxZEVEQ_hEA/s1600/duplicatedb_asm_2010-10-01_160232.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/TKnl_GkIGjI/AAAAAAAACLw/SxZEVEQ_hEA/s320/duplicatedb_asm_2010-10-01_160232.jpg" alt="" id="BLOGGER_PHOTO_ID_5524199290203281970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/TKnlXK3GU9I/AAAAAAAACLo/IgcqY9rq1_4/s1600/duplicatedb_asm_2010-10-01_160239.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/TKnlXK3GU9I/AAAAAAAACLo/IgcqY9rq1_4/s320/duplicatedb_asm_2010-10-01_160239.jpg" alt="" id="BLOGGER_PHOTO_ID_5524198604161831890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/TKnlXHgYklI/AAAAAAAACLg/_nRVXpQk9PQ/s1600/duplicatedb_asm_2010-10-01_160246.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/TKnlXHgYklI/AAAAAAAACLg/_nRVXpQk9PQ/s320/duplicatedb_asm_2010-10-01_160246.jpg" alt="" id="BLOGGER_PHOTO_ID_5524198603261252178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/TKnlWksPLAI/AAAAAAAACLY/wZSmrpes1vk/s1600/duplicatedb_asm_2010-10-01_160854.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/TKnlWksPLAI/AAAAAAAACLY/wZSmrpes1vk/s320/duplicatedb_asm_2010-10-01_160854.jpg" alt="" id="BLOGGER_PHOTO_ID_5524198593915726850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/TKnlWT15P3I/AAAAAAAACLQ/kaspTM-qQ5s/s1600/duplicatedb_asm_2010-10-01_161358.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 255px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/TKnlWT15P3I/AAAAAAAACLQ/kaspTM-qQ5s/s320/duplicatedb_asm_2010-10-01_161358.jpg" alt="" id="BLOGGER_PHOTO_ID_5524198589392830322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Perform the post installation task&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;[root@plutone tmp]# /u04/app/oracle/product/11.2.0/grid/root.sh&lt;br /&gt;Running Oracle 11g root.sh script...&lt;br /&gt;&lt;br /&gt;The following environment variables are set as:&lt;br /&gt;ORACLE_OWNER= oracle&lt;br /&gt;ORACLE_HOME=  /u04/app/oracle/product/11.2.0/grid&lt;br /&gt;&lt;br /&gt;Enter the full pathname of the local bin directory: [/usr/local/bin]:&lt;br /&gt;The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)&lt;br /&gt;[n]: y&lt;br /&gt;Copying dbhome to /usr/local/bin ...&lt;br /&gt;The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)&lt;br /&gt;[n]: y&lt;br /&gt;Copying oraenv to /usr/local/bin ...&lt;br /&gt;The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)&lt;br /&gt;[n]: y&lt;br /&gt;Copying coraenv to /usr/local/bin ...&lt;br /&gt;&lt;br /&gt;Entries will be added to the /etc/oratab file as needed by&lt;br /&gt;Database Configuration Assistant when a database is created&lt;br /&gt;Finished running generic part of root.sh script.&lt;br /&gt;Now product-specific root actions will be performed.&lt;br /&gt;2010-10-01 16:11:18: Checking for super user privileges&lt;br /&gt;2010-10-01 16:11:18: User has super user privileges&lt;br /&gt;2010-10-01 16:11:18: Parsing the host name&lt;br /&gt;Using configuration parameter file: /u04/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params&lt;br /&gt;Creating trace directory&lt;br /&gt;LOCAL ADD MODE&lt;br /&gt;Creating OCR keys for user 'oracle', privgrp 'oinstall'..&lt;br /&gt;Operation successful.&lt;br /&gt;CRS-4664: Node plutone successfully pinned.&lt;br /&gt;Adding daemon to inittab&lt;br /&gt;CRS-4123: Oracle High Availability Services has been started.&lt;br /&gt;ohasd is starting&lt;br /&gt;ADVM/ACFS is not supported on centos-release-5-5.el5.centos&lt;br /&gt;&lt;br /&gt;plutone     2010/10/01 16:11:48     /u04/app/oracle/product/11.2.0/grid/cdata/plutone/backup_20101001_161148.olr&lt;br /&gt;Successfully configured Oracle Grid Infrastructure for a Standalone Server&lt;br /&gt;Updating inventory properties for clusterware&lt;br /&gt;Starting Oracle Universal Installer...&lt;br /&gt;&lt;br /&gt;Checking swap space: must be greater than 500 MB.   Actual 2047 MB    Passed&lt;br /&gt;The inventory pointer is located at /etc/oraInst.loc&lt;br /&gt;The inventory is located at /u01/app/oraInventory&lt;br /&gt;'UpdateNodeList' was successful. &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/TKnlWBQDC5I/AAAAAAAACLI/GinDXcJ3BSA/s1600/duplicatedb_asm_2010-10-01_161658.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/TKnlWBQDC5I/AAAAAAAACLI/GinDXcJ3BSA/s320/duplicatedb_asm_2010-10-01_161658.jpg" alt="" id="BLOGGER_PHOTO_ID_5524198584402250642" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The ASM instance is now running:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;[root@plutone tmp]# !ps&lt;br /&gt;ps -ef|grep smon&lt;br /&gt;oracle   15904     1  0 16:14 ?        00:00:00 asm_smon_+ASM&lt;br /&gt;root     16204  5028  0 16:22 pts/0    00:00:00 grep smon&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Create or copy the orapwd file for the duplicated database&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;[oracle@plutone ~]$ cd /u01/app/oracle/product/11.2.0/db_1/dbs&lt;br /&gt;[oracle@plutone dbs]$ orapwd password=oracle file=orapwDUP11G entries=20&lt;br /&gt;or&lt;br /&gt;[oracle@plutone dbs]$ cp orapwDB11G orapwDUP11G&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Startup the listener and the two databases (target DB11G in open mode, auxiliary DUP11G in nomount mode). Then start rman with the following command:&lt;br /&gt;&lt;pre name="code" class="cpp"&gt;[oracle@plutone ~]$ rman target sys/oracle@DB11G auxiliary sys/oracle@DUP11G&lt;br /&gt;&lt;br /&gt;Recovery Manager: Release 11.2.0.1.0 - Production on Mon Oct 4 15:11:36 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.&lt;br /&gt;&lt;br /&gt;connected to target database: DB11G (DBID=197032563)&lt;br /&gt;connected to auxiliary database: DUP11G (not mounted)&lt;br /&gt;&lt;br /&gt;RMAN&gt; duplicate target database to DUP11G from active database spfile parameter_value_convert '/DATA/DB11G/','+DATA/' set db_create_file_dest='+DATA';&lt;br /&gt;&lt;br /&gt;Starting Duplicate Db at 2010-10-04:15:11:47&lt;br /&gt;using target database control file instead of recovery catalog&lt;br /&gt;allocated channel: ORA_AUX_DISK_1&lt;br /&gt;channel ORA_AUX_DISK_1: SID=97 device type=DISK&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;  backup as copy reuse&lt;br /&gt;  targetfile  '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileDB11G.ora' auxiliary format&lt;br /&gt;'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileDUP11G.ora'   ;&lt;br /&gt;  sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileDUP11G.ora''";&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;Starting backup at 2010-10-04:15:11:50&lt;br /&gt;allocated channel: ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: SID=16 device type=DISK&lt;br /&gt;Finished backup at 2010-10-04:15:11:55&lt;br /&gt;&lt;br /&gt;sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileDUP11G.ora''&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;  sql clone "alter system set  db_name =&lt;br /&gt;''DUP11G'' comment=&lt;br /&gt;''duplicate'' scope=spfile";&lt;br /&gt;  sql clone "alter system set  control_files =&lt;br /&gt;''+DATA/control01.ctl'' comment=&lt;br /&gt;'''' scope=spfile";&lt;br /&gt;  sql clone "alter system set  db_create_file_dest =&lt;br /&gt;''+DATA'' comment=&lt;br /&gt;'''' scope=spfile";&lt;br /&gt;  shutdown clone immediate;&lt;br /&gt;  startup clone nomount;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  db_name =  ''DUP11G'' comment= ''duplicate'' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  control_files =  ''+DATA/control01.ctl'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  db_create_file_dest =  ''+DATA'' comment= '''' scope=spfile&lt;br /&gt;&lt;br /&gt;Oracle instance shut down&lt;br /&gt;&lt;br /&gt;connected to auxiliary database (not started)&lt;br /&gt;Oracle instance started&lt;br /&gt;&lt;br /&gt;Total System Global Area     263049216 bytes&lt;br /&gt;&lt;br /&gt;Fixed Size                     2212448 bytes&lt;br /&gt;Variable Size                201330080 bytes&lt;br /&gt;Database Buffers              54525952 bytes&lt;br /&gt;Redo Buffers                   4980736 bytes&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;  sql clone "alter system set  db_name =&lt;br /&gt;''DB11G'' comment=&lt;br /&gt;''Modified by RMAN duplicate'' scope=spfile";&lt;br /&gt;  sql clone "alter system set  db_unique_name =&lt;br /&gt;''DUP11G'' comment=&lt;br /&gt;''Modified by RMAN duplicate'' scope=spfile";&lt;br /&gt;  shutdown clone immediate;&lt;br /&gt;  startup clone force nomount&lt;br /&gt;  backup as copy current controlfile auxiliary format  '+DATA/control01.ctl';&lt;br /&gt;  alter clone database mount;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  db_name =  ''DB11G'' comment= ''Modified by RMAN duplicate'' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  db_unique_name =  ''DUP11G'' comment= ''Modified by RMAN duplicate'' scope=spfile&lt;br /&gt;&lt;br /&gt;Oracle instance shut down&lt;br /&gt;&lt;br /&gt;Oracle instance started&lt;br /&gt;&lt;br /&gt;Total System Global Area     263049216 bytes&lt;br /&gt;&lt;br /&gt;Fixed Size                     2212448 bytes&lt;br /&gt;Variable Size                209718688 bytes&lt;br /&gt;Database Buffers              46137344 bytes&lt;br /&gt;Redo Buffers                   4980736 bytes&lt;br /&gt;&lt;br /&gt;Starting backup at 2010-10-04:15:13:55&lt;br /&gt;using channel ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;copying current control file&lt;br /&gt;output file name=/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_DB11G.f tag=TAG20101004T151355 RECID=4 STAMP=731517240&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15&lt;br /&gt;Finished backup at 2010-10-04:15:14:11&lt;br /&gt;&lt;br /&gt;database mounted&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;  set newname for clone datafile  1 to new;&lt;br /&gt;  set newname for clone datafile  2 to new;&lt;br /&gt;  set newname for clone datafile  3 to new;&lt;br /&gt;  set newname for clone datafile  4 to new;&lt;br /&gt;  set newname for clone datafile  5 to new;&lt;br /&gt;  set newname for clone datafile  6 to new;&lt;br /&gt;  backup as copy reuse&lt;br /&gt;  datafile  1 auxiliary format new&lt;br /&gt;  datafile  2 auxiliary format new&lt;br /&gt;  datafile  3 auxiliary format new&lt;br /&gt;  datafile  4 auxiliary format new&lt;br /&gt;  datafile  5 auxiliary format new&lt;br /&gt;  datafile  6 auxiliary format new&lt;br /&gt;  ;&lt;br /&gt;  sql 'alter system archive log current';&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;Starting backup at 2010-10-04:15:14:18&lt;br /&gt;using channel ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile file number=00006 name=/DATA/DB11G/soe.dbf&lt;br /&gt;output file name=+DATA/dup11g/datafile/soe.257.731517261 tag=TAG20101004T151418&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:03:58&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile file number=00001 name=/DATA/DB11G/system01.dbf&lt;br /&gt;output file name=+DATA/dup11g/datafile/system.258.731517499 tag=TAG20101004T151418&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:01:06&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile file number=00003 name=/DATA/DB11G/undotbs01.dbf&lt;br /&gt;output file name=+DATA/dup11g/datafile/undotbs1.259.731517565 tag=TAG20101004T151418&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:56&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile file number=00002 name=/DATA/DB11G/sysaux01.dbf&lt;br /&gt;output file name=+DATA/dup11g/datafile/sysaux.260.731517621 tag=TAG20101004T151418&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile file number=00005 name=/DATA/DB11G/example01.dbf&lt;br /&gt;output file name=+DATA/dup11g/datafile/example.261.731517665 tag=TAG20101004T151418&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15&lt;br /&gt;channel ORA_DISK_1: starting datafile copy&lt;br /&gt;input datafile file number=00004 name=/DATA/DB11G/users01.dbf&lt;br /&gt;output file name=+DATA/dup11g/datafile/users.262.731517681 tag=TAG20101004T151418&lt;br /&gt;channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01&lt;br /&gt;Finished backup at 2010-10-04:15:21:21&lt;br /&gt;&lt;br /&gt;sql statement: alter system archive log current&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;  backup as copy reuse&lt;br /&gt;  archivelog like  "/u02/FRA11G/DB11G/archivelog/2010_10_04/o1_mf_1_58_6bmo6m11_.arc" auxiliary format&lt;br /&gt;"/u02/FRA11G/DUP11G/archivelog/2010_10_04/o1_mf_1_58_%u_.arc"   ;&lt;br /&gt;  catalog clone recovery area;&lt;br /&gt;  switch clone datafile all;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;Starting backup at 2010-10-04:15:21:25&lt;br /&gt;using channel ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: starting archived log copy&lt;br /&gt;input archived log thread=1 sequence=58 RECID=7 STAMP=731517683&lt;br /&gt;output file name=/u02/FRA11G/DUP11G/archivelog/2010_10_04/o1_mf_1_58_0elpk4nm_.arc RECID=0 STAMP=0&lt;br /&gt;channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01&lt;br /&gt;Finished backup at 2010-10-04:15:21:27&lt;br /&gt;&lt;br /&gt;searching for all files in the recovery area&lt;br /&gt;&lt;br /&gt;List of Files Unknown to the Database&lt;br /&gt;=====================================&lt;br /&gt;File Name: /u02/FRA11G/DUP11G/archivelog/2010_10_04/o1_mf_1_58_0elpk4nm_.arc&lt;br /&gt;cataloging files...&lt;br /&gt;cataloging done&lt;br /&gt;&lt;br /&gt;List of Cataloged Files&lt;br /&gt;=======================&lt;br /&gt;File Name: /u02/FRA11G/DUP11G/archivelog/2010_10_04/o1_mf_1_58_0elpk4nm_.arc&lt;br /&gt;&lt;br /&gt;datafile 1 switched to datafile copy&lt;br /&gt;input datafile copy RECID=4 STAMP=731517689 file name=+DATA/dup11g/datafile/system.258.731517499&lt;br /&gt;datafile 2 switched to datafile copy&lt;br /&gt;input datafile copy RECID=5 STAMP=731517689 file name=+DATA/dup11g/datafile/sysaux.260.731517621&lt;br /&gt;datafile 3 switched to datafile copy&lt;br /&gt;input datafile copy RECID=6 STAMP=731517689 file name=+DATA/dup11g/datafile/undotbs1.259.731517565&lt;br /&gt;datafile 4 switched to datafile copy&lt;br /&gt;input datafile copy RECID=7 STAMP=731517689 file name=+DATA/dup11g/datafile/users.262.731517681&lt;br /&gt;datafile 5 switched to datafile copy&lt;br /&gt;input datafile copy RECID=8 STAMP=731517689 file name=+DATA/dup11g/datafile/example.261.731517665&lt;br /&gt;datafile 6 switched to datafile copy&lt;br /&gt;input datafile copy RECID=9 STAMP=731517689 file name=+DATA/dup11g/datafile/soe.257.731517261&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;  set until scn  1325144;&lt;br /&gt;  recover&lt;br /&gt;  clone database&lt;br /&gt;   delete archivelog&lt;br /&gt;  ;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;executing command: SET until clause&lt;br /&gt;&lt;br /&gt;Starting recover at 2010-10-04:15:21:31&lt;br /&gt;allocated channel: ORA_AUX_DISK_1&lt;br /&gt;channel ORA_AUX_DISK_1: SID=13 device type=DISK&lt;br /&gt;&lt;br /&gt;starting media recovery&lt;br /&gt;&lt;br /&gt;archived log for thread 1 with sequence 58 is already on disk as file /u02/FRA11G/DUP11G/archivelog/2010_10_04/o1_mf_1_58_0elpk4nm_.arc&lt;br /&gt;archived log file name=/u02/FRA11G/DUP11G/archivelog/2010_10_04/o1_mf_1_58_0elpk4nm_.arc thread=1 sequence=58&lt;br /&gt;media recovery complete, elapsed time: 00:00:02&lt;br /&gt;Finished recover at 2010-10-04:15:21:40&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;  shutdown clone immediate;&lt;br /&gt;  startup clone nomount;&lt;br /&gt;  sql clone "alter system set  db_name =&lt;br /&gt;''DUP11G'' comment=&lt;br /&gt;''Reset to original value by RMAN'' scope=spfile";&lt;br /&gt;  sql clone "alter system reset  db_unique_name scope=spfile";&lt;br /&gt;  shutdown clone immediate;&lt;br /&gt;  startup clone nomount;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;database dismounted&lt;br /&gt;Oracle instance shut down&lt;br /&gt;&lt;br /&gt;connected to auxiliary database (not started)&lt;br /&gt;Oracle instance started&lt;br /&gt;&lt;br /&gt;Total System Global Area     263049216 bytes&lt;br /&gt;&lt;br /&gt;Fixed Size                     2212448 bytes&lt;br /&gt;Variable Size                226495904 bytes&lt;br /&gt;Database Buffers              29360128 bytes&lt;br /&gt;Redo Buffers                   4980736 bytes&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  db_name =  ''DUP11G'' comment= ''Reset to original value by RMAN'' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system reset  db_unique_name scope=spfile&lt;br /&gt;&lt;br /&gt;Oracle instance shut down&lt;br /&gt;&lt;br /&gt;connected to auxiliary database (not started)&lt;br /&gt;Oracle instance started&lt;br /&gt;&lt;br /&gt;Total System Global Area     263049216 bytes&lt;br /&gt;&lt;br /&gt;Fixed Size                     2212448 bytes&lt;br /&gt;Variable Size                226495904 bytes&lt;br /&gt;Database Buffers              29360128 bytes&lt;br /&gt;Redo Buffers                   4980736 bytes&lt;br /&gt;sql statement: CREATE CONTROLFILE REUSE SET DATABASE "DUP11G" RESETLOGS ARCHIVELOG&lt;br /&gt; MAXLOGFILES     16&lt;br /&gt; MAXLOGMEMBERS      3&lt;br /&gt; MAXDATAFILES      100&lt;br /&gt; MAXINSTANCES     8&lt;br /&gt; MAXLOGHISTORY      292&lt;br /&gt;LOGFILE&lt;br /&gt; GROUP  1  SIZE 50 M ,&lt;br /&gt; GROUP  2  SIZE 50 M ,&lt;br /&gt; GROUP  3  SIZE 50 M&lt;br /&gt;DATAFILE&lt;br /&gt; '+DATA/dup11g/datafile/system.258.731517499'&lt;br /&gt;CHARACTER SET WE8MSWIN1252&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;  set newname for clone tempfile  1 to new;&lt;br /&gt;  switch clone tempfile all;&lt;br /&gt;  catalog clone datafilecopy  "+DATA/dup11g/datafile/sysaux.260.731517621",&lt;br /&gt;"+DATA/dup11g/datafile/undotbs1.259.731517565",&lt;br /&gt;"+DATA/dup11g/datafile/users.262.731517681",&lt;br /&gt;"+DATA/dup11g/datafile/example.261.731517665",&lt;br /&gt;"+DATA/dup11g/datafile/soe.257.731517261";&lt;br /&gt;  switch clone datafile all;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;renamed tempfile 1 to +DATA in control file&lt;br /&gt;&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=+DATA/dup11g/datafile/sysaux.260.731517621 RECID=1 STAMP=731517731&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=+DATA/dup11g/datafile/undotbs1.259.731517565 RECID=2 STAMP=731517731&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=+DATA/dup11g/datafile/users.262.731517681 RECID=3 STAMP=731517731&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=+DATA/dup11g/datafile/example.261.731517665 RECID=4 STAMP=731517731&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=+DATA/dup11g/datafile/soe.257.731517261 RECID=5 STAMP=731517731&lt;br /&gt;&lt;br /&gt;datafile 2 switched to datafile copy&lt;br /&gt;input datafile copy RECID=1 STAMP=731517731 file name=+DATA/dup11g/datafile/sysaux.260.731517621&lt;br /&gt;datafile 3 switched to datafile copy&lt;br /&gt;input datafile copy RECID=2 STAMP=731517731 file name=+DATA/dup11g/datafile/undotbs1.259.731517565&lt;br /&gt;datafile 4 switched to datafile copy&lt;br /&gt;input datafile copy RECID=3 STAMP=731517731 file name=+DATA/dup11g/datafile/users.262.731517681&lt;br /&gt;datafile 5 switched to datafile copy&lt;br /&gt;input datafile copy RECID=4 STAMP=731517731 file name=+DATA/dup11g/datafile/example.261.731517665&lt;br /&gt;datafile 6 switched to datafile copy&lt;br /&gt;input datafile copy RECID=5 STAMP=731517731 file name=+DATA/dup11g/datafile/soe.257.731517261&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;  Alter clone database open resetlogs;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;database opened&lt;br /&gt;Finished Duplicate Db at 2010-10-04:15:22:39&lt;br /&gt;&lt;br /&gt;RMAN&gt; exit&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Recovery Manager complete&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Let's see where are the datafiles for DUP11G instance:&lt;br /&gt;&lt;pre name="code" class="sql"&gt;[oracle@plutone ~]$ export ORACLE_SID=DUP11G&lt;br /&gt;[oracle@plutone ~]$ SQL&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Mon Oct 4 15:28:11 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Connected to:&lt;br /&gt;Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;br /&gt;With the Partitioning, Automatic Storage Management, OLAP, Data Mining&lt;br /&gt;and Real Application Testing options&lt;br /&gt;&lt;br /&gt;sys@DUP11G&gt; col NAME format a50&lt;br /&gt;sys@DUP11G&gt; select FILE#, NAME from V$DATAFILE;&lt;br /&gt;&lt;br /&gt;    FILE# NAME&lt;br /&gt;---------- --------------------------------------------------&lt;br /&gt;        1 +DATA/dup11g/datafile/system.258.731517499&lt;br /&gt;        2 +DATA/dup11g/datafile/sysaux.260.731517621&lt;br /&gt;        3 +DATA/dup11g/datafile/undotbs1.259.731517565&lt;br /&gt;        4 +DATA/dup11g/datafile/users.262.731517681&lt;br /&gt;        5 +DATA/dup11g/datafile/example.261.731517665&lt;br /&gt;        6 +DATA/dup11g/datafile/soe.257.731517261&lt;br /&gt;&lt;br /&gt;6 rows selected.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-6792072813626687403?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/6792072813626687403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=6792072813626687403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6792072813626687403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6792072813626687403'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/10/rman-how-to-duplicate-non-asm-active.html' title='RMAN: how to duplicate a non-ASM active database to an ASM database'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_FgrxeU6xYKM/TKnmqOdEf9I/AAAAAAAACM4/Fuak_kFWw8c/s72-c/duplicatedb_asm_2010-10-01_154504.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-2566710408827075424</id><published>2010-09-24T14:42:00.002+01:00</published><updated>2010-09-24T14:53:39.193+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCHEMA MANAGEMENT'/><title type='text'>How to drop a database from SQL*PLUS (without DBCA)</title><content type='html'>I need to remove a database created only for test purpose using RMAN duplicate command. DBCA is not able to identify this database because no info was available on the inventory neither on oratab file.&lt;br /&gt;&lt;br /&gt;Let's drop this database (so deleting its datafiles) simply using sql*plus tool.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone ~]$ &lt;span style="font-weight: bold;"&gt;export ORACLE_SID=DUP11G&lt;/span&gt;&lt;br /&gt;[oracle@plutone ~]$ &lt;span style="font-weight: bold;"&gt;sqlplus / as sysdba&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Fri Sep 24 15:35:35 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Connected to an idle instance.&lt;br /&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;startup&lt;/span&gt;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  217157632 bytes&lt;br /&gt;Fixed Size                  2211928 bytes&lt;br /&gt;Variable Size             159387560 bytes&lt;br /&gt;Database Buffers           50331648 bytes&lt;br /&gt;Redo Buffers                5226496 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;Database opened.&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;shutdown immediate;&lt;/span&gt;&lt;br /&gt;Database closed.&lt;br /&gt;Database dismounted.&lt;br /&gt;ORACLE instance shut down.&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;startup mount exclusive restrict&lt;/span&gt;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  217157632 bytes&lt;br /&gt;Fixed Size                  2211928 bytes&lt;br /&gt;Variable Size             159387560 bytes&lt;br /&gt;Database Buffers           50331648 bytes&lt;br /&gt;Redo Buffers                5226496 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;drop database;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Database dropped.&lt;br /&gt;&lt;br /&gt;Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;br /&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;br /&gt;idle&gt; exit&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Let's see at file system level what's happening during this process...&lt;br /&gt;Here are the datafiles and controlfiles of DUP11G database just one second before executing the DROP DATABASE command.&lt;/span&gt;&lt;br /&gt;[oracle@plutone DUP11G]$ &lt;span style="font-weight: bold;"&gt;ll &lt;/span&gt;&lt;br /&gt;total 3949168&lt;br /&gt;-rw-r----- 1 oracle oinstall    7872512 Sep 24 09:50 users01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall 1918902272 Sep 24 09:50 soe.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall   52429312 Sep 24 09:50 redo03.log&lt;br /&gt;-rw-r----- 1 oracle oinstall   52429312 Sep 24 09:50 redo02.log&lt;br /&gt;-rw-r----- 1 oracle oinstall  104865792 Sep 24 09:50 example01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  195043328 Sep 24 09:52 temp01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  592453632 Sep 24 10:02 undotbs01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  713039872 Sep 24 10:02 system01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  524296192 Sep 24 10:02 sysaux01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall   52429312 Sep 24 10:02 redo01.log&lt;br /&gt;-rw-r----- 1 oracle oinstall   10076160 Sep 24 10:03 control02.ctl&lt;br /&gt;-rw-r----- 1 oracle oinstall   10076160 Sep 24 10:03 control01.ctl&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;The same info few seconds after DROP DATABASE command was issued. All datafiles were already deleted.&lt;/span&gt;&lt;br /&gt;[oracle@plutone DUP11G]$ &lt;span style="font-weight: bold;"&gt;ll&lt;/span&gt;&lt;br /&gt;total 19712&lt;br /&gt;-rw-r----- 1 oracle oinstall 10076160 Sep 24 15:38 control02.ctl&lt;br /&gt;-rw-r----- 1 oracle oinstall 10076160 Sep 24 15:38 control01.ctl&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;After sql*plus stated "Database dropped" also the controlfile are deleted.&lt;/span&gt;&lt;br /&gt;[oracle@plutone DUP11G]$&lt;span style="font-weight: bold;"&gt; ll&lt;/span&gt;&lt;br /&gt;total 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-2566710408827075424?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/2566710408827075424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=2566710408827075424' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2566710408827075424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2566710408827075424'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/09/how-to-drop-database-from-sqlplus.html' title='How to drop a database from SQL*PLUS (without DBCA)'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-4029989284392015844</id><published>2010-09-24T09:15:00.011+01:00</published><updated>2010-09-24T14:12:08.606+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Duplicating Database'/><title type='text'>RMAN: how to duplicate a database on the same host</title><content type='html'>I need to duplicate a database. There are many possibilities to complete this task and I choose to use RMAN and its commands: in particular I decided (to be honest it was just a poor notebook configuration to address my choice) to duplicate the target database to the same host. Perhaps I could spend my time on other possibilities offered by RMAN such as for example to duplicate the target database on a remote host.&lt;br /&gt;&lt;br /&gt;I'm working with Oracle Database 11.2.0.1.0 on 64bit hosted by a CentOS virtualized machine: the target database is DB11G and the duplicated database will be DUP11G.&lt;br /&gt;&lt;br /&gt;So this is what I did. First thing I have to do is to get a valid backup of DB11G.&lt;br /&gt;The second thing is that I need to get some informations about my machine because I've added and removed many virtual disks lately and I don't remember where are exactly my datafiles... I just remember I have space problems.&lt;br /&gt;&lt;br /&gt;Let's start the instance (SQL is an alias for sqlplus / as sysdba and my ORACLE_SID is already set to DB11G)&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone DB11G]$ SQL&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 23 16:48:54 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Connected to an idle instance.&lt;br /&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;startup&lt;/span&gt;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  626327552 bytes&lt;br /&gt;Fixed Size                  2215944 bytes&lt;br /&gt;Variable Size             432017400 bytes&lt;br /&gt;Database Buffers          184549376 bytes&lt;br /&gt;Redo Buffers                7544832 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;Database opened.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I usually don't run test database on archivelog mode, just let me check. Otherwise I will set it on archivelog mode.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;archive log list&lt;/span&gt;&lt;br /&gt;Database log mode              No Archive Mode&lt;br /&gt;Automatic archival             Disabled&lt;br /&gt;Archive destination            USE_DB_RECOVERY_FILE_DEST&lt;br /&gt;Oldest online log sequence     50&lt;br /&gt;Current log sequence           52&lt;br /&gt;idle&gt;&lt;span style="font-weight: bold;"&gt; shutdown immediate;&lt;/span&gt;&lt;br /&gt;Database closed.&lt;br /&gt;Database dismounted.&lt;br /&gt;ORACLE instance shut down.&lt;br /&gt;idle&gt;&lt;span style="font-weight: bold;"&gt; startup mount;&lt;/span&gt;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  626327552 bytes&lt;br /&gt;Fixed Size                  2215944 bytes&lt;br /&gt;Variable Size             432017400 bytes&lt;br /&gt;Database Buffers          184549376 bytes&lt;br /&gt;Redo Buffers                7544832 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;alter database archivelog;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;alter database open;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;archive log list&lt;/span&gt;&lt;br /&gt;Database log mode              Archive Mode&lt;br /&gt;Automatic archival             Enabled&lt;br /&gt;Archive destination            USE_DB_RECOVERY_FILE_DEST&lt;br /&gt;Oldest online log sequence     50&lt;br /&gt;Next log sequence to archive   52&lt;br /&gt;Current log sequence           52&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let me see how much space I have on FRA.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;show parameter recovery&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;db_recovery_file_dest                string      /u01/app/oracle/flash_recovery&lt;br /&gt;                                              _area&lt;br /&gt;db_recovery_file_dest_size           big integer 3882M&lt;br /&gt;recovery_parallelism                 integer     0&lt;br /&gt;&lt;br /&gt;idle&gt; exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I don't have any space to get a valid backup&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone DB11G]$ &lt;span style="font-weight: bold;"&gt;cd /u01/app/oracle/flash_recovery_area/DB11G&lt;/span&gt;&lt;br /&gt;[oracle@plutone DB11G]$ &lt;span style="font-weight: bold;"&gt;df -h .&lt;/span&gt;&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/sda3              18G   16G  802M  96% /&lt;br /&gt;&lt;br /&gt;[oracle@plutone DB11G]$ &lt;span style="font-weight: bold;"&gt;df -h&lt;/span&gt;&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/sda3              18G   16G  802M  96% /&lt;br /&gt;/dev/sda1             190M   18M  163M  10% /boot&lt;br /&gt;tmpfs                 617M     0  617M   0% /dev/shm&lt;br /&gt;/dev/sdb1             9.9G  4.3G  5.1G  46% /u02&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let me check what is the size of DB11G datafiles.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone DB11G]$ &lt;span style="font-weight: bold;"&gt;cd /DATA/DB11G&lt;/span&gt;&lt;br /&gt;[oracle@plutone DB11G]$ &lt;span style="font-weight: bold;"&gt;ll&lt;/span&gt;&lt;br /&gt;total 4128412&lt;br /&gt;-rw-r----- 1 oracle oinstall  195043328 Sep 23 16:51 temp01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall   52429312 Sep 23 16:54 redo03.log&lt;br /&gt;-rw-r----- 1 oracle oinstall   52429312 Sep 23 16:54 redo02.log&lt;br /&gt;-rw-r----- 1 oracle oinstall    7872512 Sep 23 16:55 users01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  592453632 Sep 23 16:55 undotbs01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  713039872 Sep 23 16:55 system01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  524296192 Sep 23 16:55 sysaux01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall 1918902272 Sep 23 16:55 soe.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall   52429312 Sep 23 16:55 redo01.log&lt;br /&gt;-rw-r----- 1 oracle oinstall  104865792 Sep 23 16:55 example01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall    9748480 Sep 23 16:55 control01.ctl&lt;br /&gt;[oracle@plutone DB11G]$ &lt;span style="font-weight: bold;"&gt;du -hs       &lt;/span&gt;&lt;br /&gt;4.0G    .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Definitely I have no space to host a duplicated databese.&lt;br /&gt;Let me point the FRA of DB11G to /u02.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[root@plutone u02]# &lt;span style="font-weight: bold;"&gt;cd /u02/&lt;/span&gt;&lt;br /&gt;[root@plutone u02]# &lt;span style="font-weight: bold;"&gt;ll&lt;/span&gt;&lt;br /&gt;total 40&lt;br /&gt;drwxr-xr-x 3 ora10g oinstall  4096 Aug 16 14:18 app&lt;br /&gt;drwxr-xr-x 3 ora10g oinstall  4096 Aug 16 16:43 DATA10&lt;br /&gt;drwxr-xr-x 2 oracle oinstall  4096 Sep 23 17:32 DATA_DUP11G&lt;br /&gt;drwxr-xr-x 3 ora10g oinstall  4096 Aug 16 16:44 FRA10&lt;br /&gt;drwxr-xr-x 2 oracle oinstall  4096 Sep 23 17:30 FRA11G&lt;br /&gt;drwx------ 2 ora10g oinstall 16384 Aug 16 14:04 lost+found&lt;br /&gt;drwxr-xr-x 2 oraxe  oinstall  4096 Sep  7 11:42 XE&lt;br /&gt;&lt;br /&gt;[root@plutone u02]# &lt;span style="font-weight: bold;"&gt;mkdir FRA11G&lt;/span&gt;&lt;br /&gt;[root@plutone u02]# &lt;span style="font-weight: bold;"&gt;chown -R oracle.oinstall FRA11G/&lt;/span&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;alter system set  db_recovery_file_dest='/u02/FRA11G' scope=spfile;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;show parameter recovery&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;db_recovery_file_dest                string      /u01/app/oracle/flash_recovery&lt;br /&gt;                                              _area&lt;br /&gt;db_recovery_file_dest_size           big integer 3882M&lt;br /&gt;recovery_parallelism                 integer     0&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;alter system set  db_recovery_file_dest='/u02/FRA11G' scope=memory;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;show parameter recovery&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;NAME                                 TYPE        VALUE&lt;br /&gt;------------------------------------ ----------- ------------------------------&lt;br /&gt;db_recovery_file_dest                string      /u02/FRA11G&lt;br /&gt;db_recovery_file_dest_size           big integer 3882M&lt;br /&gt;recovery_parallelism                 integer     0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let me check if Oracle is able to write on that new FRA location:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[root@plutone FRA11G]# &lt;span style="font-weight: bold;"&gt;pwd&lt;/span&gt;&lt;br /&gt;/u02/FRA11G&lt;br /&gt;[root@plutone FRA11G]#&lt;span style="font-weight: bold;"&gt; ll&lt;/span&gt;&lt;br /&gt;total 0&lt;br /&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;alter database open;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;alter system switch logfile;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;[root@plutone FRA11G]# &lt;span style="font-weight: bold;"&gt;ll&lt;/span&gt;&lt;br /&gt;total 4&lt;br /&gt;drwxr-x--- 3 oracle oinstall 4096 Sep 23 17:38 DB11G&lt;br /&gt;[root@plutone FRA11G]# &lt;span style="font-weight: bold;"&gt;cd DB11G/archivelog/&lt;/span&gt;&lt;br /&gt;[root@plutone archivelog]# &lt;span style="font-weight: bold;"&gt;ll&lt;/span&gt;&lt;br /&gt;total 4&lt;br /&gt;drwxr-x--- 2 oracle oinstall 4096 Sep 23 17:38 2010_09_23&lt;br /&gt;[root@plutone archivelog]#&lt;span style="font-weight: bold;"&gt; cd 2010_09_23/&lt;/span&gt;&lt;br /&gt;[root@plutone 2010_09_23]# &lt;span style="font-weight: bold;"&gt;ll&lt;/span&gt;&lt;br /&gt;total 1908&lt;br /&gt;-rw-r----- 1 oracle oinstall 1947648 Sep 23 17:38 o1_mf_1_52_69px43oj_.arc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let me proceed with RMAN configuration:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone DB11G]$ &lt;span style="font-weight: bold;"&gt;rman target /&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Recovery Manager: Release 11.2.0.1.0 - Production on Thu Sep 23 17:40:40 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.&lt;br /&gt;&lt;br /&gt;connected to target database: DB11G (DBID=197032563)&lt;br /&gt;&lt;br /&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt; list backup;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;using target database control file instead of recovery catalog&lt;br /&gt;specification does not match any backup in the repository&lt;br /&gt;&lt;br /&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt; show all;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;RMAN configuration parameters for database with db_unique_name DB11G are:&lt;br /&gt;CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default&lt;br /&gt;CONFIGURE BACKUP OPTIMIZATION OFF; # default&lt;br /&gt;CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default&lt;br /&gt;CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default&lt;br /&gt;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default&lt;br /&gt;CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default&lt;br /&gt;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default&lt;br /&gt;CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default&lt;br /&gt;CONFIGURE MAXSETSIZE TO UNLIMITED; # default&lt;br /&gt;CONFIGURE ENCRYPTION FOR DATABASE OFF; # default&lt;br /&gt;CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default&lt;br /&gt;CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default&lt;br /&gt;CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default&lt;br /&gt;CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_DB11G.f'; # default&lt;br /&gt;&lt;br /&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt; CONFIGURE CONTROLFILE AUTOBACKUP ON;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;new RMAN configuration parameters:&lt;br /&gt;CONFIGURE CONTROLFILE AUTOBACKUP ON;&lt;br /&gt;new RMAN configuration parameters are successfully stored&lt;br /&gt;&lt;br /&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt; CONFIGURE BACKUP OPTIMIZATION ON;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;new RMAN configuration parameters:&lt;br /&gt;CONFIGURE BACKUP OPTIMIZATION ON;&lt;br /&gt;new RMAN configuration parameters are successfully stored&lt;br /&gt;&lt;br /&gt;RMAN&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Just before I execute the backup I notice there is only one directory under /u02/FRA11G/DB11G:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[root@plutone DB11G]# &lt;span style="font-weight: bold;"&gt;ll&lt;/span&gt;&lt;br /&gt;total 4&lt;br /&gt;drwxr-x--- 3 oracle oinstall 4096 Sep 23 17:38 archivelog&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Perform a complete full database backup plus archivelog:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;backup database plus archivelog;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Starting backup at 2010-09-23:17:42:26&lt;br /&gt;current log archived&lt;br /&gt;allocated channel: ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: SID=21 device type=DISK&lt;br /&gt;channel ORA_DISK_1: starting archived log backup set&lt;br /&gt;channel ORA_DISK_1: specifying archived log(s) in backup set&lt;br /&gt;input archived log thread=1 sequence=52 RECID=1 STAMP=730489124&lt;br /&gt;input archived log thread=1 sequence=53 RECID=2 STAMP=730489346&lt;br /&gt;channel ORA_DISK_1: starting piece 1 at 2010-09-23:17:42:29&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 2010-09-23:17:42:33&lt;br /&gt;piece handle=/u02/FRA11G/DB11G/backupset/2010_09_23/o1_mf_annnn_TAG20100923T174228_69pxc5wb_.bkp tag=TAG20100923T174228 comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04&lt;br /&gt;Finished backup at 2010-09-23:17:42:34&lt;br /&gt;&lt;br /&gt;Starting backup at 2010-09-23:17:42:34&lt;br /&gt;using channel ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: starting full datafile backup set&lt;br /&gt;channel ORA_DISK_1: specifying datafile(s) in backup set&lt;br /&gt;input datafile file number=00006 name=/DATA/DB11G/soe.dbf&lt;br /&gt;input datafile file number=00001 name=/DATA/DB11G/system01.dbf&lt;br /&gt;input datafile file number=00003 name=/DATA/DB11G/undotbs01.dbf&lt;br /&gt;input datafile file number=00002 name=/DATA/DB11G/sysaux01.dbf&lt;br /&gt;input datafile file number=00005 name=/DATA/DB11G/example01.dbf&lt;br /&gt;input datafile file number=00004 name=/DATA/DB11G/users01.dbf&lt;br /&gt;channel ORA_DISK_1: starting piece 1 at 2010-09-23:17:42:35&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 2010-09-23:17:49:02&lt;br /&gt;piece handle=/u02/FRA11G/DB11G/backupset/2010_09_23/o1_mf_nnndf_TAG20100923T174235_69pxccs4_.bkp tag=TAG20100923T174235 comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:06:27&lt;br /&gt;Finished backup at 2010-09-23:17:49:02&lt;br /&gt;&lt;br /&gt;Starting backup at 2010-09-23:17:49:03&lt;br /&gt;current log archived&lt;br /&gt;using channel ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: starting archived log backup set&lt;br /&gt;channel ORA_DISK_1: specifying archived log(s) in backup set&lt;br /&gt;input archived log thread=1 sequence=54 RECID=3 STAMP=730489744&lt;br /&gt;channel ORA_DISK_1: starting piece 1 at 2010-09-23:17:49:05&lt;br /&gt;channel ORA_DISK_1: finished piece 1 at 2010-09-23:17:49:06&lt;br /&gt;piece handle=/u02/FRA11G/DB11G/backupset/2010_09_23/o1_mf_annnn_TAG20100923T174904_69pxqkjl_.bkp tag=TAG20100923T174904 comment=NONE&lt;br /&gt;channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01&lt;br /&gt;Finished backup at 2010-09-23:17:49:06&lt;br /&gt;&lt;br /&gt;Starting Control File and SPFILE Autobackup at 2010-09-23:17:49:07&lt;br /&gt;piece handle=/u02/FRA11G/DB11G/autobackup/2010_09_23/o1_mf_s_730489747_69pxqqxd_.bkp comment=NONE&lt;br /&gt;Finished Control File and SPFILE Autobackup at 2010-09-23:17:49:14&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And now on file system I've:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[root@plutone DB11G]# &lt;span style="font-weight: bold;"&gt;ll&lt;/span&gt;&lt;br /&gt;total 8&lt;br /&gt;drwxr-x--- 3 oracle oinstall 4096 Sep 23 17:38 archivelog&lt;br /&gt;drwxr-x--- 3 oracle oinstall 4096 Sep 23 17:42 backupset&lt;br /&gt;&lt;br /&gt;[root@plutone DB11G]# &lt;span style="font-weight: bold;"&gt;ll -h backupset/2010_09_23/&lt;/span&gt;&lt;br /&gt;total 3.3G&lt;br /&gt;-rw-r----- 1 oracle oinstall 2.0M Sep 23 17:42 o1_mf_annnn_TAG20100923T174228_69pxc5wb_.bkp&lt;br /&gt;-rw-r----- 1 oracle oinstall 165K Sep 23 17:49 o1_mf_annnn_TAG20100923T174904_69pxqkjl_.bkp&lt;br /&gt;-rw-r----- 1 oracle oinstall 3.3G Sep 23 17:48 o1_mf_nnndf_TAG20100923T174235_69pxccs4_.bkp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now I have to add a new virtualized disk because you can see I have no space to create a duplicate database of a 4G target one.&lt;br /&gt;Have a look to my current disk configuration:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[root@plutone DB11G]# &lt;span style="font-weight: bold;"&gt;mount&lt;/span&gt;&lt;br /&gt;/dev/sda3 on / type ext3 (rw)&lt;br /&gt;proc on /proc type proc (rw)&lt;br /&gt;sysfs on /sys type sysfs (rw)&lt;br /&gt;devpts on /dev/pts type devpts (rw,gid=5,mode=620)&lt;br /&gt;/dev/sda1 on /boot type ext3 (rw)&lt;br /&gt;tmpfs on /dev/shm type tmpfs (rw)&lt;br /&gt;/dev/sdb1 on /u02 type ext3 (rw)&lt;br /&gt;none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)&lt;br /&gt;none on /proc/fs/vmblock/mountPoint type vmblock (rw)&lt;br /&gt;sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)&lt;br /&gt;[root@plutone DB11G]# &lt;span style="font-weight: bold;"&gt;df -h&lt;/span&gt;&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/sda3              18G   16G  794M  96% /&lt;br /&gt;/dev/sda1             190M   18M  163M  10% /boot&lt;br /&gt;tmpfs                 617M  392M  226M  64% /dev/shm&lt;br /&gt;/dev/sdb1             9.9G  7.6G  1.9G  81% /u02&lt;br /&gt;[root@plutone DB11G]# &lt;span style="font-weight: bold;"&gt;more /etc/fstab&lt;/span&gt;&lt;br /&gt;LABEL=/                 /                       ext3    defaults        1 1&lt;br /&gt;LABEL=/boot             /boot                   ext3    defaults        1 2&lt;br /&gt;tmpfs                   /dev/shm                tmpfs   defaults        0 0&lt;br /&gt;devpts                  /dev/pts                devpts  gid=5,mode=620  0 0&lt;br /&gt;sysfs                   /sys                    sysfs   defaults        0 0&lt;br /&gt;proc                    /proc                   proc    defaults        0 0&lt;br /&gt;LABEL=SWAP-sda2         swap                    swap    defaults        0 0&lt;br /&gt;/dev/sdb1               /u02                    ext3    defaults        1 1&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# &lt;span style="font-weight: bold;"&gt;fdisk -l&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Disk /dev/sda: 21.4 GB, 21474836480 bytes&lt;br /&gt;255 heads, 63 sectors/track, 2610 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sda1   *           1          25      200781   83  Linux&lt;br /&gt;/dev/sda2              26         286     2096482+  82  Linux swap / Solaris&lt;br /&gt;/dev/sda3             287        2610    18667530   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdb1               1        1305    10482381   83  Linux&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After I've added a new virtualied disk of 10G I need to format and mount it.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[root@plutone ~]#&lt;span style="font-weight: bold;"&gt; fdisk -l&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Disk /dev/sda: 21.4 GB, 21474836480 bytes&lt;br /&gt;255 heads, 63 sectors/track, 2610 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sda1   *           1          25      200781   83  Linux&lt;br /&gt;/dev/sda2              26         286     2096482+  82  Linux swap / Solaris&lt;br /&gt;/dev/sda3             287        2610    18667530   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdb1               1        1305    10482381   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdc: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Disk /dev/sdc doesn't contain a valid partition table&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# &lt;span style="font-weight: bold;"&gt;fdisk /dev/sdc&lt;/span&gt;&lt;br /&gt;Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel&lt;br /&gt;Building a new DOS disklabel. Changes will remain in memory only,&lt;br /&gt;until you decide to write them. After that, of course, the previous&lt;br /&gt;content won't be recoverable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The number of cylinders for this disk is set to 1305.&lt;br /&gt;There is nothing wrong with that, but this is larger than 1024,&lt;br /&gt;and could in certain setups cause problems with:&lt;br /&gt;1) software that runs at boot time (e.g., old versions of LILO)&lt;br /&gt;2) booting and partitioning software from other OSs&lt;br /&gt;(e.g., DOS FDISK, OS/2 FDISK)&lt;br /&gt;Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)&lt;br /&gt;&lt;br /&gt;Command (m for help): &lt;span style="font-weight: bold;"&gt;n&lt;/span&gt;&lt;br /&gt;Command action&lt;br /&gt;e   extended&lt;br /&gt;p   primary partition (1-4)&lt;br /&gt;p&lt;br /&gt;Partition number (1-4): &lt;span style="font-weight: bold;"&gt;1&lt;/span&gt;&lt;br /&gt;First cylinder (1-1305, default 1):&lt;br /&gt;Using default value 1&lt;br /&gt;Last cylinder or +size or +sizeM or +sizeK (1-1305, default 1305):&lt;br /&gt;Using default value 1305&lt;br /&gt;&lt;br /&gt;Command (m for help): &lt;span style="font-weight: bold;"&gt;w&lt;/span&gt;&lt;br /&gt;The partition table has been altered!&lt;br /&gt;&lt;br /&gt;Calling ioctl() to re-read partition table.&lt;br /&gt;Syncing disks.&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# &lt;span style="font-weight: bold;"&gt;fdisk -l&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Disk /dev/sda: 21.4 GB, 21474836480 bytes&lt;br /&gt;255 heads, 63 sectors/track, 2610 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sda1   *           1          25      200781   83  Linux&lt;br /&gt;/dev/sda2              26         286     2096482+  82  Linux swap / Solaris&lt;br /&gt;/dev/sda3             287        2610    18667530   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdb1               1        1305    10482381   83  Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdc: 10.7 GB, 10737418240 bytes&lt;br /&gt;255 heads, 63 sectors/track, 1305 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;/dev/sdc1               1        1305    10482381   83  Linux&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# &lt;span style="font-weight: bold;"&gt;mkfs.ext3 /dev/sdc1&lt;/span&gt;&lt;br /&gt;mke2fs 1.39 (29-May-2006)&lt;br /&gt;Filesystem label=&lt;br /&gt;OS type: Linux&lt;br /&gt;Block size=4096 (log=2)&lt;br /&gt;Fragment size=4096 (log=2)&lt;br /&gt;1310720 inodes, 2620595 blocks&lt;br /&gt;131029 blocks (5.00%) reserved for the super user&lt;br /&gt;First data block=0&lt;br /&gt;Maximum filesystem blocks=2684354560&lt;br /&gt;80 block groups&lt;br /&gt;32768 blocks per group, 32768 fragments per group&lt;br /&gt;16384 inodes per group&lt;br /&gt;Superblock backups stored on blocks:&lt;br /&gt;     32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632&lt;br /&gt;&lt;br /&gt;Writing inode tables: done                        &lt;br /&gt;Creating journal (32768 blocks): done&lt;br /&gt;Writing superblocks and filesystem accounting information: done&lt;br /&gt;&lt;br /&gt;This filesystem will be automatically checked every 37 mounts or&lt;br /&gt;180 days, whichever comes first.  Use tune2fs -c or -i to override.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I then edited /etc/fstab and added the following line:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;/dev/sdc1               /u03                    ext3    defaults        1 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# &lt;span style="font-weight: bold;"&gt;mkdir /u03&lt;/span&gt;&lt;br /&gt;[root@plutone ~]# &lt;span style="font-weight: bold;"&gt;mount /u03&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@plutone ~]# &lt;span style="font-weight: bold;"&gt;df -h&lt;/span&gt;&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/sda3              18G   16G  794M  96% /&lt;br /&gt;/dev/sda1             190M   18M  163M  10% /boot&lt;br /&gt;tmpfs                 617M     0  617M   0% /dev/shm&lt;br /&gt;/dev/sdb1             9.9G  7.6G  1.9G  81% /u02&lt;br /&gt;/dev/sdc1             9.9G  151M  9.2G   2% /u03&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Ok now I heve space to continue. Now it's time to add two dedicated local listeners (tns is an alias to go on the directory containing listener.ora and tnsnames.ora files):&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone DB11G]$ &lt;span style="font-weight: bold;"&gt;tns&lt;/span&gt;&lt;br /&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;vi listener.ora&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora&lt;br /&gt;# Generated by Oracle configuration tools.&lt;br /&gt;&lt;br /&gt;SID_LIST_LISTENER =&lt;br /&gt;(SID_LIST =&lt;br /&gt; (SID_DESC =&lt;br /&gt;   (GLOBAL_DBNAME = DB11G)&lt;br /&gt;   (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1/)&lt;br /&gt;   (SID_NAME = DB11G)&lt;br /&gt; )&lt;br /&gt; (SID_DESC =&lt;br /&gt;   (GLOBAL_DBNAME = DUP11G)&lt;br /&gt;   (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1/)&lt;br /&gt;   (SID_NAME = DUP11G)&lt;br /&gt; )&lt;br /&gt;) &lt;br /&gt;&lt;br /&gt;LISTENER =&lt;br /&gt;(DESCRIPTION_LIST =&lt;br /&gt; (DESCRIPTION =&lt;br /&gt;   (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))&lt;br /&gt;   (ADDRESS = (PROTOCOL = TCP)(HOST = plutone)(PORT = 1521))&lt;br /&gt; )&lt;br /&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add the following informations (adding of course DUP11G service) on tnsnames.ora:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;vi tnsnames.ora&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora&lt;br /&gt;# Generated by Oracle configuration tools.&lt;br /&gt;&lt;br /&gt;DUP11G =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt; (ADDRESS = (PROTOCOL = TCP)(HOST = plutone)(PORT = 1521))&lt;br /&gt; (CONNECT_DATA =&lt;br /&gt;   (SERVER = DEDICATED)&lt;br /&gt;   (SERVICE_NAME = DUP11G)&lt;br /&gt; )&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;DB11G =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt; (ADDRESS = (PROTOCOL = TCP)(HOST = plutone)(PORT = 1521))&lt;br /&gt; (CONNECT_DATA =&lt;br /&gt;   (SERVER = DEDICATED)&lt;br /&gt;   (SERVICE_NAME = DB11G)&lt;br /&gt; )&lt;br /&gt;)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Now it's time to create a init.ora file for DUP11G.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone dbs]$ &lt;span style="font-weight: bold;"&gt;cd /u01/app/oracle/product/11.2.0/db_1/dbs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[oracle@plutone dbs]$&lt;span style="font-weight: bold;"&gt; strings spfileDB11G.ora&lt;/span&gt;&lt;br /&gt;DB11G.__db_cache_size=184549376&lt;br /&gt;DB11G.__java_pool_size=4194304&lt;br /&gt;DB11G.__large_pool_size=4194304&lt;br /&gt;DB11G.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment&lt;br /&gt;DB11G.__pga_aggregate_target=218103808&lt;br /&gt;DB11G.__sga_target=411041792&lt;br /&gt;DB11G.__shared_io_pool_size=0&lt;br /&gt;DB11G.__shared_pool_size=201326592&lt;br /&gt;DB11G.__streams_pool_size=4194304&lt;br /&gt;*.audit_file_dest='/u01/app/oracle/admin/DB11G/adump'&lt;br /&gt;*.audit_trail='db'&lt;br /&gt;*.compatible='11.2.0.0.0'&lt;br /&gt;*.control_files='/DATA/DB11G/control01.ctl','/u01/app/or&lt;br /&gt;acle/flash_recovery_area/DB11G/control02.ctl'&lt;br /&gt;*.db_block_size=8192&lt;br /&gt;*.db_domain=''&lt;br /&gt;*.db_name='DB11G'&lt;br /&gt;*.db_recovery_file_dest_size=4070572032&lt;br /&gt;*.db_recovery_file_dest='/u02/FRA11G'&lt;br /&gt;*.diagnostic_dest='/u01/app/oracle'&lt;br /&gt;*.dispatchers='(PROTOCOL=TCP) (SERVICE=DB11GXDB)'&lt;br /&gt;*.memory_target=629145600&lt;br /&gt;*.open_cursors=300&lt;br /&gt;*.processes=150&lt;br /&gt;*.remote_login_passwordfile='EXCLUSIVE'&lt;br /&gt;*.undo_tablespace='UNDOTBS1'&lt;br /&gt;&lt;br /&gt;[oracle@plutone dbs]$ &lt;span style="font-weight: bold;"&gt;strings spfileDB11G.ora &gt; initDUP11G.ora&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I edited the spooled init file to accomplish my needings (and YES.. I know I don't have to put on the same mount point all my control files!! :) )&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone dbs]$ &lt;span style="font-weight: bold;"&gt;vi initDUP11G.ora&lt;/span&gt;&lt;br /&gt;*.compatible='11.2.0.0.0'&lt;br /&gt;*.control_files='/u03/DUP11G/control01.ctl','/u03/DUP11G/control02.ctl'&lt;br /&gt;*.db_block_size=8192&lt;br /&gt;*.db_name='DUP11G'&lt;br /&gt;*.remote_login_passwordfile='EXCLUSIVE'&lt;br /&gt;db_file_name_convert = '/DATA/DB11G','/u03/DUP11G'&lt;br /&gt;log_file_name_convert = '/DATA/DB11G','/u03/DUP11G'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's start DUP11G in nomount mode:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone dbs]$ &lt;span style="font-weight: bold;"&gt;export ORACLE_SID=DUP11G&lt;/span&gt;&lt;br /&gt;[oracle@plutone dbs]$ &lt;span style="font-weight: bold;"&gt;sqlplus / as sysdba&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Fri Sep 24 07:25:00 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Connected to an idle instance.&lt;br /&gt;&lt;br /&gt;idle&gt;&lt;span style="font-weight: bold;"&gt; startup nomount pfile=/u01/app/oracle/product/11.2.0/db_1/dbs/initDUP11G.ora&lt;/span&gt;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  217157632 bytes&lt;br /&gt;Fixed Size                  2211928 bytes&lt;br /&gt;Variable Size             159387560 bytes&lt;br /&gt;Database Buffers           50331648 bytes&lt;br /&gt;Redo Buffers                5226496 bytes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Let's start the target database:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;export ORACLE_SID=DB11G&lt;/span&gt;&lt;br /&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;ps -ef|grep smon&lt;/span&gt;&lt;br /&gt;oracle    6702     1  0 07:35 ?        00:00:00 ora_smon_DUP11G&lt;br /&gt;oracle   10411  9789  0 09:35 pts/4    00:00:00 grep smon&lt;br /&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;sqlplus / as sysdba&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Fri Sep 24 09:35:54 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Connected to an idle instance.&lt;br /&gt;&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;startup&lt;/span&gt;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  626327552 bytes&lt;br /&gt;Fixed Size                  2215944 bytes&lt;br /&gt;Variable Size             432017400 bytes&lt;br /&gt;Database Buffers          184549376 bytes&lt;br /&gt;Redo Buffers                7544832 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;Database opened.&lt;br /&gt;idle&gt; &lt;span style="font-weight: bold;"&gt;exit&lt;/span&gt;&lt;br /&gt;Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;br /&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now let's try to execute the duplicate command:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;export ORACLE_SID=DUP11G&lt;/span&gt;&lt;br /&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;rman&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Recovery Manager: Release 11.2.0.1.0 - Production on Fri Sep 24 09:36:56 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.&lt;br /&gt;&lt;br /&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt; connect target sys/oracle@DB11G&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;connected to target database: DB11G (DBID=197032563)&lt;br /&gt;&lt;br /&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;connect auxiliary /&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-04006: error from auxiliary database: ORA-12541: TNS:no listener&lt;br /&gt;&lt;br /&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Recovery Manager complete.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ok.. I forgot to start the listener with DUP11G informations.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone dbs]$ &lt;span style="font-weight: bold;"&gt;lsnrctl start&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And let's continue with the second attempt to duplicate DB11G to DUP11G (the scripts following the last command I issued "duplicate target database to DUP11G" are run by Oracle itsself.... I mean automatically!!!):&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;rman&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Recovery Manager: Release 11.2.0.1.0 - Production on Fri Sep 24 09:36:56 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.&lt;br /&gt;&lt;br /&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;connect target sys/oracle@DB11G&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;connected to target database: DB11G (DBID=197032563)&lt;br /&gt;&lt;br /&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;connect auxiliary /&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;connected to auxiliary database: DUP11G (not mounted)&lt;br /&gt;&lt;br /&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;duplicate target database to DUP11G;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Starting Duplicate Db at 2010-09-24:09:44:19&lt;br /&gt;using target database control file instead of recovery catalog&lt;br /&gt;allocated channel: ORA_AUX_DISK_1&lt;br /&gt;channel ORA_AUX_DISK_1: SID=96 device type=DISK&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;sql clone "create spfile from memory";&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;sql statement: create spfile from memory&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;shutdown clone immediate;&lt;br /&gt;startup clone nomount;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;Oracle instance shut down&lt;br /&gt;&lt;br /&gt;connected to auxiliary database (not started)&lt;br /&gt;Oracle instance started&lt;br /&gt;&lt;br /&gt;Total System Global Area     217157632 bytes&lt;br /&gt;&lt;br /&gt;Fixed Size                     2211928 bytes&lt;br /&gt;Variable Size                159387560 bytes&lt;br /&gt;Database Buffers              50331648 bytes&lt;br /&gt;Redo Buffers                   5226496 bytes&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;sql clone "alter system set  db_name =&lt;br /&gt;''DB11G'' comment=&lt;br /&gt;''Modified by RMAN duplicate'' scope=spfile";&lt;br /&gt;sql clone "alter system set  db_unique_name =&lt;br /&gt;''DUP11G'' comment=&lt;br /&gt;''Modified by RMAN duplicate'' scope=spfile";&lt;br /&gt;shutdown clone immediate;&lt;br /&gt;startup clone force nomount&lt;br /&gt;restore clone primary controlfile;&lt;br /&gt;alter clone database mount;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  db_name =  ''DB11G'' comment= ''Modified by RMAN duplicate'' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  db_unique_name =  ''DUP11G'' comment= ''Modified by RMAN duplicate'' scope=spfile&lt;br /&gt;&lt;br /&gt;Oracle instance shut down&lt;br /&gt;&lt;br /&gt;Oracle instance started&lt;br /&gt;&lt;br /&gt;Total System Global Area     217157632 bytes&lt;br /&gt;&lt;br /&gt;Fixed Size                     2211928 bytes&lt;br /&gt;Variable Size                159387560 bytes&lt;br /&gt;Database Buffers              50331648 bytes&lt;br /&gt;Redo Buffers                   5226496 bytes&lt;br /&gt;&lt;br /&gt;Starting restore at 2010-09-24:09:44:37&lt;br /&gt;allocated channel: ORA_AUX_DISK_1&lt;br /&gt;channel ORA_AUX_DISK_1: SID=95 device type=DISK&lt;br /&gt;&lt;br /&gt;channel ORA_AUX_DISK_1: starting datafile backup set restore&lt;br /&gt;channel ORA_AUX_DISK_1: restoring control file&lt;br /&gt;channel ORA_AUX_DISK_1: reading from backup piece /u02/FRA11G/DB11G/autobackup/2010_09_23/o1_mf_s_730489747_69pxqqxd_.bkp&lt;br /&gt;channel ORA_AUX_DISK_1: piece handle=/u02/FRA11G/DB11G/autobackup/2010_09_23/o1_mf_s_730489747_69pxqqxd_.bkp tag=TAG20100923T174907&lt;br /&gt;channel ORA_AUX_DISK_1: restored backup piece 1&lt;br /&gt;channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07&lt;br /&gt;output file name=/u03/DUP11G/control01.ctl&lt;br /&gt;output file name=/u03/DUP11G/control02.ctl&lt;br /&gt;Finished restore at 2010-09-24:09:44:46&lt;br /&gt;&lt;br /&gt;database mounted&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;set until scn  1223173;&lt;br /&gt;set newname for datafile  1 to&lt;br /&gt;"/u03/DUP11G/system01.dbf";&lt;br /&gt;set newname for datafile  2 to&lt;br /&gt;"/u03/DUP11G/sysaux01.dbf";&lt;br /&gt;set newname for datafile  3 to&lt;br /&gt;"/u03/DUP11G/undotbs01.dbf";&lt;br /&gt;set newname for datafile  4 to&lt;br /&gt;"/u03/DUP11G/users01.dbf";&lt;br /&gt;set newname for datafile  5 to&lt;br /&gt;"/u03/DUP11G/example01.dbf";&lt;br /&gt;set newname for datafile  6 to&lt;br /&gt;"/u03/DUP11G/soe.dbf";&lt;br /&gt;restore&lt;br /&gt;clone database&lt;br /&gt;;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;executing command: SET until clause&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;Starting restore at 2010-09-24:09:44:52&lt;br /&gt;using channel ORA_AUX_DISK_1&lt;br /&gt;&lt;br /&gt;channel ORA_AUX_DISK_1: starting datafile backup set restore&lt;br /&gt;channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set&lt;br /&gt;channel ORA_AUX_DISK_1: restoring datafile 00001 to /u03/DUP11G/system01.dbf&lt;br /&gt;channel ORA_AUX_DISK_1: restoring datafile 00002 to /u03/DUP11G/sysaux01.dbf&lt;br /&gt;channel ORA_AUX_DISK_1: restoring datafile 00003 to /u03/DUP11G/undotbs01.dbf&lt;br /&gt;channel ORA_AUX_DISK_1: restoring datafile 00004 to /u03/DUP11G/users01.dbf&lt;br /&gt;channel ORA_AUX_DISK_1: restoring datafile 00005 to /u03/DUP11G/example01.dbf&lt;br /&gt;channel ORA_AUX_DISK_1: restoring datafile 00006 to /u03/DUP11G/soe.dbf&lt;br /&gt;channel ORA_AUX_DISK_1: reading from backup piece /u02/FRA11G/DB11G/backupset/2010_09_23/o1_mf_nnndf_TAG20100923T174235_69pxccs4_.bkp&lt;br /&gt;channel ORA_AUX_DISK_1: piece handle=/u02/FRA11G/DB11G/backupset/2010_09_23/o1_mf_nnndf_TAG20100923T174235_69pxccs4_.bkp tag=TAG20100923T174235&lt;br /&gt;channel ORA_AUX_DISK_1: restored backup piece 1&lt;br /&gt;channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:05:06&lt;br /&gt;Finished restore at 2010-09-24:09:49:58&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;switch clone datafile all;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;datafile 1 switched to datafile copy&lt;br /&gt;input datafile copy RECID=8 STAMP=730547400 file name=/u03/DUP11G/system01.dbf&lt;br /&gt;datafile 2 switched to datafile copy&lt;br /&gt;input datafile copy RECID=9 STAMP=730547400 file name=/u03/DUP11G/sysaux01.dbf&lt;br /&gt;datafile 3 switched to datafile copy&lt;br /&gt;input datafile copy RECID=10 STAMP=730547400 file name=/u03/DUP11G/undotbs01.dbf&lt;br /&gt;datafile 4 switched to datafile copy&lt;br /&gt;input datafile copy RECID=11 STAMP=730547401 file name=/u03/DUP11G/users01.dbf&lt;br /&gt;datafile 5 switched to datafile copy&lt;br /&gt;input datafile copy RECID=12 STAMP=730547401 file name=/u03/DUP11G/example01.dbf&lt;br /&gt;datafile 6 switched to datafile copy&lt;br /&gt;input datafile copy RECID=13 STAMP=730547401 file name=/u03/DUP11G/soe.dbf&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;set until scn  1223173;&lt;br /&gt;recover&lt;br /&gt;clone database&lt;br /&gt; delete archivelog&lt;br /&gt;;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;executing command: SET until clause&lt;br /&gt;&lt;br /&gt;Starting recover at 2010-09-24:09:50:04&lt;br /&gt;using channel ORA_AUX_DISK_1&lt;br /&gt;&lt;br /&gt;starting media recovery&lt;br /&gt;&lt;br /&gt;archived log for thread 1 with sequence 54 is already on disk as file /u02/FRA11G/DB11G/archivelog/2010_09_23/o1_mf_1_54_69pxqj3g_.arc&lt;br /&gt;archived log file name=/u02/FRA11G/DB11G/archivelog/2010_09_23/o1_mf_1_54_69pxqj3g_.arc thread=1 sequence=54&lt;br /&gt;media recovery complete, elapsed time: 00:00:02&lt;br /&gt;Finished recover at 2010-09-24:09:50:11&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;shutdown clone immediate;&lt;br /&gt;startup clone nomount;&lt;br /&gt;sql clone "alter system set  db_name =&lt;br /&gt;''DUP11G'' comment=&lt;br /&gt;''Reset to original value by RMAN'' scope=spfile";&lt;br /&gt;sql clone "alter system reset  db_unique_name scope=spfile";&lt;br /&gt;shutdown clone immediate;&lt;br /&gt;startup clone nomount;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;database dismounted&lt;br /&gt;Oracle instance shut down&lt;br /&gt;&lt;br /&gt;connected to auxiliary database (not started)&lt;br /&gt;Oracle instance started&lt;br /&gt;&lt;br /&gt;Total System Global Area     217157632 bytes&lt;br /&gt;&lt;br /&gt;Fixed Size                     2211928 bytes&lt;br /&gt;Variable Size                159387560 bytes&lt;br /&gt;Database Buffers              50331648 bytes&lt;br /&gt;Redo Buffers                   5226496 bytes&lt;br /&gt;&lt;br /&gt;sql statement: alter system set  db_name =  ''DUP11G'' comment= ''Reset to original value by RMAN'' scope=spfile&lt;br /&gt;&lt;br /&gt;sql statement: alter system reset  db_unique_name scope=spfile&lt;br /&gt;&lt;br /&gt;Oracle instance shut down&lt;br /&gt;&lt;br /&gt;connected to auxiliary database (not started)&lt;br /&gt;Oracle instance started&lt;br /&gt;&lt;br /&gt;Total System Global Area     217157632 bytes&lt;br /&gt;&lt;br /&gt;Fixed Size                     2211928 bytes&lt;br /&gt;Variable Size                159387560 bytes&lt;br /&gt;Database Buffers              50331648 bytes&lt;br /&gt;Redo Buffers                   5226496 bytes&lt;br /&gt;sql statement: CREATE CONTROLFILE REUSE SET DATABASE "DUP11G" RESETLOGS ARCHIVELOG&lt;br /&gt;MAXLOGFILES     16&lt;br /&gt;MAXLOGMEMBERS      3&lt;br /&gt;MAXDATAFILES      100&lt;br /&gt;MAXINSTANCES     8&lt;br /&gt;MAXLOGHISTORY      292&lt;br /&gt;LOGFILE&lt;br /&gt;GROUP  1 ( '/u03/DUP11G/redo01.log' ) SIZE 50 M  REUSE,&lt;br /&gt;GROUP  2 ( '/u03/DUP11G/redo02.log' ) SIZE 50 M  REUSE,&lt;br /&gt;GROUP  3 ( '/u03/DUP11G/redo03.log' ) SIZE 50 M  REUSE&lt;br /&gt;DATAFILE&lt;br /&gt;'/u03/DUP11G/system01.dbf'&lt;br /&gt;CHARACTER SET WE8MSWIN1252&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;set newname for tempfile  1 to&lt;br /&gt;"/u03/DUP11G/temp01.dbf";&lt;br /&gt;switch clone tempfile all;&lt;br /&gt;catalog clone datafilecopy  "/u03/DUP11G/sysaux01.dbf",&lt;br /&gt;"/u03/DUP11G/undotbs01.dbf",&lt;br /&gt;"/u03/DUP11G/users01.dbf",&lt;br /&gt;"/u03/DUP11G/example01.dbf",&lt;br /&gt;"/u03/DUP11G/soe.dbf";&lt;br /&gt;switch clone datafile all;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;executing command: SET NEWNAME&lt;br /&gt;&lt;br /&gt;renamed tempfile 1 to /u03/DUP11G/temp01.dbf in control file&lt;br /&gt;&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=/u03/DUP11G/sysaux01.dbf RECID=1 STAMP=730547441&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=/u03/DUP11G/undotbs01.dbf RECID=2 STAMP=730547441&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=/u03/DUP11G/users01.dbf RECID=3 STAMP=730547441&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=/u03/DUP11G/example01.dbf RECID=4 STAMP=730547441&lt;br /&gt;cataloged datafile copy&lt;br /&gt;datafile copy file name=/u03/DUP11G/soe.dbf RECID=5 STAMP=730547441&lt;br /&gt;&lt;br /&gt;datafile 2 switched to datafile copy&lt;br /&gt;input datafile copy RECID=1 STAMP=730547441 file name=/u03/DUP11G/sysaux01.dbf&lt;br /&gt;datafile 3 switched to datafile copy&lt;br /&gt;input datafile copy RECID=2 STAMP=730547441 file name=/u03/DUP11G/undotbs01.dbf&lt;br /&gt;datafile 4 switched to datafile copy&lt;br /&gt;input datafile copy RECID=3 STAMP=730547441 file name=/u03/DUP11G/users01.dbf&lt;br /&gt;datafile 5 switched to datafile copy&lt;br /&gt;input datafile copy RECID=4 STAMP=730547441 file name=/u03/DUP11G/example01.dbf&lt;br /&gt;datafile 6 switched to datafile copy&lt;br /&gt;input datafile copy RECID=5 STAMP=730547441 file name=/u03/DUP11G/soe.dbf&lt;br /&gt;&lt;br /&gt;contents of Memory Script:&lt;br /&gt;{&lt;br /&gt;Alter clone database open resetlogs;&lt;br /&gt;}&lt;br /&gt;executing Memory Script&lt;br /&gt;&lt;br /&gt;database opened&lt;br /&gt;Finished Duplicate Db at 2010-09-24:09:51:10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Recovery Manager complete.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;How many instances are running and are they the same ?&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;ps -ef|grep smon&lt;/span&gt;&lt;br /&gt;oracle   10511     1  0 09:36 ?        00:00:01 ora_smon_DB11G&lt;br /&gt;oracle   11303     1  0 09:50 ?        00:00:00 ora_smon_DUP11G&lt;br /&gt;oracle   11421  9789  0 09:51 pts/4    00:00:00 grep smon&lt;br /&gt;&lt;br /&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;SQL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Fri Sep 24 09:52:25 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Connected to:&lt;br /&gt;Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;br /&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;br /&gt;&lt;br /&gt;sys@DUP11G&gt; &lt;span style="font-weight: bold;"&gt;set pagesize 999                             &lt;/span&gt;&lt;br /&gt;sys@DUP11G&gt;&lt;span style="font-weight: bold;"&gt; select username from dba_users order by created;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;USERNAME&lt;br /&gt;------------------------------&lt;br /&gt;SYS&lt;br /&gt;SYSTEM&lt;br /&gt;OUTLN&lt;br /&gt;DIP&lt;br /&gt;ORACLE_OCM&lt;br /&gt;DBSNMP&lt;br /&gt;APPQOSSYS&lt;br /&gt;WMSYS&lt;br /&gt;EXFSYS&lt;br /&gt;CTXSYS&lt;br /&gt;ANONYMOUS&lt;br /&gt;XDB&lt;br /&gt;XS$NULL&lt;br /&gt;ORDDATA&lt;br /&gt;MDSYS&lt;br /&gt;ORDPLUGINS&lt;br /&gt;ORDSYS&lt;br /&gt;SI_INFORMTN_SCHEMA&lt;br /&gt;OLAPSYS&lt;br /&gt;MDDATA&lt;br /&gt;SPATIAL_WFS_ADMIN_USR&lt;br /&gt;SPATIAL_CSW_ADMIN_USR&lt;br /&gt;SYSMAN&lt;br /&gt;MGMT_VIEW&lt;br /&gt;APEX_030200&lt;br /&gt;FLOWS_FILES&lt;br /&gt;APEX_PUBLIC_USER&lt;br /&gt;OWBSYS&lt;br /&gt;OWBSYS_AUDIT&lt;br /&gt;SCOTT&lt;br /&gt;SH&lt;br /&gt;OE&lt;br /&gt;HR&lt;br /&gt;PM&lt;br /&gt;BI&lt;br /&gt;IX&lt;br /&gt;STORE&lt;br /&gt;SOE&lt;br /&gt;&lt;br /&gt;38 rows selected.&lt;br /&gt;&lt;br /&gt;sys@DUP11G&gt; &lt;span style="font-weight: bold;"&gt;exit&lt;/span&gt;&lt;br /&gt;Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;br /&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;br /&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;export ORACLE_SID=DB11G&lt;/span&gt;&lt;br /&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;SQL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Fri Sep 24 10:02:33 2010&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Connected to:&lt;br /&gt;Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;br /&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;br /&gt;&lt;br /&gt;sys@DB11G&gt; &lt;span style="font-weight: bold;"&gt;set pagesize 999&lt;/span&gt;&lt;br /&gt;sys@DB11G&gt;  &lt;span style="font-weight: bold;"&gt;select username from dba_users order by created;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;USERNAME&lt;br /&gt;------------------------------&lt;br /&gt;SYS&lt;br /&gt;SYSTEM&lt;br /&gt;OUTLN&lt;br /&gt;DIP&lt;br /&gt;ORACLE_OCM&lt;br /&gt;DBSNMP&lt;br /&gt;APPQOSSYS&lt;br /&gt;WMSYS&lt;br /&gt;EXFSYS&lt;br /&gt;CTXSYS&lt;br /&gt;ANONYMOUS&lt;br /&gt;XDB&lt;br /&gt;XS$NULL&lt;br /&gt;ORDDATA&lt;br /&gt;MDSYS&lt;br /&gt;ORDPLUGINS&lt;br /&gt;ORDSYS&lt;br /&gt;SI_INFORMTN_SCHEMA&lt;br /&gt;OLAPSYS&lt;br /&gt;MDDATA&lt;br /&gt;SPATIAL_WFS_ADMIN_USR&lt;br /&gt;SPATIAL_CSW_ADMIN_USR&lt;br /&gt;SYSMAN&lt;br /&gt;MGMT_VIEW&lt;br /&gt;APEX_030200&lt;br /&gt;FLOWS_FILES&lt;br /&gt;APEX_PUBLIC_USER&lt;br /&gt;OWBSYS&lt;br /&gt;OWBSYS_AUDIT&lt;br /&gt;SCOTT&lt;br /&gt;SH&lt;br /&gt;OE&lt;br /&gt;HR&lt;br /&gt;PM&lt;br /&gt;BI&lt;br /&gt;IX&lt;br /&gt;STORE&lt;br /&gt;SOE&lt;br /&gt;&lt;br /&gt;38 rows selected.&lt;br /&gt;&lt;br /&gt;sys@DB11G&gt; &lt;span style="font-weight: bold;"&gt;exit&lt;/span&gt;&lt;br /&gt;Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production&lt;br /&gt;With the Partitioning, OLAP, Data Mining and Real Application Testing options&lt;br /&gt;[oracle@plutone admin]$ &lt;span style="font-weight: bold;"&gt;cd /u03/DUP11G/&lt;/span&gt;&lt;br /&gt;[oracle@plutone DUP11G]$ &lt;span style="font-weight: bold;"&gt;ll&lt;/span&gt;&lt;br /&gt;total 3949168&lt;br /&gt;-rw-r----- 1 oracle oinstall    7872512 Sep 24 09:50 users01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall 1918902272 Sep 24 09:50 soe.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall   52429312 Sep 24 09:50 redo03.log&lt;br /&gt;-rw-r----- 1 oracle oinstall   52429312 Sep 24 09:50 redo02.log&lt;br /&gt;-rw-r----- 1 oracle oinstall  104865792 Sep 24 09:50 example01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  195043328 Sep 24 09:52 temp01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  592453632 Sep 24 10:02 undotbs01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  713039872 Sep 24 10:02 system01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall  524296192 Sep 24 10:02 sysaux01.dbf&lt;br /&gt;-rw-r----- 1 oracle oinstall   52429312 Sep 24 10:02 redo01.log&lt;br /&gt;-rw-r----- 1 oracle oinstall   10076160 Sep 24 10:03 control02.ctl&lt;br /&gt;-rw-r----- 1 oracle oinstall   10076160 Sep 24 10:03 control01.ctl&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;At this point you can remove from DUP11G database any reference to db_file_name_convert and log_file_name_convert parameters&lt;br /&gt;&lt;br /&gt;Ok... that's all&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-4029989284392015844?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/4029989284392015844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=4029989284392015844' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4029989284392015844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4029989284392015844'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/09/rman-how-to-duplicate-database-on-same.html' title='RMAN: how to duplicate a database on the same host'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-1921893796257479717</id><published>2010-08-09T14:19:00.015+01:00</published><updated>2010-08-10T10:28:39.144+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Database 11g installation'/><title type='text'>Installing Oracle 11gR2 (11.2.0.1.0) on CentOS 5.5</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;his post is more about to test some features such as Video recording provided by vmware than to explain how to install Oracle Database 11gR2 on CentOS. Anyway you can see how it was easy to complete those steps. As soon as possible I'll write some lines about what files I have modified on CentOS to run a successful installation (I mean.. rpm required, sysctl parameters and so on)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Updated:&lt;br /&gt;rpm list&lt;/span&gt;&lt;br /&gt; &lt;span style="font-size:78%;"&gt;rpm -Uvh binutils-2.*&lt;br /&gt; rpm -Uvh compat-libstdc++-33*&lt;br /&gt; rpm -Uvh compat-libstdc++-33*.i386.rpm&lt;br /&gt; rpm -Uvh elfutils-libelf*&lt;br /&gt; rpm -Uvh gcc-4.*&lt;br /&gt; rpm -Uvh gcc-c++-4.*&lt;br /&gt; rpm -Uvh glibc-2.*&lt;br /&gt; rpm -Uvh glibc-common-2.*&lt;br /&gt; rpm -Uvh glibc-devel-2.*&lt;br /&gt; rpm -Uvh glibc-headers-2.*&lt;br /&gt; rpm -Uvh ksh*&lt;br /&gt; rpm -Uvh libaio-0.*&lt;br /&gt; rpm -Uvh libaio-devel-0.*&lt;br /&gt; rpm -Uvh libgomp-4.*&lt;br /&gt; rpm -Uvh libgcc-4.*&lt;br /&gt; rpm -Uvh libstdc++-4.*&lt;br /&gt; rpm -Uvh libstdc++-devel-4.*&lt;br /&gt; rpm -Uvh make-3.*&lt;br /&gt; rpm -Uvh sysstat-7.*&lt;br /&gt; rpm -Uvh unixODBC-2.*&lt;br /&gt; rpm -Uvh unixODBC-devel-2.*&lt;br /&gt; rpm -Uvh pdksh*&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;the /etc/sysctl.conf file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;fs.aio-max-nr = 1048576&lt;br /&gt;fs.file-max = 6815744&lt;br /&gt;kernel.shmall = 2097152&lt;br /&gt;kernel.shmmax = 536870912&lt;br /&gt;kernel.shmmni = 4096&lt;br /&gt;# semaphores: semmsl, semmns, semopm, semmni&lt;br /&gt;kernel.sem = 250 32000 100 128&lt;br /&gt;net.ipv4.ip_local_port_range = 9000 65500&lt;br /&gt;net.core.rmem_default=4194304&lt;br /&gt;net.core.rmem_max=4194304&lt;br /&gt;net.core.wmem_default=262144&lt;br /&gt;net.core.wmem_max=1048586&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;the /etc/security/limits.conf file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;oracle              soft    nproc   2047&lt;br /&gt;oracle              hard    nproc   16384&lt;br /&gt;oracle              soft    nofile  1024&lt;br /&gt;oracle              hard    nofile  65536&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;the /etc/pam.d/login file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;#%PAM-1.0&lt;br /&gt;auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so&lt;br /&gt;auth       include      system-auth&lt;br /&gt;account    required     pam_nologin.so&lt;br /&gt;account    include      system-auth&lt;br /&gt;password   include      system-auth&lt;br /&gt;# pam_selinux.so close should be the first session rule&lt;br /&gt;session    required     pam_selinux.so close&lt;br /&gt;session    include      system-auth&lt;br /&gt;session    required     pam_loginuid.so&lt;br /&gt;session    optional     pam_console.so&lt;br /&gt;# pam_selinux.so open should only be followed by sessions to be executed in the user context&lt;br /&gt;session    required     pam_selinux.so open&lt;br /&gt;session    optional     pam_keyinit.so force revoke&lt;br /&gt;session    required     pam_limits.so&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;the oracle user .bash_profile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;# .bash_profile&lt;br /&gt;# Get the aliases and functions&lt;br /&gt;if [ -f ~/.bashrc ]; then&lt;br /&gt;. ~/.bashrc&lt;br /&gt;fi&lt;br /&gt;# User specific environment and startup programs&lt;br /&gt;PATH=$PATH:$HOME/bin&lt;br /&gt;export PATH&lt;br /&gt;# Oracle Settings&lt;br /&gt;TMP=/tmp; export TMP&lt;br /&gt;TMPDIR=$TMP; export TMPDIR&lt;br /&gt;ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME&lt;br /&gt;ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE&lt;br /&gt;ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME&lt;br /&gt;ORACLE_SID=DB11G; export ORACLE_SID&lt;br /&gt;ORACLE_TERM=xterm; export ORACLE_TERM&lt;br /&gt;PATH=/usr/sbin:$PATH; export PATH&lt;br /&gt;PATH=$ORACLE_HOME/bin:$PATH; export PATH&lt;br /&gt;LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH&lt;br /&gt;CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH&lt;br /&gt;if [ $USER = "oracle" ]; then&lt;br /&gt;if [ $SHELL = "/bin/ksh" ]; then&lt;br /&gt;ulimit -p 16384&lt;br /&gt;ulimit -n 65536&lt;br /&gt;else&lt;br /&gt;ulimit -u 16384 -n 65536&lt;br /&gt;fi&lt;br /&gt;fi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Executing the runInstaller&lt;br /&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-390b229bd2a81ba2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v9.nonxt5.googlevideo.com/videoplayback?id%3D390b229bd2a81ba2%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331621774%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D1DE9B8DBBBF5DF9B8FAB8881AC82813FA5AD655.5085EC0FDA7563789027B0F611C77FF3FDDC01A5%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D390b229bd2a81ba2%26offsetms%3D5000%26itag%3Dw160%26sigh%3Djhz9lsKqOTqfRGWNElt3poInLnM&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v9.nonxt5.googlevideo.com/videoplayback?id%3D390b229bd2a81ba2%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331621774%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D1DE9B8DBBBF5DF9B8FAB8881AC82813FA5AD655.5085EC0FDA7563789027B0F611C77FF3FDDC01A5%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D390b229bd2a81ba2%26offsetms%3D5000%26itag%3Dw160%26sigh%3Djhz9lsKqOTqfRGWNElt3poInLnM&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;runInstaller finished to run&lt;br /&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-974d923eea80801c" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v1.nonxt7.googlevideo.com/videoplayback?id%3D974d923eea80801c%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331621774%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D41C7AA300E26C8A5EEF4F40B98D47158BE8FF27B.71AD669BEE838671E210EDD268AFDCB69B1C5F5A%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D974d923eea80801c%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dx09liVU4CEqJ1DjCCYdk4sa4V1s&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v1.nonxt7.googlevideo.com/videoplayback?id%3D974d923eea80801c%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331621774%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D41C7AA300E26C8A5EEF4F40B98D47158BE8FF27B.71AD669BEE838671E210EDD268AFDCB69B1C5F5A%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D974d923eea80801c%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dx09liVU4CEqJ1DjCCYdk4sa4V1s&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;These steps describe how to install a listener and a database after the Oracle Database software is installed-&lt;br /&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-d162cf11fb93b6e8" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v6.nonxt4.googlevideo.com/videoplayback?id%3Dd162cf11fb93b6e8%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331621774%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D5E7AB968E8A67B5DB491B1E653394E9AD5B30044.66ABEEEFB7C8C73154A38639C761282A5448E67C%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Dd162cf11fb93b6e8%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dpw7PdfcprX9PUj2yDLoujUUa51I&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v6.nonxt4.googlevideo.com/videoplayback?id%3Dd162cf11fb93b6e8%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331621774%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D5E7AB968E8A67B5DB491B1E653394E9AD5B30044.66ABEEEFB7C8C73154A38639C761282A5448E67C%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Dd162cf11fb93b6e8%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dpw7PdfcprX9PUj2yDLoujUUa51I&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Final steps on Enterprise Manager Db console&lt;br /&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-41e4f28287e41ac9" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v11.nonxt7.googlevideo.com/videoplayback?id%3D41e4f28287e41ac9%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331621774%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D242B176FC0CB60C8CEB4346259F1CB35056D0674.69EC40BEB27DFD48644635B931D38BCF68A15262%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D41e4f28287e41ac9%26offsetms%3D5000%26itag%3Dw160%26sigh%3DgP0XrD6qf_MrFygFdq0QqpSDduA&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v11.nonxt7.googlevideo.com/videoplayback?id%3D41e4f28287e41ac9%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331621774%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D242B176FC0CB60C8CEB4346259F1CB35056D0674.69EC40BEB27DFD48644635B931D38BCF68A15262%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D41e4f28287e41ac9%26offsetms%3D5000%26itag%3Dw160%26sigh%3DgP0XrD6qf_MrFygFdq0QqpSDduA&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Regards&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-1921893796257479717?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=390b229bd2a81ba2&amp;type=video%2Fmp4' length='0'/><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=41e4f28287e41ac9&amp;type=video%2Fmp4' length='0'/><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=974d923eea80801c&amp;type=video%2Fmp4' length='0'/><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=d162cf11fb93b6e8&amp;type=video%2Fmp4' length='0'/><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/1921893796257479717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=1921893796257479717' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1921893796257479717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1921893796257479717'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/08/installing-oracle-11gr2-112010-on.html' title='Installing Oracle 11gR2 (11.2.0.1.0) on CentOS 5.5'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-770445517499412368</id><published>2010-04-28T15:18:00.006+01:00</published><updated>2010-04-28T15:45:23.328+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>11gR2: setup a larger /dev/shm after ORA-00845: MEMORY_TARGET not supported on this system</title><content type='html'>&lt;span class="dropcaps"&gt;I&lt;/span&gt;f you get the following error&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ORA-00845: MEMORY_TARGET not supported on this system&lt;br /&gt;&lt;br /&gt;while using 11g and the AMM feature... it's time to increase your memory mapped files on /dev/shm.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hF71VCpwI/AAAAAAAAB-4/sZ9AAA_P4jQ/s1600/dbca_2010-03-01_171035.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 126px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hF71VCpwI/AAAAAAAAB-4/sZ9AAA_P4jQ/s320/dbca_2010-03-01_171035.jpg" alt="" id="BLOGGER_PHOTO_ID_5465195042044028674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As usually I've setup my /dev/shm devices at about half (4GB) of physical memory (8GB). I'm on a ProLiant DL180G5 and using OEL5.4. So the following was my file system configuration:&lt;br /&gt;[root@rac31 ~]# df -h&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/cciss/c0d0p2     267G   25G  228G  10% /&lt;br /&gt;/dev/cciss/c0d0p1      99M   12M   82M  13% /boot&lt;br /&gt;tmpfs                 4.0G  192M  3.8G   5% /dev/shm&lt;br /&gt;/dev/emcpowerb1       134G  1.1G  133G   1% /u02/ocfs2&lt;br /&gt;/dev/emcpowerd1       5.0G  298M  4.8G   6% /u02/ocfs2_mirror&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hF7oPz-wI/AAAAAAAAB-w/22w-yVSy_1M/s1600/sga_2010-04-27_172451.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 94px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hF7oPz-wI/AAAAAAAAB-w/22w-yVSy_1M/s320/sga_2010-04-27_172451.jpg" alt="" id="BLOGGER_PHOTO_ID_5465195038532434690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And my /etc/fstab:&lt;br /&gt;[root@rac31 ~]# more /etc/fstab&lt;br /&gt;LABEL=/1                /                       ext3    defaults        1 1&lt;br /&gt;LABEL=/boot1            /boot                   ext3    defaults        1 2&lt;br /&gt;tmpfs                   /dev/shm                tmpfs   defaults        0 0&lt;br /&gt;devpts                  /dev/pts                devpts  gid=5,mode=620  0 0&lt;br /&gt;sysfs                   /sys                    sysfs   defaults        0 0&lt;br /&gt;proc                    /proc                   proc    defaults        0 0&lt;br /&gt;LABEL=SW-cciss/c0d0p3   swap                    swap    defaults        0 0&lt;br /&gt;/dev/emcpowerb1 /u02/ocfs2/ ocfs2 _netdev,datavolume,nointr 0 0&lt;br /&gt;/dev/emcpowerd1 /u02/ocfs2_mirror/ ocfs2 _netdev,datavolume,nointr 0 0&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9hF0zRfmCI/AAAAAAAAB-o/oIcn0MkJ6gY/s1600/sga_2010-04-27_172514.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 104px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9hF0zRfmCI/AAAAAAAAB-o/oIcn0MkJ6gY/s320/sga_2010-04-27_172514.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194921233192994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You have to edit /etc/fstab and change the previous tmpfs line with the following one:&lt;br /&gt;[root@rac31 ~]# vi /etc/fstab&lt;br /&gt;LABEL=/1                /                       ext3    defaults        1 1&lt;br /&gt;LABEL=/boot1            /boot                   ext3    defaults        1 2&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;tmpfs                   /dev/shm                tmpfs   size=6g        0 0&lt;/span&gt;&lt;br /&gt;devpts                  /dev/pts                devpts  gid=5,mode=620  0 0&lt;br /&gt;sysfs                   /sys                    sysfs   defaults        0 0&lt;br /&gt;proc                    /proc                   proc    defaults        0 0&lt;br /&gt;LABEL=SW-cciss/c0d0p3   swap                    swap    defaults        0 0&lt;br /&gt;/dev/emcpowerb1 /u02/ocfs2/ ocfs2 _netdev,datavolume,nointr 0 0&lt;br /&gt;/dev/emcpowerd1 /u02/ocfs2_mirror/ ocfs2 _netdev,datavolume,nointr 0 0&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hF0v6vcVI/AAAAAAAAB-g/VhKZhNaO1LE/s1600/sga_2010-04-27_172825.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 86px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hF0v6vcVI/AAAAAAAAB-g/VhKZhNaO1LE/s320/sga_2010-04-27_172825.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194920332456274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I then stopped CRS on only that node with the following command:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[root@rac31 ~]# /u01/app/11.2.0/grid/bin/crsctl stop crs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.crsd' on 'rac31'&lt;br /&gt;CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.DATA_RAC3.dg' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.FRA_RAC3.dg' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.registry.acfs' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.DATA_RAC3.dg' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac31' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.rac31.vip' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'rac31' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.scan1.vip' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.rac31.vip' on 'rac31' succeeded&lt;br /&gt;CRS-2672: Attempting to start 'ora.rac31.vip' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.scan1.vip' on 'rac31' succeeded&lt;br /&gt;CRS-2672: Attempting to start 'ora.scan1.vip' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.FRA_RAC3.dg' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.registry.acfs' on 'rac31' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.asm' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.asm' on 'rac31' succeeded&lt;br /&gt;CRS-2676: Start of 'ora.rac31.vip' on 'rac32' succeeded&lt;br /&gt;CRS-2676: Start of 'ora.scan1.vip' on 'rac32' succeeded&lt;br /&gt;CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'rac32'&lt;br /&gt;CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'rac32' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.eons' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.ons' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.ons' on 'rac31' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.net1.network' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.net1.network' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.eons' on 'rac31' succeeded&lt;br /&gt;CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac31' has completed&lt;br /&gt;CRS-2677: Stop of 'ora.crsd' on 'rac31' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.asm' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.ctssd' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.evmd' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.cssdmonitor' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.mdnsd' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.gpnpd' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.evmd' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.drivers.acfs' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.ctssd' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.asm' on 'rac31' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.cssd' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.cssd' on 'rac31' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.diskmon' on 'rac31'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.gipcd' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.gipcd' on 'rac31' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.diskmon' on 'rac31' succeeded&lt;br /&gt;CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac31' has completed&lt;br /&gt;CRS-4133: Oracle High Availability Services has been stopped.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hF0fMstdI/AAAAAAAAB-Y/eejVeCqP0zw/s1600/sga_2010-04-27_174100.jpg"&gt;&lt;img style="cursor: pointer; width: 314px; height: 320px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hF0fMstdI/AAAAAAAAB-Y/eejVeCqP0zw/s320/sga_2010-04-27_174100.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194915844371922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;No Oracle processes are now available.. I can simply reboot (yes I could mount it.. but I wanted to test it after a reboot)&lt;br /&gt;[root@rac31 ~]# ps -ef|grep oracle&lt;br /&gt;oracle    7079     1  0 Apr16 ?        00:00:01 /u01/app/oracle/product/11.2.0/dbhome_1/ccr/bin/nmz -cron -silent&lt;br /&gt;root     28585 25068  0 17:42 pts/0    00:00:00 grep oracle&lt;br /&gt;&lt;br /&gt;[root@rac31 ~]# reboot&lt;br /&gt;&lt;br /&gt;Broadcast message from root (pts/0) (Tue Apr 27 17:42:42 2010):&lt;br /&gt;&lt;br /&gt;The system is going down for reboot NOW!&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9hFzszskZI/AAAAAAAAB-Q/3Dv5AwOJrbg/s1600/sga_2010-04-27_174158.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 58px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9hFzszskZI/AAAAAAAAB-Q/3Dv5AwOJrbg/s320/sga_2010-04-27_174158.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194902317732242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hFzXGQXAI/AAAAAAAAB-I/EulUxGcKoQE/s1600/sga_2010-04-27_174805.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 195px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hFzXGQXAI/AAAAAAAAB-I/EulUxGcKoQE/s320/sga_2010-04-27_174805.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194896489995266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And just few minutes after the instance (there was only the ASM one) started up I looked at my file system again.&lt;br /&gt;[root@rac31 ~]# df -h&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/cciss/c0d0p2     267G   25G  228G  10% /&lt;br /&gt;/dev/cciss/c0d0p1      99M   12M   82M  13% /boot&lt;br /&gt;tmpfs                 6.0G  192M  5.9G   4% /dev/shm&lt;br /&gt;/dev/emcpowerb1       134G  1.1G  133G   1% /u02/ocfs2&lt;br /&gt;/dev/emcpowerd1       5.0G  295M  4.8G   6% /u02/ocfs2_mirror&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9hFmtZhxPI/AAAAAAAAB-A/JQ0oEzo6ON4/s1600/sga_2010-04-27_174824.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 97px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9hFmtZhxPI/AAAAAAAAB-A/JQ0oEzo6ON4/s320/sga_2010-04-27_174824.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194679138108658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ok... it mounted my devices and it was now 6GB.&lt;br /&gt;&lt;br /&gt;Now on the other node you have to repeat the same steps.&lt;br /&gt;[root@rac32 ~]# vi /etc/fstab&lt;br /&gt;LABEL=/                 /                       ext3    defaults        1 1&lt;br /&gt;LABEL=/boot             /boot                   ext3    defaults        1 2&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;tmpfs                   /dev/shm                tmpfs   size=6g        0 0&lt;/span&gt;&lt;br /&gt;devpts                  /dev/pts                devpts  gid=5,mode=620  0 0&lt;br /&gt;sysfs                   /sys                    sysfs   defaults        0 0&lt;br /&gt;proc                    /proc                   proc    defaults        0 0&lt;br /&gt;LABEL=SW-cciss/c0d0p3   swap                    swap    defaults        0 0&lt;br /&gt;/dev/emcpowerb1 /u02/ocfs2/ ocfs2 _netdev,datavolume,nointr 0 0&lt;br /&gt;/dev/emcpowerd1 /u02/ocfs2_mirror/ ocfs2 _netdev,datavolume,nointr 0 0&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9hFmByD_zI/AAAAAAAAB94/nEdxFYZgBrA/s1600/sga_2010-04-27_174932.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 90px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9hFmByD_zI/AAAAAAAAB94/nEdxFYZgBrA/s320/sga_2010-04-27_174932.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194667429855026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Stop the CRS.&lt;br /&gt;[root@rac32 ~]# &lt;span style="font-weight: bold;"&gt;/u01/app/11.2.0/grid/bin/crsctl stop crs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.crsd' on 'rac32'&lt;br /&gt;CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.DATA_RAC3.dg' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.FRA_RAC3.dg' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.registry.acfs' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.DATA_RAC3.dg' on 'rac32' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'rac32' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.rac32.vip' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'rac32' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.scan2.vip' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.rac32.vip' on 'rac32' succeeded&lt;br /&gt;CRS-2672: Attempting to start 'ora.rac32.vip' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.scan2.vip' on 'rac32' succeeded&lt;br /&gt;CRS-2672: Attempting to start 'ora.scan2.vip' on 'rac31'&lt;br /&gt;CRS-2677: Stop of 'ora.registry.acfs' on 'rac32' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.FRA_RAC3.dg' on 'rac32' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.asm' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.asm' on 'rac32' succeeded&lt;br /&gt;CRS-2676: Start of 'ora.rac32.vip' on 'rac31' succeeded&lt;br /&gt;CRS-2676: Start of 'ora.scan2.vip' on 'rac31' succeeded&lt;br /&gt;CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'rac31'&lt;br /&gt;CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'rac31' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.ons' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.eons' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.ons' on 'rac32' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.net1.network' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.net1.network' on 'rac32' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.eons' on 'rac32' succeeded&lt;br /&gt;CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'rac32' has completed&lt;br /&gt;CRS-2677: Stop of 'ora.crsd' on 'rac32' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.asm' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.ctssd' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.evmd' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.cssdmonitor' on 'rac32' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.evmd' on 'rac32' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.mdnsd' on 'rac32' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.ctssd' on 'rac32' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.drivers.acfs' on 'rac32' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.asm' on 'rac32' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.cssd' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.cssd' on 'rac32' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac32'&lt;br /&gt;CRS-2673: Attempting to stop 'ora.diskmon' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.gpnpd' on 'rac32' succeeded&lt;br /&gt;CRS-2673: Attempting to stop 'ora.gipcd' on 'rac32'&lt;br /&gt;CRS-2677: Stop of 'ora.gipcd' on 'rac32' succeeded&lt;br /&gt;CRS-2677: Stop of 'ora.diskmon' on 'rac32' succeeded&lt;br /&gt;CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac32' has completed&lt;br /&gt;CRS-4133: Oracle High Availability Services has been stopped.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9hFlr9iVCI/AAAAAAAAB9w/Lcy7Vb-XzHA/s1600/sga_2010-04-27_175650.jpg"&gt;&lt;img style="cursor: pointer; width: 314px; height: 320px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9hFlr9iVCI/AAAAAAAAB9w/Lcy7Vb-XzHA/s320/sga_2010-04-27_175650.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194661572400162" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After a reboot the ASM instance was running again&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9hFlRnto1I/AAAAAAAAB9o/aQmNnsSMlOM/s1600/sga_2010-04-27_180922.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 198px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9hFlRnto1I/AAAAAAAAB9o/aQmNnsSMlOM/s320/sga_2010-04-27_180922.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194654501544786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and my /dev/shm devie was 6GB.&lt;br /&gt;[root@rac32 ~]# df -h&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/cciss/c0d0p2     267G   16G  238G   7% /&lt;br /&gt;/dev/cciss/c0d0p1      99M   12M   82M  13% /boot&lt;br /&gt;tmpfs                 6.0G  192M  5.9G   4% /dev/shm&lt;br /&gt;/dev/emcpowerb1       134G  1.1G  133G   1% /u02/ocfs2&lt;br /&gt;/dev/emcpowerd1       5.0G  293M  4.8G   6% /u02/ocfs2_mirror&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9hFkxcTPEI/AAAAAAAAB9g/rsTjK_9n0t4/s1600/sga_2010-04-27_180931.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 92px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9hFkxcTPEI/AAAAAAAAB9g/rsTjK_9n0t4/s320/sga_2010-04-27_180931.jpg" alt="" id="BLOGGER_PHOTO_ID_5465194645863742530" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-770445517499412368?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/770445517499412368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=770445517499412368' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/770445517499412368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/770445517499412368'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/04/11gr2-setup-larger-devshm-after-ora.html' title='11gR2: setup a larger /dev/shm after ORA-00845: MEMORY_TARGET not supported on this system'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_FgrxeU6xYKM/S9hF71VCpwI/AAAAAAAAB-4/sZ9AAA_P4jQ/s72-c/dbca_2010-03-01_171035.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-2325226794486610696</id><published>2010-04-28T14:57:00.006+01:00</published><updated>2010-04-28T15:18:11.416+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>11gR2: how to remove file from ASM diskgroup</title><content type='html'>&lt;span class="dropcaps"&gt;I&lt;/span&gt; needed to delete some asm files from my previous database installation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I wanted to use ASMCMD tool so I loaded my ASM environment:&lt;br /&gt;[oracle@rac32 ~]$ . oraenv&lt;br /&gt;ORACLE_SID = [RAC32] ? +ASM2&lt;br /&gt;The Oracle base for ORACLE_HOME=/u01/app/11.2.0/grid is /u01/app/oracle&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9g_oTsOaOI/AAAAAAAAB9Y/EkDC2_K5hww/s1600/asmcmd_2010-04-28_111702.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 54px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9g_oTsOaOI/AAAAAAAAB9Y/EkDC2_K5hww/s320/asmcmd_2010-04-28_111702.jpg" alt="" id="BLOGGER_PHOTO_ID_5465188109527181538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then I entered into asmcms tool:&lt;br /&gt;[oracle@rac32 ~]$ asmcmd&lt;br /&gt;ASMCMD&gt; ls&lt;br /&gt;DATA_RAC3/&lt;br /&gt;FRA_RAC3/&lt;br /&gt;ASMCMD&gt; exit&lt;br /&gt;[oracle@nov2211 ~]$ asmcmd -p&lt;br /&gt;ASMCMD [+] &gt; cd DATA_RAC3&lt;br /&gt;ASMCMD [+DATA_RAC3] &gt; ls&lt;br /&gt;RAC3/&lt;br /&gt;ASMCMD [+DATA_RAC3] &gt; cd RAC3&lt;br /&gt;ASMCMD [+DATA_RAC3/RAC3] &gt; ls&lt;br /&gt;ARCHIVELOG/&lt;br /&gt;ASMPARAMETERFILE/&lt;br /&gt;OCRFILE/&lt;br /&gt;&lt;br /&gt;Ok .. there are some files and I would like to remove them.&lt;br /&gt;ASMCMD [+DATA_RAC3/RAC3] &gt; rm ARCHIVE*&lt;br /&gt;You may delete multiple files and/or directories.&lt;br /&gt;Are you sure? (y/n) y&lt;br /&gt;ORA-15032: not all alterations performed&lt;br /&gt;ORA-15177: cannot operate on system aliases (DBD ERROR: OCIStmtExecute)&lt;br /&gt;&lt;br /&gt;That error could be tied at the metalink note 444812.1 and bug 3751057.8&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9g_nu5G91I/AAAAAAAAB9Q/q1-5HAyY1ig/s1600/asmcmd_2010-04-28_122708.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 171px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9g_nu5G91I/AAAAAAAAB9Q/q1-5HAyY1ig/s320/asmcmd_2010-04-28_122708.jpg" alt="" id="BLOGGER_PHOTO_ID_5465188099649107794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In that doc id they suggest to run a sql script and recreate the alter diskgroup drop file syntax.&lt;br /&gt;Likely I found the following link (and thanks to               Freek D'Hooge) &lt;a href="http://www.dba-village.com/village/dvp_scripts.ScriptDetails?ScriptIdA=2403#"&gt;http://www.dba-village.com/village/dvp_scripts.ScriptDetails?ScriptIdA=2403#&lt;/a&gt;&lt;br /&gt;that help me to reach my goal.&lt;br /&gt;SQL&gt; column a format a120&lt;br /&gt;SQL&gt; set linesize 120&lt;br /&gt;SQL&gt; select 'alter diskgroup ' || gname || ' drop file ''+' || gname || sys_connect_by_path(aname, '/') || ''';' a&lt;br /&gt; 2  from ( select b.name gname, a.parent_index pindex, a.name aname,&lt;br /&gt; 3                a.reference_index rindex , a.system_created, a.alias_directory&lt;br /&gt; 4         from v$asm_alias a, v$asm_diskgroup b&lt;br /&gt; 5         where a.group_number = b.group_number&lt;br /&gt; 6       )&lt;br /&gt; 7  where alias_directory = 'N'&lt;br /&gt; 8        and system_created = 'Y'&lt;br /&gt; 9  start with (mod(pindex, power(2, 24))) = 0&lt;br /&gt;10              and rindex in&lt;br /&gt;11                  ( select a.reference_index&lt;br /&gt;12                    from v$asm_alias a, v$asm_diskgroup b&lt;br /&gt;13                    where a.group_number = b.group_number&lt;br /&gt;14                          and (mod(a.parent_index, power(2, 24))) = 0&lt;br /&gt;15                          and a.name = '&amp;amp;DATABASENAME'&lt;br /&gt;16                  )&lt;br /&gt;17  connect by prior rindex = pindex;&lt;br /&gt;Enter value for databasename: RAC3&lt;br /&gt;old  15:                         and a.name = '&amp;amp;DATABASENAME'&lt;br /&gt;new  15:                         and a.name = 'RAC3'&lt;br /&gt;&lt;br /&gt;A&lt;br /&gt;------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ASMPARAMETERFILE/REGISTRY.253.706985453';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/OCRFILE/REGISTRY.255.706985457';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_01_08/thread_1_seq_81.272.707781651';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_01_08/thread_2_seq_30.271.707775999';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_01_08/thread_1_seq_80.270.707775999';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_01_08/thread_1_seq_82.273.707787599';&lt;br /&gt;...&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_03_25/thread_1_seq_699.1067.714573049';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_03_25/thread_1_seq_700.1058.714573053';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_03_25/thread_1_seq_701.1066.714573059';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_03_25/thread_2_seq_579.1065.714573061';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_03_25/thread_1_seq_702.1064.714573069';&lt;br /&gt;alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_03_25/thread_1_seq_691.1452.714532055';&lt;br /&gt;&lt;br /&gt;1176 rows selected.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9g_nUKAeqI/AAAAAAAAB9I/f3njPQClYVY/s1600/asmcmd_2010-04-28_122800.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 159px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9g_nUKAeqI/AAAAAAAAB9I/f3njPQClYVY/s320/asmcmd_2010-04-28_122800.jpg" alt="" id="BLOGGER_PHOTO_ID_5465188092472228514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then I simply copied and executed the output:&lt;br /&gt;SQL&gt; alter diskgroup DATA_RAC3 drop file '+DATA_RAC3/RAC3/ARCHIVELOG/2010_01_08/thread_1_seq_81.272.707781651';&lt;br /&gt;&lt;br /&gt;Diskgroup altered.&lt;br /&gt;&lt;br /&gt;[oracle@nov2211 ~]$ asmcmd -p&lt;br /&gt;ASMCMD [+] &gt; lsdg&lt;br /&gt;State    Type    Rebal  Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name&lt;br /&gt;MOUNTED  EXTERN  N         512   4096  1048576    511993   511882                0          511882              0             N  DATA_RAC3/&lt;br /&gt;MOUNTED  EXTERN  N         512   4096  1048576    511993   511896                0          511896              0             N  FRA_RAC3/&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9g_nI1SvxI/AAAAAAAAB9A/1quG0e-g8Wo/s1600/asmcmd_2010-04-28_122836.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 19px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9g_nI1SvxI/AAAAAAAAB9A/1quG0e-g8Wo/s320/asmcmd_2010-04-28_122836.jpg" alt="" id="BLOGGER_PHOTO_ID_5465188089432555282" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9g_m1wrn4I/AAAAAAAAB84/tCc_I2bl6LY/s1600/asmcmd_2010-04-28_122913.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 42px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9g_m1wrn4I/AAAAAAAAB84/tCc_I2bl6LY/s320/asmcmd_2010-04-28_122913.jpg" alt="" id="BLOGGER_PHOTO_ID_5465188084312940418" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That's all&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-2325226794486610696?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/2325226794486610696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=2325226794486610696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2325226794486610696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2325226794486610696'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/04/11gr2-how-to-remove-file-from-asm.html' title='11gR2: how to remove file from ASM diskgroup'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_FgrxeU6xYKM/S9g_oTsOaOI/AAAAAAAAB9Y/EkDC2_K5hww/s72-c/asmcmd_2010-04-28_111702.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-7972625482574650198</id><published>2010-04-23T11:45:00.006+01:00</published><updated>2010-04-28T15:16:28.234+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>11gR2: adding a mirrored voting disk on OCFS2 file system</title><content type='html'>&lt;span class="dropcaps"&gt;I&lt;/span&gt; want to add a mirrored voting disk after migration from ASM to OCFS2.&lt;br /&gt;The following is my current configuration:&lt;br /&gt;/u01/app/11.2.0/grid/bin/crsctl query css votedisk&lt;br /&gt;##  STATE    File Universal Id                File Name Disk group&lt;br /&gt;--  -----    -----------------                --------- ---------&lt;br /&gt;1. ONLINE   353efdf9e50d4f93bf71c6aa84b9e19b (/u02/ocfs2/css/vdisk) []&lt;br /&gt;Located 1 voting disk(s).&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9F6zctouZI/AAAAAAAAB8g/BSikPsEs8ac/s1600/asmcarm_2010-04-23_105834.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 59px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9F6zctouZI/AAAAAAAAB8g/BSikPsEs8ac/s320/asmcarm_2010-04-23_105834.jpg" alt="" id="BLOGGER_PHOTO_ID_5463282847276644754" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Create a new directory on mirrored location&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9F6yywEkQI/AAAAAAAAB8Y/6D7c7K2gXLE/s1600/asmcarm_2010-04-23_105842.jpg"&gt;&lt;img style="cursor: pointer; width: 286px; height: 26px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9F6yywEkQI/AAAAAAAAB8Y/6D7c7K2gXLE/s320/asmcarm_2010-04-23_105842.jpg" alt="" id="BLOGGER_PHOTO_ID_5463282836012568834" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Set the right permissions, as I did:&lt;br /&gt;touch css/vdisk&lt;br /&gt;chown -R oracle.oinstall css/&lt;br /&gt;&lt;br /&gt;and check if all is right&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9F6ylsp_VI/AAAAAAAAB8Q/F5iWW3okeB8/s1600/asmcarm_2010-04-23_110024.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 85px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9F6ylsp_VI/AAAAAAAAB8Q/F5iWW3okeB8/s320/asmcarm_2010-04-23_110024.jpg" alt="" id="BLOGGER_PHOTO_ID_5463282832508583250" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now execute the command to add another voting disk:&lt;br /&gt;/u01/app/11.2.0/grid/bin/crsctl add css votedisk /u02/ocfs2_mirror/css/vdisk&lt;br /&gt;Now formatting voting disk: /u02/ocfs2_mirror/css/vdisk.&lt;br /&gt;CRS-4603: Successful addition of voting disk /u02/ocfs2_mirror/css/vdisk.&lt;br /&gt;&lt;br /&gt;As you can see, I have now two voting disk files.&lt;br /&gt;/u01/app/11.2.0/grid/bin/crsctl query css votedisk&lt;br /&gt;##  STATE    File Universal Id                File Name Disk group&lt;br /&gt;--  -----    -----------------                --------- ---------&lt;br /&gt;1. ONLINE   353efdf9e50d4f93bf71c6aa84b9e19b (/u02/ocfs2/css/vdisk) []&lt;br /&gt;2. ONLINE   0c254a5cdcd14f9bbfef2866447e908c (/u02/ocfs2_mirror/css/vdisk) []&lt;br /&gt;Located 2 voting disk(s).&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9F6yYgv_zI/AAAAAAAAB8I/xP85MJNDzsk/s1600/asmcarm_2010-04-23_110226.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 58px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9F6yYgv_zI/AAAAAAAAB8I/xP85MJNDzsk/s320/asmcarm_2010-04-23_110226.jpg" alt="" id="BLOGGER_PHOTO_ID_5463282828968984370" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But what about if I want to have a mirrored copy also on Oracle ASM ?&lt;br /&gt;It's simply not possible even if from the documentation I didn't find about it.&lt;br /&gt;/u01/app/11.2.0/grid/bin/crsctl add css votedisk +DATA_RAC3&lt;br /&gt;CRS-4671: This command is not supported for ASM diskgroups.&lt;br /&gt;CRS-4000: Command Add failed, or completed with errors.&lt;br /&gt;&lt;br /&gt;The command is not supported. I can mention this documentation note from "Clusterware Administration and Deployment Guide" (e10717.pdf):&lt;br /&gt;Oracle does not support storing the OCR on different storage types simultaneously, such as storing OCR on both Oracle ASM and a shared file system, except during a migration.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9F6yDOxqSI/AAAAAAAAB8A/Hsj5CJgq2sw/s1600/asmcarm_2010-04-23_110903.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 29px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9F6yDOxqSI/AAAAAAAAB8A/Hsj5CJgq2sw/s320/asmcarm_2010-04-23_110903.jpg" alt="" id="BLOGGER_PHOTO_ID_5463282823256451362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-7972625482574650198?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/7972625482574650198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=7972625482574650198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7972625482574650198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7972625482574650198'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/04/11gr2-adding-mirrored-voting-disk-on.html' title='11gR2: adding a mirrored voting disk on OCFS2 file system'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/S9F6zctouZI/AAAAAAAAB8g/BSikPsEs8ac/s72-c/asmcarm_2010-04-23_105834.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-912600695089456330</id><published>2010-04-23T10:38:00.006+01:00</published><updated>2010-04-23T11:38:50.806+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>11gR2: removing a mirrored Oracle Cluster Registry and adding again</title><content type='html'>&lt;div&gt;&lt;span class="dropcaps"&gt;I&lt;/span&gt; want to test a scenario where one of my OCR file is lost.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;This is what I have done. Now let's have a look at my OCR configuration.&lt;br /&gt;&lt;/div&gt;/u01/app/11.2.0/grid/bin/ocrcheck&lt;br /&gt;Status of Oracle Cluster Registry is as follows :&lt;br /&gt;        Version                  :          3&lt;br /&gt;        Total space (kbytes)     :     262120&lt;br /&gt;        Used space (kbytes)      :       2708&lt;br /&gt;        Available space (kbytes) :     259412&lt;br /&gt;        ID                       : 2044210075&lt;br /&gt;        Device/File Name         : /u02/ocfs2/ocr/OCRFile&lt;br /&gt;                                   Device/File integrity check succeeded&lt;br /&gt;        Device/File Name         : /u02/ocfs2_mirror/ocr/OCRFile&lt;br /&gt;                                   Device/File integrity check succeeded&lt;br /&gt;&lt;br /&gt;                                   Device/File not configured&lt;br /&gt;&lt;br /&gt;                                   Device/File not configured&lt;br /&gt;&lt;br /&gt;                                   Device/File not configured&lt;br /&gt;&lt;br /&gt;        Cluster registry integrity check succeeded&lt;br /&gt;&lt;br /&gt;        Logical corruption check succeeded&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;br /&gt;As you can see I've two mirrored OCR files one on /u02/ocfs2/ path and another on /u02/ocfs2_mirror/. For your information, these paths are on two different LUNs formed by several disks and on a RAID-1 configuration&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9FtLFQN-6I/AAAAAAAAB7w/snLdvlgRP20/s1600/asmcarm_2010-04-23_112824.jpg"&gt;&lt;img style="width: 320px; height: 170px;" id="BLOGGER_PHOTO_ID_5463267860133313442" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9FtLFQN-6I/AAAAAAAAB7w/snLdvlgRP20/s320/asmcarm_2010-04-23_112824.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Here is where my mirrored OCR file exists.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9FtLWsYFGI/AAAAAAAAB74/2cX8EZX8gMY/s1600/asmcarm_2010-04-23_112837.jpg"&gt;&lt;img style="width: 320px; height: 71px;" id="BLOGGER_PHOTO_ID_5463267864814818402" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S9FtLWsYFGI/AAAAAAAAB74/2cX8EZX8gMY/s320/asmcarm_2010-04-23_112837.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Now I delete it&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9FscezfXrI/AAAAAAAAB7I/X_ObdudTvKM/s1600/asmcarm_2010-04-23_112850.jpg"&gt;&lt;img style="width: 320px; height: 21px;" id="BLOGGER_PHOTO_ID_5463267059538288306" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S9FscezfXrI/AAAAAAAAB7I/X_ObdudTvKM/s320/asmcarm_2010-04-23_112850.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;Issuing:&lt;br /&gt;/u01/app/11.2.0/grid/bin/ocrcheck&lt;br /&gt;PROT-602: Failed to retrieve data from the cluster registry&lt;br /&gt;PROC-26: Error while accessing the physical storage&lt;br /&gt;&lt;br /&gt;it says it's no more able to get data from OCR, even if my cluster is still up.&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FscynkcZI/AAAAAAAAB7Y/P17GBbEbZPU/s1600/asmcarm_2010-04-23_112928.jpg"&gt;&lt;img style="width: 320px; height: 56px;" id="BLOGGER_PHOTO_ID_5463267064856998290" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FscynkcZI/AAAAAAAAB7Y/P17GBbEbZPU/s320/asmcarm_2010-04-23_112928.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;Now I try to recreate the "lost" OCR mirrored file&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FscqAJo3I/AAAAAAAAB7Q/pYih6RsimF8/s1600/asmcarm_2010-04-23_112911.jpg"&gt;&lt;img style="width: 320px; height: 51px;" id="BLOGGER_PHOTO_ID_5463267062544180082" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FscqAJo3I/AAAAAAAAB7Q/pYih6RsimF8/s320/asmcarm_2010-04-23_112911.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;At first I simply tried to add the new OCR file, but I got:&lt;br /&gt;/u01/app/11.2.0/grid/bin/ocrconfig -add /u02/ocfs2_mirror/ocr/OCRFile&lt;br /&gt;PROT-29: The Oracle Cluster Registry location is already configured&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9FsdLlCOSI/AAAAAAAAB7g/tTreidyx90Y/s1600/asmcarm_2010-04-23_112941.jpg"&gt;&lt;img style="width: 320px; height: 14px;" id="BLOGGER_PHOTO_ID_5463267071557253410" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9FsdLlCOSI/AAAAAAAAB7g/tTreidyx90Y/s320/asmcarm_2010-04-23_112941.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Clear... I have to first remove from the configuration the "old" location of lost OCR file and then add it again.&lt;br /&gt;/u01/app/11.2.0/grid/bin/ocrconfig -delete /u02/ocfs2_mirror/ocr/OCRFile&lt;br /&gt;/u01/app/11.2.0/grid/bin/ocrconfig -add /u02/ocfs2_mirror/ocr/OCRFile&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9FsdmXQGwI/AAAAAAAAB7o/AZXzJb6nUdg/s1600/asmcarm_2010-04-23_112959.jpg"&gt;&lt;img style="width: 320px; height: 134px;" id="BLOGGER_PHOTO_ID_5463267078747200258" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S9FsdmXQGwI/AAAAAAAAB7o/AZXzJb6nUdg/s320/asmcarm_2010-04-23_112959.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;As you can see my OCR configuration is mirrored again:&lt;br /&gt;/u01/app/11.2.0/grid/bin/ocrcheck&lt;br /&gt;Status of Oracle Cluster Registry is as follows :&lt;br /&gt;        Version                  :          3&lt;br /&gt;        Total space (kbytes)     :     262120&lt;br /&gt;        Used space (kbytes)      :       2708&lt;br /&gt;        Available space (kbytes) :     259412&lt;br /&gt;        ID                       : 2044210075&lt;br /&gt;        Device/File Name         : /u02/ocfs2/ocr/OCRFile&lt;br /&gt;                                   Device/File integrity check succeeded&lt;br /&gt;        Device/File Name         : /u02/ocfs2_mirror/ocr/OCRFile&lt;br /&gt;                                   Device/File integrity check succeeded&lt;br /&gt;&lt;br /&gt;                                   Device/File not configured&lt;br /&gt;&lt;br /&gt;                                   Device/File not configured&lt;br /&gt;&lt;br /&gt;                                   Device/File not configured&lt;br /&gt;&lt;br /&gt;        Cluster registry integrity check succeeded&lt;br /&gt;&lt;br /&gt;        Logical corruption check succeeded&lt;br /&gt;&lt;br /&gt;That's all.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-912600695089456330?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/912600695089456330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=912600695089456330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/912600695089456330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/912600695089456330'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/04/11gr2-removing-mirrored-oracle-cluster.html' title='11gR2: removing a mirrored Oracle Cluster Registry and adding again'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/S9FtLFQN-6I/AAAAAAAAB7w/snLdvlgRP20/s72-c/asmcarm_2010-04-23_112824.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-9048350959421948203</id><published>2010-04-21T16:51:00.008+01:00</published><updated>2010-04-23T10:17:17.629+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>11gR2: Migrating Oracle Cluster Registry from Oracle ASM to Other Types of Storage</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;he following are the steps to migrate OCR from Oracle ASM to OCFS2. According to "Clusterware Administration and Deployment Guide" (e10717.pdf) run /u01/app/11.2.0/grid/bin/ocrcheck to see the status of cluster registry. Then create a file (just touch it) under the preferred directory and set the right permissions. This is what I did as root user:&lt;br /&gt;&lt;br /&gt;touch /u02/ocfs2/ocr/OCRFile&lt;br /&gt;chown root.oinstall /u02/ocfs2/ocr/OCRFile&lt;br /&gt;chmod 640 /u02/ocfs2/ocr/OCRFile&lt;br /&gt;&lt;br /&gt;Then add your new OCR file to the final directory:&lt;br /&gt;&lt;br /&gt;/u01/app/11.2.0/grid/bin/ocrconfig -add /u02/ocfs2/ocr/OCRFile&lt;br /&gt;&lt;br /&gt;and check again the OCR status:&lt;br /&gt;&lt;br /&gt;/uo1/app/11.2.0./grid/bin/ocrcheck&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S88fqaLKyCI/AAAAAAAAB6Y/rKcCfrPCX-g/s1600/asmcarm_2010-04-12_165609.jpg"&gt;&lt;img style="WIDTH: 272px; HEIGHT: 320px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462619686464833570" border="0" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S88fqaLKyCI/AAAAAAAAB6Y/rKcCfrPCX-g/s320/asmcarm_2010-04-12_165609.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S88fqHt1PjI/AAAAAAAAB6I/bqoc3ERLEis/s1600/asmcarm_2010-04-12_165841.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 198px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462619681509948978" border="0" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S88fqHt1PjI/AAAAAAAAB6I/bqoc3ERLEis/s320/asmcarm_2010-04-12_165841.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now it's time to remove OCR file from ASM.&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88fpv7sUkI/AAAAAAAAB6A/0kQBMxyiKMs/s1600/asmcarm_2010-04-12_165927.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 205px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462619675125633602" border="0" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88fpv7sUkI/AAAAAAAAB6A/0kQBMxyiKMs/s320/asmcarm_2010-04-12_165927.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Nothing to do on second node.&lt;br /&gt;That's all. &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-9048350959421948203?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/9048350959421948203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=9048350959421948203' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/9048350959421948203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/9048350959421948203'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/04/11gr2-migrating-oracle-cluster-registry.html' title='11gR2: Migrating Oracle Cluster Registry from Oracle ASM to Other Types of Storage'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/S88fqaLKyCI/AAAAAAAAB6Y/rKcCfrPCX-g/s72-c/asmcarm_2010-04-12_165609.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-4292000943421530083</id><published>2010-04-21T16:08:00.010+01:00</published><updated>2010-04-22T10:37:28.183+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>11gR2: Migrating Voting Disks from Oracle ASM to Other Types of Storage</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;he following are the steps to migrate voting disk from Oracle ASM to OCFS2. During these steps I found a problem already documented on metalink as a documentation bug, that is documentation is missing some informations.&lt;br /&gt;&lt;br /&gt;Run&lt;br /&gt;&lt;br /&gt;/u01/app/11.2.0/grid/bin/crsctl query css votedisk&lt;br /&gt;&lt;br /&gt;to see the status and location of voting disk (in the following image it's the second command displayed just after ocrcheck command)&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S88dAmil-XI/AAAAAAAAB5A/MaUjQ4p6GYI/s1600/asmcarm_2010-03-25_155602.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 226px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462616769206548850" border="0" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S88dAmil-XI/AAAAAAAAB5A/MaUjQ4p6GYI/s320/asmcarm_2010-03-25_155602.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Create on the shared OCFS2 file system a directory where relocate the voting disk and set the right permissions. I've created ocr (useful for me for relocate also OCR file on OCFS2 file system) and css directories, owned by oracle: &lt;p&gt;&lt;/p&gt;&lt;p&gt;chown -R oracle.oinstall css&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S88dBOB3uYI/AAAAAAAAB5I/jfnIthcZ6QM/s1600/asmcarm_2010-03-25_161355.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 122px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462616779806718338" border="0" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S88dBOB3uYI/AAAAAAAAB5I/jfnIthcZ6QM/s320/asmcarm_2010-03-25_161355.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now it's time to run the following command (on the image below just look at the second command issued. On the first one I've missed to write the voting disk file name):&lt;br /&gt;&lt;br /&gt;/u01/app/11.2.0/grid/bin/crsctl replace votedisk /u02/ocfs2/css/vdisk&lt;br /&gt;but I received the following errors:&lt;br /&gt;CRS-4256: Updating the profile&lt;br /&gt;Failed to update the profile with the new discovery string&lt;br /&gt;CRS-4000: Command Replace failed, or completed with errors.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88dBcptZCI/AAAAAAAAB5Q/kMnpvVjivsk/s1600/asmcarm_2010-03-25_162451.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 96px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462616783731909666" border="0" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88dBcptZCI/AAAAAAAAB5Q/kMnpvVjivsk/s320/asmcarm_2010-03-25_162451.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And indeed the voting disk is still on Oracle ASM&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S88dBY58tII/AAAAAAAAB5Y/HsdVdLjIYBk/s1600/asmcarm_2010-03-25_162559.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 128px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462616782726280322" border="0" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S88dBY58tII/AAAAAAAAB5Y/HsdVdLjIYBk/s320/asmcarm_2010-03-25_162559.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Under css directory, a file was created. Having a look on permissions granted on that vdisk file... we can see it's owned by oracle.root. &lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88dBraYRQI/AAAAAAAAB5g/jIyEwRhdqr8/s1600/asmcarm_2010-04-09_105802.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 49px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462616787694142722" border="0" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88dBraYRQI/AAAAAAAAB5g/jIyEwRhdqr8/s320/asmcarm_2010-04-09_105802.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Delete that file, create a new empty one (just touch it) and grant the following permissions:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;chown oracle.oinstall vdisk&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88d4UhxHaI/AAAAAAAAB5o/J0WtKoaO3Vc/s1600/asmcarm_2010-04-09_105822.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 123px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462617726443920802" border="0" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88d4UhxHaI/AAAAAAAAB5o/J0WtKoaO3Vc/s320/asmcarm_2010-04-09_105822.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Using the previous command it's finally able to replace the voting disk.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88d4eydgUI/AAAAAAAAB5w/V718_shP1fc/s1600/asmcarm_2010-04-09_105837.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 37px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462617729198293314" border="0" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88d4eydgUI/AAAAAAAAB5w/V718_shP1fc/s320/asmcarm_2010-04-09_105837.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now you can see that the new voting disk is relocated on file system&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88d4-d7bDI/AAAAAAAAB54/sezq1fN0boc/s1600/asmcarm_2010-04-09_125825.jpg"&gt;&lt;img style="WIDTH: 320px; HEIGHT: 69px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5462617737702108210" border="0" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S88d4-d7bDI/AAAAAAAAB54/sezq1fN0boc/s320/asmcarm_2010-04-09_125825.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That's all.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-4292000943421530083?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/4292000943421530083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=4292000943421530083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4292000943421530083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4292000943421530083'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/04/11gr2-migrating-voting-disks-from.html' title='11gR2: Migrating Voting Disks from Oracle ASM to Other Types of Storage'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/S88dAmil-XI/AAAAAAAAB5A/MaUjQ4p6GYI/s72-c/asmcarm_2010-03-25_155602.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-7438510788616329569</id><published>2010-03-09T15:38:00.005+01:00</published><updated>2010-03-09T15:55:53.594+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCHEMA MANAGEMENT'/><title type='text'>How to install Oracle STATSPACK</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;o install STATSPACK utility, I created a new tablespace to associate later to a new user, PERFSTAT created using spcreate.sql script&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5Zdn1xmxbI/AAAAAAAAB44/2RZEtokmmqQ/s1600-h/stats_2010-02-12_165013.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446643738382615986" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 166px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5Zdn1xmxbI/AAAAAAAAB44/2RZEtokmmqQ/s320/stats_2010-02-12_165013.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This script is located at:&lt;br /&gt;/u01/app/oracle/product/10.2.0/db_1/rdbms/admin/spcreate.sql&lt;br /&gt;&lt;br /&gt;Log in as SYS user and then run the sql script. It will ask for PERFSTAT password and his default and temporary tablespaces. Try to choose a good password because that user will have many privileges.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZdnjGuA9I/AAAAAAAAB4w/SXa3oYoU5VI/s1600-h/stats_2010-02-12_165250.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446643733370897362" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 257px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZdnjGuA9I/AAAAAAAAB4w/SXa3oYoU5VI/s320/stats_2010-02-12_165250.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If no error is reported STATSPACK tool is available to use.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5ZdnSakxMI/AAAAAAAAB4o/2-lV1VDey4c/s1600-h/stats_2010-02-12_165259.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446643728890774722" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 186px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5ZdnSakxMI/AAAAAAAAB4o/2-lV1VDey4c/s320/stats_2010-02-12_165259.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To simply create a new snap, connect as PERFSTAT user and then run:&lt;br /&gt;SQL&gt; exec statspack.snap;&lt;br /&gt;&lt;br /&gt;Get another snapshot after 15-20 minutes.&lt;br /&gt;To view the available snapshot use the following query:&lt;br /&gt;SQL&gt; select name,snap_id,to_char(snap_time,'DD.MM.YYYY:HH24:MI:SS')&lt;br /&gt;"Date/Time" from stats$snapshot,v$database;&lt;br /&gt;&lt;br /&gt;NAME SNAP_ID Date/Time&lt;br /&gt;--------- ---------- -------------------&lt;br /&gt;BILLING 21 17.02.2010:17:44:09&lt;br /&gt;BILLING 22 17.02.2010:17:59:46&lt;br /&gt;BILLING 1 16.02.2010:12:52:04&lt;br /&gt;BILLING 11 16.02.2010:13:04:14&lt;br /&gt;&lt;br /&gt;To create a new report run:&lt;br /&gt;SQL&gt; @/u01/app/oracle/product/10.2.0/db_1/rdbms/admin/spreport.sql&lt;br /&gt;&lt;br /&gt;It will ask for two SNAP_ID, a report file name... and then your report will be created.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-7438510788616329569?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/7438510788616329569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=7438510788616329569' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7438510788616329569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7438510788616329569'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/03/how-to-install-oracle-statspack.html' title='How to install Oracle STATSPACK'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_FgrxeU6xYKM/S5Zdn1xmxbI/AAAAAAAAB44/2RZEtokmmqQ/s72-c/stats_2010-02-12_165013.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-2859384610854923221</id><published>2010-03-09T14:59:00.009+01:00</published><updated>2010-03-09T15:34:29.914+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>Adding a new database on 11gR2 using dbca</title><content type='html'>&lt;span class="dropcaps"&gt;I&lt;/span&gt; needed to add a new database to test some BACKUP/RESTORE commands.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5ZWgRSwGbI/AAAAAAAAB4g/M8BKxKI3TUE/s1600-h/dbca_2010-02-03_165416.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635911749048754" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 77px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5ZWgRSwGbI/AAAAAAAAB4g/M8BKxKI3TUE/s320/dbca_2010-02-03_165416.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZWgEjszcI/AAAAAAAAB4Y/D0kt_CKi_q4/s1600-h/dbca_2010-02-03_165508.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635908330474946" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZWgEjszcI/AAAAAAAAB4Y/D0kt_CKi_q4/s320/dbca_2010-02-03_165508.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZWf12rjsI/AAAAAAAAB4Q/h-NAF49KKP0/s1600-h/dbca_2010-02-03_165530.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635904383553218" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZWf12rjsI/AAAAAAAAB4Q/h-NAF49KKP0/s320/dbca_2010-02-03_165530.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I selected a Custom Database&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZWfk6GZAI/AAAAAAAAB4I/hPwGaW0DQHk/s1600-h/dbca_2010-02-03_165603.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635899834491906" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZWfk6GZAI/AAAAAAAAB4I/hPwGaW0DQHk/s320/dbca_2010-02-03_165603.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZWfeyBUHI/AAAAAAAAB4A/hwy8SQLiSgk/s1600-h/dbca_2010-02-03_165910.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635898189992050" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZWfeyBUHI/AAAAAAAAB4A/hwy8SQLiSgk/s320/dbca_2010-02-03_165910.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S5ZWRn-tCsI/AAAAAAAAB34/Pzv9JG7yrw4/s1600-h/dbca_2010-02-03_165949.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635660140939970" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S5ZWRn-tCsI/AAAAAAAAB34/Pzv9JG7yrw4/s320/dbca_2010-02-03_165949.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S5ZWRoxdkCI/AAAAAAAAB3w/12ztWIAiWcE/s1600-h/dbca_2010-02-03_165954.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635660353835042" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S5ZWRoxdkCI/AAAAAAAAB3w/12ztWIAiWcE/s320/dbca_2010-02-03_165954.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S5ZWRaWG8OI/AAAAAAAAB3o/C1FpuA4hJlw/s1600-h/dbca_2010-02-03_170006.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635656481009890" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S5ZWRaWG8OI/AAAAAAAAB3o/C1FpuA4hJlw/s320/dbca_2010-02-03_170006.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I used the same ASM disk groups available for an already active database.&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZWRAIWsYI/AAAAAAAAB3g/5uo5oSoFYU8/s1600-h/dbca_2010-03-01_164540.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635649444000130" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZWRAIWsYI/AAAAAAAAB3g/5uo5oSoFYU8/s320/dbca_2010-03-01_164540.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZWQ79xEXI/AAAAAAAAB3Y/uMHX5Vf-LzU/s1600-h/dbca_2010-03-01_164601.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635648325849458" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 97px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZWQ79xEXI/AAAAAAAAB3Y/uMHX5Vf-LzU/s320/dbca_2010-03-01_164601.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5ZV8HFl3kI/AAAAAAAAB3Q/1F0q5-V8jsk/s1600-h/dbca_2010-03-01_164643.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635290534207042" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5ZV8HFl3kI/AAAAAAAAB3Q/1F0q5-V8jsk/s320/dbca_2010-03-01_164643.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZV70QnblI/AAAAAAAAB3I/A489aINsrxE/s1600-h/dbca_2010-03-01_164752.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635285480173138" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZV70QnblI/AAAAAAAAB3I/A489aINsrxE/s320/dbca_2010-03-01_164752.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I want to give 40% of available memory to SGA and PGA&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5ZV7hxf1bI/AAAAAAAAB3A/6KerTCe_sJY/s1600-h/dbca_2010-03-01_164826.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635280517813682" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S5ZV7hxf1bI/AAAAAAAAB3A/6KerTCe_sJY/s320/dbca_2010-03-01_164826.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I increased the number of processes.&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZV7Y2B5LI/AAAAAAAAB24/gky3bfUnPpw/s1600-h/dbca_2010-03-01_164912.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635278120903858" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZV7Y2B5LI/AAAAAAAAB24/gky3bfUnPpw/s320/dbca_2010-03-01_164912.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZV7NawPZI/AAAAAAAAB2w/0j6OeUJUVfo/s1600-h/dbca_2010-03-01_164927.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635275053710738" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZV7NawPZI/AAAAAAAAB2w/0j6OeUJUVfo/s320/dbca_2010-03-01_164927.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZVw68B4tI/AAAAAAAAB2o/cCcSxUmLC_g/s1600-h/dbca_2010-03-01_164933.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635098294313682" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZVw68B4tI/AAAAAAAAB2o/cCcSxUmLC_g/s320/dbca_2010-03-01_164933.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oracle 11g is using a new mechanism for managing shared memory: you need to configure large enough tmpfs on /dev/shm device to fit all requested memory up to MEMORY_MAX_TARGET.&lt;/div&gt;&lt;div&gt;To solve this problem you should correct as follow:&lt;/div&gt;&lt;div&gt;# umount tmpfs&lt;br /&gt;# mount -t tmpfs shmfs -o size=3200m /dev/shm&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZVwrMuwLI/AAAAAAAAB2g/zET94y4Uw0o/s1600-h/dbca_2010-03-01_170403.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635094069395634" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 158px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S5ZVwrMuwLI/AAAAAAAAB2g/zET94y4Uw0o/s320/dbca_2010-03-01_170403.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The same alert on dbca log&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVwac9w3I/AAAAAAAAB2Y/mlGdU3NpZVk/s1600-h/dbca_2010-03-01_170417.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635089574085490" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 85px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVwac9w3I/AAAAAAAAB2Y/mlGdU3NpZVk/s320/dbca_2010-03-01_170417.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To by-pass this error I reduced the amount of memory requested during this setup&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVwLvysRI/AAAAAAAAB2Q/OqqcYxymeLQ/s1600-h/dbca_2010-03-01_170727.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635085626519826" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVwLvysRI/AAAAAAAAB2Q/OqqcYxymeLQ/s320/dbca_2010-03-01_170727.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVvwJvQiI/AAAAAAAAB2I/AoJRVi--wyU/s1600-h/dbca_2010-03-01_170856.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446635078219153954" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVvwJvQiI/AAAAAAAAB2I/AoJRVi--wyU/s320/dbca_2010-03-01_170856.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S5ZVkI7jK0I/AAAAAAAAB2A/V5MS-Ou3dnc/s1600-h/dbca_2010-03-01_170910.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446634878712097602" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S5ZVkI7jK0I/AAAAAAAAB2A/V5MS-Ou3dnc/s320/dbca_2010-03-01_170910.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVj9onFnI/AAAAAAAAB14/VtBABJrLy5U/s1600-h/dbca_2010-03-01_170918.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446634875679872626" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVj9onFnI/AAAAAAAAB14/VtBABJrLy5U/s320/dbca_2010-03-01_170918.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVjb2RfdI/AAAAAAAAB1w/RWCU04U2Ggs/s1600-h/dbca_2010-03-01_170931.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5446634866610372050" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 224px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S5ZVjb2RfdI/AAAAAAAAB1w/RWCU04U2Ggs/s320/dbca_2010-03-01_170931.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The new database is now available to be used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-2859384610854923221?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/2859384610854923221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=2859384610854923221' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2859384610854923221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2859384610854923221'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/03/adding-new-database-on-11gr2-using-dbca.html' title='Adding a new database on 11gR2 using dbca'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_FgrxeU6xYKM/S5ZWgRSwGbI/AAAAAAAAB4g/M8BKxKI3TUE/s72-c/dbca_2010-02-03_165416.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-3862286692687264787</id><published>2010-03-04T16:55:00.010+01:00</published><updated>2010-03-04T17:07:35.356+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCHEMA MANAGEMENT'/><title type='text'>How to disable automatic startup of RAC database</title><content type='html'>&lt;span class="dropcaps"&gt;W&lt;/span&gt;hen I began to work in my current company there were 3 databases working on a RAC environment formed by two nodes. There were many reboots due to misconfiguration (one for all... they didn't use a gigabit switch for private interconnection, but.. a CROSS cable!!!!): I pretended to move some instances to new machines and now we have three RAC installations.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The following are the steps to disable two of the previous three instances from automatic startup.&lt;br /&gt;&lt;br /&gt;I issued the following command to check the status of these databases:&lt;br /&gt;&lt;br /&gt;srvctl status database -d SID -v&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4_YDHfJOqI/AAAAAAAAB1o/nJ_Lj2BvsnE/s1600-h/srvctl_disable_2010-01-21_163321.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444808022575102626" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 57px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4_YDHfJOqI/AAAAAAAAB1o/nJ_Lj2BvsnE/s320/srvctl_disable_2010-01-21_163321.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I shutted down both databases with immediate option:&lt;br /&gt;&lt;br /&gt;srvctl stop database -d SID -o immediate&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4_YC79IkVI/AAAAAAAAB1g/9CmlwxIrMRw/s1600-h/srvctl_disable_2010-01-21_163710.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444808019479662930" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 40px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4_YC79IkVI/AAAAAAAAB1g/9CmlwxIrMRw/s320/srvctl_disable_2010-01-21_163710.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Again I looked at the status:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4_YCm24dwI/AAAAAAAAB1Y/QkuL7CB-H7s/s1600-h/srvctl_disable_2010-01-21_163731.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444808013816297218" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 66px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4_YCm24dwI/AAAAAAAAB1Y/QkuL7CB-H7s/s320/srvctl_disable_2010-01-21_163731.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then I definetely disabled the automatic startup of those databases with the following command:&lt;br /&gt;&lt;br /&gt;srvctl disable database -d SID&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4_YCWqOdnI/AAAAAAAAB1Q/yoJPnkq5_lo/s1600-h/srvctl_disable_2010-01-21_163804.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444808009468245618" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 52px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4_YCWqOdnI/AAAAAAAAB1Q/yoJPnkq5_lo/s320/srvctl_disable_2010-01-21_163804.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That's all.&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-3862286692687264787?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/3862286692687264787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=3862286692687264787' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/3862286692687264787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/3862286692687264787'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/03/how-to-disable-automatic-startup-of-rac.html' title='How to disable automatic startup of RAC database'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_FgrxeU6xYKM/S4_YDHfJOqI/AAAAAAAAB1o/nJ_Lj2BvsnE/s72-c/srvctl_disable_2010-01-21_163321.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-1559526331714922750</id><published>2010-03-03T17:49:00.010+01:00</published><updated>2010-03-04T16:52:19.561+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>Oracle 11gR2 RAC installation: Database installation</title><content type='html'>&lt;span class="dropcaps"&gt;L&lt;/span&gt;ogin to first node as the oracle user and start the runInstaller&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VlFDK7PI/AAAAAAAAB1I/NV_FVR7GVZ8/s1600-h/OEL_5.4_11gR2_2009-12-30_171050.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453463780682994" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 69px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VlFDK7PI/AAAAAAAAB1I/NV_FVR7GVZ8/s320/OEL_5.4_11gR2_2009-12-30_171050.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Configure your Oracle Support Account&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VkrNXSqI/AAAAAAAAB1A/ROOshJIEvT0/s1600-h/OEL_5.4_11gR2_2009-12-30_171239.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453456844114594" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VkrNXSqI/AAAAAAAAB1A/ROOshJIEvT0/s320/OEL_5.4_11gR2_2009-12-30_171239.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Create and configure a database&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VkXLhoGI/AAAAAAAAB04/BmFWHIyb1FE/s1600-h/OEL_5.4_11gR2_2009-12-30_171350.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453451467694178" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VkXLhoGI/AAAAAAAAB04/BmFWHIyb1FE/s320/OEL_5.4_11gR2_2009-12-30_171350.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Server class&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VkM6P-DI/AAAAAAAAB0w/OYbFLyHSQow/s1600-h/OEL_5.4_11gR2_2009-12-30_171434.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453448710879282" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VkM6P-DI/AAAAAAAAB0w/OYbFLyHSQow/s320/OEL_5.4_11gR2_2009-12-30_171434.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It's a Rac installation&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46Vj-xkDBI/AAAAAAAAB0o/mCtMOcxyk24/s1600-h/OEL_5.4_11gR2_2009-12-30_171503.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453444916349970" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46Vj-xkDBI/AAAAAAAAB0o/mCtMOcxyk24/s320/OEL_5.4_11gR2_2009-12-30_171503.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;Test the SSH conectivity from previos screenshot.&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VdeekPLI/AAAAAAAAB0g/0Ipp-_oHdpM/s1600-h/OEL_5.4_11gR2_2009-12-30_171544.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453333167520946" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 96px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VdeekPLI/AAAAAAAAB0g/0Ipp-_oHdpM/s320/OEL_5.4_11gR2_2009-12-30_171544.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;SSH connectivity already estabilished&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VdCsTGNI/AAAAAAAAB0Y/gRljYg5UDX0/s1600-h/OEL_5.4_11gR2_2009-12-30_171553.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453325708925138" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 96px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VdCsTGNI/AAAAAAAAB0Y/gRljYg5UDX0/s320/OEL_5.4_11gR2_2009-12-30_171553.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Advanced installation&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VczTj2-I/AAAAAAAAB0Q/LzD8GtDPGCg/s1600-h/OEL_5.4_11gR2_2009-12-30_171610.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453321578634210" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VczTj2-I/AAAAAAAAB0Q/LzD8GtDPGCg/s320/OEL_5.4_11gR2_2009-12-30_171610.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46VckLK9lI/AAAAAAAAB0I/v6WycDmOewg/s1600-h/OEL_5.4_11gR2_2009-12-30_171615.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453317516916306" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46VckLK9lI/AAAAAAAAB0I/v6WycDmOewg/s320/OEL_5.4_11gR2_2009-12-30_171615.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Installing the Enterprise Edition&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46Vcbco22I/AAAAAAAAB0A/d0wmZh6M7vE/s1600-h/OEL_5.4_11gR2_2009-12-30_171622.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453315174259554" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46Vcbco22I/AAAAAAAAB0A/d0wmZh6M7vE/s320/OEL_5.4_11gR2_2009-12-30_171622.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;Options availables&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VVfMpFOI/AAAAAAAABz4/xxkRpUkXMmA/s1600-h/OEL_5.4_11gR2_2009-12-30_172154.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453195921822946" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 226px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VVfMpFOI/AAAAAAAABz4/xxkRpUkXMmA/s320/OEL_5.4_11gR2_2009-12-30_172154.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Choose the right path&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VVInfz8I/AAAAAAAABzw/V-50YdU32Oo/s1600-h/OEL_5.4_11gR2_2009-12-30_172241.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453189860446146" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VVInfz8I/AAAAAAAABzw/V-50YdU32Oo/s320/OEL_5.4_11gR2_2009-12-30_172241.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;General purpose database installation&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46VU0zRq0I/AAAAAAAABzo/prl4Dj3BpeY/s1600-h/OEL_5.4_11gR2_2009-12-30_172411.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453184541141826" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46VU0zRq0I/AAAAAAAABzo/prl4Dj3BpeY/s320/OEL_5.4_11gR2_2009-12-30_172411.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Global database name: RAC3&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VUikoNRI/AAAAAAAABzg/ll-0nGjOtNI/s1600-h/OEL_5.4_11gR2_2009-12-30_172448.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453179647866130" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VUikoNRI/AAAAAAAABzg/ll-0nGjOtNI/s320/OEL_5.4_11gR2_2009-12-30_172448.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Character sets&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VUVp0-6I/AAAAAAAABzY/KghSwdEs8Xc/s1600-h/OEL_5.4_11gR2_2009-12-30_172643.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453176180013986" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VUVp0-6I/AAAAAAAABzY/KghSwdEs8Xc/s320/OEL_5.4_11gR2_2009-12-30_172643.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;Security&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46VMzTx1nI/AAAAAAAABzQ/CSqbyLVf4UI/s1600-h/OEL_5.4_11gR2_2009-12-30_172708.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453046701643378" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46VMzTx1nI/AAAAAAAABzQ/CSqbyLVf4UI/s320/OEL_5.4_11gR2_2009-12-30_172708.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Sample schemas, no thanks.&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VMpm8u0I/AAAAAAAABzI/g4Mh4sLtERY/s1600-h/OEL_5.4_11gR2_2009-12-30_172718.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453044097694530" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VMpm8u0I/AAAAAAAABzI/g4Mh4sLtERY/s320/OEL_5.4_11gR2_2009-12-30_172718.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In the course of introducing Automatic Memory Management (AMM) in version 11g, Oracle performed a major change in the internal memory management on OS level. This affects the prerequisites for setting up a database. It is important to know that, prior to starting the Oracle instance, the underlying virtual file system has to be sized accordingly. The determining factor here is the value of the memory_max_target parameter. If not set explicitly it defaults to the memory_target parameter value.&lt;/div&gt;&lt;div&gt;The following error I got adding another database (for test my restore script) using dbca on the same RAC environment.&lt;/div&gt;&lt;div&gt;ORA-00845: MEMORY_TARGET not supported on this system&lt;/div&gt;&lt;div&gt;and on the alert log you could read the following warning message:&lt;/div&gt;&lt;div&gt;WARNING: You are trying to use the MEMORY_TARGET feature. This feature requires the /dev/shm file system to be mounted for at least 1795162112 bytes. /dev/shm is either not mounted or is mounted with available space less than this size. Please fix this so that MEMORY_TARGET can work as expected. Current available is 1795063808 and used is 2394198016 bytes. Ensure that the mount point is /dev/shm for this directory.memory_target needs larger /dev/shm&lt;br /&gt;I will cover this problem in another post.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Setting now a high value of database memory arise the following error&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VMaj4WaI/AAAAAAAABzA/0Vp7GmDaQGk/s1600-h/OEL_5.4_11gR2_2009-12-30_172931.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453040058292642" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 86px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VMaj4WaI/AAAAAAAABzA/0Vp7GmDaQGk/s320/OEL_5.4_11gR2_2009-12-30_172931.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So from runInstaller choose a suitable memory. In my case I choose 44%&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VL9gE4sI/AAAAAAAABy4/Js3y06NFSzk/s1600-h/OEL_5.4_11gR2_2009-12-30_173406.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453032257708738" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VL9gE4sI/AAAAAAAABy4/Js3y06NFSzk/s320/OEL_5.4_11gR2_2009-12-30_173406.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;No Grid Control is available&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46VLgPWpaI/AAAAAAAAByw/D8RC_45yWx4/s1600-h/OEL_5.4_11gR2_2009-12-30_173536.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444453024402941346" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46VLgPWpaI/AAAAAAAAByw/D8RC_45yWx4/s320/OEL_5.4_11gR2_2009-12-30_173536.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As database storage I choosed Automatic Storage Management&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VFNjVHVI/AAAAAAAAByo/LRggTpTSllQ/s1600-h/OEL_5.4_11gR2_2009-12-30_173611.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452916307238226" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VFNjVHVI/AAAAAAAAByo/LRggTpTSllQ/s320/OEL_5.4_11gR2_2009-12-30_173611.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm not enabling automated backups&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VE1gKOKI/AAAAAAAAByg/6dZBo2gOZyU/s1600-h/OEL_5.4_11gR2_2009-12-30_173648.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452909851490466" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VE1gKOKI/AAAAAAAAByg/6dZBo2gOZyU/s320/OEL_5.4_11gR2_2009-12-30_173648.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Select the existing disk groups for ASM&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VEmyv-mI/AAAAAAAAByY/aR6RS3_oiMs/s1600-h/OEL_5.4_11gR2_2009-12-30_173700.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452905902930530" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46VEmyv-mI/AAAAAAAAByY/aR6RS3_oiMs/s320/OEL_5.4_11gR2_2009-12-30_173700.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VEUJOjhI/AAAAAAAAByQ/Vl5dq9Zyqs0/s1600-h/OEL_5.4_11gR2_2009-12-30_173726.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452900896935442" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VEUJOjhI/AAAAAAAAByQ/Vl5dq9Zyqs0/s320/OEL_5.4_11gR2_2009-12-30_173726.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VEfweg3I/AAAAAAAAByI/r0tsdJ7IJag/s1600-h/OEL_5.4_11gR2_2009-12-30_173734.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452904014349170" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46VEfweg3I/AAAAAAAAByI/r0tsdJ7IJag/s320/OEL_5.4_11gR2_2009-12-30_173734.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46U9bWCXCI/AAAAAAAAByA/g2AYa-X_vGc/s1600-h/OEL_5.4_11gR2_2009-12-30_173740.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452782570626082" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46U9bWCXCI/AAAAAAAAByA/g2AYa-X_vGc/s320/OEL_5.4_11gR2_2009-12-30_173740.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46U9LwV24I/AAAAAAAABx4/2vuXSzIA8ho/s1600-h/OEL_5.4_11gR2_2009-12-30_173800.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452778385988482" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S46U9LwV24I/AAAAAAAABx4/2vuXSzIA8ho/s320/OEL_5.4_11gR2_2009-12-30_173800.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46U8yk3mAI/AAAAAAAABxw/MaGh07iJUGU/s1600-h/OEL_5.4_11gR2_2009-12-30_173804.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452771626981378" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46U8yk3mAI/AAAAAAAABxw/MaGh07iJUGU/s320/OEL_5.4_11gR2_2009-12-30_173804.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46U8kD6LxI/AAAAAAAABxo/j6X2TMenGUM/s1600-h/OEL_5.4_11gR2_2009-12-30_173811.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452767730642706" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46U8kD6LxI/AAAAAAAABxo/j6X2TMenGUM/s320/OEL_5.4_11gR2_2009-12-30_173811.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46U8RadnnI/AAAAAAAABxg/mXso_5Nke6U/s1600-h/OEL_5.4_11gR2_2009-12-30_173826.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452762724966002" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46U8RadnnI/AAAAAAAABxg/mXso_5Nke6U/s320/OEL_5.4_11gR2_2009-12-30_173826.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46UzWeOK3I/AAAAAAAABxY/ads-x_0eabo/s1600-h/OEL_5.4_11gR2_2009-12-30_174923.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452609464085362" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 224px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46UzWeOK3I/AAAAAAAABxY/ads-x_0eabo/s320/OEL_5.4_11gR2_2009-12-30_174923.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46UzFFyoUI/AAAAAAAABxQ/W7YolB1pXXg/s1600-h/OEL_5.4_11gR2_2009-12-30_175422.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452604798214466" style="WIDTH: 262px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46UzFFyoUI/AAAAAAAABxQ/W7YolB1pXXg/s320/OEL_5.4_11gR2_2009-12-30_175422.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46Uy_4htJI/AAAAAAAABxI/vSokI7OtbWs/s1600-h/OEL_5.4_11gR2_2009-12-30_180413.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452603400402066" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 206px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S46Uy_4htJI/AAAAAAAABxI/vSokI7OtbWs/s320/OEL_5.4_11gR2_2009-12-30_180413.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46UyzSkb-I/AAAAAAAABxA/9Q6X1_ZBUFI/s1600-h/OEL_5.4_11gR2_2009-12-30_180417.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452600019972066" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 202px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S46UyzSkb-I/AAAAAAAABxA/9Q6X1_ZBUFI/s320/OEL_5.4_11gR2_2009-12-30_180417.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46UyosUNjI/AAAAAAAABw4/QlmN3-OVyKY/s1600-h/OEL_5.4_11gR2_2009-12-30_180430.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5444452597175170610" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S46UyosUNjI/AAAAAAAABw4/QlmN3-OVyKY/s320/OEL_5.4_11gR2_2009-12-30_180430.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;That's all.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-1559526331714922750?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/1559526331714922750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=1559526331714922750' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1559526331714922750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1559526331714922750'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/03/oracle-11gr2-rac-installation-database.html' title='Oracle 11gR2 RAC installation: Database installation'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_FgrxeU6xYKM/S46VlFDK7PI/AAAAAAAAB1I/NV_FVR7GVZ8/s72-c/OEL_5.4_11gR2_2009-12-30_171050.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-7676813968699489636</id><published>2010-02-22T12:00:00.016+01:00</published><updated>2010-03-01T16:33:58.646+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>Oracle 11gR2 RAC installation: Grid Infrastructure installation</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;o install the Grid Infrastructure, login as oracle user and start the runInstaller&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlqyQz7wI/AAAAAAAABwI/gZCe7A18AJQ/s1600-h/OEL_5.4_11gR2_2009-12-30_122516.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441023085538176770" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 64px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlqyQz7wI/AAAAAAAABwI/gZCe7A18AJQ/s320/OEL_5.4_11gR2_2009-12-30_122516.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4Jlqg-XIcI/AAAAAAAABwA/H6aqh6-VKiQ/s1600-h/OEL_5.4_11gR2_2009-12-30_122744.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441023080897388994" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4Jlqg-XIcI/AAAAAAAABwA/H6aqh6-VKiQ/s320/OEL_5.4_11gR2_2009-12-30_122744.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I choosed to install as "Advanced Installation"&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JlqfBLfGI/AAAAAAAABv4/bnAzuaisJZ4/s1600-h/OEL_5.4_11gR2_2009-12-30_122811.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441023080372337762" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JlqfBLfGI/AAAAAAAABv4/bnAzuaisJZ4/s320/OEL_5.4_11gR2_2009-12-30_122811.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JlqKF38ZI/AAAAAAAABvw/51-kEcj-ZYs/s1600-h/OEL_5.4_11gR2_2009-12-30_122820.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441023074754883986" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JlqKF38ZI/AAAAAAAABvw/51-kEcj-ZYs/s320/OEL_5.4_11gR2_2009-12-30_122820.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following is a screenshot coming from the help of the runInstaller, describing a virtual scenario formed by two Rac nodes:&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4Jlp0xQ3TI/AAAAAAAABvo/D5GNlCZ0TIg/s1600-h/OEL_5.4_11gR2_2009-12-30_124138.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441023069031292210" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 221px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4Jlp0xQ3TI/AAAAAAAABvo/D5GNlCZ0TIg/s320/OEL_5.4_11gR2_2009-12-30_124138.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;What is a SCAN name ?&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Oracle introduced this new concept on 11gR2 version: it stands for Single Client Access Name (SCAN). Its purpose is to eliminate the need to change tns name entry when nodes are added to or removed from the Cluster. What does it happen when you have several client and you decide to add/remove a node? So you have to configure your SCAN name on your DNS otherwise...&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JlUN84J9I/AAAAAAAABvg/le3eDzGg8HA/s1600-h/OEL_5.4_11gR2_2009-12-30_124203.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022697833768914" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JlUN84J9I/AAAAAAAABvg/le3eDzGg8HA/s320/OEL_5.4_11gR2_2009-12-30_124203.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;you will get the following error. [INS-40718] Single Client Access Name (SCAN) name: RAC3-scan could not be resolved. &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlT58jDFI/AAAAAAAABvY/3UoUQdfD8DE/s1600-h/OEL_5.4_11gR2_2009-12-30_124310.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022692463676498" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 178px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlT58jDFI/AAAAAAAABvY/3UoUQdfD8DE/s320/OEL_5.4_11gR2_2009-12-30_124310.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JlTh9PgJI/AAAAAAAABvQ/QS7_vJQrcdQ/s1600-h/OEL_5.4_11gR2_2009-12-30_155426.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022686024138898" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JlTh9PgJI/AAAAAAAABvQ/QS7_vJQrcdQ/s320/OEL_5.4_11gR2_2009-12-30_155426.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the previous screenshot, click add to add configure the second node.&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JlTdL-oXI/AAAAAAAABvI/ztWXzMAHCfw/s1600-h/OEL_5.4_11gR2_2009-12-30_155523.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022684743770482" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 154px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JlTdL-oXI/AAAAAAAABvI/ztWXzMAHCfw/s320/OEL_5.4_11gR2_2009-12-30_155523.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlSyCHGrI/AAAAAAAABvA/VdGFD4V_zE8/s1600-h/OEL_5.4_11gR2_2009-12-30_155543.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022673159658162" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlSyCHGrI/AAAAAAAABvA/VdGFD4V_zE8/s320/OEL_5.4_11gR2_2009-12-30_155543.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkRK8m8oI/AAAAAAAABsY/JUkS-X3rtNs/s1600-h/OEL_5.4_11gR2_2009-12-30_155646.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021545976099458" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkRK8m8oI/AAAAAAAABsY/JUkS-X3rtNs/s320/OEL_5.4_11gR2_2009-12-30_155646.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkQgyYFfI/AAAAAAAABsI/FAQqsUhIcI0/s1600-h/OEL_5.4_11gR2_2009-12-30_155846.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021534658893298" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 96px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkQgyYFfI/AAAAAAAABsI/FAQqsUhIcI0/s320/OEL_5.4_11gR2_2009-12-30_155846.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkQysjUqI/AAAAAAAABsQ/XBNdiz3pxu0/s1600-h/OEL_5.4_11gR2_2009-12-30_155807.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021539466302114" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 96px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkQysjUqI/AAAAAAAABsQ/XBNdiz3pxu0/s320/OEL_5.4_11gR2_2009-12-30_155807.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Specify public and private interconnection.&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkQRZgNPI/AAAAAAAABsA/XtcKZwPdrCc/s1600-h/OEL_5.4_11gR2_2009-12-30_155934.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021530528036082" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkQRZgNPI/AAAAAAAABsA/XtcKZwPdrCc/s320/OEL_5.4_11gR2_2009-12-30_155934.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;A new feature: it's now possible to select ASM to place OCR and voting disks.&lt;/div&gt;&lt;div&gt;Before proceeding with this option, just have a read to this interesting post:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.dba-oracle.com/t_vulnerability_exposure_RAC_on_ASM.htm"&gt;http://www.dba-oracle.com/t_vulnerability_exposure_RAC_on_ASM.htm&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkQDgLIdI/AAAAAAAABr4/eZbhGZy7DjI/s1600-h/OEL_5.4_11gR2_2009-12-30_160046.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021526797918674" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkQDgLIdI/AAAAAAAABr4/eZbhGZy7DjI/s320/OEL_5.4_11gR2_2009-12-30_160046.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Add a disk group, selecting from candidate disks. It was not possible to create one disk group and associate to only one candidate ... My intention was to create, as usual and as suggested in Oracle best practices, two disk groups: DATA_RAC3 and FRA_RAC3.&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JlLC1b7PI/AAAAAAAABu4/pmoL5CQme0E/s1600-h/OEL_5.4_11gR2_2009-12-30_161427.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022540230946034" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JlLC1b7PI/AAAAAAAABu4/pmoL5CQme0E/s320/OEL_5.4_11gR2_2009-12-30_161427.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Select ASM password&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JlK3Oaf4I/AAAAAAAABuw/czmRCN1gyk0/s1600-h/OEL_5.4_11gR2_2009-12-30_161941.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022537114484610" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JlK3Oaf4I/AAAAAAAABuw/czmRCN1gyk0/s320/OEL_5.4_11gR2_2009-12-30_161941.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I didn't use IPMI (the Intelligent Platform Management Interface)&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlKmJ4vNI/AAAAAAAABuo/5KfW2d5WYSQ/s1600-h/OEL_5.4_11gR2_2009-12-30_162229.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022532532092114" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlKmJ4vNI/AAAAAAAABuo/5KfW2d5WYSQ/s320/OEL_5.4_11gR2_2009-12-30_162229.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlKCN-qRI/AAAAAAAABug/kmL7-dsyCag/s1600-h/OEL_5.4_11gR2_2009-12-30_162238.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022522885581074" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlKCN-qRI/AAAAAAAABug/kmL7-dsyCag/s320/OEL_5.4_11gR2_2009-12-30_162238.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlJ7IfHfI/AAAAAAAABuY/Ha0_MB9XKOc/s1600-h/OEL_5.4_11gR2_2009-12-30_162247.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441022520983494130" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 87px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlJ7IfHfI/AAAAAAAABuY/Ha0_MB9XKOc/s320/OEL_5.4_11gR2_2009-12-30_162247.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;At this time I didn't create the "Oracle Base" directory&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkqPMNr1I/AAAAAAAABuQ/V5O92FSuUpM/s1600-h/OEL_5.4_11gR2_2009-12-30_162742.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021976612024146" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkqPMNr1I/AAAAAAAABuQ/V5O92FSuUpM/s320/OEL_5.4_11gR2_2009-12-30_162742.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So I created it manually&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4Jkp7rTEKI/AAAAAAAABuI/8a_WDP8-l-Y/s1600-h/OEL_5.4_11gR2_2009-12-30_163127.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021971373691042" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 67px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4Jkp7rTEKI/AAAAAAAABuI/8a_WDP8-l-Y/s320/OEL_5.4_11gR2_2009-12-30_163127.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;On both nodes&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JkptYyKkI/AAAAAAAABuA/qxlhgvRCDi4/s1600-h/OEL_5.4_11gR2_2009-12-30_163144.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021967537941058" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 67px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JkptYyKkI/AAAAAAAABuA/qxlhgvRCDi4/s320/OEL_5.4_11gR2_2009-12-30_163144.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4Jkpd6n7YI/AAAAAAAABt4/o96Utf9XlX4/s1600-h/OEL_5.4_11gR2_2009-12-30_163216.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021963384909186" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4Jkpd6n7YI/AAAAAAAABt4/o96Utf9XlX4/s320/OEL_5.4_11gR2_2009-12-30_163216.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkpHvnabI/AAAAAAAABtw/fZcGc89L9hM/s1600-h/OEL_5.4_11gR2_2009-12-30_163239.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021957433158066" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkpHvnabI/AAAAAAAABtw/fZcGc89L9hM/s320/OEL_5.4_11gR2_2009-12-30_163239.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkhlBvbpI/AAAAAAAABto/tfxsNfWaUbc/s1600-h/OEL_5.4_11gR2_2009-12-30_163356.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021827854855826" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkhlBvbpI/AAAAAAAABto/tfxsNfWaUbc/s320/OEL_5.4_11gR2_2009-12-30_163356.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JkhdNngFI/AAAAAAAABtg/oBzbFMrrvpM/s1600-h/OEL_5.4_11gR2_2009-12-30_163359.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021825757184082" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JkhdNngFI/AAAAAAAABtg/oBzbFMrrvpM/s320/OEL_5.4_11gR2_2009-12-30_163359.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkhCeaHjI/AAAAAAAABtY/osyrTlLkN90/s1600-h/OEL_5.4_11gR2_2009-12-30_163418.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021818579852850" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkhCeaHjI/AAAAAAAABtY/osyrTlLkN90/s320/OEL_5.4_11gR2_2009-12-30_163418.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4Jkg7d0z6I/AAAAAAAABtQ/GIUdADo6lpQ/s1600-h/OEL_5.4_11gR2_2009-12-30_163455.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021816698359714" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4Jkg7d0z6I/AAAAAAAABtQ/GIUdADo6lpQ/s320/OEL_5.4_11gR2_2009-12-30_163455.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkgmFnLdI/AAAAAAAABtI/IXzHWs_c2n4/s1600-h/OEL_5.4_11gR2_2009-12-30_163506.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021810959658450" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkgmFnLdI/AAAAAAAABtI/IXzHWs_c2n4/s320/OEL_5.4_11gR2_2009-12-30_163506.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Execute the scripts as root user&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkZe-6qXI/AAAAAAAABtA/14LplNDgoC8/s1600-h/OEL_5.4_11gR2_2009-12-30_164450.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021688793442674" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 248px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkZe-6qXI/AAAAAAAABtA/14LplNDgoC8/s320/OEL_5.4_11gR2_2009-12-30_164450.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The output of the scripts...&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkZJb7EkI/AAAAAAAABs4/8a7dO9FWSzQ/s1600-h/OEL_5.4_11gR2_2009-12-30_164518.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021683009524290" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 108px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkZJb7EkI/AAAAAAAABs4/8a7dO9FWSzQ/s320/OEL_5.4_11gR2_2009-12-30_164518.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkY5frDZI/AAAAAAAABsw/gg4YHFF87zw/s1600-h/OEL_5.4_11gR2_2009-12-30_164523.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021678730284434" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 104px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkY5frDZI/AAAAAAAABsw/gg4YHFF87zw/s320/OEL_5.4_11gR2_2009-12-30_164523.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkYgwnylI/AAAAAAAABso/4L7-IP0Lmdo/s1600-h/OEL_5.4_11gR2_2009-12-30_165105.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021672090487378" style="WIDTH: 228px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkYgwnylI/AAAAAAAABso/4L7-IP0Lmdo/s320/OEL_5.4_11gR2_2009-12-30_165105.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkYapFfnI/AAAAAAAABsg/OKPdh45Xbu0/s1600-h/OEL_5.4_11gR2_2009-12-30_165133.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021670448266866" style="WIDTH: 206px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JkYapFfnI/AAAAAAAABsg/OKPdh45Xbu0/s320/OEL_5.4_11gR2_2009-12-30_165133.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkB6Fqp0I/AAAAAAAABrw/nnys3_FarAc/s1600-h/OEL_5.4_11gR2_2009-12-30_165144.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021283752650562" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 123px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S4JkB6Fqp0I/AAAAAAAABrw/nnys3_FarAc/s320/OEL_5.4_11gR2_2009-12-30_165144.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkBmTVXZI/AAAAAAAABro/l8BfHZxYruc/s1600-h/OEL_5.4_11gR2_2009-12-30_165855.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021278441266578" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 292px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkBmTVXZI/AAAAAAAABro/l8BfHZxYruc/s320/OEL_5.4_11gR2_2009-12-30_165855.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkBXe-rfI/AAAAAAAABrg/x7OT3U2A9pc/s1600-h/OEL_5.4_11gR2_2009-12-30_165901.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021274463579634" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 46px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S4JkBXe-rfI/AAAAAAAABrg/x7OT3U2A9pc/s320/OEL_5.4_11gR2_2009-12-30_165901.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JkBJokxgI/AAAAAAAABrY/LwBqmiFAwHI/s1600-h/OEL_5.4_11gR2_2009-12-30_165958.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5441021270745728514" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 241px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S4JkBJokxgI/AAAAAAAABrY/LwBqmiFAwHI/s320/OEL_5.4_11gR2_2009-12-30_165958.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Grid Infrastructure installation finished.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-7676813968699489636?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/7676813968699489636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=7676813968699489636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7676813968699489636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7676813968699489636'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/02/oracle-11gr2-rac-installation-grid.html' title='Oracle 11gR2 RAC installation: Grid Infrastructure installation'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_FgrxeU6xYKM/S4JlqyQz7wI/AAAAAAAABwI/gZCe7A18AJQ/s72-c/OEL_5.4_11gR2_2009-12-30_122516.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-6529811536438977050</id><published>2010-02-03T15:26:00.006+01:00</published><updated>2010-02-03T16:41:58.281+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>Oracle 11gR2 RAC installation: install and configure ASM library</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;o install ASM drivers download your rpm files from here &lt;a href="http://www.oracle.com/technology/tech/linux/asmlib/index.html"&gt;http://www.oracle.com/technology/tech/linux/asmlib/index.html&lt;/a&gt;: for my installation (Oracle Enterprise Linux 5) I downloaded them (oracleasm-2.6.18-164.el5-2.0.5-1.el5.x86_64.rpm, oracleasmlib-2.0.4-1.el5.x86_64.rpm, oracleasm-support-2.1.3-1.el5.x86_64.rpm) from here &lt;a href="http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html"&gt;http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I executed the following command on both nodes as root user:&lt;br /&gt;rpm -Uvh oracleasm*&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S2mKB8U2_RI/AAAAAAAABrQ/UgzFFioh15I/s1600-h/OEL_5.4_11gR2_2009-12-29_174144.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5434026191377333522" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 58px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S2mKB8U2_RI/AAAAAAAABrQ/UgzFFioh15I/s320/OEL_5.4_11gR2_2009-12-29_174144.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2mKBhJVWhI/AAAAAAAABrI/UHW7ZYL9nqA/s1600-h/OEL_5.4_11gR2_2009-12-29_174220.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5434026184081234450" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 57px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2mKBhJVWhI/AAAAAAAABrI/UHW7ZYL9nqA/s320/OEL_5.4_11gR2_2009-12-29_174220.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then I need to configure the ASM library, with the following command:&lt;br /&gt;/etc/init.d/oracleasm configure&lt;br /&gt;&lt;br /&gt;Type oracle and oinstall as user and group name that own the driver interface; type y to configure starting ASM library on boot and again y to scan ASM disks on boot.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2mKBLhD0zI/AAAAAAAABrA/d_NJZgOWZcY/s1600-h/OEL_5.4_11gR2_2009-12-29_174822.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5434026178275169074" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 282px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2mKBLhD0zI/AAAAAAAABrA/d_NJZgOWZcY/s320/OEL_5.4_11gR2_2009-12-29_174822.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;Execute the same previous step on second node.&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2mJtt0d1ZI/AAAAAAAABq4/6T8N5lH-Aaw/s1600-h/OEL_5.4_11gR2_2009-12-29_174855.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5434025843885987218" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 219px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2mJtt0d1ZI/AAAAAAAABq4/6T8N5lH-Aaw/s320/OEL_5.4_11gR2_2009-12-29_174855.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From one node only, I used the following command to create TWO disk group pointing to my "PowerPath" devices:&lt;/div&gt;&lt;div&gt;/etc/init.d/oracleasm createdisk DG_DATA_DWH /dev/emcpowere1&lt;/div&gt;&lt;div&gt;/etc/init.d/oracleasm createdisk DG_FRA_DWH /dev/emcpowerf1&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2mJtuqQedI/AAAAAAAABqw/oHj-BT980x4/s1600-h/OEL_5.4_11gR2_2009-12-29_175856.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5434025844111604178" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 222px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2mJtuqQedI/AAAAAAAABqw/oHj-BT980x4/s320/OEL_5.4_11gR2_2009-12-29_175856.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the other node, to scan for the new ASM disks I issued:&lt;/div&gt;&lt;div&gt;/etc/init.d/oracleasm scandisks&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2mJtbCzQNI/AAAAAAAABqo/1DLix7XOsBE/s1600-h/OEL_5.4_11gR2_2009-12-29_175945.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5434025838845837522" style="WIDTH: 256px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2mJtbCzQNI/AAAAAAAABqo/1DLix7XOsBE/s320/OEL_5.4_11gR2_2009-12-29_175945.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Verify the cluster is configured correctly for a "Grid" creation, running as oracle user, only from one node, the following command:&lt;/div&gt;&lt;div&gt;./runcluvfy.sh stage -pre crsinst -n nov2210,nov2211 -verbose&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2mJtGowEjI/AAAAAAAABqg/KKELRG-NK_s/s1600-h/OEL_5.4_11gR2_2009-12-30_122128.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5434025833367867954" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 25px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2mJtGowEjI/AAAAAAAABqg/KKELRG-NK_s/s320/OEL_5.4_11gR2_2009-12-30_122128.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2mJs9F4uhI/AAAAAAAABqY/rm2LNv4wZq4/s1600-h/OEL_5.4_11gR2_2009-12-30_122202.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5434025830805715474" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 158px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2mJs9F4uhI/AAAAAAAABqY/rm2LNv4wZq4/s320/OEL_5.4_11gR2_2009-12-30_122202.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-6529811536438977050?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/6529811536438977050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=6529811536438977050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6529811536438977050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6529811536438977050'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/02/oracle-11gr2-rac-installation-install_03.html' title='Oracle 11gR2 RAC installation: install and configure ASM library'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/S2mKB8U2_RI/AAAAAAAABrQ/UgzFFioh15I/s72-c/OEL_5.4_11gR2_2009-12-29_174144.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-4119954489968094610</id><published>2010-02-02T12:32:00.007+01:00</published><updated>2010-02-02T13:01:41.658+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>Oracle 11gR2 RAC installation: install and configure OCFS2</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;his post will describe how to install and configure OCFS2, the Oracle Cluster File System, a shared disk file system developed by Oracle Corporation and released under the GNU General Public License.&lt;br /&gt;First of all download and install on both nodes the requested rpm files from the Oracle website: &lt;a href="http://oss.oracle.com/projects/ocfs2/files/"&gt;http://oss.oracle.com/projects/ocfs2/files/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S2gP3i0IsZI/AAAAAAAABqQ/gZQbaRxtfec/s1600-h/OEL_5.4_11gR2_2009-12-29_160700.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 94px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S2gP3i0IsZI/AAAAAAAABqQ/gZQbaRxtfec/s320/OEL_5.4_11gR2_2009-12-29_160700.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610397335204242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPy7c40lI/AAAAAAAABqI/gbEBLc1oZoQ/s1600-h/OEL_5.4_11gR2_2009-12-29_160801.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 96px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPy7c40lI/AAAAAAAABqI/gbEBLc1oZoQ/s320/OEL_5.4_11gR2_2009-12-29_160801.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610318049235538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then run the console using the following command as root just from one node:&lt;br /&gt;ocfs2console &amp;amp;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPyuuTMhI/AAAAAAAABqA/SGYFu7zrshk/s1600-h/OEL_5.4_11gR2_2009-12-29_161058.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 66px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPyuuTMhI/AAAAAAAABqA/SGYFu7zrshk/s320/OEL_5.4_11gR2_2009-12-29_161058.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610314632606226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPyD13IeI/AAAAAAAABp4/KyXesh_WqHg/s1600-h/OEL_5.4_11gR2_2009-12-29_161115.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 231px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPyD13IeI/AAAAAAAABp4/KyXesh_WqHg/s320/OEL_5.4_11gR2_2009-12-29_161115.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610303121596898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then select Cluster-&gt;Configure Nodes... from menu&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPxp3jrpI/AAAAAAAABpw/K5aMckLT--o/s1600-h/OEL_5.4_11gR2_2009-12-29_161136.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 231px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPxp3jrpI/AAAAAAAABpw/K5aMckLT--o/s320/OEL_5.4_11gR2_2009-12-29_161136.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610296149388946" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and the following window will appear&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPxT7IidI/AAAAAAAABpo/I4c8JU8DC7M/s1600-h/OEL_5.4_11gR2_2009-12-29_161212.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 231px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPxT7IidI/AAAAAAAABpo/I4c8JU8DC7M/s320/OEL_5.4_11gR2_2009-12-29_161212.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610290258807250" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Press tha ADD button&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gPqbDP9ZI/AAAAAAAABpg/m8QkgQwGpek/s1600-h/OEL_5.4_11gR2_2009-12-29_161227.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 199px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gPqbDP9ZI/AAAAAAAABpg/m8QkgQwGpek/s320/OEL_5.4_11gR2_2009-12-29_161227.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610171912811922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And insert all details of your node (specifing the private IP address)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPp92KX-I/AAAAAAAABpY/LRR-pulEG8U/s1600-h/OEL_5.4_11gR2_2009-12-29_161250.jpg"&gt;&lt;img style="cursor: pointer; width: 306px; height: 173px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPp92KX-I/AAAAAAAABpY/LRR-pulEG8U/s320/OEL_5.4_11gR2_2009-12-29_161250.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610164073291746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Again ADD button to add details for the second node&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gPpumimHI/AAAAAAAABpQ/MCXdv5rKqJs/s1600-h/OEL_5.4_11gR2_2009-12-29_161448.jpg"&gt;&lt;img style="cursor: pointer; width: 306px; height: 173px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gPpumimHI/AAAAAAAABpQ/MCXdv5rKqJs/s320/OEL_5.4_11gR2_2009-12-29_161448.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610159981238386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click the APPLY button&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPpe6e6QI/AAAAAAAABpI/A5s8rW6vC14/s1600-h/OEL_5.4_11gR2_2009-12-29_161458.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 199px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPpe6e6QI/AAAAAAAABpI/A5s8rW6vC14/s320/OEL_5.4_11gR2_2009-12-29_161458.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610155769915650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The select Cluster-&gt;Propagate Configuration... from menu&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPpDFR8tI/AAAAAAAABpA/to7yXnzSh8k/s1600-h/OEL_5.4_11gR2_2009-12-29_161649.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 231px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPpDFR8tI/AAAAAAAABpA/to7yXnzSh8k/s320/OEL_5.4_11gR2_2009-12-29_161649.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610148299010770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Type YES and the root password when asked. When FINISHED! is showned, click on CLOSE button&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gPh-HJtPI/AAAAAAAABo4/wg0V8ELoUYc/s1600-h/OEL_5.4_11gR2_2009-12-29_162046.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 292px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gPh-HJtPI/AAAAAAAABo4/wg0V8ELoUYc/s320/OEL_5.4_11gR2_2009-12-29_162046.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610026705597682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now from first node type:&lt;br /&gt;/etc/init.d/o2cb configure&lt;br /&gt;&lt;br /&gt;Answer Y to load O2CB driver on boot, then use default value for cluster name, then 61 as heartbeat dead threshold and then accept all default values.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPhgODbmI/AAAAAAAABow/5zLCIMFjkYg/s1600-h/OEL_5.4_11gR2_2009-12-29_162837.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 223px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPhgODbmI/AAAAAAAABow/5zLCIMFjkYg/s320/OEL_5.4_11gR2_2009-12-29_162837.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610018681482850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The same steps for the second node&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPhSzWavI/AAAAAAAABoo/GFim1ogUwsk/s1600-h/OEL_5.4_11gR2_2009-12-29_162910.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 214px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPhSzWavI/AAAAAAAABoo/GFim1ogUwsk/s320/OEL_5.4_11gR2_2009-12-29_162910.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610015079820018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now it's time to format, selecting Tasks-&gt;Format from menu&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPhNSNIYI/AAAAAAAABog/f2amzOI0P4Q/s1600-h/OEL_5.4_11gR2_2009-12-29_162936.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 231px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPhNSNIYI/AAAAAAAABog/f2amzOI0P4Q/s320/OEL_5.4_11gR2_2009-12-29_162936.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610013598622082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A list of available devices will appear. Use a Volume label and then press OK. I will setup TWO devices to share disks&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPg-AAyAI/AAAAAAAABoY/rZ10V_xHTYA/s1600-h/OEL_5.4_11gR2_2009-12-29_163017.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 222px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPg-AAyAI/AAAAAAAABoY/rZ10V_xHTYA/s320/OEL_5.4_11gR2_2009-12-29_163017.jpg" alt="" id="BLOGGER_PHOTO_ID_5433610009495783426" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gPZ7893GI/AAAAAAAABoQ/hWeoHDpyPII/s1600-h/OEL_5.4_11gR2_2009-12-29_163026.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 119px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gPZ7893GI/AAAAAAAABoQ/hWeoHDpyPII/s320/OEL_5.4_11gR2_2009-12-29_163026.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609888687053922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPZhSD7oI/AAAAAAAABoI/gTvaxoZ4zzc/s1600-h/OEL_5.4_11gR2_2009-12-29_163037.jpg"&gt;&lt;img style="cursor: pointer; width: 166px; height: 70px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gPZhSD7oI/AAAAAAAABoI/gTvaxoZ4zzc/s320/OEL_5.4_11gR2_2009-12-29_163037.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609881527774850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;First devices is formatted&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPZSV2EDI/AAAAAAAABoA/zdRo4T0UYoQ/s1600-h/OEL_5.4_11gR2_2009-12-29_163054.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 231px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPZSV2EDI/AAAAAAAABoA/zdRo4T0UYoQ/s320/OEL_5.4_11gR2_2009-12-29_163054.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609877517111346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Proceed with the second one&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S2gPZOYSqFI/AAAAAAAABn4/-IPpG954yJ0/s1600-h/OEL_5.4_11gR2_2009-12-29_163102.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 231px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S2gPZOYSqFI/AAAAAAAABn4/-IPpG954yJ0/s320/OEL_5.4_11gR2_2009-12-29_163102.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609876453632082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPYz6gZfI/AAAAAAAABnw/j1hVfBQPdwE/s1600-h/OEL_5.4_11gR2_2009-12-29_163123.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 218px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gPYz6gZfI/AAAAAAAABnw/j1hVfBQPdwE/s320/OEL_5.4_11gR2_2009-12-29_163123.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609869349381618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gO0D_5U1I/AAAAAAAABno/74SVJ3iUkqo/s1600-h/OEL_5.4_11gR2_2009-12-29_163130.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 119px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gO0D_5U1I/AAAAAAAABno/74SVJ3iUkqo/s320/OEL_5.4_11gR2_2009-12-29_163130.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609238011794258" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gOzxt5D8I/AAAAAAAABng/QtZeTZWJ7bc/s1600-h/OEL_5.4_11gR2_2009-12-29_163151.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 231px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gOzxt5D8I/AAAAAAAABng/QtZeTZWJ7bc/s320/OEL_5.4_11gR2_2009-12-29_163151.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609233104441282" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Quit OCFS2 console&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gOzhX-6YI/AAAAAAAABnY/YzjSCWBK6Xk/s1600-h/OEL_5.4_11gR2_2009-12-29_163347.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 231px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S2gOzhX-6YI/AAAAAAAABnY/YzjSCWBK6Xk/s320/OEL_5.4_11gR2_2009-12-29_163347.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609228717582722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now on both nodes, run:&lt;br /&gt;mkdir -p /u02/ocfs2/&lt;br /&gt;mkdir -p /u02/ocfs2_mirror/&lt;br /&gt;mount -t ocfs2 -o datavolume,nointr /dev/emcpowerb1 /u02/ocfs2/&lt;br /&gt;mount -t ocfs2 -o datavolume,nointr /dev/emcpowerd1 /u02/ocfs2_mirror/&lt;br /&gt;echo "/dev/emcpowerb1 /u02/ocfs2/ ocfs2 _netdev,datavolume,nointr 0 0" &gt;&gt; /etc/fstab&lt;br /&gt;echo "/dev/emcpowerd1 /u02/ocfs2_mirror/ ocfs2 _netdev,datavolume,nointr 0 0" &gt;&gt; /etc/fstab&lt;br /&gt;reboot&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gOzZeyDlI/AAAAAAAABnQ/9AWKS2GPwFo/s1600-h/OEL_5.4_11gR2_2009-12-29_170818.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 53px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S2gOzZeyDlI/AAAAAAAABnQ/9AWKS2GPwFo/s320/OEL_5.4_11gR2_2009-12-29_170818.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609226598616658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gOzAs9xDI/AAAAAAAABnI/QiUiLthXFlg/s1600-h/OEL_5.4_11gR2_2009-12-29_170823.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 50px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S2gOzAs9xDI/AAAAAAAABnI/QiUiLthXFlg/s320/OEL_5.4_11gR2_2009-12-29_170823.jpg" alt="" id="BLOGGER_PHOTO_ID_5433609219947217970" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-4119954489968094610?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/4119954489968094610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=4119954489968094610' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4119954489968094610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4119954489968094610'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/02/oracle-11gr2-rac-installation-install.html' title='Oracle 11gR2 RAC installation: install and configure OCFS2'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/S2gP3i0IsZI/AAAAAAAABqQ/gZQbaRxtfec/s72-c/OEL_5.4_11gR2_2009-12-29_160700.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-1166353995493194046</id><published>2010-01-19T16:06:00.010+01:00</published><updated>2010-09-27T09:19:14.754+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>Oracle 11gR2 RAC installation: kernel, ssh user equivalency, networking and time sync</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;his post will describe how to configure SSH user equivalency, set some kernel parameters, the network, sync the time between the two nodes and load the hangcheck/timer module.&lt;br /&gt;First of all let's set up the ssh user equivalency: use pgrep sshd to see if ssh daemon is running.&lt;br /&gt;You need either an RSA or a DSA key for the SSH protocol. RSA is used with the SSH 1.5 protocol, while DSA is the default for the SSH 2.0 protocol.&lt;br /&gt;To configure SSH you should create RSA keys on each node using the following steps as oracle user:&lt;br /&gt;su - oracle&lt;br /&gt;ssh-keygen -t rsa -b 1024&lt;br /&gt;When it asks for a passphrase, leave it empty. This command writes the RSA public key to the ~/.ssh/id_rsa.pub file and the private key to the ~/.ssh/id_rsa file.&lt;br /&gt;Repeat the above steps on the other node that you intend to make a member of the cluster, using the RSA key.&lt;br /&gt;Then you should add all keys to a common authorized_keys file.&lt;br /&gt;Combine the contents of the id_rsa.pub files from each server. This operation can be done starting simply from one node. Run the commands below from the first node (in my case 172.22.0.10), for example, as the oracle user (and from /home/oracle directory):&lt;br /&gt;cat ~/.ssh/id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys&lt;br /&gt;ssh 172.22.0.11 cat ~/.ssh/id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys&lt;br /&gt;scp ~/.ssh/authorized_keys 172.22.0.11:/home/oracle/.ssh/&lt;br /&gt;Each time you connect from any node to a new hostname for the first time, you will see a message similar to "The authenticity of host '172.22.0.11 (172.22.0.10)' can't be established. Are you sure you want to continue connecting (yes/no)?". Type "yes" and press ENTER.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XOd9V4cZI/AAAAAAAABnA/RRkzQdY0AwE/s1600-h/OEL_5.4_11gR2_2009-12-28_154228.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428471939942871442" style="width: 320px; height: 209px;" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XOd9V4cZI/AAAAAAAABnA/RRkzQdY0AwE/s320/OEL_5.4_11gR2_2009-12-28_154228.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XOdXmalqI/AAAAAAAABm4/WI16qrMcmuk/s1600-h/OEL_5.4_11gR2_2009-12-28_154237.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428471929811670690" style="width: 320px; height: 119px;" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XOdXmalqI/AAAAAAAABm4/WI16qrMcmuk/s320/OEL_5.4_11gR2_2009-12-28_154237.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then edit /etc/hosts file for both nodes to set up public and private networking.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XOdDl6xYI/AAAAAAAABmw/3Qt3KSmDM6Q/s1600-h/OEL_5.4_11gR2_2009-12-28_155917.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428471924440876418" style="width: 320px; height: 217px;" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XOdDl6xYI/AAAAAAAABmw/3Qt3KSmDM6Q/s320/OEL_5.4_11gR2_2009-12-28_155917.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XOc0RPeoI/AAAAAAAABmo/VJEZYzS2gI4/s1600-h/OEL_5.4_11gR2_2009-12-28_155958.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428471920327621250" style="width: 320px; height: 216px;" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XOc0RPeoI/AAAAAAAABmo/VJEZYzS2gI4/s320/OEL_5.4_11gR2_2009-12-28_155958.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Use the following command syntax, where hostname1, hostname2, and so on, are the public hostnames(alias and fully qualified domain name) of nodes in the cluster to run SSH from the local node to each node, including from the local node to itself, and from each node to each other node:&lt;/div&gt;&lt;div&gt;ssh hostname1 hostname&lt;/div&gt;&lt;div&gt;At the end of this process, the public hostname for each member node should be registered in the known_hosts file for all other cluster member nodes.&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1XOck5qmrI/AAAAAAAABmg/zW2uQ0hTGCY/s1600-h/OEL_5.4_11gR2_2009-12-28_160513.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428471916202203826" style="width: 320px; height: 282px;" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1XOck5qmrI/AAAAAAAABmg/zW2uQ0hTGCY/s320/OEL_5.4_11gR2_2009-12-28_160513.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Just because my nodes are connected to EMC SP Agent (Array Agent) I need to install Navisphere Host Agent, downloaded from EMC website. &lt;/div&gt;&lt;div&gt;Host Agent is required for the registration of the host bus adapters with the SPs to which they are connected and for integrating host-side information such as device and volume names. A Host Agent automatically registers hosts and HBAs and also provides drive mapping information for the UI and CLI&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XNMyGjvuI/AAAAAAAABmY/H0_s-dVc2OI/s1600-h/OEL_5.4_11gR2_2009-12-28_170651.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470545356406498" style="width: 320px; height: 41px;" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XNMyGjvuI/AAAAAAAABmY/H0_s-dVc2OI/s320/OEL_5.4_11gR2_2009-12-28_170651.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1XNMbI7XZI/AAAAAAAABmQ/hSHSoVNfzKY/s1600-h/OEL_5.4_11gR2_2009-12-28_170658.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470539192327570" style="width: 320px; height: 94px;" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1XNMbI7XZI/AAAAAAAABmQ/hSHSoVNfzKY/s320/OEL_5.4_11gR2_2009-12-28_170658.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XNMIYWCBI/AAAAAAAABmI/dKUgCaGLSwc/s1600-h/OEL_5.4_11gR2_2009-12-28_171807.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470534156716050" style="width: 320px; height: 42px;" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XNMIYWCBI/AAAAAAAABmI/dKUgCaGLSwc/s320/OEL_5.4_11gR2_2009-12-28_171807.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XNLy1UxDI/AAAAAAAABmA/A7Rb6y1B_Ms/s1600-h/OEL_5.4_11gR2_2009-12-28_171811.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470528372687922" style="width: 320px; height: 41px;" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XNLy1UxDI/AAAAAAAABmA/A7Rb6y1B_Ms/s320/OEL_5.4_11gR2_2009-12-28_171811.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To let both nodes synced I used Network Time Server protocol, because you should ensure that the system clocks on all nodes are as close as possible, so edit /etc/ntp.conf file and add your ntp server.&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1XNL3n-JfI/AAAAAAAABl4/_lcdRYxbbMw/s1600-h/OEL_5.4_11gR2_2009-12-28_175212.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470529658856946" style="width: 320px; height: 34px;" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1XNL3n-JfI/AAAAAAAABl4/_lcdRYxbbMw/s320/OEL_5.4_11gR2_2009-12-28_175212.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1XM-WBTMoI/AAAAAAAABlg/4H8wNl6YaW8/s1600-h/OEL_5.4_11gR2_2009-12-28_175222.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470297299989122" style="width: 320px; height: 32px;" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1XM-WBTMoI/AAAAAAAABlg/4H8wNl6YaW8/s320/OEL_5.4_11gR2_2009-12-28_175222.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Then configure ntpd to start automatically and update manually both nodes.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XM-wNEuQI/AAAAAAAABlw/0V8x2FPRBrE/s1600-h/OEL_5.4_11gR2_2009-12-28_175414.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470304328694018" style="width: 320px; height: 119px;" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XM-wNEuQI/AAAAAAAABlw/0V8x2FPRBrE/s320/OEL_5.4_11gR2_2009-12-28_175414.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1XM-lbHSsI/AAAAAAAABlo/0ri8UZka9xI/s1600-h/OEL_5.4_11gR2_2009-12-28_175420.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470301434792642" style="width: 320px; height: 115px;" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1XM-lbHSsI/AAAAAAAABlo/0ri8UZka9xI/s320/OEL_5.4_11gR2_2009-12-28_175420.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;On all cluster nodes, verify that the kernel parameters are set to values greater than or equal to the recommended value. The procedure following the table describes how to verify and set the values on /etc/sysctl.conf. Then use /sbin/sysctl -p to load this configuration without restarting the nodes.&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1XM-F64aUI/AAAAAAAABlY/coua5f08eIc/s1600-h/OEL_5.4_11gR2_2009-12-29_113153.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470292978100546" style="width: 201px; height: 320px;" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1XM-F64aUI/AAAAAAAABlY/coua5f08eIc/s320/OEL_5.4_11gR2_2009-12-29_113153.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XM949TfJI/AAAAAAAABlQ/g-wMoHvfrrE/s1600-h/OEL_5.4_11gR2_2009-12-29_113210.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428470289498602642" style="width: 320px; height: 239px;" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XM949TfJI/AAAAAAAABlQ/g-wMoHvfrrE/s320/OEL_5.4_11gR2_2009-12-29_113210.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;To improve the performance of the software on Linux systems, you must increase the following shell limits for the oracle user, editing /etc/security/limits.conf file.&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XMB8PsQyI/AAAAAAAABlI/Umwf1wzDYYU/s1600-h/OEL_5.4_11gR2_2009-12-29_113621.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428469259588879138" style="width: 320px; height: 220px;" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XMB8PsQyI/AAAAAAAABlI/Umwf1wzDYYU/s320/OEL_5.4_11gR2_2009-12-29_113621.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1XMBl3j6JI/AAAAAAAABlA/SQtq2BR-PKI/s1600-h/OEL_5.4_11gR2_2009-12-29_113652.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428469253582088338" style="width: 320px; height: 200px;" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1XMBl3j6JI/AAAAAAAABlA/SQtq2BR-PKI/s320/OEL_5.4_11gR2_2009-12-29_113652.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Add or edit the following line in the /etc/pam.d/login file, if it does not already exist:&lt;/div&gt;&lt;div&gt;session required /lib/security/pam_limits.so&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XMBUUNB8I/AAAAAAAABk4/bytOX42e7iQ/s1600-h/OEL_5.4_11gR2_2009-12-29_113835.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428469248870385602" style="width: 320px; height: 34px;" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XMBUUNB8I/AAAAAAAABk4/bytOX42e7iQ/s320/OEL_5.4_11gR2_2009-12-29_113835.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XMBGp-JMI/AAAAAAAABkw/8eqLZpMlk7s/s1600-h/OEL_5.4_11gR2_2009-12-29_113844.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428469245203588290" style="width: 136px; height: 21px;" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1XMBGp-JMI/AAAAAAAABkw/8eqLZpMlk7s/s320/OEL_5.4_11gR2_2009-12-29_113844.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;Depending on the oracle user's default shell, make the following changes to the default shell startup file. For the Bourne, Bash, or Korn shell, add the following lines to the /etc/profile file (or the file/etc/profile.local on SUSE systems):&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XMAyWY94I/AAAAAAAABko/drUZlepOiY8/s1600-h/OEL_5.4_11gR2_2009-12-29_114139.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428469239752750978" style="width: 302px; height: 168px;" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XMAyWY94I/AAAAAAAABko/drUZlepOiY8/s320/OEL_5.4_11gR2_2009-12-29_114139.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;For the C shell (csh or tcsh), add the following lines to the /etc/csh.login file (or the file/etc/csh.login.local on SUSE systems):&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XLYpLdsEI/AAAAAAAABkg/DiWcjG1mphA/s1600-h/OEL_5.4_11gR2_2009-12-29_115627.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428468550096236610" style="width: 244px; height: 320px;" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XLYpLdsEI/AAAAAAAABkg/DiWcjG1mphA/s320/OEL_5.4_11gR2_2009-12-29_115627.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(*Modified on 27 September 2010: as stated on note ID 726833.1 on Oracle 11gR2 there's no need to configure the handcheck-timer module as I suggested below)&lt;br /&gt;Before installing Oracle Real Application Clusters on Linux systems, verify that the hangcheck-timer module (hangcheck-timer) is loaded and configured correctly.&lt;/div&gt;&lt;div&gt;hangcheck-timer monitors the Linux kernel for extended operating system hangs that could affect the reliability of a RAC node and cause a database corruption. &lt;/div&gt;&lt;div&gt;If a kernel/device driver hang occurs, then the module restarts the node in seconds. There are 3 parameters used to control the behavior of the module:&lt;/div&gt;&lt;div&gt;1. The hangcheck_tick parameter: it defines how often, in seconds, the hangcheck-timer checks the node for hangs. The default value is 60 seconds. Oracle recommends to set it to 1(hangcheck_tick=1).&lt;/div&gt;&lt;div&gt;2.The hangcheck_margin parameter: it defines how long the timer waits, in seconds, for a response from the kernel. The default value is 180 seconds. Oracle recommends to set it to 10(hangcheck_margin=10)&lt;/div&gt;&lt;div&gt;3.The hangcheck_reboot parameter: If the value of hangcheck_reboot is equal to or greater than 1, then the hangcheck-timer module restarts the system. If the hangcheck_reboot parameter is set to zero, then the hangcheck-timer module will not restart the node. It should always be set to 1.&lt;/div&gt;&lt;div&gt;If the kernel fails to respond within the sum of the hangcheck_tick and hangcheck_margin parameter values, then the hangcheck-timer module restarts the system.&lt;/div&gt;&lt;div&gt;Log in as root, and enter the following command to check the kernel version:&lt;/div&gt;&lt;div&gt;uname -a&lt;/div&gt;&lt;div&gt;On Kernel 2.6 enter a command similar to the following to start the module located in the directories of the current kernel version:&lt;/div&gt;&lt;div&gt;insmod /lib/modules/kernel_version/kernel/drivers/char/hangcheck-timer.ko hangcheck_tick=1 hangcheck_margin=10 hangcheck_reboot=1&lt;br /&gt;echo "insmod /lib/modules/kernel_version/kernel/drivers/char/hangcheck-timer.ko hangcheck_tick=1 hangcheck_margin=10 hangcheck_reboot=1" &gt;&gt; /etc/rc.d/rc.local&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1XLXwhq1FI/AAAAAAAABkI/9xdoLMsxgjM/s1600-h/OEL_5.4_11gR2_2009-12-29_125542.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428468534888551506" style="width: 320px; height: 54px;" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1XLXwhq1FI/AAAAAAAABkI/9xdoLMsxgjM/s320/OEL_5.4_11gR2_2009-12-29_125542.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XLXlMZjUI/AAAAAAAABkA/SCWlohlmROg/s1600-h/OEL_5.4_11gR2_2009-12-29_125638.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428468531846548802" style="width: 320px; height: 43px;" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XLXlMZjUI/AAAAAAAABkA/SCWlohlmROg/s320/OEL_5.4_11gR2_2009-12-29_125638.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-1166353995493194046?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/1166353995493194046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=1166353995493194046' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1166353995493194046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1166353995493194046'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/01/oracle-11gr2-rac-installation-kernel.html' title='Oracle 11gR2 RAC installation: kernel, ssh user equivalency, networking and time sync'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_FgrxeU6xYKM/S1XOd9V4cZI/AAAAAAAABnA/RRkzQdY0AwE/s72-c/OEL_5.4_11gR2_2009-12-28_154228.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-4515932369615507289</id><published>2010-01-19T09:29:00.013+01:00</published><updated>2010-01-19T10:35:47.041+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCHEMA MANAGEMENT'/><title type='text'>How to multiplex redo log members and groups on ASM with sqlplus and EM</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;his post will show you how to add new redo log members and groups when the storage engine is ASM; they will be added using both sqlplus console and Enterprise Manager Console.&lt;br /&gt;The following picture is a screenshot taken from the Enterprise Manager after I finished to configure a default Oracle RAC installation formed by two nodes. As you can see there are four groups with just one redo log member.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1Vu_GnYIyI/AAAAAAAABj4/wmpivoW8H7M/s1600-h/multiplexing_redolog_2010-01-12_124832.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366956251587362" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 88px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1Vu_GnYIyI/AAAAAAAABj4/wmpivoW8H7M/s320/multiplexing_redolog_2010-01-12_124832.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;From sqlplus console you can see how this redo log groups and redo log member are accessible by both nodes.&lt;br /&gt;If you want to see which redo log member is accessible by one node, simply run the following query:&lt;br /&gt;SQL&gt; select * from v$logfile order by GROUP#;&lt;br /&gt;&lt;br /&gt;Otherwise if you want to see which redo log member is accessible by both nodes, run this other query:&lt;br /&gt;SQL&gt; select * from gv$logfile order by INST_ID, GROUP#;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1Vu-t8kNuI/AAAAAAAABjw/_7kfFcmXgss/s1600-h/multiplexing_redolog_2010-01-12_142858.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366949629572834" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 180px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1Vu-t8kNuI/AAAAAAAABjw/_7kfFcmXgss/s320/multiplexing_redolog_2010-01-12_142858.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now we will add a new redo log group from sqlplus console, using the following command:&lt;br /&gt;SQL&gt; ALTER DATABASE ADD LOGFILE THREAD 1 GROUP 5 SIZE 51200K;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1Vu-UvIX6I/AAAAAAAABjo/4_eSHu-SgHw/s1600-h/multiplexing_redolog_2010-01-12_144200.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366942862335906" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 62px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1Vu-UvIX6I/AAAAAAAABjo/4_eSHu-SgHw/s320/multiplexing_redolog_2010-01-12_144200.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As you can see from the EM console the new redo log group is created and magically two redo log members are added to this redo log group. Now let's create another redo log group, the sixth, but using the EM console. Click on the CREATE button on the right.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1Vu-B8_gbI/AAAAAAAABjg/Ps75Zgbgs4I/s1600-h/multiplexing_redolog_2010-01-12_144423.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366937820201394" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 104px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1Vu-B8_gbI/AAAAAAAABjg/Ps75Zgbgs4I/s320/multiplexing_redolog_2010-01-12_144423.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Complete the group name, the file size and choose to which thread assign this new redo log group. Then click on SHOW SQL button to see what command will be executed.&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1Vu975cRQI/AAAAAAAABjY/sJml4iSQ6JY/s1600-h/multiplexing_redolog_2010-01-12_144447.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366936194696450" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 90px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1Vu975cRQI/AAAAAAAABjY/sJml4iSQ6JY/s320/multiplexing_redolog_2010-01-12_144447.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;As you can see the command is the same we executed previously from sqlplus console. Click RETURN button. On the previuos screen you can simply click OK button to execute the command.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1Vuy-_srVI/AAAAAAAABjQ/vEnkWZS4-0Y/s1600-h/multiplexing_redolog_2010-01-12_144456.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366748047682898" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 45px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1Vuy-_srVI/AAAAAAAABjQ/vEnkWZS4-0Y/s320/multiplexing_redolog_2010-01-12_144456.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Again the EM console will show our new configuration and the new redo log group will be formed by two redo log members.&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1Vuy7Sga0I/AAAAAAAABjI/eW4J-_goe3g/s1600-h/multiplexing_redolog_2010-01-12_144516.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366747052829506" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 124px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1Vuy7Sga0I/AAAAAAAABjI/eW4J-_goe3g/s320/multiplexing_redolog_2010-01-12_144516.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now we want to add another redo log member to redo log groups 1, 2, 3 and 4. For 1, 2 and 3 I will add them by sqlplus console; the fourth will be added by EM console.&lt;/div&gt;&lt;div&gt;From sqlplus console I simply used the following commands as you can see from picture. My storage engine is based on ASM (Automatic Storage Management), so the syntax is very easy.&lt;/div&gt;&lt;div&gt;ALTER DATABASE ADD LOGFILE MEMBER '+DATA_RAC3' TO GROUP 1;&lt;br /&gt;ALTER DATABASE ADD LOGFILE MEMBER '+DATA_RAC3' TO GROUP 2;&lt;br /&gt;ALTER DATABASE ADD LOGFILE MEMBER '+DATA_RAC3' TO GROUP 3;&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1Vuyl-L9KI/AAAAAAAABjA/4opU4GvjFHY/s1600-h/multiplexing_redolog_2010-01-12_145532.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366741330457762" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 122px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1Vuyl-L9KI/AAAAAAAABjA/4opU4GvjFHY/s320/multiplexing_redolog_2010-01-12_145532.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From EM console, select redo log group number 4 and then click EDIT button.&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1VuyWOEVKI/AAAAAAAABi4/kWz6ntD4ruQ/s1600-h/multiplexing_redolog_2010-01-12_145608.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366737102099618" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 110px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1VuyWOEVKI/AAAAAAAABi4/kWz6ntD4ruQ/s320/multiplexing_redolog_2010-01-12_145608.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following screenshot will be showed. To add a new redo log member, click ADD button.&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1VuyAuZo6I/AAAAAAAABiw/vUcoR4qY0j8/s1600-h/multiplexing_redolog_2010-01-12_145630.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366731332133794" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 92px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1VuyAuZo6I/AAAAAAAABiw/vUcoR4qY0j8/s320/multiplexing_redolog_2010-01-12_145630.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;Use default suggestion and the click on CONTINUE.&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1VulxLt4KI/AAAAAAAABio/OeluEwMKNEo/s1600-h/multiplexing_redolog_2010-01-12_145643.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366521001697442" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 80px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1VulxLt4KI/AAAAAAAABio/OeluEwMKNEo/s320/multiplexing_redolog_2010-01-12_145643.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following screenshot will be showed. Now select SHOW SQL button to see the command line.&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1Vul2Ya0XI/AAAAAAAABig/jtAngMxHlrU/s1600-h/multiplexing_redolog_2010-01-12_145651.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366522397151602" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 98px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1Vul2Ya0XI/AAAAAAAABig/jtAngMxHlrU/s320/multiplexing_redolog_2010-01-12_145651.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As you can see it's the same we executed by sqlplus console. Click RETURN.&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1VuljvjsnI/AAAAAAAABiY/N6PUVYnbDC4/s1600-h/multiplexing_redolog_2010-01-12_145658.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366517393928818" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 42px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1VuljvjsnI/AAAAAAAABiY/N6PUVYnbDC4/s320/multiplexing_redolog_2010-01-12_145658.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Click APPLY to add the new redo log member to redo log group number 4.&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1VulRBUXyI/AAAAAAAABiQ/Cv5hzoLw2fA/s1600-h/multiplexing_redolog_2010-01-12_145709.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366512368148258" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 112px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1VulRBUXyI/AAAAAAAABiQ/Cv5hzoLw2fA/s320/multiplexing_redolog_2010-01-12_145709.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Finally... every redo log group is formed now by two redo log members.&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1VulVpDM5I/AAAAAAAABiI/7J5NMc1LVOs/s1600-h/multiplexing_redolog_2010-01-12_145720.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5428366513608536978" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 110px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1VulVpDM5I/AAAAAAAABiI/7J5NMc1LVOs/s320/multiplexing_redolog_2010-01-12_145720.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-4515932369615507289?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/4515932369615507289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=4515932369615507289' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4515932369615507289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4515932369615507289'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/01/how-to-multiplex-redo-log-members-and.html' title='How to multiplex redo log members and groups on ASM with sqlplus and EM'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_FgrxeU6xYKM/S1Vu_GnYIyI/AAAAAAAABj4/wmpivoW8H7M/s72-c/multiplexing_redolog_2010-01-12_124832.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-5722743744057472895</id><published>2010-01-15T15:21:00.010+01:00</published><updated>2010-01-19T09:40:38.442+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>Oracle 11gR2 RAC installation: EMC PowerPath configuration</title><content type='html'>&lt;span class="dropcaps"&gt;L&lt;/span&gt;et's continue to our environment setup.&lt;br /&gt;As root I create DBA Group and Oracle User on both nodes, using the following commands:&lt;br /&gt;groupadd dba&lt;br /&gt;groupadd oinstall&lt;br /&gt;useradd -g oinstall -G dba oracle&lt;br /&gt;passwd oracle&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B8Gvz9LPI/AAAAAAAABhg/wWk6GR84EH4/s1600-h/OEL_5.4_11gR2_2009-12-23_161953.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426974006336892146" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 129px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B8Gvz9LPI/AAAAAAAABhg/wWk6GR84EH4/s320/OEL_5.4_11gR2_2009-12-23_161953.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B8GoTIx4I/AAAAAAAABhY/AIjmVzVr280/s1600-h/OEL_5.4_11gR2_2009-12-23_162000.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426974004320192386" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 129px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B8GoTIx4I/AAAAAAAABhY/AIjmVzVr280/s320/OEL_5.4_11gR2_2009-12-23_162000.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;I got the latest rpm available for Linux platform on 64bit from EMC website for PowerPath solution and installed on both nodes as root.&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B8GOAz3gI/AAAAAAAABhQ/tS2CusrWJXU/s1600-h/OEL_5.4_11gR2_2009-12-23_163118.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426973997264002562" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 141px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B8GOAz3gI/AAAAAAAABhQ/tS2CusrWJXU/s320/OEL_5.4_11gR2_2009-12-23_163118.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I've setup WWN for this new Rac installation and created a logical storage group from EMC Navisphere software solution.&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B72xyTmCI/AAAAAAAABhI/X5MzhL1Fa5o/s1600-h/OEL_5.4_11gR2_2009-12-23_170755.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426973731988936738" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 154px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B72xyTmCI/AAAAAAAABhI/X5MzhL1Fa5o/s320/OEL_5.4_11gR2_2009-12-23_170755.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;I've licensed properly this new hosts&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1B_ciZnvrI/AAAAAAAABiA/kpFTmksJzrQ/s1600-h/OEL_5.4_11gR2_2009-12-28_123932.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426977679228780210" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 84px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1B_ciZnvrI/AAAAAAAABiA/kpFTmksJzrQ/s320/OEL_5.4_11gR2_2009-12-28_123932.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B_cQy9qZI/AAAAAAAABh4/M25fhu2cuRM/s1600-h/OEL_5.4_11gR2_2009-12-28_123938.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426977674503235986" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 85px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B_cQy9qZI/AAAAAAAABh4/M25fhu2cuRM/s320/OEL_5.4_11gR2_2009-12-28_123938.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Started the PowerPath daemon on both nodes&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B_b2FrhGI/AAAAAAAABhw/0AX2zpcNFw8/s1600-h/OEL_5.4_11gR2_2009-12-28_124339.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426977667333981282" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 143px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B_b2FrhGI/AAAAAAAABhw/0AX2zpcNFw8/s320/OEL_5.4_11gR2_2009-12-28_124339.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B_byBjwxI/AAAAAAAABho/SnzBkbX6SXA/s1600-h/OEL_5.4_11gR2_2009-12-28_124344.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426977666242954002" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 124px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B_byBjwxI/AAAAAAAABho/SnzBkbX6SXA/s320/OEL_5.4_11gR2_2009-12-28_124344.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let's see what devices our machines can view&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B7L9H0NAI/AAAAAAAABgg/qTQdDXXmezo/s1600-h/OEL_5.4_11gR2_2009-12-28_124418.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972996297569282" style="WIDTH: 210px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B7L9H0NAI/AAAAAAAABgg/qTQdDXXmezo/s320/OEL_5.4_11gR2_2009-12-28_124418.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B7LmytT0I/AAAAAAAABgY/xbSkB1gu6dw/s1600-h/OEL_5.4_11gR2_2009-12-28_124425.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972990303457090" style="WIDTH: 213px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B7LmytT0I/AAAAAAAABgY/xbSkB1gu6dw/s320/OEL_5.4_11gR2_2009-12-28_124425.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Ok. Our nodes can connect and use the logical storage group.&lt;/div&gt;&lt;div&gt;Now it's time to format them (just from one node) as the following screenshot&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1B7LYDrRQI/AAAAAAAABgQ/1cvsXBvFFec/s1600-h/OEL_5.4_11gR2_2009-12-28_151531.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972986348094722" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 246px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1B7LYDrRQI/AAAAAAAABgQ/1cvsXBvFFec/s320/OEL_5.4_11gR2_2009-12-28_151531.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1B7LGcBjKI/AAAAAAAABgI/BUY5bk5pzqY/s1600-h/OEL_5.4_11gR2_2009-12-28_152010.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972981618379938" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 172px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S1B7LGcBjKI/AAAAAAAABgI/BUY5bk5pzqY/s320/OEL_5.4_11gR2_2009-12-28_152010.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B7K-sYHeI/AAAAAAAABgA/lbAFshOhvNQ/s1600-h/OEL_5.4_11gR2_2009-12-28_152025.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972979539484130" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 215px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B7K-sYHeI/AAAAAAAABgA/lbAFshOhvNQ/s320/OEL_5.4_11gR2_2009-12-28_152025.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1B6pf9n4UI/AAAAAAAABf4/g6rSe6pIRXU/s1600-h/OEL_5.4_11gR2_2009-12-28_152116.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972404354638146" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 225px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S1B6pf9n4UI/AAAAAAAABf4/g6rSe6pIRXU/s320/OEL_5.4_11gR2_2009-12-28_152116.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B6pCJ6gRI/AAAAAAAABfw/0y38G5iFU9o/s1600-h/OEL_5.4_11gR2_2009-12-28_152442.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972396353126674" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 182px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B6pCJ6gRI/AAAAAAAABfw/0y38G5iFU9o/s320/OEL_5.4_11gR2_2009-12-28_152442.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B6o4EL_PI/AAAAAAAABfo/zefFeXrznF4/s1600-h/OEL_5.4_11gR2_2009-12-28_152517.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972393644752114" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 201px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B6o4EL_PI/AAAAAAAABfo/zefFeXrznF4/s320/OEL_5.4_11gR2_2009-12-28_152517.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B6omyUcuI/AAAAAAAABfg/VokkSbQ0ZZk/s1600-h/OEL_5.4_11gR2_2009-12-28_152610.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972389006406370" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 176px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S1B6omyUcuI/AAAAAAAABfg/VokkSbQ0ZZk/s320/OEL_5.4_11gR2_2009-12-28_152610.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B6oWkWnzI/AAAAAAAABfY/TAxYCNLxYmk/s1600-h/OEL_5.4_11gR2_2009-12-28_152852.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426972384652861234" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 182px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B6oWkWnzI/AAAAAAAABfY/TAxYCNLxYmk/s320/OEL_5.4_11gR2_2009-12-28_152852.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Next step is to configure SSH on Cluster Member Nodes&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-5722743744057472895?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/5722743744057472895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=5722743744057472895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/5722743744057472895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/5722743744057472895'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/01/oracle-11gr2-rac-installation-emc.html' title='Oracle 11gR2 RAC installation: EMC PowerPath configuration'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_FgrxeU6xYKM/S1B8Gvz9LPI/AAAAAAAABhg/wWk6GR84EH4/s72-c/OEL_5.4_11gR2_2009-12-23_161953.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-6247834733147152153</id><published>2010-01-14T15:48:00.020+01:00</published><updated>2010-01-15T15:15:54.284+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 11gR2'/><title type='text'>Oracle 11gR2 RAC installation using Enterprise Linux 5.4.0.0.0</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;his is a first post about how I installed Oracle Real Application Clusters 11gR2 on two nodes using Oracle Enterprise Linux 5.4.0.0.0.&lt;br /&gt;&lt;br /&gt;Just because I got every screenshot to document my activity and don't have time to write all the steps I did... when I decide one step is easy to understand... just look at the screenshot...&lt;br /&gt;&lt;br /&gt;I'll prefer to attach just a series/set of pictures one after another and describe those steps that required more configuration and attention. Thanks...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First of all go to &lt;a href="http://edelivery.oracle.com/"&gt;http://edelivery.oracle.com/&lt;/a&gt; and get the 6 files for Enterprise Linux (I used Enterprise Linux Release 5 Update 4 Media Pack for x86_64 (64 bit) )...&lt;br /&gt;&lt;br /&gt;Enterprise-R5-U4-Server-x86_64-disc1.iso&lt;br /&gt;Enterprise-R5-U4-Server-x86_64-disc2.iso&lt;br /&gt;Enterprise-R5-U4-Server-x86_64-disc3.iso&lt;br /&gt;Enterprise-R5-U4-Server-x86_64-disc4.iso&lt;br /&gt;Enterprise-R5-U4-Server-x86_64-disc5.iso&lt;br /&gt;Enterprise-R5-U4-Server-x86_64-disc6.iso&lt;br /&gt;&lt;br /&gt;From my ILO (Integrated Lights-Out), the embedded server management technology exclusive to HP, I've mounted as virtual media (CD-ROM) my local hard disk pointing to the first iso previously downloaded. Then I started my remote server and the following are the steps I've done:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Used a linux text installation&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S08937igOQI/AAAAAAAABfQ/0-hggsRkAJs/s1600-h/OEL_5.4_11gR2_2009-12-22_160058.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426624107089246466" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 278px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S08937igOQI/AAAAAAAABfQ/0-hggsRkAJs/s320/OEL_5.4_11gR2_2009-12-22_160058.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;Skipped the media test&lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S089iFRm11I/AAAAAAAABfI/t7vxAb96Pzc/s1600-h/OEL_5.4_11gR2_2009-12-22_160259.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623731745609554" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S089iFRm11I/AAAAAAAABfI/t7vxAb96Pzc/s320/OEL_5.4_11gR2_2009-12-22_160259.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S089h3Ew-WI/AAAAAAAABfA/SRMKdXtjYqY/s1600-h/OEL_5.4_11gR2_2009-12-22_160336.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623727933651298" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S089h3Ew-WI/AAAAAAAABfA/SRMKdXtjYqY/s320/OEL_5.4_11gR2_2009-12-22_160336.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Language Selection&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S089hpiKemI/AAAAAAAABe4/O3UC4IvlZdE/s1600-h/OEL_5.4_11gR2_2009-12-22_160341.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623724298861154" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S089hpiKemI/AAAAAAAABe4/O3UC4IvlZdE/s320/OEL_5.4_11gR2_2009-12-22_160341.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Keyboard selection&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S089hu5h6NI/AAAAAAAABew/ihwwH-Ir7zY/s1600-h/OEL_5.4_11gR2_2009-12-22_160349.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623725739043026" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S089hu5h6NI/AAAAAAAABew/ihwwH-Ir7zY/s320/OEL_5.4_11gR2_2009-12-22_160349.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I had a previuos installation here, so I needed to format all DATA.&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S089hXpgeEI/AAAAAAAABeo/u-aYKcR9HtM/s1600-h/OEL_5.4_11gR2_2009-12-22_160409.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623719497824322" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S089hXpgeEI/AAAAAAAABeo/u-aYKcR9HtM/s320/OEL_5.4_11gR2_2009-12-22_160409.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;Reinstall System&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S089NuwuPWI/AAAAAAAABeg/FSfGo-oUXVU/s1600-h/OEL_5.4_11gR2_2009-12-22_161454.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623382104718690" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S089NuwuPWI/AAAAAAAABeg/FSfGo-oUXVU/s320/OEL_5.4_11gR2_2009-12-22_161454.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Partition Configuration&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S089NS97QXI/AAAAAAAABeY/QGnZh447-1c/s1600-h/OEL_5.4_11gR2_2009-12-22_161547.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623374643904882" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S089NS97QXI/AAAAAAAABeY/QGnZh447-1c/s320/OEL_5.4_11gR2_2009-12-22_161547.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S089NJQthaI/AAAAAAAABeQ/u7weVn9ysO0/s1600-h/OEL_5.4_11gR2_2009-12-22_161931.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623372038342050" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S089NJQthaI/AAAAAAAABeQ/u7weVn9ysO0/s320/OEL_5.4_11gR2_2009-12-22_161931.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S089MwUykpI/AAAAAAAABeI/GIN3Czd10QA/s1600-h/OEL_5.4_11gR2_2009-12-22_162013.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623365344563858" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S089MwUykpI/AAAAAAAABeI/GIN3Czd10QA/s320/OEL_5.4_11gR2_2009-12-22_162013.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S089MyhfmrI/AAAAAAAABeA/m5DCqMz8zJo/s1600-h/OEL_5.4_11gR2_2009-12-22_162216.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426623365934717618" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S089MyhfmrI/AAAAAAAABeA/m5DCqMz8zJo/s320/OEL_5.4_11gR2_2009-12-22_162216.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;Final partition configuration&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S088m7V9qFI/AAAAAAAABd4/EZyB1rgaSdg/s1600-h/OEL_5.4_11gR2_2009-12-22_162228.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622715467245650" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S088m7V9qFI/AAAAAAAABd4/EZyB1rgaSdg/s320/OEL_5.4_11gR2_2009-12-22_162228.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Boot loader configuration&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S088mrD_FBI/AAAAAAAABdw/i-Vh293XH2E/s1600-h/OEL_5.4_11gR2_2009-12-22_162235.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622711096874002" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S088mrD_FBI/AAAAAAAABdw/i-Vh293XH2E/s320/OEL_5.4_11gR2_2009-12-22_162235.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S088mQ068ZI/AAAAAAAABdo/AFj73JwFn5g/s1600-h/OEL_5.4_11gR2_2009-12-22_162254.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622704054366610" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S088mQ068ZI/AAAAAAAABdo/AFj73JwFn5g/s320/OEL_5.4_11gR2_2009-12-22_162254.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S088mKPEKeI/AAAAAAAABdg/C0DgG3neq98/s1600-h/OEL_5.4_11gR2_2009-12-22_162300.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622702284974562" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S088mKPEKeI/AAAAAAAABdg/C0DgG3neq98/s320/OEL_5.4_11gR2_2009-12-22_162300.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S088lnCIPqI/AAAAAAAABdY/h_DqXe9IWwA/s1600-h/OEL_5.4_11gR2_2009-12-22_162307.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622692835475106" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S088lnCIPqI/AAAAAAAABdY/h_DqXe9IWwA/s320/OEL_5.4_11gR2_2009-12-22_162307.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S088M_6m_8I/AAAAAAAABdQ/bUizA4g_SYA/s1600-h/OEL_5.4_11gR2_2009-12-22_162325.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622270018092994" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S088M_6m_8I/AAAAAAAABdQ/bUizA4g_SYA/s320/OEL_5.4_11gR2_2009-12-22_162325.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Network configuration&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S088MvD6XFI/AAAAAAAABdI/8WQXFROSFN0/s1600-h/OEL_5.4_11gR2_2009-12-22_162415.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622265493707858" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S088MvD6XFI/AAAAAAAABdI/8WQXFROSFN0/s320/OEL_5.4_11gR2_2009-12-22_162415.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;First network&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S088MecDz2I/AAAAAAAABdA/s_4W3ceK-qA/s1600-h/OEL_5.4_11gR2_2009-12-22_162426.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622261031587682" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S088MecDz2I/AAAAAAAABdA/s_4W3ceK-qA/s320/OEL_5.4_11gR2_2009-12-22_162426.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S088MIe-API/AAAAAAAABc4/SM9ZAoo3gHg/s1600-h/OEL_5.4_11gR2_2009-12-22_162621.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622255138210034" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S088MIe-API/AAAAAAAABc4/SM9ZAoo3gHg/s320/OEL_5.4_11gR2_2009-12-22_162621.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S088L5yX8tI/AAAAAAAABcw/Op5_XuaTobs/s1600-h/OEL_5.4_11gR2_2009-12-22_162633.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426622251193070290" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S088L5yX8tI/AAAAAAAABcw/Op5_XuaTobs/s320/OEL_5.4_11gR2_2009-12-22_162633.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Second network&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087mz7lphI/AAAAAAAABco/rjGZ2X80AGs/s1600-h/OEL_5.4_11gR2_2009-12-22_162659.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621613965944338" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087mz7lphI/AAAAAAAABco/rjGZ2X80AGs/s320/OEL_5.4_11gR2_2009-12-22_162659.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Network mask for private intercommunication&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S087moaBX-I/AAAAAAAABcg/JMLjd6AeVLk/s1600-h/OEL_5.4_11gR2_2009-12-22_162831.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621610872365026" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S087moaBX-I/AAAAAAAABcg/JMLjd6AeVLk/s320/OEL_5.4_11gR2_2009-12-22_162831.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S087mNS2lEI/AAAAAAAABcY/qp_FTrSTPcU/s1600-h/OEL_5.4_11gR2_2009-12-22_162840.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621603594540098" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S087mNS2lEI/AAAAAAAABcY/qp_FTrSTPcU/s320/OEL_5.4_11gR2_2009-12-22_162840.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Network Settings&lt;/div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S087l3rMKaI/AAAAAAAABcQ/qh7OONmfBT8/s1600-h/OEL_5.4_11gR2_2009-12-22_163636.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621597791037858" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S087l3rMKaI/AAAAAAAABcQ/qh7OONmfBT8/s320/OEL_5.4_11gR2_2009-12-22_163636.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hostname &lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087lg2GtXI/AAAAAAAABcI/Q_bWoS0EkGw/s1600-h/OEL_5.4_11gR2_2009-12-22_163714.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621591662802290" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087lg2GtXI/AAAAAAAABcI/Q_bWoS0EkGw/s320/OEL_5.4_11gR2_2009-12-22_163714.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087PCHoHRI/AAAAAAAABcA/f9BAH9lUsZc/s1600-h/OEL_5.4_11gR2_2009-12-22_163744.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621205457673490" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087PCHoHRI/AAAAAAAABcA/f9BAH9lUsZc/s320/OEL_5.4_11gR2_2009-12-22_163744.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087Op32BfI/AAAAAAAABb4/i28yXqZEUXo/s1600-h/OEL_5.4_11gR2_2009-12-22_163800.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621198949025266" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087Op32BfI/AAAAAAAABb4/i28yXqZEUXo/s320/OEL_5.4_11gR2_2009-12-22_163800.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Software to install&lt;/div&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087OOZ4UuI/AAAAAAAABbw/9AkE-8E4jrg/s1600-h/OEL_5.4_11gR2_2009-12-22_163905.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621191575589602" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S087OOZ4UuI/AAAAAAAABbw/9AkE-8E4jrg/s320/OEL_5.4_11gR2_2009-12-22_163905.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S087N7EgthI/AAAAAAAABbo/wv9hmTydhO8/s1600-h/OEL_5.4_11gR2_2009-12-22_164129.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621186385688082" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S087N7EgthI/AAAAAAAABbo/wv9hmTydhO8/s320/OEL_5.4_11gR2_2009-12-22_164129.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S087NuClHZI/AAAAAAAABbg/odiUx-eHACA/s1600-h/OEL_5.4_11gR2_2009-12-22_164123.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426621182887927186" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S087NuClHZI/AAAAAAAABbg/odiUx-eHACA/s320/OEL_5.4_11gR2_2009-12-22_164123.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S086xGcUJTI/AAAAAAAABbY/gf0RvtikMdw/s1600-h/OEL_5.4_11gR2_2009-12-22_164133.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620691222111538" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S086xGcUJTI/AAAAAAAABbY/gf0RvtikMdw/s320/OEL_5.4_11gR2_2009-12-22_164133.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S086wyPM1XI/AAAAAAAABbQ/ALDCkW2DZvU/s1600-h/OEL_5.4_11gR2_2009-12-22_164145.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620685798397298" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S086wyPM1XI/AAAAAAAABbQ/ALDCkW2DZvU/s320/OEL_5.4_11gR2_2009-12-22_164145.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S086wu4-qkI/AAAAAAAABbI/15jK6ui294g/s1600-h/OEL_5.4_11gR2_2009-12-22_164150.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620684899887682" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S086wu4-qkI/AAAAAAAABbI/15jK6ui294g/s320/OEL_5.4_11gR2_2009-12-22_164150.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S086wvlLyjI/AAAAAAAABbA/Xq7WU6gax1k/s1600-h/OEL_5.4_11gR2_2009-12-22_164153.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620685085297202" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S086wvlLyjI/AAAAAAAABbA/Xq7WU6gax1k/s320/OEL_5.4_11gR2_2009-12-22_164153.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S086wYCSS4I/AAAAAAAABa4/4QTqD5bkLVY/s1600-h/OEL_5.4_11gR2_2009-12-22_164252.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620678764907394" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S086wYCSS4I/AAAAAAAABa4/4QTqD5bkLVY/s320/OEL_5.4_11gR2_2009-12-22_164252.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The begin of packages installation&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S086ajduOTI/AAAAAAAABaw/iwb014HBFuc/s1600-h/OEL_5.4_11gR2_2009-12-22_164415.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620303875651890" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S086ajduOTI/AAAAAAAABaw/iwb014HBFuc/s320/OEL_5.4_11gR2_2009-12-22_164415.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S086aWgePsI/AAAAAAAABao/l7cxj-IA7e0/s1600-h/OEL_5.4_11gR2_2009-12-22_164431.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620300397526722" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S086aWgePsI/AAAAAAAABao/l7cxj-IA7e0/s320/OEL_5.4_11gR2_2009-12-22_164431.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S086aAFdaSI/AAAAAAAABag/DbCsWFhREyU/s1600-h/OEL_5.4_11gR2_2009-12-22_164820.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620294378645794" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S086aAFdaSI/AAAAAAAABag/DbCsWFhREyU/s320/OEL_5.4_11gR2_2009-12-22_164820.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S086Z_ZqB3I/AAAAAAAABaY/w-7yB_t8DHc/s1600-h/OEL_5.4_11gR2_2009-12-22_165911.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620294194923378" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S086Z_ZqB3I/AAAAAAAABaY/w-7yB_t8DHc/s320/OEL_5.4_11gR2_2009-12-22_165911.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S086Zjw-wBI/AAAAAAAABaQ/fgcaU5Flwg4/s1600-h/OEL_5.4_11gR2_2009-12-22_171936.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426620286776557586" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S086Zjw-wBI/AAAAAAAABaQ/fgcaU5Flwg4/s320/OEL_5.4_11gR2_2009-12-22_171936.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S085e9SXTOI/AAAAAAAABaI/VNA50A1mNEc/s1600-h/OEL_5.4_11gR2_2009-12-22_172608.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426619280015183074" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S085e9SXTOI/AAAAAAAABaI/VNA50A1mNEc/s320/OEL_5.4_11gR2_2009-12-22_172608.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S085ekuvSTI/AAAAAAAABaA/oPnBzJCfzj4/s1600-h/OEL_5.4_11gR2_2009-12-22_173237.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426619273423309106" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S085ekuvSTI/AAAAAAAABaA/oPnBzJCfzj4/s320/OEL_5.4_11gR2_2009-12-22_173237.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S085ebgn0OI/AAAAAAAABZ4/GS3E6pptayQ/s1600-h/OEL_5.4_11gR2_2009-12-22_173427.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426619270948180194" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S085ebgn0OI/AAAAAAAABZ4/GS3E6pptayQ/s320/OEL_5.4_11gR2_2009-12-22_173427.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Reboot the machine&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S085eH_6FEI/AAAAAAAABZw/liDwryp9GRI/s1600-h/OEL_5.4_11gR2_2009-12-22_173642.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426619265710691394" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S085eH_6FEI/AAAAAAAABZw/liDwryp9GRI/s320/OEL_5.4_11gR2_2009-12-22_173642.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Disable SeLinux&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S085eAikh2I/AAAAAAAABZo/dX-8j3sueF8/s1600-h/OEL_5.4_11gR2_2009-12-23_104322.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426619263708596066" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S085eAikh2I/AAAAAAAABZo/dX-8j3sueF8/s320/OEL_5.4_11gR2_2009-12-23_104322.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0833ZN-UOI/AAAAAAAABZg/ldoe6VjJftQ/s1600-h/OEL_5.4_11gR2_2009-12-23_104332.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426617500806566114" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0833ZN-UOI/AAAAAAAABZg/ldoe6VjJftQ/s320/OEL_5.4_11gR2_2009-12-23_104332.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;The following are the network settings steps for the second nodes&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S0833L8gjyI/AAAAAAAABZY/JLGcriAR1_0/s1600-h/OEL_5.4_11gR2_2009-12-23_122927.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426617497243651874" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S0833L8gjyI/AAAAAAAABZY/JLGcriAR1_0/s320/OEL_5.4_11gR2_2009-12-23_122927.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0833OGTBJI/AAAAAAAABZQ/HWtm4o2xV7M/s1600-h/OEL_5.4_11gR2_2009-12-23_122948.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426617497821578386" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0833OGTBJI/AAAAAAAABZQ/HWtm4o2xV7M/s320/OEL_5.4_11gR2_2009-12-23_122948.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S08329wdPXI/AAAAAAAABZI/XRk-pZzS6UQ/s1600-h/OEL_5.4_11gR2_2009-12-23_123015.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426617493435006322" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S08329wdPXI/AAAAAAAABZI/XRk-pZzS6UQ/s320/OEL_5.4_11gR2_2009-12-23_123015.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/S0832iG37sI/AAAAAAAABZA/D9bffQN7LGM/s1600-h/OEL_5.4_11gR2_2009-12-23_123020.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5426617486012837570" style="WIDTH: 320px; CURSOR: pointer; HEIGHT: 238px" alt="" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/S0832iG37sI/AAAAAAAABZA/D9bffQN7LGM/s320/OEL_5.4_11gR2_2009-12-23_123020.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;That's all.. for now...&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-6247834733147152153?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/6247834733147152153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=6247834733147152153' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6247834733147152153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6247834733147152153'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/01/oracle-11gr2-rac-installation-using.html' title='Oracle 11gR2 RAC installation using Enterprise Linux 5.4.0.0.0'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/S08937igOQI/AAAAAAAABfQ/0-hggsRkAJs/s72-c/OEL_5.4_11gR2_2009-12-22_160058.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-5145105186071517359</id><published>2010-01-11T11:54:00.003+01:00</published><updated>2010-01-11T12:11:09.955+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCHEMA MANAGEMENT'/><title type='text'>Enable ARCHIVELOG and FLASHBACK mode on ASM</title><content type='html'>&lt;span class="dropcaps"&gt;T&lt;/span&gt;o enable ARCHIVELOG on ASM and configure FLASHBACK (without enabling it) you need to set up the appropriate initialization parameters (db_recovery_file_dest_size, db_recovery_file_dest, db_flashback_retention_target).&lt;br /&gt;&lt;br /&gt;SQL&gt;alter system set db_recovery_file_dest_size = '400G' scope=both sid='*';&lt;br /&gt;SQL&gt;alter system set db_recovery_file_dest = &lt;name&gt;'+DATA_RAC3' scope=both sid='*';&lt;br /&gt;SQL&gt; alter system set db_flashback_retention_target = &lt;time&gt; 60 scope&lt;/time&gt;&lt;/name&gt;&lt;name&gt;&lt;time&gt;=both si&lt;/time&gt;&lt;/name&gt;&lt;name&gt;&lt;time&gt;d='*';&lt;br /&gt;&lt;/time&gt;&lt;/name&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S0sG-gRgi4I/AAAAAAAABXY/ab0OaZpV1UQ/s1600-h/set_archivelog_asm_2010-01-08_172253.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 90px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S0sG-gRgi4I/AAAAAAAABXY/ab0OaZpV1UQ/s320/set_archivelog_asm_2010-01-08_172253.jpg" alt="" id="BLOGGER_PHOTO_ID_5425437846982921090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;name&gt;&lt;time&gt;Then you need to put the database in MOUNT mode; ARCHIVELOG and FLASHBACK mode can be changed only when the database is in the MOUN&lt;/time&gt;&lt;/name&gt;&lt;name&gt;&lt;time&gt;T state.&lt;br /&gt;srvctl stop database -d RAC3 -o immediate&lt;br /&gt;srvctl start database -d RAC3 -o mount&lt;/time&gt;&lt;/name&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S0sG-rmmFqI/AAAAAAAABXg/8ayZu9GSc5Q/s1600-h/set_archivelog_asm_2010-01-08_172651.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 53px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S0sG-rmmFqI/AAAAAAAABXg/8ayZu9GSc5Q/s320/set_archivelog_asm_2010-01-08_172651.jpg" alt="" id="BLOGGER_PHOTO_ID_5425437850024154786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;name&gt;&lt;time&gt;To enable ARCHIVELOG and FLASHBACK mode you should issue the following command&lt;br /&gt;sql&gt; ALTER DATABASE ARCHIVELOG;&lt;br /&gt;sql&gt; &lt;/time&gt;&lt;/name&gt;ALTER DATABASE FLASHBACK&lt;name&gt;&lt;time&gt; ON; (I didn't issue for my installation)&lt;br /&gt;&lt;br /&gt;Then you can open your database and check its statu&lt;/time&gt;&lt;/name&gt;&lt;name&gt;&lt;time&gt;s.&lt;br /&gt;sql&gt; SELECT LOG_MODE,FLASHBACK_ON FROM V$DATABASE;&lt;br /&gt;LOG_MODE FLASHBACK_ON&lt;br /&gt;------------ ------------------&lt;br /&gt;ARCHIVELOG NO (You should see YES)&lt;br /&gt;&lt;/time&gt;&lt;/name&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0sG_M5jzNI/AAAAAAAABXo/YunPlM6D0-o/s1600-h/set_archivelog_asm_2010-01-08_172917.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 281px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0sG_M5jzNI/AAAAAAAABXo/YunPlM6D0-o/s320/set_archivelog_asm_2010-01-08_172917.jpg" alt="" id="BLOGGER_PHOTO_ID_5425437858962066642" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;name&gt;&lt;time&gt;&lt;br /&gt;&lt;/time&gt;&lt;/name&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-5145105186071517359?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/5145105186071517359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=5145105186071517359' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/5145105186071517359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/5145105186071517359'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/01/enable-archivelog-and-flashback-mode-on.html' title='Enable ARCHIVELOG and FLASHBACK mode on ASM'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_FgrxeU6xYKM/S0sG-gRgi4I/AAAAAAAABXY/ab0OaZpV1UQ/s72-c/set_archivelog_asm_2010-01-08_172253.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-7729602073402974855</id><published>2010-01-11T11:01:00.004+01:00</published><updated>2010-01-11T11:26:36.344+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCHEMA MANAGEMENT'/><title type='text'>Add a controlfile into ASM when original controlfile is stored on ASM</title><content type='html'>&lt;span class="dropcaps"&gt;S&lt;/span&gt;ome days ago I installed Oracle 11gR2 on a RAC formed by two nodes. The default installation on ASM use just a controlfile. So I decided to add another one and the following are the steps I've done.&lt;br /&gt;&lt;br /&gt;I'm using of course an spfile for my instance.&lt;br /&gt;From a sqlplus sessions I needed to know where my current controlfile was and then altered the system to add another one. So I typed:&lt;br /&gt;sql&gt; show parameter control_files&lt;br /&gt;sql&gt; alter system set control_files='+DATA_RAC3/rac3/controlfile/current.260.706989187', '+DATA_RAC3' scope=spfile sid='*';&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0r8I8E5y5I/AAAAAAAABWw/k0bwyjdHIns/s1600-h/add_controlfile_asm_2010-01-08_163630.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 59px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0r8I8E5y5I/AAAAAAAABWw/k0bwyjdHIns/s320/add_controlfile_asm_2010-01-08_163630.jpg" alt="" id="BLOGGER_PHOTO_ID_5425425931617029010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After I needed to put the instance in NOMOUNT mode, so as the oracle user, I typed:&lt;br /&gt;srvctl stop database -d RAC3 -o immediate&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0r8JNwEg2I/AAAAAAAABW4/y1bbwRXLaMI/s1600-h/add_controlfile_asm_2010-01-08_163917.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 95px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/S0r8JNwEg2I/AAAAAAAABW4/y1bbwRXLaMI/s320/add_controlfile_asm_2010-01-08_163917.jpg" alt="" id="BLOGGER_PHOTO_ID_5425425936361489250" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From rman I was able to duplicate the controlfile, using the following commands:&lt;br /&gt;$ rman nocatalog&lt;br /&gt;RMAN&gt;connect target&lt;br /&gt;RMAN&gt; restore controlfile from '+DATA_RAC3/rac3/controlfile/current.260.706989187';&lt;br /&gt;&lt;br /&gt;After those commands, I put the database in OPEN mode, always from RMAN console:&lt;br /&gt;RMAN&gt; sql 'alter database mount';&lt;br /&gt;RMAN&gt; sql 'alter database open;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S0r8JojZJ5I/AAAAAAAABXA/758SI8huhes/s1600-h/add_controlfile_asm_2010-01-08_164753.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 242px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S0r8JojZJ5I/AAAAAAAABXA/758SI8huhes/s320/add_controlfile_asm_2010-01-08_164753.jpg" alt="" id="BLOGGER_PHOTO_ID_5425425943556073362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From a new sqlplus session I was able to see my new duplicated controlfile:&lt;br /&gt;sql&gt; select name from v$controlfile;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/S0r8J8o-ygI/AAAAAAAABXI/w0FsYlSMgXU/s1600-h/add_controlfile_asm_2010-01-08_164901.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 103px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/S0r8J8o-ygI/AAAAAAAABXI/w0FsYlSMgXU/s320/add_controlfile_asm_2010-01-08_164901.jpg" alt="" id="BLOGGER_PHOTO_ID_5425425948948220418" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And now the last step. I needed to alter again the system, modifing the control_file parameter with the complete path of the new file:&lt;br /&gt;sql&gt; alter system set control_files='+DATA_RAC3/rac3/controlfile/current.260.706989187', '+DATA_RAC3/rac3/controlfile/current.268.707763013' scope=spfile sid='*';&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/S0r8Jx24gyI/AAAAAAAABXQ/WJQg_P3Gftg/s1600-h/add_controlfile_asm_2010-01-08_165017.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 30px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/S0r8Jx24gyI/AAAAAAAABXQ/WJQg_P3Gftg/s320/add_controlfile_asm_2010-01-08_165017.jpg" alt="" id="BLOGGER_PHOTO_ID_5425425946053739298" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-7729602073402974855?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/7729602073402974855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=7729602073402974855' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7729602073402974855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7729602073402974855'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2010/01/add-controlfile-into-asm-when-original.html' title='Add a controlfile into ASM when original controlfile is stored on ASM'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/S0r8I8E5y5I/AAAAAAAABWw/k0bwyjdHIns/s72-c/add_controlfile_asm_2010-01-08_163630.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-1768026678824797657</id><published>2009-10-13T16:20:00.013+01:00</published><updated>2010-01-11T11:01:54.022+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCHEMA MANAGEMENT'/><title type='text'>Using DBMS_REDEFINITION package to reorganize tables online</title><content type='html'>&lt;span class="dropcaps"&gt;I&lt;/span&gt; needed to partition a table while it was accepting updates. So I decided to use DBMS_REDEFINITION package provide by Oracle.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The following privileges must be granted to the user:&lt;br /&gt;ALTER ANY TABLE&lt;br /&gt;CREATE ANY TABLE&lt;br /&gt;DROP ANY TABLE&lt;br /&gt;LOCK ANY TABLE&lt;br /&gt;SELECT ANY TABLE&lt;br /&gt;&lt;br /&gt;The following privileges may be required too:&lt;br /&gt;CREATE ANY INDEX&lt;br /&gt;CREATE ANY TRIGGER&lt;br /&gt;&lt;br /&gt;First of all you have to create an interim table with the same columns and data type of the table to be redefined.&lt;br /&gt;&lt;br /&gt;Anyway I used SYS user to perform the following steps:&lt;br /&gt;alter session force parallel dml parallel 3;&lt;br /&gt;alter session force parallel query parallel 3;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/StShr2i_AuI/AAAAAAAABV4/jiNJaPPH7xk/s1600-h/dbms_redefinition_2009-09-16_103007.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 90px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/StShr2i_AuI/AAAAAAAABV4/jiNJaPPH7xk/s320/dbms_redefinition_2009-09-16_103007.jpg" alt="" id="BLOGGER_PHOTO_ID_5392112428618023650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next step is to check if table can be redefined&lt;br /&gt;EXEC Dbms_Redefinition.Can_Redef_Table('SMS', 'SMS_TRANSACTION');&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/StSjmvFAEnI/AAAAAAAABWA/yCzVQ10OdaY/s1600-h/dbms_redefinition_2009-09-16_103016.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 27px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/StSjmvFAEnI/AAAAAAAABWA/yCzVQ10OdaY/s320/dbms_redefinition_2009-09-16_103016.jpg" alt="" id="BLOGGER_PHOTO_ID_5392114539737125490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;With no errors displayed, I can proceed starting the redefintion using the following command. This operation can take quite some time to complete, but any queries and DML are available on table being redefined during the entire process:&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_REDEFINITION.start_redef_table(&lt;br /&gt;uname      =&gt; 'SMS',&lt;br /&gt;orig_table =&gt; 'SMS_TRANSACTION',&lt;br /&gt;int_table  =&gt; 'INT_SMS_TRANSACTION');&lt;br /&gt;END;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/StSj9bDGW2I/AAAAAAAABWI/okqS86hhPuY/s1600-h/dbms_redefinition_2009-09-16_103025.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 102px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/StSj9bDGW2I/AAAAAAAABWI/okqS86hhPuY/s320/dbms_redefinition_2009-09-16_103025.jpg" alt="" id="BLOGGER_PHOTO_ID_5392114929497430882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following command copies dependent objects, so it automatically create any triggers, indexes, materialized view logs, grants, and constraints on our interim table:&lt;br /&gt;DECLARE&lt;br /&gt;num_errors PLS_INTEGER;&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS('SMS', 'SMS_TRANSACTION','INT_SMS_TRANSACTION',&lt;br /&gt;DBMS_REDEFINITION.CONS_ORIG_PARAMS, TRUE, TRUE, TRUE, TRUE, num_errors);&lt;br /&gt;dbms_output.put_line(num_errors);&lt;br /&gt;END;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/StSkJI0MwjI/AAAAAAAABWQ/KRmk2yjKt0M/s1600-h/dbms_redefinition_2009-09-16_103034.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 59px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/StSkJI0MwjI/AAAAAAAABWQ/KRmk2yjKt0M/s320/dbms_redefinition_2009-09-16_103034.jpg" alt="" id="BLOGGER_PHOTO_ID_5392115130761527858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At this point you can query DBA_REDEFINITION_ERRORS view to check for blocking errors. You have to correct these errors and then again reexecute&lt;br /&gt;the COPY_TABLE_DEPENDENTS procedure above:&lt;br /&gt;select object_name, base_table_name, ddl_txt from DBA_REDEFINITION_ERRORS;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/StSkWR8dsNI/AAAAAAAABWY/4740x9cGIfE/s1600-h/dbms_redefinition_2009-09-16_103047.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 107px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/StSkWR8dsNI/AAAAAAAABWY/4740x9cGIfE/s320/dbms_redefinition_2009-09-16_103047.jpg" alt="" id="BLOGGER_PHOTO_ID_5392115356550410450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The next optional step points to resynchronize the interim table before building any constraints and indexes, especially if you think there was delay between the completion of the previous operation and moving on to finish the redefinition.&lt;br /&gt;BEGIN&lt;br /&gt;dbms_redefinition.sync_interim_table(&lt;br /&gt;uname      =&gt; 'SMS',&lt;br /&gt;orig_table =&gt; 'SMS_TRANSACTION',&lt;br /&gt;int_table  =&gt; 'INT_SMS_TRANSACTION');&lt;br /&gt;END;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/StSkjbpvRhI/AAAAAAAABWg/3ZUMoZF8BBQ/s1600-h/dbms_redefinition_2009-09-16_103058.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 107px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/StSkjbpvRhI/AAAAAAAABWg/3ZUMoZF8BBQ/s320/dbms_redefinition_2009-09-16_103058.jpg" alt="" id="BLOGGER_PHOTO_ID_5392115582494524946" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next you can execute the following command to complete the redefinition:&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_REDEFINITION.FINISH_REDEF_TABLE('SMS', 'SMS_TRANSACTION', 'INT_SMS_TRANSACTION');&lt;br /&gt;END;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/StSkwY1HxoI/AAAAAAAABWo/-jG_UPpX88U/s1600-h/dbms_redefinition_2009-09-16_103111.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 63px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/StSkwY1HxoI/AAAAAAAABWo/-jG_UPpX88U/s320/dbms_redefinition_2009-09-16_103111.jpg" alt="" id="BLOGGER_PHOTO_ID_5392115805075261058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Finally you should gather new statistic for your "new" table:&lt;br /&gt;begin&lt;br /&gt;DBMS_STATS.GATHER_TABLE_STATS (&lt;br /&gt;ownname =&gt; 'SMS',&lt;br /&gt;     tabname =&gt; 'SMS_TRANSACTION',&lt;br /&gt;estimate_percent =&gt; 45&lt;br /&gt;);&lt;br /&gt;end;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-1768026678824797657?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/1768026678824797657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=1768026678824797657' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1768026678824797657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1768026678824797657'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2009/10/using-dbmsredefinition-package-to.html' title='Using DBMS_REDEFINITION package to reorganize tables online'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/StShr2i_AuI/AAAAAAAABV4/jiNJaPPH7xk/s72-c/dbms_redefinition_2009-09-16_103007.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-334861199776876933</id><published>2008-07-04T14:16:00.013+01:00</published><updated>2010-01-14T15:44:13.311+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 10gR2'/><title type='text'>Add a new TAF service with dbca</title><content type='html'>&lt;span class="dropcaps"&gt;I&lt;/span&gt; needed to set up a new service for my three nodes Oracle RAC production environment.&lt;br /&gt;I decided to use dbca because it's easier compared with srvctl command line.&lt;br /&gt;Indeed when you use DBCA to create a service you do not need to add the corresponding TNS entry in your tnsnames.ora on the cluster nodes: DBCA does it all for you in the background.&lt;br /&gt;Of course you can use SRVCTL to create a service, but you also need to manually add the TNS entry: moreover when you use SRVCTL, after you've created the new service you need to start it with a separate command, while DBCA starts it when you click FINISH button.&lt;br /&gt;So let's start logging as oracle user from one of your nodes, and type&lt;br /&gt;dbca&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/SR17J8TqVvI/AAAAAAAABUk/gIrDYzySbmA/s1600-h/AddService_2008-11-07_113545.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 80px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/SR17J8TqVvI/AAAAAAAABUk/gIrDYzySbmA/s320/AddService_2008-11-07_113545.jpg" alt="" id="BLOGGER_PHOTO_ID_5268502549830981362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It first shows the Welcome window where you need to select your type of database: Oracle Real Application Cluster database or Oracle single instance database.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/SR17J3En4FI/AAAAAAAABUc/wFLajg_bVMg/s1600-h/AddService_2008-11-07_113557.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 226px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/SR17J3En4FI/AAAAAAAABUc/wFLajg_bVMg/s320/AddService_2008-11-07_113557.jpg" alt="" id="BLOGGER_PHOTO_ID_5268502548425728082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next you need to choose the operation to be performed. Choose Services Management and click NEXT button.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/SR17Jm-GfoI/AAAAAAAABUU/CTS9rxkSAO4/s1600-h/AddService_2008-11-07_113606.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 226px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/SR17Jm-GfoI/AAAAAAAABUU/CTS9rxkSAO4/s320/AddService_2008-11-07_113606.jpg" alt="" id="BLOGGER_PHOTO_ID_5268502544103407234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At the step 2 select your database. In my case the screen shows my only BILLING database&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/SR17JjAcP_I/AAAAAAAABUM/ScCT8M9uy6Q/s1600-h/AddService_2008-11-07_113613.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 226px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/SR17JjAcP_I/AAAAAAAABUM/ScCT8M9uy6Q/s320/AddService_2008-11-07_113613.jpg" alt="" id="BLOGGER_PHOTO_ID_5268502543039479794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The step 3 shows the current services available for the database chosen. In this screen you can add, remove or modify services. Today we want to add a new service so click the ADD button.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/SR16exDAu9I/AAAAAAAABUE/-W1cYwSWGms/s1600-h/AddService_2008-11-07_113620.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 226px;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/SR16exDAu9I/AAAAAAAABUE/-W1cYwSWGms/s320/AddService_2008-11-07_113620.jpg" alt="" id="BLOGGER_PHOTO_ID_5268501808073980882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After clicking the ADD button you can choose a name for next service: in my case I called it SIM_TAF. Press OK button after you enter your service name.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/SR16eYxPyNI/AAAAAAAABT8/3BJQ39cM8k0/s1600-h/AddService_2008-11-07_113949.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 100px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/SR16eYxPyNI/AAAAAAAABT8/3BJQ39cM8k0/s320/AddService_2008-11-07_113949.jpg" alt="" id="BLOGGER_PHOTO_ID_5268501801557018834" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now configure your option for the new service. I choose it should have only a preferred instance where to run (BILLING3) and two available instances to switch over in case of problems (BILLING1 and BILLING2). Choose also your TAF (Transparent Application Failover) policy:&lt;br /&gt;transparent application failover is a client-side feature that allows for clients to reconnect to surviving databases in the event of a failure of a database instance. Notifications are used by the server to trigger TAF callbacks on the client-side. Your options could be: Basic, in which         the application connects to a backup node only &lt;i&gt;after&lt;/i&gt; the primary        connection fails. This approach has low overhead, but the end user        experiences a delay while the new connection is created, or Pre-Connect, where the application simultaneously connects to &lt;i&gt;both&lt;/i&gt; a primary        and a backup node. This offers faster failover, because a pre-spawned        connection is ready to use. But the extra connection adds everyday        overhead by duplicating connections. For my environment Basic TAF policy was good. Click FINISH.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/SR15McN_65I/AAAAAAAABTE/VfbRn5wP_pI/s1600-h/AddService_2008-11-07_114018.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 226px;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/SR15McN_65I/AAAAAAAABTE/VfbRn5wP_pI/s320/AddService_2008-11-07_114018.jpg" alt="" id="BLOGGER_PHOTO_ID_5268500393733647250" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A summary screen will appear. Click OK&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/SR15MHcWwbI/AAAAAAAABS8/KVUgzc8dQrs/s1600-h/AddService_2008-11-07_114040.jpg"&gt;&lt;img style="cursor: pointer; width: 308px; height: 208px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/SR15MHcWwbI/AAAAAAAABS8/KVUgzc8dQrs/s320/AddService_2008-11-07_114040.jpg" alt="" id="BLOGGER_PHOTO_ID_5268500388156719538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The configuration of the new service will start&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/SR15MPPpmEI/AAAAAAAABS0/5ZkclAkiGOQ/s1600-h/AddService_2008-11-07_114049.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 238px;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/SR15MPPpmEI/AAAAAAAABS0/5ZkclAkiGOQ/s320/AddService_2008-11-07_114049.jpg" alt="" id="BLOGGER_PHOTO_ID_5268500390250911810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click NO if you don't want to perform other operation.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/SR15L68zjpI/AAAAAAAABSs/fSJ0jQLXB-U/s1600-h/AddService_2008-11-07_114058.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 149px;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/SR15L68zjpI/AAAAAAAABSs/fSJ0jQLXB-U/s320/AddService_2008-11-07_114058.jpg" alt="" id="BLOGGER_PHOTO_ID_5268500384803163794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-334861199776876933?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/334861199776876933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=334861199776876933' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/334861199776876933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/334861199776876933'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2008/07/add-new-taf-service-with-dbca.html' title='Add a new TAF service with dbca'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FgrxeU6xYKM/SR17J8TqVvI/AAAAAAAABUk/gIrDYzySbmA/s72-c/AddService_2008-11-07_113545.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-2253428010657059426</id><published>2008-04-18T09:37:00.007+01:00</published><updated>2008-04-18T11:28:47.591+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Recovery Manager'/><title type='text'>RMAN: UPGRADE CATALOG command</title><content type='html'>&lt;span class="dropcaps"&gt;W&lt;/span&gt;hile registering a new two nodes Oracle RAC installation to my recovery catalog I encountered the following error:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[oracle@blade05 ~]$ rman target sys/my_pwd catalog rman/cat@CATDB&lt;br /&gt;&lt;br /&gt;Recovery Manager: Release 10.2.0.4.0 - Production on Fri Apr 18 10:32:46 2008&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2007, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;connected to target database: DWHDB (DBID=3585749232)&lt;br /&gt;connected to recovery catalog database&lt;br /&gt;PL/SQL package RMAN.DBMS_RCVCAT version 10.02.00.00 in RCVCAT database is not current&lt;br /&gt;PL/SQL package RMAN.DBMS_RCVMAN version 10.02.00.00 in RCVCAT database is not current&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/SAh3jntacdI/AAAAAAAAA7U/P0EbrCwLtE0/s1600-h/rman_2008-04-18_103305.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/SAh3jntacdI/AAAAAAAAA7U/P0EbrCwLtE0/s320/rman_2008-04-18_103305.jpg" alt="" id="BLOGGER_PHOTO_ID_5190530024383082962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It means I'm using a different version of rman between the RAC installation and the recovery catalog, indeed the RAC installation is at 10.2.0.4 while recovery catalog is at 10.2.01 version.&lt;br /&gt;If you use a version of the recovery catalog that is older than that required by the RMAN client, then you must upgrade it using UPGRADE CATALOG command;&lt;br /&gt;I'm upgrading from a client using 10.2.0.4 software version, while at the same time my recovery catalog is serving also other database using older or the same version. That's not a problem: it's important that recovery catalog is at least at the same version of your newest database client  version.&lt;br /&gt;&lt;br /&gt;So while I'm connected from RAC installation I need to issue the &lt;code&gt;UPGRADE&lt;/code&gt; &lt;code&gt;CATALOG&lt;/code&gt; command:&lt;br /&gt;RMAN&gt; upgrade catalog;&lt;br /&gt;&lt;br /&gt;recovery catalog owner is RMAN&lt;br /&gt;enter UPGRADE CATALOG command again to confirm catalog upgrade&lt;br /&gt;&lt;br /&gt;RMAN&gt; upgrade catalog;&lt;br /&gt;&lt;br /&gt;recovery catalog upgraded to version 10.02.00.04&lt;br /&gt;DBMS_RCVMAN package upgraded to version 10.02.00.00&lt;br /&gt;DBMS_RCVCAT package upgraded to version 10.02.00.00&lt;br /&gt;&lt;br /&gt;RMAN&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/SAh3lXtaceI/AAAAAAAAA7c/8PSkT4yLIKE/s1600-h/rman_2008-04-18_120323.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/SAh3lXtaceI/AAAAAAAAA7c/8PSkT4yLIKE/s320/rman_2008-04-18_120323.jpg" alt="" id="BLOGGER_PHOTO_ID_5190530054447854050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;That's all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-2253428010657059426?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/2253428010657059426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=2253428010657059426' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2253428010657059426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2253428010657059426'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2008/04/rman-upgrade-catalog-command.html' title='RMAN: UPGRADE CATALOG command'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_FgrxeU6xYKM/SAh3jntacdI/AAAAAAAAA7U/P0EbrCwLtE0/s72-c/rman_2008-04-18_103305.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-5032569656518067095</id><published>2008-04-11T13:57:00.026+01:00</published><updated>2010-01-14T15:44:49.856+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Real Application Clusters on 10gR2'/><title type='text'>Patching Oracle RAC 10.2.0.1 on ASM with 10.2.0.4 Patch Set 3 for Linux x86</title><content type='html'>&lt;span class="dropcaps"&gt;U&lt;/span&gt;sing your oracle user, download and unzip the file p6810189_10204_Linux-x86.zip.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_95JS4PTdI/AAAAAAAAA60/z-Rb5EIzeN8/s1600-h/patch_2008-04-02_093312.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_95JS4PTdI/AAAAAAAAA60/z-Rb5EIzeN8/s200/patch_2008-04-02_093312.jpg" alt="" id="BLOGGER_PHOTO_ID_5187998496347606482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;First of all, before applying the 10.2.0.4 patchset to the Oracle database you should verify if the DSTv4 (USA 2007) update included in the 10.2.0.4 patchset has implications on your database. Following the NoteId 553812.1 provided by Metalink the goal is to see if you have stored information that is affected and if you are already using a DST version higher then DSTv4 and what then to do.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_95Jy4PTeI/AAAAAAAAA68/5zPwTA31SxU/s1600-h/patch_2008-04-02_095242.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_95Jy4PTeI/AAAAAAAAA68/5zPwTA31SxU/s200/patch_2008-04-02_095242.jpg" alt="" id="BLOGGER_PHOTO_ID_5187998504937541090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Because I'm patching from a lower 10.2.0.X release to 10.2.0.4 I hav to execute the following query to check the current version of the Oracle time zone definitions:&lt;br /&gt;SQL&gt; SELECT version FROM v$timezone_file;&lt;br /&gt;&lt;br /&gt;Becuse my current timezone version is lower then 4, I need to execute this other query to check if I'm storing *user* TZ (TSTZ and TSLTZ) data:&lt;br /&gt;SQL&gt; select c.owner || '.' || c.table_name || '(' || c.column_name || ') -' || c.data_type || ' ' col&lt;br /&gt;from dba_tab_cols c, dba_objects o&lt;br /&gt;where c.data_type like '%TIME ZONE'&lt;br /&gt;and c.owner=o.owner&lt;br /&gt;and c.table_name = o.object_name&lt;br /&gt;and o.object_type = 'TABLE'&lt;br /&gt;order by col&lt;br /&gt;My output shows there is nothing outside the Data Dictionary (= other then SYS objects).&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_95Ki4PTfI/AAAAAAAAA7E/E3mz4Mi5r18/s1600-h/patch_2008-04-02_100344.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_95Ki4PTfI/AAAAAAAAA7E/E3mz4Mi5r18/s200/patch_2008-04-02_100344.jpg" alt="" id="BLOGGER_PHOTO_ID_5187998517822442994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following queries&lt;br /&gt;SQL&gt; SELECT object_name FROM dba_objects WHERE object_id IN (SELECT obj# FROM scheduler$_window);&lt;br /&gt;SQL&gt; SELECT object_name FROM dba_objects WHERE object_id IN (SELECT obj# FROM scheduler$_job);&lt;br /&gt;show I have only 6 jobs defined and I have also no user TZ (TSTZ and TSLTZ) data, so there is no action to take for the Oracle time zone definitions, and I can simply upgrade from 10.2.0.1 to 10.2.0.4.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_95Ki4PTgI/AAAAAAAAA7M/WbrTmogvaso/s1600-h/patch_2008-04-02_100433.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_95Ki4PTgI/AAAAAAAAA7M/WbrTmogvaso/s200/patch_2008-04-02_100433.jpg" alt="" id="BLOGGER_PHOTO_ID_5187998517822443010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now I have to stop one node because I need to patch first the clusterware software and it can be done using rolling updates.&lt;br /&gt;Run the following commands from the first node of your RAC installation:&lt;br /&gt;emctl stop dbconsole&lt;br /&gt;isqlplusctl stop&lt;br /&gt;srvctl stop service -d DWHDB -s DWHDB_TAF -i DWHDB1&lt;br /&gt;srvctl stop instance -d DWHDB -i DWHDB1 -o immediate&lt;br /&gt;srvctl stop asm -n bl3306&lt;br /&gt;srvctl stop nodeapps -n bl3306&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_94NS4PTYI/AAAAAAAAA6M/C8qMaNdc-ww/s1600-h/patch_2008-04-02_112848.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_94NS4PTYI/AAAAAAAAA6M/C8qMaNdc-ww/s200/patch_2008-04-02_112848.jpg" alt="" id="BLOGGER_PHOTO_ID_5187997465555455362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Go into the directory Disk1 and run ./runInstaller &amp;amp;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_94Ni4PTZI/AAAAAAAAA6U/ZCnqVfbOwrs/s1600-h/patch_2008-04-02_113027.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_94Ni4PTZI/AAAAAAAAA6U/ZCnqVfbOwrs/s200/patch_2008-04-02_113027.jpg" alt="" id="BLOGGER_PHOTO_ID_5187997469850422674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A Welcome screen appears.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_94Ny4PTaI/AAAAAAAAA6c/lTJwDkng2Mw/s1600-h/patch_2008-04-02_114134.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_94Ny4PTaI/AAAAAAAAA6c/lTJwDkng2Mw/s200/patch_2008-04-02_114134.jpg" alt="" id="BLOGGER_PHOTO_ID_5187997474145389986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Specify the home details for the clusterware home.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_94OC4PTbI/AAAAAAAAA6k/0y0TiZ94GQU/s1600-h/patch_2008-04-02_145704.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_94OC4PTbI/AAAAAAAAA6k/0y0TiZ94GQU/s200/patch_2008-04-02_145704.jpg" alt="" id="BLOGGER_PHOTO_ID_5187997478440357298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click next on the cluster nodes screen.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_94OC4PTcI/AAAAAAAAA6s/cWLBUCYko3g/s1600-h/patch_2008-04-02_145710.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_94OC4PTcI/AAAAAAAAA6s/cWLBUCYko3g/s200/patch_2008-04-02_145710.jpg" alt="" id="BLOGGER_PHOTO_ID_5187997478440357314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It checks for product-specific prerequisites.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9zRS4PTTI/AAAAAAAAA5k/8Ci0pgKIlHQ/s1600-h/patch_2008-04-02_145937.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9zRS4PTTI/AAAAAAAAA5k/8Ci0pgKIlHQ/s200/patch_2008-04-02_145937.jpg" alt="" id="BLOGGER_PHOTO_ID_5187992036716793138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click Install&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9zRi4PTUI/AAAAAAAAA5s/uEFSV8S9ncY/s1600-h/patch_2008-04-02_150851.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9zRi4PTUI/AAAAAAAAA5s/uEFSV8S9ncY/s200/patch_2008-04-02_150851.jpg" alt="" id="BLOGGER_PHOTO_ID_5187992041011760450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And the Clusterware patching is starting.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9zSC4PTVI/AAAAAAAAA50/6LQKhpBIhKs/s1600-h/patch_2008-04-02_150911.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9zSC4PTVI/AAAAAAAAA50/6LQKhpBIhKs/s200/patch_2008-04-02_150911.jpg" alt="" id="BLOGGER_PHOTO_ID_5187992049601695058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Before click the EXIT button and complete the installation,login as root on the first node and execute the following command as suggested:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9zSC4PTWI/AAAAAAAAA58/U4jdeIhwbAk/s1600-h/patch_2008-04-02_151018.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9zSC4PTWI/AAAAAAAAA58/U4jdeIhwbAk/s200/patch_2008-04-02_151018.jpg" alt="" id="BLOGGER_PHOTO_ID_5187992049601695074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9zSS4PTXI/AAAAAAAAA6E/iGKtzCli7LM/s1600-h/patch_2008-04-02_151221.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9zSS4PTXI/AAAAAAAAA6E/iGKtzCli7LM/s200/patch_2008-04-02_151221.jpg" alt="" id="BLOGGER_PHOTO_ID_5187992053896662386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Run&lt;br /&gt;/u01/app/oracle/product/10.2.0/crs_1/crsctl stop crs&lt;br /&gt;/u01/app/oracle/product/10.2.0/crs_1/install/root102.sh&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9yFS4PTOI/AAAAAAAAA48/HuxmLzCgukM/s1600-h/patch_2008-04-02_151913.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9yFS4PTOI/AAAAAAAAA48/HuxmLzCgukM/s200/patch_2008-04-02_151913.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990731046735074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;They stop and start the crs services on the first node.&lt;br /&gt;Execute the same command on every nodes, I ru them only on my second node:&lt;br /&gt;/u01/app/oracle/product/10.2.0/crs_1/crsctl stop crs&lt;br /&gt;/u01/app/oracle/product/10.2.0/crs_1/install/root102.sh&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9yFi4PTPI/AAAAAAAAA5E/COYJzsgNxBc/s1600-h/patch_2008-04-02_152408.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9yFi4PTPI/AAAAAAAAA5E/COYJzsgNxBc/s200/patch_2008-04-02_152408.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990735341702386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then execute as oracle user from one node:&lt;br /&gt;crsctl query crs activeversion&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9yGC4PTQI/AAAAAAAAA5M/PafGkyOoGaU/s1600-h/patch_2008-04-02_153500.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9yGC4PTQI/AAAAAAAAA5M/PafGkyOoGaU/s200/patch_2008-04-02_153500.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990743931636994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Execute as oracle user from second node:&lt;br /&gt;crsctl query crs activeversion&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9yGC4PTRI/AAAAAAAAA5U/Vi98yzHvQrg/s1600-h/patch_2008-04-02_153508.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9yGC4PTRI/AAAAAAAAA5U/Vi98yzHvQrg/s200/patch_2008-04-02_153508.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990743931637010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The clusterware software has been updated.&lt;br /&gt;&lt;br /&gt;Click EXIT and then YES from the OUI interface.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9yGS4PTSI/AAAAAAAAA5c/hGLnbmhAPDA/s1600-h/patch_2008-04-02_153524.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9yGS4PTSI/AAAAAAAAA5c/hGLnbmhAPDA/s200/patch_2008-04-02_153524.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990748226604322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now execute the following command to completely stop the database (this patchset doesn't support rolling updates) from your first node:&lt;br /&gt;emctl stop dbconsole&lt;br /&gt;isqlplusctl stop&lt;br /&gt;srvctl stop service -d database DWHDB -s DWHDB_TAF -i DWHDB1&lt;br /&gt;srvctl stop database -d DWHDB -o immediate&lt;br /&gt;srvctl stop asm -n bl3306&lt;br /&gt;srvctl stop nodeapps -n bl3306&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9tZy4PS4I/AAAAAAAAA2M/E7iY7TjvO64/s1600-h/patch_2008-04-07_121318.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9tZy4PS4I/AAAAAAAAA2M/E7iY7TjvO64/s200/patch_2008-04-07_121318.jpg" alt="" id="BLOGGER_PHOTO_ID_5187985585675914114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Execute the following command to completely stop the asm instance from your second node:&lt;br /&gt;emctl stop dbconsole&lt;br /&gt;isqlplusctl stop&lt;br /&gt;srvctl stop asm -n bl3305&lt;br /&gt;srvctl stop nodeapps -n bl3305&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9tZy4PS3I/AAAAAAAAA2E/3prpWeztqYk/s1600-h/patch_2008-04-07_121414.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9tZy4PS3I/AAAAAAAAA2E/3prpWeztqYk/s200/patch_2008-04-07_121414.jpg" alt="" id="BLOGGER_PHOTO_ID_5187985585675914098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As oracle user run again the runInstaller&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9xay4PTJI/AAAAAAAAA4U/EY1Rc6F8GLk/s1600-h/patch_2008-04-07_121756.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9xay4PTJI/AAAAAAAAA4U/EY1Rc6F8GLk/s200/patch_2008-04-07_121756.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990000902294674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click NEXT on Welcome screen.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9xbC4PTKI/AAAAAAAAA4c/ipvyPUart0c/s1600-h/patch_2008-04-07_121833.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9xbC4PTKI/AAAAAAAAA4c/ipvyPUart0c/s200/patch_2008-04-07_121833.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990005197261986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Choose the Oracle home.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9xbS4PTLI/AAAAAAAAA4k/PLtLLPOZOlY/s1600-h/patch_2008-04-07_121836.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9xbS4PTLI/AAAAAAAAA4k/PLtLLPOZOlY/s200/patch_2008-04-07_121836.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990009492229298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click NEXT on cluster installation mode screen.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9xbS4PTMI/AAAAAAAAA4s/J952g9USb3o/s1600-h/patch_2008-04-07_121842.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9xbS4PTMI/AAAAAAAAA4s/J952g9USb3o/s200/patch_2008-04-07_121842.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990009492229314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click NEXT on prerequisite checks screen.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9xbi4PTNI/AAAAAAAAA40/qVvxy2qzX_0/s1600-h/patch_2008-04-07_121849.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9xbi4PTNI/AAAAAAAAA40/qVvxy2qzX_0/s200/patch_2008-04-07_121849.jpg" alt="" id="BLOGGER_PHOTO_ID_5187990013787196626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enable and register your Oracle Configuration Manager.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9tZi4PS2I/AAAAAAAAA18/OM7E5vdO-DI/s1600-h/patch_2008-04-07_122034.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9tZi4PS2I/AAAAAAAAA18/OM7E5vdO-DI/s200/patch_2008-04-07_122034.jpg" alt="" id="BLOGGER_PHOTO_ID_5187985581380946786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Accept the license agreement&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9w0C4PTEI/AAAAAAAAA3s/9nwCLohgduM/s1600-h/patch_2008-04-07_121911.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9w0C4PTEI/AAAAAAAAA3s/9nwCLohgduM/s200/patch_2008-04-07_121911.jpg" alt="" id="BLOGGER_PHOTO_ID_5187989335182363714" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and test your registration&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9w0S4PTFI/AAAAAAAAA30/8ZWnntxr-7c/s1600-h/patch_2008-04-07_122222.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9w0S4PTFI/AAAAAAAAA30/8ZWnntxr-7c/s200/patch_2008-04-07_122222.jpg" alt="" id="BLOGGER_PHOTO_ID_5187989339477331026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click INSTALL on summary screen.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9w0i4PTGI/AAAAAAAAA38/MoEHi9gR9iI/s1600-h/patch_2008-04-07_122234.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9w0i4PTGI/AAAAAAAAA38/MoEHi9gR9iI/s200/patch_2008-04-07_122234.jpg" alt="" id="BLOGGER_PHOTO_ID_5187989343772298338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The installation is proceeding.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9w0y4PTHI/AAAAAAAAA4E/CiVg-8ktheQ/s1600-h/patch_2008-04-07_122239.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9w0y4PTHI/AAAAAAAAA4E/CiVg-8ktheQ/s200/patch_2008-04-07_122239.jpg" alt="" id="BLOGGER_PHOTO_ID_5187989348067265650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When asked execute as root user the following command on your first node&lt;br /&gt;/u01/app/oracle/product/10.2.0/db_1/root.sh&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9w0y4PTII/AAAAAAAAA4M/wNcotP2o1BE/s1600-h/patch_2008-04-07_122835.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9w0y4PTII/AAAAAAAAA4M/wNcotP2o1BE/s200/patch_2008-04-07_122835.jpg" alt="" id="BLOGGER_PHOTO_ID_5187989348067265666" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and then again from your second node.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9v8y4PS_I/AAAAAAAAA3E/MgE-cd9FvAQ/s1600-h/patch_2008-04-07_122850.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9v8y4PS_I/AAAAAAAAA3E/MgE-cd9FvAQ/s200/patch_2008-04-07_122850.jpg" alt="" id="BLOGGER_PHOTO_ID_5187988385994591218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Clic EXIT on End of Installation screen&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9tZS4PS1I/AAAAAAAAA10/8wwPLHG8jyk/s1600-h/patch_2008-04-07_122902.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9tZS4PS1I/AAAAAAAAA10/8wwPLHG8jyk/s200/patch_2008-04-07_122902.jpg" alt="" id="BLOGGER_PHOTO_ID_5187985577085979474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and the YES&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9v8y4PTAI/AAAAAAAAA3M/LpkPfhAGAB4/s1600-h/patch_2008-04-07_122913.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9v8y4PTAI/AAAAAAAAA3M/LpkPfhAGAB4/s200/patch_2008-04-07_122913.jpg" alt="" id="BLOGGER_PHOTO_ID_5187988385994591234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Only from your first node, login as oracle user and execute:&lt;br /&gt;srvctl start asm -n bl3306&lt;br /&gt;srvctl start listener -n bl3306&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9v9C4PTBI/AAAAAAAAA3U/5M2AbeVdRv0/s1600-h/patch_2008-04-07_123949.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9v9C4PTBI/AAAAAAAAA3U/5M2AbeVdRv0/s200/patch_2008-04-07_123949.jpg" alt="" id="BLOGGER_PHOTO_ID_5187988390289558546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then run dbua&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9v9S4PTCI/AAAAAAAAA3c/x9FxpsLMPqk/s1600-h/patch_2008-04-07_123959.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9v9S4PTCI/AAAAAAAAA3c/x9FxpsLMPqk/s200/patch_2008-04-07_123959.jpg" alt="" id="BLOGGER_PHOTO_ID_5187988394584525858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click NEXT on Welcome screen.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9v9i4PTDI/AAAAAAAAA3k/dmK6fzzJWQ4/s1600-h/patch_2008-04-07_124011.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9v9i4PTDI/AAAAAAAAA3k/dmK6fzzJWQ4/s200/patch_2008-04-07_124011.jpg" alt="" id="BLOGGER_PHOTO_ID_5187988398879493170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Select Upgrade a Database and click NEXT.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9vOy4PS6I/AAAAAAAAA2c/l96A_P1laGk/s1600-h/patch_2008-04-07_124130.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_9vOy4PS6I/AAAAAAAAA2c/l96A_P1laGk/s200/patch_2008-04-07_124130.jpg" alt="" id="BLOGGER_PHOTO_ID_5187987595720608674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Select your database and click NEXT, providing a user with sysdba privileges.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9vPC4PS7I/AAAAAAAAA2k/nUS7CsHhI68/s1600-h/patch_2008-04-07_124152.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9vPC4PS7I/AAAAAAAAA2k/nUS7CsHhI68/s200/patch_2008-04-07_124152.jpg" alt="" id="BLOGGER_PHOTO_ID_5187987600015575986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The upgrade of the database starts.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9vPS4PS8I/AAAAAAAAA2s/JdqfLWCWzBA/s1600-h/patch_2008-04-07_124158.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9vPS4PS8I/AAAAAAAAA2s/JdqfLWCWzBA/s200/patch_2008-04-07_124158.jpg" alt="" id="BLOGGER_PHOTO_ID_5187987604310543298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Choose the degree of parallelism to recompile any invalid objects, turn off archiving and click NEXT.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9vPS4PS9I/AAAAAAAAA20/eN2A1EHlSs0/s1600-h/patch_2008-04-07_125138.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R_9vPS4PS9I/AAAAAAAAA20/eN2A1EHlSs0/s200/patch_2008-04-07_125138.jpg" alt="" id="BLOGGER_PHOTO_ID_5187987604310543314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Specify your Flash Recovery Area and click NEXT.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9vPi4PS-I/AAAAAAAAA28/wR-b5lNQ54Q/s1600-h/patch_2008-04-07_125206.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_9vPi4PS-I/AAAAAAAAA28/wR-b5lNQ54Q/s200/patch_2008-04-07_125206.jpg" alt="" id="BLOGGER_PHOTO_ID_5187987608605510626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click FINISH on Summary screen.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9taC4PS5I/AAAAAAAAA2U/mvGfiqQulDY/s1600-h/patch_2008-04-07_125215.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R_9taC4PS5I/AAAAAAAAA2U/mvGfiqQulDY/s200/patch_2008-04-07_125215.jpg" alt="" id="BLOGGER_PHOTO_ID_5187985589970881426" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Your database is now 10.2.0.4 patched.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-5032569656518067095?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/5032569656518067095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=5032569656518067095' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/5032569656518067095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/5032569656518067095'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2008/04/patching-oracle-rac-10201-on-asm-with.html' title='Patching Oracle RAC 10.2.0.1 on ASM with 10.2.0.4 Patch Set 3 for Linux x86'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_FgrxeU6xYKM/R_95JS4PTdI/AAAAAAAAA60/z-Rb5EIzeN8/s72-c/patch_2008-04-02_093312.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-2269347536782026503</id><published>2008-03-31T14:19:00.006+01:00</published><updated>2008-03-31T14:54:29.193+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Recovery Manager'/><title type='text'>Registering a target database to a recovery catalog</title><content type='html'>&lt;span class="dropcaps"&gt;I&lt;/span&gt;t's quite simlpe to register your database to a catalog database.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First of all startup your database.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_DoEA0ldYI/AAAAAAAAA1s/L7FFs2Omn0I/s1600-h/RAC_2008-03-31_144141.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R_DoEA0ldYI/AAAAAAAAA1s/L7FFs2Omn0I/s320/RAC_2008-03-31_144141.jpg" alt="" id="BLOGGER_PHOTO_ID_5183898326741120386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then connect to your catalog database.&lt;br /&gt;&lt;blockquote&gt;DOS&gt; rman target sys/oracle catalog rman/cat@CATDB&lt;/blockquote&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_Dn1w0ldXI/AAAAAAAAA1k/0TGtf1LW4e8/s1600-h/RAC_2008-03-31_144227.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R_Dn1w0ldXI/AAAAAAAAA1k/0TGtf1LW4e8/s320/RAC_2008-03-31_144227.jpg" alt="" id="BLOGGER_PHOTO_ID_5183898081927984498" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;where sys/oracle are username and password for the database you're registering,&lt;br /&gt;rman/cat are username and password for the recovery catalog user and CATDB is the service name of recovery catalog database.&lt;br /&gt;&lt;br /&gt;From the RMAN command line simply type&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; register database;&lt;/blockquote&gt;Your database is now registered to the recovery catalog database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-2269347536782026503?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/2269347536782026503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=2269347536782026503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2269347536782026503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/2269347536782026503'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2008/03/registering-target-database-to-recovery.html' title='Registering a target database to a recovery catalog'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_FgrxeU6xYKM/R_DoEA0ldYI/AAAAAAAAA1s/L7FFs2Omn0I/s72-c/RAC_2008-03-31_144141.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-5362087584759548957</id><published>2008-02-21T16:43:00.032+01:00</published><updated>2008-02-22T10:40:54.235+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Recovery Manager'/><title type='text'>RMAN and EMC Legato Networker 7.4</title><content type='html'>&lt;span class="dropcaps"&gt;I&lt;/span&gt;n this post I would show you how to integrate RMAN with a media manager, in my case EMC Legato Networker 7.4&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Launch EMC Legato Networker 7.4 from your browser or double click on the link to the java web interface.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76W7FnWtrI/AAAAAAAAA1U/etOfNhUE3HI/s1600-h/2008-02-21_103048.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76W7FnWtrI/AAAAAAAAA1U/etOfNhUE3HI/s200/2008-02-21_103048.jpg" alt="" id="BLOGGER_PHOTO_ID_5169735364131600050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enter your administrative credentials into the Networker Management Console Login window.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76WmVnWtqI/AAAAAAAAA1M/ZOyzDTTKKxE/s1600-h/2008-02-21_103053.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76WmVnWtqI/AAAAAAAAA1M/ZOyzDTTKKxE/s200/2008-02-21_103053.jpg" alt="" id="BLOGGER_PHOTO_ID_5169735007649314466" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The Networker Management Console will show the host used as Networker Server. Double clicking on the NAME Networker...&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76WI1nWtpI/AAAAAAAAA1E/_xxj1NK1nRE/s1600-h/2008-02-21_103142.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76WI1nWtpI/AAAAAAAAA1E/_xxj1NK1nRE/s200/2008-02-21_103142.jpg" alt="" id="BLOGGER_PHOTO_ID_5169734500843173522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;... it will show you the Networker Administration window&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76VylnWtoI/AAAAAAAAA08/mMkdQEaKR-k/s1600-h/2008-02-21_103151.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76VylnWtoI/AAAAAAAAA08/mMkdQEaKR-k/s200/2008-02-21_103151.jpg" alt="" id="BLOGGER_PHOTO_ID_5169734118591084162" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Expand the Groups and select the group created for the Data Warehouse, in my case it's called Gr_ORACLE_DWH&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76VdFnWtnI/AAAAAAAAA00/7Ta7GNRmXFU/s1600-h/2008-02-21_170717.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76VdFnWtnI/AAAAAAAAA00/7Ta7GNRmXFU/s200/2008-02-21_170717.jpg" alt="" id="BLOGGER_PHOTO_ID_5169733749223896690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you double click on the client associated with Gr_ORACLE_DWH on the right panel, the properties panel will be showed. On the General panel, Identity--&gt;Name is the name of my vip server, IndexManagement shows the Browse and Retention policy for this backup, Backup--&gt;Save Set shows you the path of the RMAN command that Networker will execute on the client, Backup--&gt;Group identifies Gr_ORACLE_DWH as group, Backup--&gt;Schedule show that this backup is scheduled as ORACLE_DWH_FULL.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76VEVnWtmI/AAAAAAAAA0s/YgsKp3NCLps/s1600-h/2008-02-21_170736.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76VEVnWtmI/AAAAAAAAA0s/YgsKp3NCLps/s200/2008-02-21_170736.jpg" alt="" id="BLOGGER_PHOTO_ID_5169733324022134370" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;On the Apps &amp;amp; Modules panel, Backup--&gt;Backup command will show the command executed by Networker Server on the client, including some environment variables or pre and post backup command. This command nsrnmo_dwhdb2 is placed on the client under /usr/sbin/&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76UrFnWtlI/AAAAAAAAA0k/ZZ41vP6D8P8/s1600-h/2008-02-21_103959.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76UrFnWtlI/AAAAAAAAA0k/ZZ41vP6D8P8/s200/2008-02-21_103959.jpg" alt="" id="BLOGGER_PHOTO_ID_5169732890230437458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you instead right click on Gr_ORACLE_DWH group and select Properties the following screen is showed. In my case this backup starts at 19:00 but at present is disabled.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76UbFnWtkI/AAAAAAAAA0c/Z5_RlLdO5Ps/s1600-h/2008-02-21_170853.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76UbFnWtkI/AAAAAAAAA0c/Z5_RlLdO5Ps/s200/2008-02-21_170853.jpg" alt="" id="BLOGGER_PHOTO_ID_5169732615352530498" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Selecting Schedules from the Networker Administration window on the left panel you can double click on ORACLE_DWH_FULL to view when and what type of backup is scheduled.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76UL1nWtjI/AAAAAAAAA0U/G2u8v9AXAr4/s1600-h/2008-02-21_104045.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76UL1nWtjI/AAAAAAAAA0U/G2u8v9AXAr4/s200/2008-02-21_104045.jpg" alt="" id="BLOGGER_PHOTO_ID_5169732353359525426" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Select Media button on the top of Networker Administration window and then Media Pools.&lt;br /&gt;The Media Pools for this backup is called ORAdatawarehouse. Backup data is sorted into backup media volumes by using media pools. A media pool is a specific collection of volumes to which the NetWorker server writes data. The server uses media pools to sort and store data. Media pools act as filters that tell the server which backup volumes should receive specific data.&lt;br /&gt;When a scheduled backup occurs, the NetWorker server tries to match the save&lt;br /&gt;stream to a media pool configuration. If the save stream matches the criteria of a&lt;br /&gt;media pool configuration, it is directed to a labeled volume in the media pool. The&lt;br /&gt;server then checks if a correctly labeled volume for that media pool is mounted on a&lt;br /&gt;storage device:&lt;br /&gt;◆ If a correctly labeled volume is mounted on a storage device, the NetWorker&lt;br /&gt;server writes data to the volume.&lt;br /&gt;◆ If there is no correctly labeled volume mounted on a storage device, the&lt;br /&gt;NetWorker server requests that such a volume be mounted and waits until an&lt;br /&gt;operator or an autochanger mounts an appropriate volume.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76T11nWtiI/AAAAAAAAA0M/jdYMfYzcj1Y/s1600-h/2008-02-21_104227.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76T11nWtiI/AAAAAAAAA0M/jdYMfYzcj1Y/s200/2008-02-21_104227.jpg" alt="" id="BLOGGER_PHOTO_ID_5169731975402403362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you double click on ORAdatawarehouse a Basic Properties window is showed with some informations.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76XV1nWtsI/AAAAAAAAA1c/JLse_R_uR6E/s1600-h/2008-02-21_104255.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76XV1nWtsI/AAAAAAAAA1c/JLse_R_uR6E/s200/2008-02-21_104255.jpg" alt="" id="BLOGGER_PHOTO_ID_5169735823693100738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the panel Selection Criteria, Target Device--&gt;Devices shows that this kind of Media Pools use a TAPE Library (in my case they are /dev/nst0 and /dev/nst1)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76Tk1nWthI/AAAAAAAAA0E/0j79FbshOkY/s1600-h/2008-02-21_104258.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76Tk1nWthI/AAAAAAAAA0E/0j79FbshOkY/s200/2008-02-21_104258.jpg" alt="" id="BLOGGER_PHOTO_ID_5169731683344627218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;General informations about the tapes available on the TAPE Library (ADIC Scalar i500) are showed selecting Devices button on the top of Networker Administration window and then Libraries--&gt;ADIC.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76THFnWtgI/AAAAAAAAAz8/CEd12J75Src/s1600-h/2008-02-21_104340.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76THFnWtgI/AAAAAAAAAz8/CEd12J75Src/s200/2008-02-21_104340.jpg" alt="" id="BLOGGER_PHOTO_ID_5169731172243518978" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let's see the file what there is inside the file /usr/sbin/nsrnmo_dwhdb2 on the client.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76StFnWtfI/AAAAAAAAAz0/PCdhfBhtEs0/s1600-h/2008-02-21_104620.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76StFnWtfI/AAAAAAAAAz0/PCdhfBhtEs0/s200/2008-02-21_104620.jpg" alt="" id="BLOGGER_PHOTO_ID_5169730725566920178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can find the required variables ORACLE_HOME and PATH, the optional variables ORACLE_SID...&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76SbVnWteI/AAAAAAAAAzs/3L3k5wptPCU/s1600-h/2008-02-21_104637.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76SbVnWteI/AAAAAAAAAzs/3L3k5wptPCU/s200/2008-02-21_104637.jpg" alt="" id="BLOGGER_PHOTO_ID_5169730420624242146" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;...NLS_LANG, NSR_RMAN_ARGUMENTS, NSR_RMAN_OUTPUT, NSR_SB_DEBUG_FILE...&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76SLFnWtdI/AAAAAAAAAzk/sE7hNz4wjb4/s1600-h/2008-02-21_104653.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76SLFnWtdI/AAAAAAAAAzk/sE7hNz4wjb4/s200/2008-02-21_104653.jpg" alt="" id="BLOGGER_PHOTO_ID_5169730141451367890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;...PRECMD, POSTCMD and TNS_ADMIN.&lt;br /&gt;Set PRECMD to the complete pathname of a file containing a preprocessing script to be executed before the RMAN backup script. If the pre-command script fails (returns a nonzero value), the scheduled Oracle backup does not proceed (that is, the RMAN script is not executed).&lt;br /&gt;Set POSTCMD to the complete pathname of a file that contains a postprocessing script to be executed after the RMAN backup script. If the RMAN backup script fails, the failure is reported, and the postprocessing script is executed nevertheless. If the postprocessing script fails, an error message is reported.&lt;br /&gt;These script files must have permissions that allow execution by the root user, as the scheduled Oracle backup is always launched by root. The scripts should return a zero value when they succeed and a nonzero value when they fail. The return of a nonzero value will cause the scheduled backup to fail.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76R2lnWtcI/AAAAAAAAAzc/9aWo9Qp2M2w/s1600-h/2008-02-21_104907.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76R2lnWtcI/AAAAAAAAAzc/9aWo9Qp2M2w/s200/2008-02-21_104907.jpg" alt="" id="BLOGGER_PHOTO_ID_5169729789264049602" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My PRECMD file is located on /u01/app/oracle/srvctl_scripts/dwhdb/stop_database_DWHDB.sh and you can view what commands are executed. I need to shutdown my RAC database and then start it up in mount mode to execute a cold backup.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76RdlnWtbI/AAAAAAAAAzU/ALyeElXVOB0/s1600-h/2008-02-21_124440.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76RdlnWtbI/AAAAAAAAAzU/ALyeElXVOB0/s200/2008-02-21_124440.jpg" alt="" id="BLOGGER_PHOTO_ID_5169729359767319986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My POSTCMD file is located on /u01/app/oracle/srvctl_scripts/dwhdb/start_database_DWHDB.sh and you can view what commands are executed. I need to shutdown my RAC database (RMAN open it after is execution) and then start it up in open mode.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76RL1nWtaI/AAAAAAAAAzM/Z-fZrXUyEHA/s1600-h/2008-02-22_100336.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R76RL1nWtaI/AAAAAAAAAzM/Z-fZrXUyEHA/s200/2008-02-22_100336.jpg" alt="" id="BLOGGER_PHOTO_ID_5169729054824641954" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The RMAN commands for my Data warehouse cold backup is showed here.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76OPlnWtZI/AAAAAAAAAzE/312wJzL2ya0/s1600-h/2008-02-21_145946.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76OPlnWtZI/AAAAAAAAAzE/312wJzL2ya0/s200/2008-02-21_145946.jpg" alt="" id="BLOGGER_PHOTO_ID_5169725820714268050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Selecting Monitoring button on the top of Networker Administration window and then right click on Gr_ORACLE_DHW, you can start manually the group.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76N5FnWtYI/AAAAAAAAAy8/ttvJG0Vvofs/s1600-h/2008-02-21_114712.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76N5FnWtYI/AAAAAAAAAy8/ttvJG0Vvofs/s200/2008-02-21_114712.jpg" alt="" id="BLOGGER_PHOTO_ID_5169725434167211394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A popup window will ask you to proceed.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76NZFnWtXI/AAAAAAAAAy0/GA8ewdbFXkw/s1600-h/2008-02-21_114740.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76NZFnWtXI/AAAAAAAAAy0/GA8ewdbFXkw/s200/2008-02-21_114740.jpg" alt="" id="BLOGGER_PHOTO_ID_5169724884411397490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Double clicking on the group just started, you can view the Networker Server is trying to contact the client...&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76NFVnWtWI/AAAAAAAAAys/82XltUZKi0M/s1600-h/2008-02-21_114808.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76NFVnWtWI/AAAAAAAAAys/82XltUZKi0M/s200/2008-02-21_114808.jpg" alt="" id="BLOGGER_PHOTO_ID_5169724545108981090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;... and how the backup proceed.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76MeVnWtVI/AAAAAAAAAyk/N5_r4MUb5FA/s1600-h/2008-02-21_150435.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76MeVnWtVI/AAAAAAAAAyk/N5_r4MUb5FA/s200/2008-02-21_150435.jpg" alt="" id="BLOGGER_PHOTO_ID_5169723875094082898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can select the tab Monitoring--&gt;Devices to view how much Bytes are written on tape.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76LrlnWtUI/AAAAAAAAAyc/Jh2bjyicbUU/s1600-h/2008-02-21_150558.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/R76LrlnWtUI/AAAAAAAAAyc/Jh2bjyicbUU/s200/2008-02-21_150558.jpg" alt="" id="BLOGGER_PHOTO_ID_5169723003215721794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The backup is successfully completed.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76K6FnWtSI/AAAAAAAAAyM/twoHeEC03WA/s1600-h/2008-02-21_161424.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/R76K6FnWtSI/AAAAAAAAAyM/twoHeEC03WA/s200/2008-02-21_161424.jpg" alt="" id="BLOGGER_PHOTO_ID_5169722152812197154" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76K6VnWtTI/AAAAAAAAAyU/-7iuMF3MASg/s1600-h/2008-02-21_164211.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R76K6VnWtTI/AAAAAAAAAyU/-7iuMF3MASg/s200/2008-02-21_164211.jpg" alt="" id="BLOGGER_PHOTO_ID_5169722157107164466" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-5362087584759548957?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/5362087584759548957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=5362087584759548957' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/5362087584759548957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/5362087584759548957'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2008/02/rman-and-emc-legato-networker-74.html' title='RMAN and EMC Legato Networker 7.4'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_FgrxeU6xYKM/R76W7FnWtrI/AAAAAAAAA1U/etOfNhUE3HI/s72-c/2008-02-21_103048.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-6632853121971792444</id><published>2008-02-13T16:08:00.008+01:00</published><updated>2008-02-15T17:59:28.392+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCHEMA MANAGEMENT'/><title type='text'>STEP TO PARTITION A NON PARTITIONED TABLE</title><content type='html'>&lt;span class="dropcaps"&gt;I&lt;/span&gt; have a table that is not partitioned and I need to make into a&lt;br /&gt;partitioned table.&lt;br /&gt;To solve this issue it's possible to partition a non-partitioned table using three different ways:&lt;br /&gt;A)  export/import method&lt;br /&gt;&lt;br /&gt;B)  Insert with a subquery method&lt;br /&gt;&lt;br /&gt;C)  Partition exchange method&lt;br /&gt;&lt;br /&gt;I've used the second method that is:&lt;br /&gt;1)  Create the partitioned table:&lt;br /&gt;&lt;br /&gt;create table hr.fact_navigation_new&lt;br /&gt;( date_events date not null&lt;br /&gt;)&lt;br /&gt;partition by range (date_events)&lt;br /&gt;(&lt;br /&gt;partition part_2008_01_01 values less than (to_date('2008-01-02', 'yyyy-mm-dd)) tablespace part_2008_01_usr_dwh ,&lt;br /&gt;partition part_future values less than (MAXVALUE) tablespace part_future&lt;br /&gt;) enable row movement;&lt;br /&gt;&lt;br /&gt;With user SYS I created first two tablespaces:&lt;br /&gt;create tablespace part_2008_01_usr_dwh&lt;br /&gt;datafile '+dwh_db/dwhdb/datafile/dtf_part_2008_01_usr_dwh_01.ora' size 1024m reuse autoextend on next 51200k maxsize 32767m,  '+dwh_db/dwhdb/datafile/dtf_part_2008_01_usr_dwh_02.ora' size 1024m reuse autoextend on next 51200k maxsize 32767m,&lt;br /&gt;'+dwh_db/dwhdb/datafile/dtf_part_2008_01_usr_dwh_03.ora' size 512m reuse autoextend on next 51200k&lt;br /&gt;maxsize 32767m extent management local segment space management auto;&lt;br /&gt;&lt;br /&gt;create tablespace part_future&lt;br /&gt;datafile '+dwh_db/dwhdb/datafile/dtf_part_future_usr_dwh_01.ora' size 512m reuse&lt;br /&gt;autoextend on next 51200k maxsize 32767m, '+dwh_db/dwhdb/datafile/dtf_part_future_usr_dwh_02.ora' size 512m reuse autoextend on next 51200k&lt;br /&gt;maxsize 32767m extent management local segment space management&lt;br /&gt;&lt;br /&gt;2)  Insert into the partitioned table with a subquery from the&lt;br /&gt;non-partitioned table:&lt;br /&gt;&lt;br /&gt;insert into hr.fact_navigation_new&lt;br /&gt;select * from hr.fact_navigation;&lt;br /&gt;&lt;br /&gt;3)  To have the same name as the original table,&lt;br /&gt;then rename the original table and the new table:&lt;br /&gt;&lt;br /&gt;alter table hr.fact_navigation rename to hr.fact_navigation_ori;&lt;br /&gt;alter table hr.fact_navigation_new rename to hr.fact_navigation&lt;br /&gt;&lt;br /&gt;Now I have a new partitioned by range table with two partitions. What about if I need to add new daily partitions between part_2008_01_01 and part_future ?&lt;br /&gt;&lt;br /&gt;I've solved with a PL/SQL procedure and a job executed by the DBMS_SCHEDULER utility.&lt;br /&gt;As SYS user execute the following procedure:&lt;br /&gt;&lt;br /&gt;create or replace PROCEDURE CHECK_PARTITIONS AS&lt;br /&gt;l_curr_max_part       varchar2(16); /* current max partition */&lt;br /&gt;l_today_part          varchar2(16); /* today+interval partition */&lt;br /&gt;l_last_day_part       varchar2(16); /* last partition from today + two months */&lt;br /&gt;l_diff_part           number;&lt;br /&gt;l_exist_tab           number;&lt;br /&gt;l_tab_name            varchar2(30); /* tablespace name */&lt;br /&gt;l_date                date;&lt;br /&gt;l_stmt                varchar2(2048);&lt;br /&gt;l_part_name           varchar2(16); /* partition name to be created */&lt;br /&gt;l_range_month         number;       /* interval between created partitions and to_be_created partitions : 2 months is my default */&lt;br /&gt;BEGIN&lt;br /&gt;&lt;br /&gt;l_diff_part := 0;&lt;br /&gt;l_exist_tab := 0;&lt;br /&gt;l_range_month := 2;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;* Current max partition&lt;br /&gt;*/&lt;br /&gt;select substr(max(partition_name),6)&lt;br /&gt;into l_curr_max_part&lt;br /&gt;from dba_tab_partitions&lt;br /&gt;where table_name = 'FACT_NAVIGATION'&lt;br /&gt;and TABLE_OWNER = 'HR'&lt;br /&gt;and partition_name &lt;&gt; 'PART_FUTURE';&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;* Today+interval partition&lt;br /&gt;*/&lt;br /&gt;select to_char(add_months(sysdate, l_range_month), 'YYYY_MM_DD')&lt;br /&gt;into l_today_part&lt;br /&gt;from dual;&lt;br /&gt;&lt;br /&gt;if (l_curr_max_part &lt; l_today_part)&lt;br /&gt;then  &lt;br /&gt;    /**   &lt;br /&gt;     * If max partition is the least compared with  Today+interval partition,  &lt;br /&gt;     * I need to detect    the latest day of the partition to create&lt;br /&gt;     */  &lt;br /&gt;    select to_char(last_day(add_months(sysdate, l_range_month)), 'YYYY_MM_DD') LD  &lt;br /&gt;    into l_last_day_part  &lt;br /&gt;    from dual;    &lt;br /&gt;&lt;br /&gt;    /**   &lt;br /&gt;     * I need to detect the number of partitions to create starting&lt;br /&gt;     * from the current available max partition&lt;br /&gt;     *  untill the latest &lt;br /&gt;     */  &lt;br /&gt;    select to_date(l_last_day_part, 'YYYY_MM_DD')-to_date(l_curr_max_part, 'YYYY_MM_DD') RET  &lt;br /&gt;    into l_diff_part  &lt;br /&gt;    from dual ;    &lt;br /&gt;&lt;br /&gt;    for ii IN 1..l_diff_part  &lt;br /&gt;    loop      &lt;br /&gt;    /**     &lt;br /&gt;     * Tablespace name to create&lt;br /&gt;     */    &lt;br /&gt;    select 'PART_' || to_char(to_date(l_curr_max_part, 'YYYY_MM_DD')+ii, 'YYYY_MM') || '_USR_DWH'    &lt;br /&gt;    into l_tab_name    &lt;br /&gt;    from  dual;        &lt;br /&gt;    /**     &lt;br /&gt;     * I need to verify if tablespace name alreadyu exists. Otherwise I create it.     &lt;br /&gt;     */    &lt;br /&gt;    select count(*)      &lt;br /&gt;    into l_exist_tab    &lt;br /&gt;    from  dba_tablespaces    &lt;br /&gt;    where tablespace_name = l_tab_name;        &lt;br /&gt;&lt;br /&gt;    if (l_exist_tab = 0)    &lt;br /&gt;    then      &lt;br /&gt;        /**       &lt;br /&gt;         * I need to create the tablespace       &lt;br /&gt;         */      &lt;br /&gt;        execute immediate('CREATE TABLESPACE ' || l_tab_name ||       ' DATAFILE      ''+DWH_DB/dwhdb/datafile/dtf_' || l_tab_name || '_01.ora''' ||       ' SIZE 1024M REUSE AUTOEXTEND ON NEXT 51200K MAXSIZE 32767M, ' ||       ' ''+DWH_DB/dwhdb/datafile/dtf_' || l_tab_name || '_02.ora''' ||       ' SIZE 1024M REUSE AUTOEXTEND ON NEXT 51200K MAXSIZE 32767M, ' ||       ' ''+DWH_DB/dwhdb/datafile/dtf_' || l_tab_name || '_03.ora''' ||       ' SIZE 512M REUSE AUTOEXTEND ON NEXT 51200K MAXSIZE 32767M ' ||       ' EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO');&lt;br /&gt;&lt;br /&gt;        execute immediate ('ALTER USER USR_SUPER_DWH QUOTA UNLIMITED ON ' || l_tab_name);          &lt;br /&gt;    end if;        &lt;br /&gt;&lt;br /&gt;    select to_date(l_curr_max_part, 'YYYY_MM_DD')+ii+1    &lt;br /&gt;    into l_date    &lt;br /&gt;    from dual;&lt;br /&gt;&lt;br /&gt;    execute immediate ('ALTER TABLE USR_SUPER_DWH.fact_navigation SPLIT PARTITION PART_FUTURE AT(to_date(''' || to_char(l_date, 'YYYY-MM-DD') || ''', ''YYYY-MM-DD'')) '     || ' INTO (PARTITION PART_' || l_part_name || ' tablespace '|| l_tab_name ||', PARTITION PART_FUTURE)');&lt;br /&gt;    end loop;&lt;br /&gt;end if;&lt;br /&gt;END CHECK_PARTITIONS;   &lt;br /&gt;&lt;br /&gt;The following is the script to create the job using the DBMS_SCHEDULER:&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_SCHEDULER.CREATE_JOB (&lt;br /&gt;job_name =&gt; 'SPLIT_PARTITION',&lt;br /&gt;job_type =&gt; 'STORED_PROCEDURE',&lt;br /&gt;job_action =&gt; 'CHECK_PARTITIONS',&lt;br /&gt;start_date =&gt;to_date('13-02-2008 15:05:00', 'DD-MM-YYYY hh24:mi:ss'),&lt;br /&gt;repeat_interval =&gt;'FREQ=WEEKLY;BYDAY=WED',&lt;br /&gt;enabled =&gt; TRUE,&lt;br /&gt;auto_drop =&gt; FALSE&lt;br /&gt;);&lt;br /&gt;END;&lt;br /&gt;&lt;br /&gt;My job starts every wednesday at 15:05 every week.&lt;br /&gt;If you want to see the status of this job, simply execute:&lt;br /&gt;SELECT * FROM DBA_SCHEDULER_JOBS&lt;br /&gt;WHERE JOB_NAME = 'SPLIT_PARTITION';&lt;br /&gt;&lt;br /&gt;If you want to start it immediately, run the following statement:&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_SCHEDULER.RUN_JOB (&lt;br /&gt;job_name =&gt; 'SPLIT_PARTITION',&lt;br /&gt;use_current_session =&gt; FALSE);&lt;br /&gt;END;&lt;br /&gt;&lt;br /&gt;In the following pictures you can see how I manually run the job and see the status RUNNING&lt;br /&gt;in DBA_SCHEDULER_JOBS table, after scheduled the job at 15:05.&lt;br /&gt;When the job finished, new partitions are created (from PART_2008_03_31 to PART_2008_04_30) and&lt;br /&gt;the status of the job become again SCHEDULED.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/R7MbzFnWtPI/AAAAAAAAAx0/Cg58VYuZk3I/s1600-h/2008-02-13_151516.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/R7MbzFnWtPI/AAAAAAAAAx0/Cg58VYuZk3I/s320/2008-02-13_151516.jpg" alt="" id="BLOGGER_PHOTO_ID_5166503762018612466" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/R7MbzlnWtQI/AAAAAAAAAx8/yIMHKoCC_A4/s1600-h/2008-02-13_152616.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/R7MbzlnWtQI/AAAAAAAAAx8/yIMHKoCC_A4/s320/2008-02-13_152616.jpg" alt="" id="BLOGGER_PHOTO_ID_5166503770608547074" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-6632853121971792444?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/6632853121971792444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=6632853121971792444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6632853121971792444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6632853121971792444'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2008/02/step-to-partition-non-partitioned-table.html' title='STEP TO PARTITION A NON PARTITIONED TABLE'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_FgrxeU6xYKM/R7MbzFnWtPI/AAAAAAAAAx0/Cg58VYuZk3I/s72-c/2008-02-13_151516.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-9068114428962051656</id><published>2007-06-19T10:51:00.001+01:00</published><updated>2007-06-19T14:14:27.326+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle DataGuard'/><title type='text'>Oracle Data Guard: 03 physical standby database configuration</title><content type='html'>Click &lt;a href="http://dbaworkshop.blogspot.com/2007/03/oracle-data-guard-02-physical-standby.html"&gt;here &lt;/a&gt;to read the previous post&lt;br /&gt;&lt;br /&gt;&lt;span class="dropcaps"&gt;N&lt;/span&gt;ow from the primary database start the listener, typing (see the picture below):&lt;br /&gt;lsnrctl start&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/Rnen_AHZUhI/AAAAAAAAAxk/i6ot8y0Ye-Q/s1600-h/17+2007-06-17_161633.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/Rnen_AHZUhI/AAAAAAAAAxk/i6ot8y0Ye-Q/s400/17+2007-06-17_161633.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711805688140306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then mount the database (see the picture below).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/Rnen_QHZUiI/AAAAAAAAAxs/5-fmr3NQaKc/s1600-h/18+2007-06-17_161643.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/Rnen_QHZUiI/AAAAAAAAAxs/5-fmr3NQaKc/s400/18+2007-06-17_161643.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711809983107618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now you can verify that the listener is listening for the PRIMARY service (see the picture below).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/RnenzwHZUcI/AAAAAAAAAw8/ZcHBjYMSOQA/s1600-h/19+2007-06-17_161659.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/RnenzwHZUcI/AAAAAAAAAw8/ZcHBjYMSOQA/s400/19+2007-06-17_161659.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711612414611906" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also from the standby database start the listener, typing (see the picture below):&lt;br /&gt;lsnrctl start&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/RnenzwHZUdI/AAAAAAAAAxE/-bd-hYpQtB0/s1600-h/20+2007-06-17_161759.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/RnenzwHZUdI/AAAAAAAAAxE/-bd-hYpQtB0/s400/20+2007-06-17_161759.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711612414611922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then mount the database (see the picture below).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/Rnen0AHZUeI/AAAAAAAAAxM/hIn2FwCya1c/s1600-h/21+2007-06-17_161847.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/Rnen0AHZUeI/AAAAAAAAAxM/hIn2FwCya1c/s400/21+2007-06-17_161847.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711616709579234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now you can verify that the listener is listening for the STANDBY service (see the picture below).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/Rnen0QHZUfI/AAAAAAAAAxU/kAlh-dbiEMA/s1600-h/22+2007-06-17_162020.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/Rnen0QHZUfI/AAAAAAAAAxU/kAlh-dbiEMA/s400/22+2007-06-17_162020.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711621004546546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We have just few work to complete the configuration... From the standby database, in the mount state, type (see the picture below):&lt;br /&gt;selecr sequence#, first_time, next_time from v$archived_log order by sequence#;&lt;br /&gt;&lt;br /&gt;Then&lt;br /&gt;alter database recover managed standby database disconnect;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/Rnen0QHZUgI/AAAAAAAAAxc/Uvir-3rKrrc/s1600-h/23+2007-06-17_165016.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/Rnen0QHZUgI/AAAAAAAAAxc/Uvir-3rKrrc/s400/23+2007-06-17_165016.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711621004546562" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the primary database type (see the picture below):&lt;br /&gt;alter database open;&lt;br /&gt;&lt;br /&gt;and then:&lt;br /&gt;alter system set log_archive_dest_state_2=enable scope=both;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;select status, error from v$archived_dest where dest_id=2;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/RnenqAHZUXI/AAAAAAAAAwU/edrOIlWRtQI/s1600-h/24+2007-06-17_165011.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/RnenqAHZUXI/AAAAAAAAAwU/edrOIlWRtQI/s400/24+2007-06-17_165011.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711444910887282" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now force a log switch (see the picture below)&lt;br /&gt;alter system switch logfile;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/RnenqQHZUYI/AAAAAAAAAwc/FKDl0OeRwpE/s1600-h/25+2007-06-17_165011.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/RnenqQHZUYI/AAAAAAAAAwc/FKDl0OeRwpE/s400/25+2007-06-17_165011.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711449205854594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And view that something happened into the standby database :)))  (see the picture below)&lt;br /&gt;select sequence#, first_time, next_time from v$archived_log order by sequence#;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/RnenqQHZUZI/AAAAAAAAAwk/CrG0glyz36o/s1600-h/26+2007-06-17_165016.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/RnenqQHZUZI/AAAAAAAAAwk/CrG0glyz36o/s400/26+2007-06-17_165016.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711449205854610" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And again ...&lt;br /&gt;(see the picture below)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/RnenqgHZUaI/AAAAAAAAAws/D3yJrYDXWSY/s1600-h/27+2007-06-17_165136.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/RnenqgHZUaI/AAAAAAAAAws/D3yJrYDXWSY/s400/27+2007-06-17_165136.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711453500821922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;the same results :)))&lt;br /&gt;(see the picture below)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/RnenqgHZUbI/AAAAAAAAAw0/g7iTdXsNBkc/s1600-h/28+2007-06-17_165141.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/RnenqgHZUbI/AAAAAAAAAw0/g7iTdXsNBkc/s400/28+2007-06-17_165141.jpg" alt="" id="BLOGGER_PHOTO_ID_5077711453500821938" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-9068114428962051656?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/9068114428962051656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=9068114428962051656' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/9068114428962051656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/9068114428962051656'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2007/06/oracle-data-guard-03-physical-standby.html' title='Oracle Data Guard: 03 physical standby database configuration'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_FgrxeU6xYKM/Rnen_AHZUhI/AAAAAAAAAxk/i6ot8y0Ye-Q/s72-c/17+2007-06-17_161633.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-7856098296717474006</id><published>2007-04-27T12:23:00.000+01:00</published><updated>2007-04-27T12:34:57.380+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle TimesTen'/><title type='text'>Oracle TimesTen: 01 Installation on Windows systems</title><content type='html'>&lt;span class="dropcaps"&gt;O&lt;/span&gt;racle TimesTen provides a real-time infrastructure software designed for low latency, high-volume data, event and transaction management. It is used intensively in the telecom and financial markets because of their  very high performance and robust reliability.&lt;br /&gt;&lt;br /&gt;Oracle TimesTen uses in-memory database technology to speed access to data. Indexing, query optimization, and storage management, for example, are designed specially for in-memory data access. The result is high throughput and low, predictable response times, even on commodity hardware. The product also incorporates replication facilities, non-blocking operation, and an event-notification mechanism that works together with materialized views to convey changes to other systems. Oracle TimesTen enables the development of mission-critical, real-time applications in which response time is very important.&lt;br /&gt;&lt;br /&gt;Oracle TimesTen also offers a Cache product that interoperates with an Oracle database backend, using one of several protocols, to cache frequently used data in TimesTen. SQL predicates can be used to specify what data is cached, or data can be loaded into the cache on demand (and later automatically aged out). Data can be changed in the cache, with writes being propagated synchronously or asynchronously back to Oracle.&lt;br /&gt;&lt;br /&gt;On UNIX, you can install more than one instance of any TimesTen release. For the current release by default the instance name is tt70. The TimesTen installation script can detect if an instance of the particular release of TimesTen already exists on the machine and will prompt you for a new instance name and port number for the main TimesTen daemon.&lt;br /&gt;Remember: on Windows you can only install one instance of TimesTen. The instance name is case-insensitive, can have up to 255 characters, can include underscores or period, but no other special characters.&lt;br /&gt;&lt;br /&gt;Before installing TimesTen, make sure the appropriate requirements are met for your operating system. On platforms where JDBC is supported you must have the appropriate version of the JDK installed on your machine to use JDBC.&lt;br /&gt;In my case I will install TimesTen for my environment, that is: Windows XP for Intel IA-32 CPU. It supports both JDK 1.4 and JDK 5.0.&lt;br /&gt;&lt;br /&gt;Download from the Oracle website the file timesten70100.win32.zip, save it on a folder and  extract it: double click on the setup.exe file and a Welcome wizard will start (see the figure below).&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/RjHeXeJL8-I/AAAAAAAAAqc/bKLOs16Bzkw/s1600-h/2007-04-27_122055.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/RjHeXeJL8-I/AAAAAAAAAqc/bKLOs16Bzkw/s400/2007-04-27_122055.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068351323730914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click the NEXT button and choose the destination location where setup will install files.&lt;br /&gt;The defaul location suggested is C:\TimesTen\tt70_32\ (see the figure below); click NEXT.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/RjHeXuJL8_I/AAAAAAAAAqk/3kCL3R-z6v0/s1600-h/2007-04-27_122341.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/RjHeXuJL8_I/AAAAAAAAAqk/3kCL3R-z6v0/s400/2007-04-27_122341.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068355618698226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Select the setup type that best suits your needs.&lt;br /&gt;- Compact installs the TimesTen client, ODBC drivers and examples;&lt;br /&gt;- Typical installs the TimesTen Data Manager, TimesTen Client, TimesTen&lt;br /&gt;Server, documentation and examples;&lt;br /&gt;- With Custom you may customize installation by selecting any of the following&lt;br /&gt;components: TimesTen Data Manager, TimesTen Client and/or&lt;br /&gt;TimesTen Server including the DEBUG drivers.&lt;br /&gt;I choose Typical (see the figure below) and then click NEXT.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_FgrxeU6xYKM/RjHeXuJL9AI/AAAAAAAAAqs/pWCJVxBXemI/s1600-h/2007-04-27_123111.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_FgrxeU6xYKM/RjHeXuJL9AI/AAAAAAAAAqs/pWCJVxBXemI/s400/2007-04-27_123111.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068355618698242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When prompted to install Cache Connect to Oracle (see the figure below) you must have at least a client installation of Oracle Database 9i or 10g on the machine where you are installing TimesTen, to successful install the Cache Connect.&lt;br /&gt;Oracle TimesTen can run as a standalone database, but it can also optionally run as a performance accelerator using the Cache Connect for data moving to or from an existing Oracle Database. Click YES.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/RjHeX-JL9BI/AAAAAAAAAq0/_Geh6j58sAo/s1600-h/2007-04-27_123503.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/RjHeX-JL9BI/AAAAAAAAAq0/_Geh6j58sAo/s400/2007-04-27_123503.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068359913665554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Choose the datastore location: the default is&lt;br /&gt;C:\Documents and Settings\USERNAME\Application Data\TimesTen\DemoDataStores.&lt;br /&gt;Select your location (see the figure below) and click NEXT.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FgrxeU6xYKM/RjHeX-JL9CI/AAAAAAAAAq8/hHNNE948cAE/s1600-h/2007-04-27_123846.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_FgrxeU6xYKM/RjHeX-JL9CI/AAAAAAAAAq8/hHNNE948cAE/s400/2007-04-27_123846.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068359913665570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Select a program folder (see the figure below) and click NEXT.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/RjHeLOJL85I/AAAAAAAAAp0/XAw051_KgHM/s1600-h/2007-04-27_124026.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/RjHeLOJL85I/AAAAAAAAAp0/XAw051_KgHM/s400/2007-04-27_124026.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068140870333330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Select the TimesTen Environment Options (see the figure below) and click NEXT.&lt;br /&gt;The Datastore Access Control provides an environment of basic control for applications that use the internally defined privileges.&lt;br /&gt;In TimesTen, user privileges are granted on a instance wide-basis. A user’s privileges apply to all data stores in a given TimesTen instance or installation.&lt;br /&gt;Anyway in this installation I don't enable the Datastore Access Control.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/RjHeLOJL86I/AAAAAAAAAp8/zz8SziwEGv8/s1600-h/2007-04-27_125003.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/RjHeLOJL86I/AAAAAAAAAp8/zz8SziwEGv8/s400/2007-04-27_125003.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068140870333346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Select which version of Java to add to the CLASSPATH environment (see the figure below) and click NEXT.&lt;br /&gt;I have the JDK 5.0 installed on my machine.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/RjHeLOJL87I/AAAAAAAAAqE/kSSpFc8Joc0/s1600-h/2007-04-27_130423.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/RjHeLOJL87I/AAAAAAAAAqE/kSSpFc8Joc0/s400/2007-04-27_130423.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068140870333362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Confirm your installation informations (see the figure below) clicking NEXT.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_FgrxeU6xYKM/RjHeLOJL88I/AAAAAAAAAqM/b3YSqm68ZXE/s1600-h/2007-04-27_130648.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_FgrxeU6xYKM/RjHeLOJL88I/AAAAAAAAAqM/b3YSqm68ZXE/s400/2007-04-27_130648.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068140870333378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When the Install Wizard is completed, click the FINISH button (see the figure below).&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FgrxeU6xYKM/RjHeLeJL89I/AAAAAAAAAqU/qVD92IRJmhA/s1600-h/2007-04-27_130822.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_FgrxeU6xYKM/RjHeLeJL89I/AAAAAAAAAqU/qVD92IRJmhA/s400/2007-04-27_130822.jpg" alt="" id="BLOGGER_PHOTO_ID_5058068145165300690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the next step I will setup a Data Sources (ODBC) to connect and use the Oracle TimesTen.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-7856098296717474006?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/7856098296717474006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=7856098296717474006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7856098296717474006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/7856098296717474006'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2007/04/oracle-timesten-01-installation-on.html' title='Oracle TimesTen: 01 Installation on Windows systems'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_FgrxeU6xYKM/RjHeXeJL8-I/AAAAAAAAAqc/bKLOs16Bzkw/s72-c/2007-04-27_122055.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-8812540598402683541</id><published>2007-04-26T15:30:00.000+01:00</published><updated>2007-04-26T15:32:45.311+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Recovery Manager'/><title type='text'>Recovery Manager: 07 Creating compressed backups</title><content type='html'>Click &lt;a href="http://dbaworkshop.blogspot.com/2007/04/recovery-manager-06-creating-image.html"&gt;here&lt;/a&gt; to read the previous step&lt;br /&gt;&lt;br /&gt;&lt;span class="dropcaps"&gt;U&lt;/span&gt;ntill Oracle 9i version you could reduce the size of backups backing up only used blocks and skipping unused blocks: in this way you would reduce only the backup sizes of datafiles that were oversized or had significant free space.&lt;br /&gt;&lt;br /&gt;Oracle 10g RMAN has introduced the capability to compress backups: indeed it is possible now to compress backups regardless of the contents of the datafiles, using the new BACKUP AS COMPRESSED command.&lt;br /&gt;Compressed backups work only with backup sets (database, tablespace, and datafile backup sets), so you cannot compress image copies.&lt;br /&gt;&lt;br /&gt;The following command will backup an entire database using a compressed backup&lt;br /&gt;set:&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;backup as compressed backupset database;&lt;/span&gt;&lt;/blockquote&gt;To configure the default backup type for a compressed backup set use the&lt;br /&gt;following command:&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;configure device type disk backup type to compressed backupset;&lt;/span&gt;&lt;/blockquote&gt;Compressed database backup sets are compressed at approximately a 5-to-1&lt;br /&gt;ratio, or 20 percent of the size of a standard backup set.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-8812540598402683541?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/8812540598402683541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=8812540598402683541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/8812540598402683541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/8812540598402683541'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2007/04/recovery-manager-07-creating-compressed.html' title='Recovery Manager: 07 Creating compressed backups'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-6255889240351816987</id><published>2007-04-26T15:14:00.000+01:00</published><updated>2007-04-26T15:21:48.308+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Recovery Manager'/><title type='text'>Recovery Manager: 06 Creating image copies</title><content type='html'>Click here to &lt;a href="http://dbaworkshop.blogspot.com/2007/04/recovery-manager-05-creating-backup.html"&gt;read &lt;/a&gt;the previous step.&lt;br /&gt;&lt;br /&gt;&lt;span class="dropcaps"&gt;A&lt;/span&gt;n image copy in RMAN is equivalent to an operating system copy command such as cp or dd in Unix, or COPY in Windows. Image copies can be stored only on disk, so you cannot use tape channels for image copies, but if multiple files are to be copied, then you can consider parallelism.&lt;br /&gt;This means that many of the great features of backup sets (such as incremental backup, compression, writing directly to tape, or controlling the size of the output pieces) cannot be used.&lt;br /&gt;But it means that a restore can be very fast, because there is no need to extract the file from a backup set.&lt;br /&gt;&lt;br /&gt;To configure the default backup type for an image copy use the&lt;br /&gt;following command. This parameter or setting configures the type of backup to be an image&lt;br /&gt;copy:&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;&lt;span style="font-weight: normal;"&gt;RMAN&gt;&lt;/span&gt;configure device type disk backup type to copy;&lt;/blockquote&gt;The following command shows an example of using the RMAN COPY command to create an image copy of two database files (the SYSTEM tablespace and a control file) to the /u01/app/oracle/flash_recovery_area/ directory:&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;run &lt;/span&gt;&lt;br /&gt;2&gt; &lt;span style="font-weight: bold;"&gt;{ &lt;/span&gt;&lt;br /&gt;3&gt; &lt;span style="font-weight: bold;"&gt;allocate channel ch1 type disk;&lt;/span&gt;&lt;br /&gt;4&gt; &lt;span style="font-weight: bold;"&gt;copy datafile 1 to '/u01/app/oracle/flash_recovery_area/SYSTEM01.DBF' ,&lt;/span&gt;&lt;br /&gt;5&gt; &lt;span style="font-weight: bold;"&gt;current controlfile to '/u01/app/oracle/flash_recovery_area/CONTROL01.ctl';&lt;/span&gt;&lt;br /&gt;6&gt; &lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;In the above image copy example, the location of the SYSTEM01.DBF file must be known before you do the copy or you have to know that the datafile number 1 is your SYSTEM datafile. Anyway you can understand this requires a lot of extra work.&lt;br /&gt;Likely in Oracle 10g, there is the new BACKUP AS COPY command: now you can perform image copies of an entire database, multiple tablespaces, datafiles, and archive logs without having to specify all of the individual files.&lt;br /&gt;The following command shows an example of using the new RMAN BACKUP AS COPY command to create an image copy of an entire database:&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;backup as copy database;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;If you have not changed the default configuration the above command launchs one disk channel&lt;br /&gt;and copies all the datafiles and the controlfile to the flash recovery area.&lt;br /&gt;The following command instead will backup all the archive log files to the flash recovery area, deleting all the input file after the command is successful completed.&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;backup as copy archivelog all delete all input;&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-6255889240351816987?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/6255889240351816987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=6255889240351816987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6255889240351816987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/6255889240351816987'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2007/04/recovery-manager-06-creating-image.html' title='Recovery Manager: 06 Creating image copies'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-4967648143911029218</id><published>2007-04-19T07:39:00.000+01:00</published><updated>2007-04-26T15:27:54.772+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Recovery Manager'/><title type='text'>Recovery Manager: 05 Creating backup sets</title><content type='html'>Click &lt;a href="http://dbaworkshop.blogspot.com/2007/04/recovery-manager-04-executing-commands.html"&gt;here &lt;/a&gt;to read the previous step&lt;br /&gt;&lt;br /&gt;&lt;span class="dropcaps"&gt;A&lt;/span&gt;s you know Recovery Manager can back up the Oracle objects in two ways:&lt;br /&gt;as image copies or as backup sets.&lt;br /&gt;&lt;br /&gt;Image copies are identical copies of the original file (database files, archive logs, or control files), are not stored in a special RMAN format and can be stored only on disk.&lt;br /&gt;A backup set instead is a proprietary format: so only RMAN can manipulated the backup set.&lt;br /&gt;A backup set can be written to disk or to tape, unlike image copies. Moreover it can be compressed and requires less space than a image copy; RMAN can also multiplex the files in a backup set, namely RMAN reads from multiple files and then each of the file blocks are written and interspersed to the same backup set.&lt;br /&gt;Image copies cannot be multiplexed instead.&lt;br /&gt;&lt;br /&gt;Backup sets have also the ability to make incremental backups. Furthermore, a backup set is always smaller than an image copy, because backup sets of datafiles never include blocks that have not been used, whereas an image copy of necessity includes the complete file.&lt;br /&gt;&lt;br /&gt;To configure the default device to tape use the following command. This command sets the default media for RMAN to store the backup information:&lt;br /&gt;&lt;blockquote&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt;configure default device type to sbt;&lt;/span&gt;&lt;/blockquote&gt;To configure the default device to disk use the following command.&lt;br /&gt;&lt;blockquote&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt;configure default device type to disk;&lt;/span&gt;&lt;/blockquote&gt;To configure the default backup type for a backup set use the following command. This parameter or setting configures the type of backup to be a backup set:&lt;br /&gt;&lt;blockquote&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt;configure device type disk backup type to backupset;&lt;/span&gt;&lt;/blockquote&gt;To configure a default device for either tape or disk to a compressed backup set, use the&lt;br /&gt;following commands:&lt;br /&gt;&lt;blockquote&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt;configure device type disk backup type to compressed backupset;&lt;/span&gt;&lt;br /&gt;RMAN&gt;&lt;span style="font-weight: bold;"&gt;configure device type sbt backup type to compressed backupset;&lt;/span&gt;&lt;/blockquote&gt;In the following example, you are backing up the database and storing in two backup sets:&lt;br /&gt;FULL DATAFILE BACKUPSET and ARCHIVE LOG BACKUP SET.&lt;br /&gt;FULL DATAFILE BACKUPSET is made up of four backup pieces;&lt;br /&gt;ARCHIVE LOG BACKUPSET is comprised on two backup pieces (you can identify these pieces in the following log, highlighted in bold).&lt;br /&gt;&lt;br /&gt;A format of db_%u_%d_%s means that a db_ will be concatenated to the backup set&lt;br /&gt;unique identifier and then concatenated to database name with the backup set number.&lt;br /&gt;The following list includes the format specifications for the FORMAT option used in the example:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;%u &lt;/span&gt;Specifies an eight-character name constituted by compressed representations of the backup set or image copy number.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;%d &lt;/span&gt;Specifies the name of the database.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;%s &lt;/span&gt;Specifies the backup set number.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;%t &lt;/span&gt;Specifies the backup set timestamp&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;%p &lt;/span&gt;Specifies the piece number within the backup set.&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;run {&lt;/span&gt;&lt;br /&gt;2&gt; &lt;span style="font-weight: bold;"&gt;allocate channel c1 type disk;&lt;/span&gt;&lt;br /&gt;3&gt; &lt;span style="font-weight: bold;"&gt;allocate channel c2 type disk;&lt;/span&gt;&lt;br /&gt;4&gt; &lt;span style="font-weight: bold;"&gt;backup database format 'db_%u_%d_%s';&lt;/span&gt;&lt;br /&gt;5&gt; &lt;span style="font-weight: bold;"&gt;backup format 'log_t%t_s%s_p%p' (archivelog all);&lt;/span&gt;&lt;br /&gt;6&gt; &lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;released channel: ORA_DISK_1&lt;br /&gt;allocated channel: c1&lt;br /&gt;channel c1: sid=140 devtype=DISK&lt;br /&gt;&lt;br /&gt;allocated channel: c2&lt;br /&gt;channel c2: sid=145 devtype=DISK&lt;br /&gt;&lt;br /&gt;Starting backup at 16-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;channel c1: starting full datafile backupset&lt;/span&gt;&lt;br /&gt;channel c1: specifying datafile(s) in backupset&lt;br /&gt;input datafile fno=00001&lt;br /&gt;name=/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_system_2yss9qlx_.dbf&lt;br /&gt;input datafile fno=00004&lt;br /&gt;name=/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_users_2yss9r32_.dbf&lt;br /&gt;channel c1: starting piece 1 at 16-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;channel c2: starting full datafile backupset&lt;/span&gt;&lt;br /&gt;channel c2: specifying datafile(s) in backupset&lt;br /&gt;input datafile fno=00003&lt;br /&gt;name=/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_sysaux_2yss9qop_.dbf&lt;br /&gt;input datafile fno=00002&lt;br /&gt;name=/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_undotbs1_2yss9r16_.dbf&lt;br /&gt;channel c2: starting piece 1 at 16-APR-07&lt;br /&gt;channel c2: finished piece 1 at 16-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/db_0aifbgff_PRIMARY_10&lt;/span&gt;&lt;br /&gt;tag=TAG20070416T220221 comment=NONE&lt;br /&gt;channel c2: backup set complete, elapsed time: 00:02:09&lt;br /&gt;channel c2: starting full datafile backupset&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;channel c2: specifying datafile(s) in backupset&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;including current control file in backupset&lt;/span&gt;&lt;br /&gt;channel c2: starting piece 1 at 16-APR-07&lt;br /&gt;channel c2: finished piece 1 at 16-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/db_0bifbgji_PRIMARY_11&lt;/span&gt;&lt;br /&gt;tag=TAG20070416T220221 comment=NONE&lt;br /&gt;channel c2: backup set complete, elapsed time: 00:00:12&lt;br /&gt;channel c2: starting full datafile backupset&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;channel c2: specifying datafile(s) in backupset&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;including current SPFILE in backupset&lt;/span&gt;&lt;br /&gt;channel c2: starting piece 1 at 16-APR-07&lt;br /&gt;channel c2: finished piece 1 at 16-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/db_0cifbgjv_PRIMARY_12&lt;/span&gt;&lt;br /&gt;tag=TAG20070416T220221 comment=NONE&lt;br /&gt;channel c2: backup set complete, elapsed time: 00:00:04&lt;br /&gt;channel c1: finished piece 1 at 16-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/db_09ifbgfe_PRIMARY_9&lt;/span&gt;&lt;br /&gt;tag=TAG20070416T220221 comment=NONE&lt;br /&gt;channel c1: backup set complete, elapsed time: 00:02:45&lt;br /&gt;Finished backup at 16-APR-07&lt;br /&gt;&lt;br /&gt;Starting backup at 16-APR-07&lt;br /&gt;current log archived&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;channel c1: starting archive log backupset&lt;/span&gt;&lt;br /&gt;channel c1: specifying archive log(s) in backup set&lt;br /&gt;input archive log thread=1 sequence=4 recid=3 stamp=618986417&lt;br /&gt;channel c1: starting piece 1 at 16-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;channel c2: starting archive log backupset&lt;/span&gt;&lt;br /&gt;channel c2: specifying archive log(s) in backup set&lt;br /&gt;input archive log thread=1 sequence=5 recid=4 stamp=620085919&lt;br /&gt;channel c2: starting piece 1 at 16-APR-07&lt;br /&gt;channel c2: finished piece 1 at 16-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/log_t620085921_s14_p1&lt;/span&gt;&lt;br /&gt;tag=TAG20070416T220519 comment=NONE&lt;br /&gt;channel c2: backup set complete, elapsed time: 00:00:04&lt;br /&gt;channel c1: finished piece 1 at 16-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/log_t620085921_s13_p1&lt;/span&gt;&lt;br /&gt;tag=TAG20070416T220519 comment=NONE&lt;br /&gt;channel c1: backup set complete, elapsed time: 00:00:19&lt;br /&gt;Finished backup at 16-APR-07&lt;br /&gt;released channel: c1&lt;br /&gt;released channel: c2&lt;br /&gt;&lt;br /&gt;Let's see the backup of our database.&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;list backup of database;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;List of Backup Sets&lt;br /&gt;===================&lt;br /&gt;&lt;br /&gt;BS Key  Type LV Size       Device Type Elapsed Time Completion Time&lt;br /&gt;------- ---- -- ---------- ----------- ------------ ---------------&lt;br /&gt;9       Full    176.40M    DISK        00:02:05     16-APR-07&lt;br /&gt;   BP Key: 9   Status: AVAILABLE  Compressed: NO  Tag: TAG20070416T220221&lt;br /&gt;   &lt;span style="font-weight: bold;"&gt;Piece Name: /u01/app/oracle/product/10.2.0/db_1/dbs/db_0aifbgff_PRIMARY_10&lt;/span&gt;&lt;br /&gt;List of Datafiles in backup set 9&lt;br /&gt;File LV Type Ckp SCN    Ckp Time  Name&lt;br /&gt;---- -- ---- ---------- --------- ----&lt;br /&gt;2       Full 555181     16-APR-07 /u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_undotbs1_2yss9r16_.dbf&lt;br /&gt;3       Full 555181     16-APR-07 /u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_sysaux_2yss9qop_.dbf&lt;br /&gt;&lt;br /&gt;BS Key  Type LV Size       Device Type Elapsed Time Completion Time&lt;br /&gt;------- ---- -- ---------- ----------- ------------ ---------------&lt;br /&gt;12      Full    352.55M    DISK        00:02:41     16-APR-07&lt;br /&gt;   BP Key: 12   Status: AVAILABLE  Compressed: NO  Tag: TAG20070416T220221&lt;br /&gt;   &lt;span style="font-weight: bold;"&gt;Piece Name: /u01/app/oracle/product/10.2.0/db_1/dbs/db_09ifbgfe_PRIMARY_9&lt;/span&gt;&lt;br /&gt;List of Datafiles in backup set 12&lt;br /&gt;File LV Type Ckp SCN    Ckp Time  Name&lt;br /&gt;---- -- ---- ---------- --------- ----&lt;br /&gt;1       Full 555175     16-APR-07 /u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_system_2yss9qlx_.dbf&lt;br /&gt;4       Full 555175     16-APR-07 /u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_users_2yss9r32_.dbf&lt;br /&gt;&lt;br /&gt;The job launches two channels, capable of writing to the file system. Each channel will generate its own backup set, and they will be generated in parallel.&lt;br /&gt;&lt;br /&gt;The preceding examples are of online backups, but if the target is in noarchivelog mode, RMAN can do offline backups.&lt;br /&gt;An RMAN offline backup is done in mount mode. A user-managed offline backup done with operating system utilities is always done when the instance is shut down, because otherwise you&lt;br /&gt;cannot guarantee that the datafile and controlfile copies will be read-consistent;&lt;br /&gt;RMAN needs the target database controlfile to be mounted in order to get to its repository.&lt;br /&gt;For this reason, RMAN offline backups are done in mount mode.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Offline backups are done in mount mode, but the database must have been cleanly shut down first.  The backup will fail if the shutdown were a crash or a SHUTDOWN ABORT.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following is an example of an offline backup:&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;run &lt;/span&gt;&lt;br /&gt;2&gt; &lt;span style="font-weight: bold;"&gt;{&lt;/span&gt;&lt;br /&gt;3&gt; &lt;span style="font-weight: bold;"&gt;shutdown immediate;&lt;/span&gt;&lt;br /&gt;4&gt; &lt;span style="font-weight: bold;"&gt;startup mount;&lt;/span&gt;&lt;br /&gt;5&gt;&lt;span style="font-weight: bold;"&gt; backup as backupset database;&lt;/span&gt;&lt;br /&gt;6&gt; &lt;span style="font-weight: bold;"&gt;alter database open;&lt;/span&gt;&lt;br /&gt;7&gt; &lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Click &lt;a href="http://dbaworkshop.blogspot.com/2007/04/recovery-manager-06-creating-image.html"&gt;here&lt;/a&gt; to read the next step&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-4967648143911029218?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/4967648143911029218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=4967648143911029218' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4967648143911029218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4967648143911029218'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2007/04/recovery-manager-05-creating-backup.html' title='Recovery Manager: 05 Creating backup sets'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-4974096157902881649</id><published>2007-04-06T08:26:00.000+01:00</published><updated>2007-04-19T08:07:35.837+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Recovery Manager'/><title type='text'>Recovery Manager: 04 executing commands from shell scripts</title><content type='html'>Click &lt;a href="http://dbaworkshop.blogspot.com/2007/04/recovery-manager-03-executing-commands.html"&gt;here &lt;/a&gt;to read the previous step&lt;br /&gt;&lt;br /&gt;&lt;span class="dropcaps"&gt;F&lt;/span&gt;irst of all... &lt;span style="font-weight: bold;"&gt;what is a shell ?&lt;/span&gt;&lt;br /&gt;A shell is a command interpreter: when you issue commands to the Unix operating system they are translated into a form the kernel (a software layer able to communicate with the hardware layer to complete tasks such as writing to disk or using a printer) can understand and returns the results to you.&lt;br /&gt;Users direct the operation of the computer by entering command input as text for a shell to execute.&lt;br /&gt;&lt;br /&gt;In the Unix operating system there are available many types of shell, but they work fundamentally in the same ways. Since in the Unix operating system users can select which shell they want to use (which program should execute when they login), many shells have been developed:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;sh: The Bourne shell, written by Steven Bourne. It is the original UNIX shell.The Bourne shell was the shell used in early versions of Unix and became a de facto standard; every Unix-like system has at least one shell compatible with the Bourne shell. The Bourne shell program is located in the UNIX file hierarchy at /bin/sh&lt;/li&gt;&lt;li&gt;csh: The C shell, a Unix shell developed by Bill Joy for the BSD Unix system, uses syntax similar to the C programming language. The C shell added many feature improvements over the Bourne shell, such as aliases and command history.&lt;/li&gt;&lt;li&gt;ksh: The Korn shell, a Unix shell developed by David Korn, is considered a superset of the Bourne shell. The main advantage of ksh over the traditional Unix shell is in its use as a programming language. Since its conception, several features were gradually added, while maintaining strong backwards compatibility with the Bourne shell.&lt;/li&gt;&lt;li&gt;bash: The Bourne Again Shell is the Linux default shell which includes features of the Bourne shell as well as the Korn, C, and TCSH shells.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;It is possible to invoke any available shell from within another shell. To start a new shell, you&lt;br /&gt;simply type the name of the shell you want to run, ksh, csh, or sh. It is also possible to set the default startup shell for all your future sessions. The default shell for your account is stored in the system database /etc/passwd, along with the other information about your account. To change your default shell, use the chsh command.&lt;br /&gt;&lt;br /&gt;And now... &lt;span style="font-weight: bold;"&gt;what is a shell script ?&lt;/span&gt;&lt;br /&gt;A shell script is simply a file containing a set of commands. The shell script looks just like any regular UNIX file, but it contains commands or conditional (if-then, while-do, until-do) statements that can be executed by the shell.&lt;br /&gt;&lt;br /&gt;Now... let's go to analyse the following Rman shell script:&lt;br /&gt;The EOF text strings act as markers that tell Unix that any commands between the EOFs are commands associated with the command to the immediate left... in our case... the rman command.&lt;br /&gt;If RMAN encounters an error, it returns a nonzero exit code that is evaluated within the shell script.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#!/bin/ksh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#----------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;export TARGET_CONN=sys/oracle&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#----------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;rman &amp;lt;&amp;lt;EOF&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;# Connect to the target and the catalog&lt;br /&gt;connect target ${TARGET_CONN}&lt;br /&gt;# Run the backup command.&lt;br /&gt;run {  allocate channel d1 type disk;&lt;br /&gt;  backup as compressed backupset datafile 4; }&lt;br /&gt;EOF&lt;br /&gt;&lt;br /&gt;#Test for success of RMAN operation&lt;br /&gt;if [ $? -ne 0 ];&lt;br /&gt;then&lt;br /&gt;echo "RMAN shell script completed with problems..."&lt;br /&gt;else&lt;br /&gt;echo "RMAN shell script successful completed..."&lt;br /&gt;fi&lt;br /&gt;#----------------------------------------------&lt;br /&gt;exit&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Click &lt;a href="http://dbaworkshop.blogspot.com/2007/04/recovery-manager-05-creating-backup.html"&gt;here &lt;/a&gt;to read the next step&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-4974096157902881649?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/4974096157902881649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=4974096157902881649' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4974096157902881649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/4974096157902881649'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2007/04/recovery-manager-04-executing-commands.html' title='Recovery Manager: 04 executing commands from shell scripts'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-1684679461912730423</id><published>2007-04-05T17:27:00.000+01:00</published><updated>2007-04-05T17:40:36.356+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Recovery Manager'/><title type='text'>Recovery Manager: 03 executing commands from prompt and from file</title><content type='html'>Click &lt;a href="http://dbaworkshop.blogspot.com/2007/04/simple-hello-world-program-using-c-and.html"&gt;here&lt;/a&gt; to read the previous step.&lt;br /&gt;&lt;br /&gt;&lt;span class="dropcaps"&gt;W&lt;/span&gt;ould you like to create a backup of your datafiles in the flash recovery area directory.?&lt;br /&gt;Just type the following commands, but remember that the target database must be in archivelog mode (alter database archivelog) before running this on-line backup:&lt;br /&gt;&lt;blockquote&gt;$ &lt;span style="font-weight: bold;"&gt;rman target / nocatalog&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Recovery Manager: Release 10.2.0.1.0 - Production on Wed Apr 4 06:19:33 2007&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;connected to target database: PRIMARY (DBID=1453964262)&lt;br /&gt;using target database control file instead of recovery catalog&lt;br /&gt;&lt;/blockquote&gt;Let's gather more information about our database.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;report schema&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;Report of database schema&lt;br /&gt;&lt;br /&gt;List of Permanent Datafiles&lt;br /&gt;===========================&lt;br /&gt;File Size(MB) Tablespace           RB segs Datafile Name&lt;br /&gt;---- -------- -------------------- ------- ------------------------&lt;br /&gt;1    480      SYSTEM               ***&lt;br /&gt;/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_system_2yss9qlx_.dbf&lt;br /&gt;2    25       UNDOTBS1             ***&lt;br /&gt;/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_undotbs1_2yss9r16_.dbf&lt;br /&gt;3    240      SYSAUX               ***&lt;br /&gt;/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_sysaux_2yss9qop_.dbf&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4    5        USERS                ***&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_users_2yss9r32_.dbf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;List of Temporary Files&lt;br /&gt;=======================&lt;br /&gt;File Size(MB) Tablespace           Maxsize(MB) Tempfile Name&lt;br /&gt;---- -------- -------------------- ----------- --------------------&lt;br /&gt;1    25       TEMP                 32767&lt;br /&gt;/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_temp_2yssg3oo_.tmp&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;Now I choose I want a compressed backup of &lt;span style="font-weight: bold;"&gt;datafile number 4&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;run  { allocate channel d1 type disk;&lt;/span&gt;&lt;br /&gt;2&gt; &lt;span style="font-weight: bold;"&gt;backup as compressed backupset datafile 4; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;allocated channel: d1&lt;br /&gt;channel d1: sid=159 devtype=DISK&lt;br /&gt;&lt;br /&gt;Starting backup at 04-APR-07&lt;br /&gt;channel d1: starting compressed full datafile backupset&lt;br /&gt;channel d1: specifying datafile(s) in backupset&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;input datafile fno=00004&lt;/span&gt;&lt;br /&gt;name=/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_users_2yss9r32_.dbf&lt;br /&gt;channel d1: starting piece 1 at 04-APR-07&lt;br /&gt;channel d1: finished piece 1 at 04-APR-07&lt;br /&gt;piece&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;handle=/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_nnndf_TAG20070404T062359_316b30rc_.bkp&lt;/span&gt;&lt;br /&gt;tag=TAG20070404T062359 comment=NONE&lt;br /&gt;channel d1: backup set complete, elapsed time: 00:00:03&lt;br /&gt;Finished backup at 04-APR-07&lt;br /&gt;released channel: d1&lt;br /&gt;&lt;/blockquote&gt;Now I choose I want a compressed backup of the &lt;span style="font-weight: bold;"&gt;tablespace USERS&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;run  { allocate channel d1 type disk;&lt;/span&gt;&lt;br /&gt;2&gt; &lt;span style="font-weight: bold;"&gt;backup as compressed backupset tablespace users;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;allocated channel: d1&lt;br /&gt;channel d1: sid=159 devtype=DISK&lt;br /&gt;&lt;br /&gt;Starting backup at 04-APR-07&lt;br /&gt;channel d1: starting compressed full datafile backupset&lt;br /&gt;channel d1: specifying datafile(s) in backupset&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;input datafile fno=00004&lt;/span&gt;&lt;br /&gt;name=/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_users_2yss9r32_.dbf&lt;br /&gt;channel d1: starting piece 1 at 04-APR-07&lt;br /&gt;channel d1: finished piece 1 at 04-APR-07&lt;br /&gt;piece&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;handle=/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_nnndf_TAG20070404T062502_316b4yns_.bkp&lt;/span&gt;&lt;br /&gt;tag=TAG20070404T062502 comment=NONE&lt;br /&gt;channel d1: backup set complete, elapsed time: 00:00:01&lt;br /&gt;Finished backup at 04-APR-07&lt;br /&gt;released channel: d1&lt;br /&gt;&lt;/blockquote&gt;Because datafile number 4 and the tablespace USERS are the same thing, if you want to see&lt;br /&gt;how many backup you have for the datafile number 4, you would see two different compressed backup.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;list backup of datafile 4;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;List of Backup Sets&lt;br /&gt;===================&lt;br /&gt;BS Key  Type LV Size       Device Type Elapsed Time Completion Time&lt;br /&gt;------- ---- -- ---------- ----------- ------------ ---------------&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4&lt;/span&gt;       Full    432.00K    DISK        00:00:03     04-APR-07&lt;br /&gt;      BP Key: 4   Status: &lt;span style="font-weight: bold;"&gt;AVAILABLE&lt;/span&gt;  Compressed: YES  Tag:TAG20070404T062359&lt;br /&gt;      Piece Name:&lt;br /&gt;/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_nnndf_TAG20070404T062359_316b30rc_.bkp&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  List of Datafiles in backup set 4&lt;/span&gt;&lt;br /&gt;File LV Type Ckp SCN    Ckp Time  Name&lt;br /&gt;---- -- ---- ---------- --------- ----&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  4&lt;/span&gt;       Full 545019     04-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_users_2yss9r32_.dbf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;BS Key  Type LV Size       Device Type Elapsed Time Completion Time&lt;br /&gt;------- ---- -- ---------- ----------- ------------ ---------------&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5&lt;/span&gt;       Full    432.00K    DISK        00:00:01     04-APR-07&lt;br /&gt;      BP Key: 5   Status: &lt;span style="font-weight: bold;"&gt;AVAILABLE  &lt;/span&gt;Compressed: YES  Tag:TAG20070404T062502&lt;br /&gt;      Piece Name:&lt;br /&gt;/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_nnndf_TAG20070404T062502_316b4yns_.bkp&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  List of Datafiles in backup set 5&lt;/span&gt;&lt;br /&gt;File LV Type Ckp SCN    Ckp Time  Name&lt;br /&gt;---- -- ---- ---------- --------- ----&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  4&lt;/span&gt;       Full 545058     04-APR-07&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_users_2yss9r32_.dbf&lt;/span&gt;&lt;/blockquote&gt;Now I choose I want a backup of the &lt;span style="font-weight: bold;"&gt;current control file&lt;/span&gt;.&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;run  { allocate channel d1 type disk;&lt;/span&gt;&lt;br /&gt;2&gt; &lt;span style="font-weight: bold;"&gt;backup as backupset current controlfile;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;allocated channel: d1&lt;br /&gt;channel d1: sid=159 devtype=DISK&lt;br /&gt;&lt;br /&gt;Starting backup at 04-APR-07&lt;br /&gt;channel d1: starting full datafile backupset&lt;br /&gt;channel d1: specifying datafile(s) in backupset&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;including current control file in backupset&lt;/span&gt;&lt;br /&gt;channel d1: starting piece 1 at 04-APR-07&lt;br /&gt;channel d1: finished piece 1 at 04-APR-07&lt;br /&gt;piece&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;handle=/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_ncnnf_TAG20070404T062800_316bbjx4_.bkp&lt;/span&gt;&lt;br /&gt;tag=TAG20070404T062800 comment=NONE&lt;br /&gt;channel d1: backup set complete, elapsed time: 00:00:01&lt;br /&gt;Finished backup at 04-APR-07&lt;br /&gt;released channel: d1&lt;br /&gt;&lt;/blockquote&gt;And here it's the command to list how many backup I have for my control file.&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;list backup of controlfile;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;List of Backup Sets&lt;br /&gt;===================&lt;br /&gt;&lt;br /&gt;BS Key  Type LV Size       Device Type Elapsed Time Completion Time&lt;br /&gt;------- ---- -- ---------- ----------- ------------ ---------------&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6       &lt;/span&gt;Full    6.77M      DISK        00:00:01     04-APR-07&lt;br /&gt;      BP Key: 6   Status: &lt;span style="font-weight: bold;"&gt;AVAILABLE  &lt;/span&gt;Compressed: NO  Tag: TAG20070404T062800&lt;br /&gt;      Piece Name:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_ncnnf_TAG20070404T062800_316bbjx4_.bkp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  Control File Included&lt;/span&gt;: Ckp SCN: 545172       Ckp time: 04-APR-07&lt;/blockquote&gt;Now I just &lt;span style="font-weight: bold;"&gt;delete &lt;/span&gt;the backupset files number 4 and 5 and &lt;span style="font-weight: bold;"&gt;then I run again the same commands above, but this time from a file&lt;/span&gt;.&lt;br /&gt;&lt;blockquote&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;delete backupset 4,5;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;allocated channel: ORA_DISK_1&lt;br /&gt;channel ORA_DISK_1: sid=159 devtype=DISK&lt;br /&gt;&lt;br /&gt;List of Backup Pieces&lt;br /&gt;BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name&lt;br /&gt;------- ------- --- --- ----------- ----------- ----------&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4&lt;/span&gt;       4       1   1   &lt;span style="font-weight: bold;"&gt;AVAILABLE   &lt;/span&gt;DISK&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_nnndf_TAG20070404T062359_316b30rc_.bkp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5       &lt;/span&gt;5       1   1   &lt;span style="font-weight: bold;"&gt;AVAILABLE   &lt;/span&gt;DISK&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_nnndf_TAG20070404T062502_316b4yns_.bkp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Do you really want to delete the above objects (enter YES or NO)? &lt;span style="font-weight: bold;"&gt;yes&lt;/span&gt;&lt;br /&gt;deleted backup piece&lt;br /&gt;backup piece&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;handle=/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_nnndf_TAG20070404T062359_316b30rc_.bkp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;recid=4&lt;/span&gt; stamp=618992640&lt;br /&gt;deleted backup piece&lt;br /&gt;backup piece&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;handle=/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_nnndf_TAG20070404T062502_316b4yns_.bkp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;recid=5&lt;/span&gt; stamp=618992702&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Deleted 2 objects&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;Edit and prepare a Recovery Manager command file.&lt;br /&gt;&lt;blockquote&gt;vi backup_users.rmn&lt;/blockquote&gt;Then type into it the following rman commands:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;run&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;{&lt;/span&gt;&lt;br /&gt;#allocate the channel&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;allocate channel d1 type disk;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#issue the backup command&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;backup as compressed backupset datafile 4;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;Then execute that file using the following command.&lt;br /&gt;&lt;blockquote style="font-weight: bold;"&gt;$ rman target / nocatalog @backup_users.rmn log=backup_users.log&lt;/blockquote&gt;The log option is useful to analyse your backup status, indeed:&lt;br /&gt;&lt;blockquote&gt;$vi backup_users.log&lt;br /&gt;&lt;br /&gt;Recovery Manager: Release 10.2.0.1.0 - Production on Wed Apr 4 06:36:04 2007&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;connected to target database: PRIMARY (DBID=1453964262)&lt;br /&gt;using target database control file instead of recovery catalog&lt;br /&gt;&lt;br /&gt;RMAN&gt; &lt;span style="font-weight: bold;"&gt;run&lt;/span&gt;&lt;br /&gt;2&gt; &lt;span style="font-weight: bold;"&gt;{&lt;/span&gt;&lt;br /&gt;3&gt; #allocate the channel&lt;br /&gt;4&gt; &lt;span style="font-weight: bold;"&gt;allocate channel d1 type disk;&lt;/span&gt;&lt;br /&gt;5&gt;&lt;br /&gt;6&gt; #issue the backup command&lt;br /&gt;7&gt; &lt;span style="font-weight: bold;"&gt;backup as compressed backupset datafile 4;&lt;/span&gt;&lt;br /&gt;8&gt; &lt;span style="font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;9&gt;&lt;br /&gt;10&gt;&lt;br /&gt;allocated channel: d1&lt;br /&gt;channel d1: sid=153 devtype=DISK&lt;br /&gt;&lt;br /&gt;Starting backup at 04-APR-07&lt;br /&gt;channel d1: starting compressed full datafile backupset&lt;br /&gt;channel d1: specifying datafile(s) in backupset&lt;br /&gt;input datafile fno=&lt;span style="font-weight: bold;"&gt;00004&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;name=/u01/app/oracle/oradata/PRIMARY/datafile/o1_mf_users_2yss9r32_.dbf&lt;/span&gt;&lt;br /&gt;channel d1: starting piece 1 at 04-APR-07&lt;br /&gt;channel d1: finished piece 1 at 04-APR-07&lt;br /&gt;piece&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;handle=/u01/app/oracle/flash_recovery_area/PRIMARY/backupset/2007_04_04/o1_mf_nnndf_TAG20070404T063611_316bsvjc_.bkp&lt;/span&gt;&lt;br /&gt;tag=TAG20070404T063611 comment=NONE&lt;br /&gt;channel d1: backup set complete, elapsed time: 00:00:01&lt;br /&gt;Finished backup at 04-APR-07&lt;br /&gt;released channel: d1&lt;br /&gt;&lt;br /&gt;Recovery Manager complete.&lt;/blockquote&gt;&lt;br /&gt;My backup is gone well!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3005934468887687781-1684679461912730423?l=dbaworkshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dbaworkshop.blogspot.com/feeds/1684679461912730423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3005934468887687781&amp;postID=1684679461912730423' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1684679461912730423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3005934468887687781/posts/default/1684679461912730423'/><link rel='alternate' type='text/html' href='http://dbaworkshop.blogspot.com/2007/04/recovery-manager-03-executing-commands.html' title='Recovery Manager: 03 executing commands from prompt and from file'/><author><name>Marco V.</name><uri>http://www.blogger.com/profile/01205506217107591086</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_FgrxeU6xYKM/S9FmfwOE1OI/AAAAAAAAB6o/bOegaGkIVuM/S220/0c26ffa.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3005934468887687781.post-5832335287009914795</id><published>2007-04-05T13:55:00.000+01:00</published><updated>2007-04-05T14:44:17.973+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C and PRO*C samples'/><title type='text'>A simple Hello World program using C and PRO*C</title><content type='html'>&lt;span class="dropcaps"&gt;J&lt;/span&gt;ust because many visitors ask me to write some C and PRO*C code to interface with an ORACLE database, today I will write a simple "Hello World!" program.&lt;br /&gt;&lt;br /&gt;First of all you have to set at least your &lt;span style="font-weight: bold;"&gt;LD_LIBRARY_PATH&lt;/span&gt; and in general you should set as $ORACLE_HOME/lib.&lt;br /&gt;In my .profile file I have:&lt;br /&gt;&lt;blockquote&gt;export ORACLE_SID=primary&lt;br /&gt;export ORACLE_BASE=/u01/app/oracle&lt;br /&gt;export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1&lt;br /&gt;export &lt;span style="font-weight: bold;"&gt;LD_LIBRARY_PATH=$ORACLE_HOME/lib&lt;/span&gt;&lt;br /&gt;export PATH=$ORACLE_HOME/bin;/bin;/usr/bin;/usr/sbin;/usr/local/bin;/usr/X11R6/bin&lt;br /&gt;umask 022&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Then login as sysdba and create the user hello:&lt;br /&gt;&lt;blockquote&gt;C
