Changing oracle_home(standalone to ORACLE RAC).
Customer has two oracle environments on the same envioronments.
1) Standalone database running on Standalone oracle_home.
2) RAC databases running on RAC ORACLE_HOME.
Now customer would like to change standalone database to RAC ORACLE_HOME. What is the procedure for this.
Oracle version is 11.2.0.3.4 on both environments. Just i need to change the oracle_home only. If any additional clarifications...happy to reply with more details....
Thanks in-advance.
Please use the below link, its helpful
http://docs.oracle.com/database/121/RACAD/cvt2rac.htm
Single-Instance Database on a Cluster Running from an Oracle RAC-Disabled Home
You can create a single-instance database on a cluster running from an Oracle home with the Oracle RAC option disabled. To create an Oracle home on a cluster with Oracle RAC disabled, you can select local and non-cluster on the Node Selection Page of Oracle Universal Installer when installing the Oracle Database software. You can also performed a one-node cluster (with Oracle RAC) installation, but later disable the Oracle RAC option.
Perform the following procedures to convert this type of single-instance database to an Oracle RAC or Oracle RAC One Node database:
1. Use DBCA to create a preconfigured image of your single-instance database as described in "Use DBCA to Create an Image of the Single-Instance Database" To perform the conversion manually, shut down the single-instance database.
2. Change the directory to the lib subdirectory in the rdbms directory under the Oracle home.
3. Relink the oracle binary by running the following commands:
4. make -f ins_rdbms.mk rac_on
5. make -f ins_rdbms.mk ioracle
Similar Messages
-
Adding Standalone listener Oracle RAC
Dear Experts
We have oracle RAC setup on in our organization, now we also need to do streaming between our RAC server and another oracle server for public reports. We installed another network interface card on of our Oracle RAC server and connect it directly to other server but we are not able to add listener for that interfaces. I did manually entered listener configuration in "listener.ora" and added it also in CRS using "srvctl add listener". Srvctl start listener properly but when i check the status of listener using "lsnrctl status <listener_name> than it shows that listener do not support any services.
Your help will really be appreciate.Dear P
Thanks for prompt reply. My listener for RAC is working fine, but standalone listener for one node on specific interface is not working. However i have added the listener using "srvctl add listener" command and it also start successfully but it does not support any service. See below the output of lsnrctl status.
[oracle@mangla ~]$ lsnrctl status listener_mangla_priv2
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 08-OCT-2010 13:01:35
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mangla-priv2)(PORT=1522)))
STATUS of the LISTENER
Alias listener_mangla_priv2
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 08-OCT-2010 12:35:54
Uptime 0 days 0 hr. 25 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/mangla/listener_mangla_priv2/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.1)(PORT=1522)))
The listener supports no services
The command completed successfully
[oracle@mangla ~]$ lsnrctl status listener_mangla
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 08-OCT-2010 13:03:07
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mangla-vip)(PORT=1521)(IP=FIRST)))
STATUS of the LISTENER
Alias LISTENER_MANGLA
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 08-OCT-2010 08:14:41
Uptime 0 days 4 hr. 48 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/mangla/listener_mangla/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.0.11)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.0.211)(PORT=1521)))
Services Summary...
Service "SYS$STRMADMIN.STREAMS_CAPTURE_CB_Q.PCBA" has 1 instance(s).
Instance "pcba1", status READY, has 1 handler(s) for this service...
Service "SYS$STRMADMIN.STREAMS_CAPTURE_GLB_Q.PCBA" has 1 instance(s).
Instance "pcba1", status READY, has 1 handler(s) for this service...
Service "SYS$STRMADMIN.STREAMS_CAPTURE_Q.PCBA" has 1 instance(s).
Instance "pcba1", status READY, has 1 handler(s) for this service...
Service "pcba" has 2 instance(s).
Instance "pcba1", status READY, has 1 handler(s) for this service...
Instance "pcba2", status READY, has 2 handler(s) for this service...
Service "pcbaXDB" has 2 instance(s).
Instance "pcba1", status READY, has 1 handler(s) for this service...
Instance "pcba2", status READY, has 1 handler(s) for this service...
Service "pcba_XPT" has 2 instance(s).
Instance "pcba1", status READY, has 1 handler(s) for this service...
Instance "pcba2", status READY, has 2 handler(s) for this service...
The command completed successfully
[oracle@mangla ~]$ crs_stat -t
Name Type Target State Host
ora....LA.lsnr application ONLINE ONLINE mangla
ora.mangla.gsd application ONLINE ONLINE mangla
ora....v2.lsnr application ONLINE ONLINE mangla
ora.mangla.ons application ONLINE ONLINE mangla
ora.mangla.vip application ONLINE ONLINE mangla
ora.pcba.db application ONLINE ONLINE mangla
ora....a1.inst application ONLINE ONLINE tarbela
ora....a2.inst application ONLINE ONLINE mangla
ora....LA.lsnr application ONLINE ONLINE tarbela
ora....ela.gsd application ONLINE ONLINE tarbela
ora....ela.ons application ONLINE ONLINE tarbela
ora....ela.vip application ONLINE ONLINE tarbela -
Database replication between Oracle RAC and Oracle Standalone DB in 9i
Hi,
We have currently 4 node RAC environment and Oracle RAC implementation with 4 Oracle instances. We want to move the one instance and make it Standalone with Oracle database due to availability issue. Thus we will remain with 3 nodes on the RAC database and one Standalone database. We want to implement Oracle replication on this solution, where partial database of RAC environment needs to be replicated to Standalone node.
We will have Oracle 9i database server for both RAC and Standalone machine.
The partial data that we are looking for replication are of size 25GB. Some of questions we have:
1. Is there any other replication mechanism apart from Materilzed view for this solution?
2. Is it feasible to sychronize around 25GB data between servers?
3. What can be estimated time for refresh or Synchronization?
The methods that we are evaluating currently for this replication are:
1. Multi Master replication
2. Oracle 9i Datagaurd.
Please let me know if we need to look for some other methods of replication also.
Thanks in advance for help.ManojMac wrote:
The partial data that we are looking for replication are of size 25GB. Some of questions we have:
1. Is there any other replication mechanism apart from Materilzed view for this solution?Streams is another option
2. Is it feasible to sychronize around 25GB data between servers?Sure. Depending on the rate of change, your latency requirements, whether the standalone database has the horsepower to apply all the changes generated by to other three nodes, etc.
3. What can be estimated time for refresh or Synchronization?Depends on the architecture, the network connection, whether you are doing incremental refreshes, etc. And it depends on what time you're measuring-- you might be measuring the latency between the RAC cluster and the standalone database, you might be measuring the time it takes to incrementally refresh a single materailized view when there have been no changes, you might be measuring the time it takes to do a complete refresh of an entire refresh group, pulling 25 GB of data over the network.
The methods that we are evaluating currently for this replication are:
1. Multi Master replication
2. Oracle 9i Datagaurd.DataGuard is not an option if you only want to replicate a subset of the data. The two realistic options are materialized views and Streams. Are you anticipating that you will be making changes on both nodes? If not, you can use simple materialized views rather than multi-master replication.
Since 9.2 is not longer covered by Premier Support, are you planning to upgrade to a supported version in the near future? In particular, Streams works a lot better in later versions of the database.
Justin -
ORACLE_HOME in Oracle RAC 11g (Windows Server 2008)
Hello,
I've got two (2) nodes in an Oracle RAC 11g in Windows Server 2008. Oracle software is installed in C:\app.
I realized that it's not been set ORACLE_HOME path. In System Properties-> Advanced -> Environment Variables, I see that ORACLE_HOME is empty.
- Which path would be the ORACLE_HOME: C:\app\bd\product\11.2.0\dbhome_1
- Do you have to setup the same in both nodes?
ThanksI realized that it's not been set ORACLE_HOME path. In System Properties-> Advanced -> Environment Variables, I see that ORACLE_HOME is empty.its normal behaviour
- Which path would be the ORACLE_HOME: C:\app\bd\product\11.2.0\dbhome_1if you installed that location, yes
- Do you have to setup the same in both nodes?actually, you dont HAVE TO, its not needed at all -
Database replication between Oracle RAC and Oracle Standalone DB
Hi,
We have currently 4 node RAC environment and Oracle RAC implementation with 4 Oracle instances. We want to move the one instance and make it Standalone with Oracle database due to availability issue. Thus we will remain with 3 nodes on the RAC database and one Standalone database. We want to implement Oracle replication on this solution, where partial database of RAC environment needs to be replicated to Standalone node.
We will have Oracle 9i database server for both RAC and Standalone machine.
The partial data that we are looking for replication are of size 25GB. Some of questions we have:
1. Is there any other replication mechanism apart from Materilzed view for this solution?
2. Is it feasible to sychronize around 25GB data between servers?
3. What can be estimated time for refresh or Synchronization?
Thanks in advance for help.The methods that we are evaluating currently for this replication are:
1. Multi Master replication
2. Oracle 9i Datagaurd.
Please let me know if we need to look for some other methods of replication also. -
How to change permissions on shared storage to install Oracle RAC on vmware
Hello:
- I am trying to install Oracle RAC using vmware.
- But when I try to change permissions for the shared storage,
the owner and group of the shared storage does not change.
- Has some else installed Oracle RAC onto vmware ?
- I am using Oracle RAC 10.2.0, solaris 5.10 x86
Thanks
JlemI have successfully installed RAC on vmware following this article, maybe you can give it a try,
Oracle 10g RAC On Linux Using VMware Server
http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php -
Oracle RAC server's IP and Subnetmask change
Oracle DB Version:10.2.0.3.0
OS version : RedHat linux 4
Number of Nodes: 2
We need to move our RAC db servers from Atlanta to NJ. This move requires IP and subnet mask change. How we can do this chanse in for nodeapps / CRS components?I am doing a clean installation of RAC 10g rev.2, and during the installation I set the netmask for the VIP to 255.255.252.0, which is different from the pub netmask of 255.255.255.0.
I ran the following:
srvctl modify nodeapps -n rachost1 -A 192.168.180.88/255.255.255.0/pub
srvctl modify nodeapps -n rachost2 -A 192.168.180.89/255.255.255.0/pub
I then stopped the services.
C:\oracle\product\10.2.0\crs\BIN>crs_stop -all
Attempting to stop `ora.rachost1.gsd` on member `rachost1`
Attempting to stop `ora.rachost1.ons` on member `rachost1`
Attempting to stop `ora.rachost2.gsd` on member `rachost2`
Attempting to stop `ora.rachost2.ons` on member `rachost2`
Stop of `ora.rachost1.gsd` on member `rachost1` succeeded.
Stop of `ora.rachost2.gsd` on member `rachost2` succeeded.
Stop of `ora.rachost1.ons` on member `rachost1` succeeded.
Stop of `ora.rachost2.ons` on member `rachost2` succeeded.
I restarted the services.
C:\oracle\product\10.2.0\crs\BIN>crs_start -all
Attempting to start `ora.rachost1.vip` on member `rachost1`
Attempting to start `ora.rachost2.vip` on member `rachost2`
Start of `ora.rachost1.vip` on member `rachost1` succeeded.
Start of `ora.rachost2.vip` on member `rachost2` succeeded.
Attempting to start `ora.rachost1.gsd` on member `rachost1`
Attempting to start `ora.rachost1.ons` on member `rachost1`
Attempting to start `ora.rachost2.gsd` on member `rachost2`
Attempting to start `ora.rachost2.ons` on member `rachost2`
Start of `ora.rachost2.gsd` on member `rachost2` succeeded.
Start of `ora.rachost1.gsd` on member `rachost1` succeeded.
Start of `ora.rachost1.ons` on member `rachost1` succeeded.
Start of `ora.rachost2.ons` on member `rachost2` succeeded.
I checked the status, and I noticed the changes "took".
C:\oracle\product\10.2.0\crs\BIN>crs_stat -p ora.rachost1.vip
NAME=ora.rachost1.vip
TYPE=application
ACTION_SCRIPT=C:\oracle\product\10.2.0\crs\bin\racgwrap.bat
ACTIVE_PLACEMENT=1
AUTO_START=1
CHECK_INTERVAL=60
DESCRIPTION=CRS application for VIP on a node
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=rachost1
OPTIONAL_RESOURCES=
PLACEMENT=favored
REQUIRED_RESOURCES=
RESTART_ATTEMPTS=0
SCRIPT_TIMEOUT=60
START_TIMEOUT=0
STOP_TIMEOUT=0
UPTIME_THRESHOLD=7d
USR_ORA_ALERT_NAME=
USR_ORA_CHECK_TIMEOUT=0
USR_ORA_CONNECT_STR=/ as sysdba
USR_ORA_DEBUG=0
USR_ORA_DISCONNECT=false
USR_ORA_FLAGS=
USR_ORA_IF=pub
USR_ORA_INST_NOT_SHUTDOWN=
USR_ORA_LANG=
USR_ORA_NETMASK=255.255.255.0
USR_ORA_OPEN_MODE=
USR_ORA_OPI=false
USR_ORA_PFILE=
USR_ORA_PRECONNECT=none
USR_ORA_SRV=
USR_ORA_START_TIMEOUT=0
USR_ORA_STOP_MODE=immediate
USR_ORA_STOP_TIMEOUT=0
USR_ORA_VIP=192.168.180.88
C:\oracle\product\10.2.0\crs\BIN>crs_stat -p ora.rachost2.vip
NAME=ora.rachost2.vip
TYPE=application
ACTION_SCRIPT=C:\oracle\product\10.2.0\crs\bin\racgwrap.bat
ACTIVE_PLACEMENT=1
AUTO_START=1
CHECK_INTERVAL=60
DESCRIPTION=CRS application for VIP on a node
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=rachost2
OPTIONAL_RESOURCES=
PLACEMENT=favored
REQUIRED_RESOURCES=
RESTART_ATTEMPTS=0
SCRIPT_TIMEOUT=60
START_TIMEOUT=0
STOP_TIMEOUT=0
UPTIME_THRESHOLD=7d
USR_ORA_ALERT_NAME=
USR_ORA_CHECK_TIMEOUT=0
USR_ORA_CONNECT_STR=/ as sysdba
USR_ORA_DEBUG=0
USR_ORA_DISCONNECT=false
USR_ORA_FLAGS=
USR_ORA_IF=pub
USR_ORA_INST_NOT_SHUTDOWN=
USR_ORA_LANG=
USR_ORA_NETMASK=255.255.255.0
USR_ORA_OPEN_MODE=
USR_ORA_OPI=false
USR_ORA_PFILE=
USR_ORA_PRECONNECT=none
USR_ORA_SRV=
USR_ORA_START_TIMEOUT=0
USR_ORA_STOP_MODE=immediate
USR_ORA_STOP_TIMEOUT=0
USR_ORA_VIP=192.168.180.89
Configuration Assistant
Virtual Private IP Configuration Assistant
I keep getting "OUI-25031"
I am not sure why this is not working. -
Trying to change Oracle listener port 1521 to nodefault port on Oracle RAC
Could somebody please help me in the process of changing teh Oracle listener port 1521 to a non-default port on an Oracle RAC environment. I am total of four instance.
Regards.Please read carefully about LOCAL_LISTENER parameter, you shouldn't put there just hostname....
Another way to do so - statically register database SID in listener. You should do it in listener.ora file, please read carefully documentation, otherwise you can use netca utility - it could make configuration for you properly. -
Changing the Physical IP address of Oracle RAC database Server
Hi All,
We are planning to change the Physical IP address of Oracle RAC database Server. I would like know to, what all are the changes need to be done the from Oracle part.
Thanks in AdvanceCheck document 283684.1 on metalink and/or
http://orcl-experts.info/index.php?name=FAQ&id_cat=9 -
Manual creation of Oracle RAC Database
Hello Guru's,
I successfully installed Oracle Grid(clusterware) and Oracle RDBMS 11.2.0.1.0 for RAC containing 2 nodes on Linux 5.3 64 bit.
All the clusterware services and ASM instance are running fine on both nodes.
Now im planning to create database manually on node1 (RAC-NODE1).
1) configure the environmental variables as follows
export TMP=/tmp
export ORACLE_HOSTNAME=`hostname`
export ORACLE_SID=finance1
export ORACLE_UNQNAME=finance
export ORACLE_BASE=/rdbms1/app/oracle/
export ORACLE_HOME=/rdbms1/app/oracle/product/11.2.0/db_home/
export ORACLE_TERM=xterm
export PATH=$ORACLE_HOME/bin:$PATH:.
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
2) created the pfile and modified the parameters as follows
db_name='finance'
processes = 200
audit_trail ='db'
db_block_size=8192
db_domain='vod.com'
diagnostic_dest='/oradump/oradata/finance/dump'
sessions=200
remote_login_passwordfile='EXCLUSIVE'
undo_tablespace='UNDOTBS1'
control_files = +CTRL
compatible ='11.2.0'
job_queue_processes = 10
undo_management = 'AUTO'
finance1.instance_name = finance1
db_create_file_dest = +DBFILE
db_create_online_log_dest_1 = +REDO1
db_create_online_log_dest_2 = +REDO2
3) Created the password file as follows
$ orapwd file=orapwfinance1 passwors=syspassword entries=10
4) edit the /etc/oratab file as follows
finance1:/rdbms1/app/oracle/product/11.2.0/db_home:N
5) created the rac db script as follows.
CREATE DATABASE FINANCE
DATAFILE '+DBFILE' SIZE 500M
AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE '+DBFILE' SIZE 500M
AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED
DEFAULT TEMPORARY TABLESPACE TEMP
TEMPFILE '+DBFILE' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 500M
UNDO TABLESPACE UNDOTBS1
DATAFILE '+DBFILE' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 500M
DEFAULT TABLESPACE USERDATA
DATAFILE '+DBFILE' SIZE 100M AUTOEXTEND ON NEXT 10M MAXSIZE 500M
LOGFILE
GROUP 1 ('+REDO1','+REDO2') SIZE 20M,
GROUP 2 ('+REDO1','+REDO2') SIZE 20M,
GROUP 3 ('+REDO1','+REDO2') SIZE 20M
MAXINSTANCES 8
MAXLOGHISTORY 300
MAXLOGFILES 64
MAXLOGMEMBERS 5
MAXDATAFILES 150
USER SYS IDENTIFIED BY "sys_123"
USER SYSTEM IDENTIFIED BY "system_123";
6) started the instance as follows.
$ sqlplus / as sysdba
SQL> startup nomount
ORACLE instance started.
Total System Global Area 217157632 bytes
Fixed Size 2211928 bytes
Variable Size 159387560 bytes
Database Buffers 50331648 bytes
Redo Buffers 5226496 bytes
SQL> @rac_db.sql
CREATE DATABASE FINANCE
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00200: control file could not be created
ORA-00202: control file: '+CTRL'
ORA-15045: ASM file name '+CTRL' is not in reference form
ORA-17502: ksfdcre:5 Failed to create file +CTRL
ORA-15081: failed to submit an I/O operation to a disk
It shows that oracle unable to create control file on +CTRL diskgroup, i found that there is a problem with permissions on disks in diskgroups.
brw-rw-r-- 1 grid asmadmin 8, 49 Apr 8 04:25 CTRLDISK1
brw-rw-r-- 1 grid asmadmin 8, 50 Apr 8 04:25 CTRLDISK2
brw-rw-r-- 1 grid asmadmin 8, 51 Apr 8 04:25 CTRLDISK3
brw-rw-r-- 1 grid asmadmin 8, 52 Apr 8 04:25 CTRLDISK4
since all the disks in diskgroup has 664 permision and owned by grid user primary group is asmadmin.
# id grid
uid=1001(grid) gid=501(oinstall) groups=501(oinstall),504(asmadmin),505(asmdba),506(asmoper)
# id oracle
uid=1002(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),505(asmdba)
please help me to overcome the above problem.
regards,Thanks for comments,
I successfully created the database, once i restared the database it is unbale to mount because of unbale to open +CTRL group file.
SQL> startup
ORACLE instance started.
Total System Global Area 217157632 bytes
Fixed Size 2211928 bytes
Variable Size 159387560 bytes
Database Buffers 50331648 bytes
Redo Buffers 5226496 bytes
ORA-00205: error in identifying control file, check alert log for more info
alert log:
ORACLE_BASE from environment = /rdbms1/app/oracle/
Thu Apr 11 09:36:34 2013
ALTER DATABASE MOUNT
ORA-00210: cannot open the specified control file
ORA-00202: control file: '+CTRL'
ORA-17503: ksfdopn:2 Failed to open file +CTRL
ORA-15045: ASM file name '+CTRL' is not in reference form
ORA-205 signalled during: ALTER DATABASE MOUNT...
Thu Apr 11 09:36:42 2013
NOTE: initiating MARK startup
raw devices:
# ls -l /dev/sd*
brw-rw-r-- 1 grid asmadmin 8, 16 Apr 11 09:04 /dev/sdb
brw-rw-r-- 1 grid asmadmin 8, 17 Apr 11 09:51 /dev/sdb1
brw-rw-r-- 1 grid asmadmin 8, 18 Apr 11 09:51 /dev/sdb2
brw-rw-r-- 1 grid asmadmin 8, 19 Apr 11 09:51 /dev/sdb3
brw-rw-r-- 1 grid asmadmin 8, 20 Apr 11 09:45 /dev/sdb4
brw-rw-r-- 1 grid asmadmin 8, 32 Apr 11 09:04 /dev/sdc
brw-rw-r-- 1 grid asmadmin 8, 33 Apr 11 09:30 /dev/sdc1
brw-rw-r-- 1 grid asmadmin 8, 34 Apr 11 09:30 /dev/sdc2
brw-rw-r-- 1 grid asmadmin 8, 35 Apr 11 09:30 /dev/sdc3
brw-rw-r-- 1 grid asmadmin 8, 36 Apr 11 09:05 /dev/sdc4
brw-rw-r-- 1 grid asmadmin 8, 48 Apr 11 09:04 /dev/sdd
brw-rw-r-- 1 grid asmadmin 8, 49 Apr 11 09:51 /dev/sdd1
brw-rw-r-- 1 grid asmadmin 8, 50 Apr 11 09:51 /dev/sdd2
brw-rw-r-- 1 grid asmadmin 8, 51 Apr 11 09:51 /dev/sdd3
brw-rw-r-- 1 grid asmadmin 8, 52 Apr 11 09:30 /dev/sdd4
brw-rw-r-- 1 grid asmadmin 8, 64 Apr 11 09:04 /dev/sde
brw-rw-r-- 1 grid asmadmin 8, 65 Apr 11 09:51 /dev/sde1
brw-rw-r-- 1 grid asmadmin 8, 66 Apr 11 09:51 /dev/sde2
brw-rw-r-- 1 grid asmadmin 8, 67 Apr 11 09:51 /dev/sde3
brw-rw-r-- 1 grid asmadmin 8, 68 Apr 11 09:30 /dev/sde4
brw-rw-r-- 1 grid asmadmin 8, 80 Apr 11 09:04 /dev/sdf
brw-rw-r-- 1 grid asmadmin 8, 81 Apr 11 09:51 /dev/sdf1
brw-rw-r-- 1 grid asmadmin 8, 82 Apr 11 09:51 /dev/sdf2
brw-rw-r-- 1 grid asmadmin 8, 83 Apr 11 09:51 /dev/sdf3
brw-rw-r-- 1 grid asmadmin 8, 84 Apr 11 09:30 /dev/sdf4
brw-rw-r-- 1 grid asmadmin 8, 96 Apr 11 09:04 /dev/sdg
brw-rw-r-- 1 grid asmadmin 8, 97 Apr 11 09:51 /dev/sdg1
brw-rw-r-- 1 grid asmadmin 8, 98 Apr 11 09:51 /dev/sdg2
brw-rw-r-- 1 grid asmadmin 8, 99 Apr 11 09:51 /dev/sdg3
brw-rw-r-- 1 grid asmadmin 8, 100 Apr 11 09:30 /dev/sdg4
brw-rw-r-- 1 grid asmadmin 8, 112 Apr 11 09:04 /dev/sdh
brw-rw-r-- 1 grid asmadmin 8, 113 Apr 11 09:51 /dev/sdh1
brw-rw-r-- 1 grid asmadmin 8, 114 Apr 11 09:51 /dev/sdh2
brw-rw-r-- 1 grid asmadmin 8, 115 Apr 11 09:51 /dev/sdh3
brw-rw-r-- 1 grid asmadmin 8, 116 Apr 11 09:30 /dev/sdh4
asm disks:
[09:52 AM [email protected] disks]# ll
brw-rw-r-- 1 grid asmadmin 8, 65 Apr 11 09:05 ARCLOGDISK1
brw-rw-r-- 1 grid asmadmin 8, 66 Apr 11 09:05 ARCLOGDISK2
brw-rw-r-- 1 grid asmadmin 8, 67 Apr 11 09:05 ARCLOGDISK3
brw-rw-r-- 1 grid asmadmin 8, 68 Apr 11 09:05 ARCLOGDISK4
brw-rw-r-- 1 grid asmadmin 8, 49 Apr 11 09:05 CTRLDISK1
brw-rw-r-- 1 grid asmadmin 8, 50 Apr 11 09:05 CTRLDISK2
brw-rw-r-- 1 grid asmadmin 8, 51 Apr 11 09:05 CTRLDISK3
brw-rw-r-- 1 grid asmadmin 8, 52 Apr 11 09:05 CTRLDISK4
brw-rw-r-- 1 grid asmadmin 8, 33 Apr 11 09:05 DBFILEDISK1
brw-rw-r-- 1 grid asmadmin 8, 34 Apr 11 09:05 DBFILEDISK2
brw-rw-r-- 1 grid asmadmin 8, 35 Apr 11 09:05 DBFILEDISK3
brw-rw-r-- 1 grid asmadmin 8, 36 Apr 11 09:05 DBFILEDISK4
brw-rw-r-- 1 grid asmadmin 8, 113 Apr 11 09:05 FRADISK1
brw-rw-r-- 1 grid asmadmin 8, 114 Apr 11 09:05 FRADISK2
brw-rw-r-- 1 grid asmadmin 8, 115 Apr 11 09:05 FRADISK3
brw-rw-r-- 1 grid asmadmin 8, 116 Apr 11 09:05 FRADISK4
brw-rw-r-- 1 grid asmadmin 8, 81 Apr 11 09:05 REDODISK1
brw-rw-r-- 1 grid asmadmin 8, 82 Apr 11 09:05 REDODISK2
brw-rw-r-- 1 grid asmadmin 8, 83 Apr 11 09:05 REDODISK3
brw-rw-r-- 1 grid asmadmin 8, 84 Apr 11 09:05 REDODISK4
brw-rw-r-- 1 grid asmadmin 8, 97 Apr 11 09:05 REDODISK5
brw-rw-r-- 1 grid asmadmin 8, 98 Apr 11 09:05 REDODISK6
brw-rw-r-- 1 grid asmadmin 8, 99 Apr 11 09:05 REDODISK7
brw-rw-r-- 1 grid asmadmin 8, 100 Apr 11 09:05 REDODISK8
brw-rw-r-- 1 grid asmadmin 8, 17 Apr 11 09:05 VOTEDISK1
brw-rw-r-- 1 grid asmadmin 8, 18 Apr 11 09:05 VOTEDISK2
brw-rw-r-- 1 grid asmadmin 8, 19 Apr 11 09:05 VOTEDISK3
brw-rw-r-- 1 grid asmadmin 8, 20 Apr 11 09:05 VOTEDISK4
[09:53 AM [email protected] ~]# ls -l /rdbms1/app/oracle/product/11.2.0/db_home/bin/oracle
-rwsr-s--x 1 oracle asmadmin 210824720 Apr 8 13:39 /rdbms1/app/oracle/product/11.2.0/db_home/bin/oracle
I know this problem is coming for improper assiging of permissions, but i could not pin point. kindly clarify the same.
one more thing i need to know.., whenever i rebooted nodes, both of raw devices and asm disks are come to default permission brw------, i have to change every time to brw-rw-r--. is there any way to make these disks and devices permissions make permenet.
Thanks in advance. -
Recommendations - Oracle RAC 10g on Solaris 10 Containers Logical/Local..
Dear Oracle Experts et all
I have a couple of questions for Oracle 10g RAC implementation on Solaris and seek your advice. we are attempting to implement oracle 10g RAC on Solaris OS and SPARC Platform.
1 We are wondering if Oracle 10g RAC could be implemented on Solaris Local/Logical Containers? I was assuming that Oracle will always link it self with OS binaries and Libraries while S/W installation and hence will need an OS image/Root Disk over which it could go. However, in containers, I assume we have a single solaris installation and configuration which will thus be shared to the containers which will be further configured in it. In such situations how does Oracle instalation proceed? Do I need to look at a scenario where, the global Container/Zone will have Oracle install and this image be shared across to zones/containers accordingly? If it is so, what all filesystems from OS will need to be shared across to these zones/containers?
Additionally, even if this approach is supported, is it a recommended approach? I am unsure about the stability and functionality of Oracle in such cases and am not able to completly conceptualize. However, I assume there could be certain items which needs to be approprietly taken care off. It will help if you could share observations from your experiences.
2 The idea of RAC we are looking at is to have multiple Oracle Installations on top of native clustering solution say veritas clusters/Sun Clusters. Do we still need to have Oracle Cluster solution Clusterware (ORACRS) on top of this to achieve Oracle Clustering? Will I be able to install Oracle as a standalone installation on top of native clustering solution say veritas clusters/Sun Clusters?
Our requirement is to have the above mentioned multiple Oracle installations spread across two (2) seperate H/W platforms,say Node A and Node B, and configure our Cluster Solution to behave as active-passive across Node A and Node B. In other words, I will configure Clustering Solution like VRTS/SunCluster in Active-Passive, then have 3 Oracle installations on Node A, another 3 on Node B. I will configure one database each for each of these Oracle S/W installation (with an idea not to have Clusterware between clustering solution VRTS/SunCluster and Oracle installation, if it works). Now I will run 3 databases thus on each of these nodes. If any downtime happens on any one of the nodes, say Node A, I will fail all oracle databases and S/W accordingly to the alternate available node, Node B in this case, using native clustering solution and I will want the database to behave as it was behaving earlier, on Node A. I am not sure though if I will be able to bring the database up on Node B when resources in OS perspective are failed over.
we want to use Oracle 10g RAC Release 2 EE on Solaris 10 OS latest/one before the latest release.
Please share your thoughts.
Regards!
SaratSarat Chandra C wrote:
Dear Oracle Experts et all
I have a couple of questions for Oracle 10g RAC implementation on Solaris and seek your advice. we are attempting to implement oracle 10g RAC on Solaris OS and SPARC Platform.
1 We are wondering if Oracle 10g RAC could be implemented on Solaris Local/Logical Containers? My understanding is that RAC in a Zone (Container) is not supported by Oracle, and will not work anyway. Regardless of installation, RAC needs to do cluster level stuff about the cluster configuration, changing network addresses dynamically, and sending guaranteed messages over the cluster interconnect. None of this stuff can be done in a Local Zone in Solaris, because Local Zones have fewer permissions that the Global Zone. This is part of the design of Solaris Zones, and nothing to do with how Oracle RAC itself works on them.
This is all down to the security model of Zones, and Local Zones lack the ability to do certain things, to stop them reconfiguring themselves and impacting other Zones. Hence RAC cannot do dynamic cluster reconfiguration in a Local Zone, such as changing virtual network addresses when a node fails.
My understanding is that RAC just cannot work in a Local Zone. This was certainly true 5 years ago (mid 2005), and was a result of the inherent design and implementation of Zones in Solaris. Things may have changed, so check the Solaris documentation, and check if Oracle RAC is supported in Local Zones. However, as I said, this limitation was inherent in the design of Zones, so I do not see how Sun could possibly have changed it so that RAC would work in a Local Zone.
To me, your only option is the Global Zone. Which pretty much destroys the argument for having Zones on a Solaris system, unless you can host other non-Oracle application on the other Zones.
2 The idea of RAC we are looking at is to have multiple Oracle Installations on top of native clustering solution say veritas clusters/Sun Clusters. Do we still need to have Oracle Cluster solution Clusterware (ORACRS) on top of this to achieve Oracle Clustering? Will I be able to install Oracle as a standalone installation on top of native clustering solution say veritas clusters/Sun Clusters?I am not sure the term 'native' is correct. All 'Cluster' software is low level, and has components that run within the operating system. Whether this is Sun Cluster, Veritas Cluster Server, or Oracle Clusterware. They are all as 'native' to Solaris as each other. They all perform the same function for Oracle RAC around Cluster management - which nodes are members of the cluster, heartbeats between nodes, reliable fast message delivery, etc.
You only need one piece of Cluster software. So pick one and use it. If you use the Sun or Veritas cluster products, then you do not need the Oracle Clusterware software. But I would use it, because it is free (included with RAC), is from Oracle themselves and so guaranteed to work, is fully supported, and is one less third party product to deal with. Having an all Oracle software stack makes things simpler and more reliable, as far as I am concerned. You can be sure that Oracle will have fully tested RAC on their own Clusterware, and be able to replicate any issues in their own support environments.
Officially the Sun and Veritas products will work and are supported. But when you get a problem with your Cluster environment, who are you going to call? You really want to avoid "finger pointing" when you have a problem, with each vendor blaming the cause of the problem on another vendor. Using an all Oracle stack is simpler, and ensures Oracle will "own" all your support problems.
Also future upgrades between versions will be simpler, as Oracle will release all their software together, and have tested it together. When using third party Cluster software, you have to wait for all vendors to release new versions of their own software, and then wait again while it is tested against all the different third party software that runs on it. I have heard of customers stuck on old versions of certain cluster products, who cannot upgrade because there are no compatible combinations in the support matrices between the cluster product and Oracle database versions.
I will configure Clustering Solution like VRTS/SunCluster in Active-Passive, then have 3 Oracle installations on Node A, another 3 on Node B. As I said before, these 3 Oracle installations will actually all be on the same Global Zone, because RAC will not go into Local Zones.
John -
Getting error when try to backup oracle rac to another location
Hi there,
I am attempting to backup database to another location from a Oracle RAC database version 11gr2. Here is my script:
#!/bin/ksh
export ORACLE_SID=vvsms1
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOME
BASE_PATH=/usr/sbin:$PATH; export BASE_PATH
PATH=$ORACLE_HOME/bin:$BASE_PATH; export PATH
/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms log /home/oracle/log_rman/vvsms.log append <<EOF
RUN {
CROSSCHECK BACKUP;
CROSSCHECK ARCHIVELOG ALL;
ALLOCATE CHANNEL CHANNEL1 TYPE DISK FORMAT '/home/oracle/backup/vvsms/backup_%U';
BACKUP INCREMENTAL LEVEL 0 TAG 'incr_vvsms' DATABASE;
BACKUP ARCHIVELOG ALL;
DELETE OBSOLETE;
RELEASE CHANNEL CHANNEL1;
EXIT;
EOF
I write it into a .sh file and set crontab to run it. But when it run i get the error like these:
Starting backup at 22-OCT-12
channel CHANNEL1: starting incremental level 0 datafile backup set
channel CHANNEL1: specifying datafile(s) in backup set
input datafile file number=00002 name=+DISK2/vvsms/datafile/sysaux.289.794242439
input datafile file number=00006 name=+DISK2/vvsms/datafile/ts_service.dbf
input datafile file number=00007 name=+DISK2/vvsms/datafile/ts_viviet.dbf
input datafile file number=00008 name=+DISK2/vvsms/datafile/viviet.dbf
input datafile file number=00009 name=+DISK2/vvsms/datafile/ts_vivietct_primary.dbf
input datafile file number=00003 name=+DISK2/vvsms/datafile/undotbs1.290.794242445
input datafile file number=00001 name=+DISK2/vvsms/datafile/system.288.794242429
input datafile file number=00004 name=+DISK2/vvsms/datafile/undotbs2.292.794242453
input datafile file number=00005 name=+DISK2/vvsms/datafile/users.293.794242455
channel CHANNEL1: starting piece 1 at 22-OCT-12
released channel: CHANNEL1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on CHANNEL1 channel at 10/22/2012 01:50:16
ORA-19504: failed to create file "/home/oracle/backup/vvsms/backup_2anobqu5_1_1"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 2: No such file or directory
I don't know what i'm wrong? The location is correct ("/home/oracle/backup/vvsms/).
Please suggest me some things about it. What do i need to do?
Thanks in advance!
P/s: Sorry for my bad English./u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms log /home/oracle/log_rman/vvsms.log appendThis line can be your problem.
As this database is a RAC and your are using a service with load balance "vvsms" and "/home/oracle/backup/vvsms" is not a shared location. RMAN is starting a session on Other node where "/home/oracle/backup/vvsms" does not exists.
Try change it :
/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms log /home/oracle/log_rman/vvsms.log appendTo this (using Easy Connect Method):
/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@localhost:1521/VVSMS log /home/oracle/log_rman/vvsms.log appendWhere:
localhost: your local node
VVSMS : is the service of database
Also check if "/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora" have configured the line "NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)"
P.S : When RMAN start a session it show where is logged, check on logs what instance RMAN was logged.
HTH,
Levi Pereira -
Oracle Rac 11.2.0.3 doubts
Hi experts,
Current system info:
server 1 with Redhat 6.5 and Orale ASM with SAP ECC 6 GRID 11.2.0.3 standalone installation
Target system info:
Server 1 and server 2 running RAC 11.2.0.3 with SAP ECC 6 and RedHat 6.5 GRID with cluster
We are trying to convert our current system to oracle RAC but have some doubts.
We are following "Configuration of SAP NetWeaver for Oracle Grid Infrastructure 11.2.0.2 and Oracle Real Application Clusters 11g Release 2: A Best Practices Guide" so:
On page 29 It says: "Prepare the storage location for storing the shared ORACLE_HOME directory in the cluster. The Oracle RDBMS software should be installed into an empty directory, accessible from all nodes in the cluster" Same thing for ORACLE_BASE for the RDBMS, SAP subdirectories (sapbackup, sapcheck, sapreorg, saptrace, oraarch etc.) and homedirectories for SAP users ora<SID> and <SID>adm to a shared filesystem.
1.-Can we just use NFS for sharing them? or what is the recommended software on REDHAT for doing it?
'cause on note 527843 it says:
You must store the following components in a shared file system (cluster, NFS, or ACFS) here it says we can, but down the note on section linux says:
RAC 11.2.0.3/4 (x86 & x86_64 only):
Oracle Clusterware 11.2.0.3/4 + ASM/ACFS 11.2.0.3/4 (Oracle Linux 5, Oracle Linux 6, RHEL 5, RHEL 6, SLES 10, SLES 11)
Oracle Clusterware 11.2.0.3/4 + NetApp NFS or
Oracle Clusterware 11.2.0.3/4 + EMC Celerra NFS
It does not mention just NFS.
2.-In our system test, we want to backup all oracle configuration files on file systems and then delete Oracle Grid to Install GRID with cluster option, then install RDBMS with rac option and then follow the guide, is that correct?
RegardsHi Ramon,
1.-Can we just use NFS for sharing them? or what is the recommended software on REDHAT for doing it?
'cause on note 527843 it says:
You must store the following components in a shared file system (cluster, NFS, or ACFS) here it says we can, but down the note on section linux says:
RAC 11.2.0.3/4 (x86 & x86_64 only):
Oracle Clusterware 11.2.0.3/4 + ASM/ACFS 11.2.0.3/4 (Oracle Linux 5, Oracle Linux 6, RHEL 5, RHEL 6, SLES 10, SLES 11)
Oracle Clusterware 11.2.0.3/4 + NetApp NFS or
Oracle Clusterware 11.2.0.3/4 + EMC Celerra NFS
It does not mention just NFS.
NFS mount as suggest in SAP documentation should work. The use of ACFS always requires a special Oracle Grid Infrastructure (GI) Patch Set Update (PSU). Oracle Support Note 1369107.1 contains details about which GI PSU is required when you use ACFS with a specific RHEL update, service pack from SLES or UEK version of Oracle.
2.-In our system test, we want to backup all oracle configuration files on file systems and then delete Oracle Grid to Install GRID with cluster option, then install RDBMS with rac option and then follow the guide, is that correct?
You may perform DB backup using backup tools and then scrap the existing Grid setup. Configure RAC and then restore the backup into the new configuraiton as per SAP guidelines under
Configuration of SAP NetWeaver for Oracle Grid Infrastructure 11.2 with Oracle Real Application Clusters 11g Release 2
Hope this helps.
Regards,
Deepak Kori -
Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0
Hello,
Maybe you can help me (new on RMAN backup) in doing this.
I have configured a single Oracle 10g database to have backup with RMAN with following steps:
1. $ mkdir $ORACLE_BASE/rman_scripts
2. $ mkdir $ORACLE_BASE/logs
3. $ mkdir $ORACLE_BASE/tracking
4. $ mkdir $ORACLE_BASE/c_backup
5. $ sqlplus sys/<password> as sysdba
6. SQL> alter system set db_recovery_file_dest_size = 50G scope=both;
7. SQL> alter system set db_recovery_file_dest='${ ORACLE_BASE}/flash_recovery_ area' scope=both;
8. SQL> alter system set log_archive_dest_10='location= use_db_recovery_file_dest';
9. SQL> shutdown immediate
10. SQL> startup nomount
11. SQL> alter database archivelog;
12. SQL> alter database open;
13. SQL> alter database enable block change tracking using file '${ORACLE_BASE}/tracking/rman_ change_track.f';
14. $ rman target /
15. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
TO '/var/opt/oracle/flash_ recovery_area/ORCL/c_backup/% F';
16. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
17. RMAN> CONFIGURE BACKUP OPTIMIZATION ON;
18. RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
19. RMAN> exit
I need to configure incremental backup with RMAN on a two node Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0 installation.
We also use ASM to store database files, and have Oracle software installed on separate file systems (two Oracle roots for Node1 and Node2).
I have following questions:
1) where to put Flash Recovery Area (FRA)?
I saw recommendations to put FRA on the ASM, is this the best way to do it?
2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
3) Is it possible/recommended to run RMAN from Node1 only?
Below is the script used to run RMAN on the normal Oracle database (without RAC) which I need to change :
=============================================================================================
2.0 Oracle backup script: /opt/app/oracle/rman_scripts/backup.sh
Use this for daily backups, possiblly as a cron job.
Once a week run this: /opt/app/oracle/rman_scripts/backup.sh FULL
All other days of the week: /opt/app/oracle/rman_scripts/backup.sh INCREMENTAL
Note: You may have to change ORACLE_SID, ORACLE_BASE below to match your database.
=============================================================================================
#!/usr/bin/ksh
ORACLE_SID=orcl
ORACLE_BASE=/opt/app/oracle
ORACLE_HOME=${ORACLE_BASE}/product/10.2.0/db_1
PATH=${ORACLE_HOME}/bin:/usr/bin
LOGDIR=${ORACLE_BASE}/logs
LOGFILE=${LOGDIR}/rman.log
if [[ $# < 1 ]]
then
echo "usage: backup.sh FULL|INCREMENTAL"
exit;
fi
BACKUPTYPE=${1}
full='FULL'
incremental='INCREMENTAL'
if [[ $BACKUPTYPE == $full ]]
then
$ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
run {
backup database;
SQL 'alter system archive log current';
backup archivelog all;
delete noprompt obsolete;
exit;
eof
echo ''
fi
if [[ $BACKUPTYPE == $incremental ]]
then
$ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
run {
backup database;
backup incremental level 1 database;
SQL 'alter system archive log current';
backup archivelog all;
delete noprompt obsolete;
exit;
eof
echo ''
fiHi [email protected],
Q1) where to put Flash Recovery Area (FRA)?
A1) With RAC: on the shared storage
I saw recommendations to put FRA on the ASM, is this the best way to do it?
If you want your backups to be available for both nodes you have to use shared storage or tape using an mml library.
So if you want to use the FRA for rman backups and the database is on ASM just make ASM the standard for the FRA as well.
Q2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
A2) Than you cannot recover in case Node1 is down. Best would be to send your storage admin to a training course so he can manage the clustered raw devices needed for ASM.
Q3) Is it possible/recommended to run RMAN from Node1 only?
A3) No see A2.
Regards,
Tycho -
CRS10g patchset을 적용한 이후 Veritas SF Oracle RAC 관련 MODULE
Problem Description
다음은 SF(Storage Foundation) Oracle RAC를 구성하기 위하여 Oracle CRS
PATCHSET 등을 적용하기 전에 SF Oracle RAC Veritas libraries 를 ORACLE_HOME에 설치해야 한다는 내용입니다.
또한, ORACLE CRS 패치 Version 을 올리면서 Veritas 쪽 관련하여 필요한
Veritas skgxp module 등이 설치 과정에 빠져 있거나 Veritas library file들이 overwrite되어 에러를 만나는 경우를 볼 수 있습니다.
이런 관점에서 Veritas storage foundation 을 설치하고 oracle CRS stack을
설치 또는 갱신하는 과정에서 만날 수 있는 에러에 대해 원인 및 해결방안을 알아봅니다.
에러 증상
다음은 CRS 10.2.0.3.0 Patchset이 설치되면서 Veritas library가 overwrite 되면서 발생하는 에러임.
Veritas clusterware 5.0 not recognized by Oracle due to the fact that Veritas libraries over written with crs 10.2.0.3.0 patchset installation.
The cssd.log shows:
[ CSSD]2007-11-08 03:28:02.603 [5] >TRACE: clssnm_skgxnmon: skgxn init failed,
rc 1 [ CSSD]2007-11-08 03:28:02.603 [1] >TRACE: clssnm_skgxnonline: Using vacuous skgxn monitor [ CSSD]2007-11-08 03:28:02.604 [1] >TRACE:
clssnmNMInitialize: misscount set to (30), impending reconfig threshold set to
(26)
The cssd.log should show this
[CSSD]2007-09-20 14:14:06.008 [5] >TRACE: clssnm_skgxninit: initialized
skgxn version (2/0/Veritas Cluster Server MM <<== USING VERITAS SKGXN LIBRARY
Changes
CRS patchset 의 installation 이후에 Veritas library file들이 overwrite되는 문제 발생.
Explanation
Environment :
Oracle Server - Enterprise Edition - Version: 10.2.0.3.0
OS : Solaris Operating System (SPARC 64-bit)
이 예제는 sun os에 근거함.
OS에 따라 해결책이 약간 다를 수는 있습니다.
원인
새로운 CRS patch 관련 변경이 있은 이후에 Veritas SFRAC 관련 module이 인식되지 못하는 문제 야기됨.
Installing and Configuring SF Oracle RAC Software
Veritas 에서 제공하는 Storage/Clusterware 관련한 절차는 이 문서에서 생략합니다.
Install CD 안의 installsfrac 스크립트 수행 session 에서 RAC software installation을 하는 과정이 들어갑니다.
Veritas가 제공하는 SF Oracle RAC 5.0 installation 문서를 보면 다음과 같은 내용이 포함되어 있습니다.
아래 내용에는 SF Oracle RAC component 들을 설치하는 과정만 기술합니다.
# cd /cdrom/storage_foundation_for_oracle_rac
# .installsfrac -configure
Note: Do not run root.sh yet, but return to the installsfrac session from step 15.
19 In the installsfrac session, press Return. The installsfrac utility now verifies
the database software installation, copies the SF Oracle RAC libraries to $ORACLE_HOME, and relinks Oracle on each node in the cluster.
다음은 위와 같은 installsfrac 스크립트를 수행한 이후에 Installer가 5.0 SF Oracle RAC library file들을 ORACLE_HOME으로 Copy하는 과정이고, Oracle library file들을 relink합니다.
자세한 절차는 다음의 site에서 step 별로 확인을 할 수 있습니다.
http://ftp.support.veritas.com/pub/support/products/DBE_Advanced_Cluster_for_Oracle_RAC/288502.pdf
[ 참조 ]
Performing Post-upgrade tasks for SF Oracle RAC 5.0 MP1.
To Relink Oracle 10g R1 or R2 using the installer.
installsfrac를 invoke하기 위해 다음과 같이 stage가 있다고 가정하고 invoke를 합니다.
# cd /opt/VRTS/install
# ./installsfrac -configure
Oracle environment information verification 과정입니다.
Oracle Unix User : oracle
Oracle Unix Group : oinstall
Oracle Clusterware (CRS) Home: /app/oracle/orahome
Oracle Release: 10.2
Oracle Patch Level: 0.1
Oracle Base: /app/oracle
Oracle Home: /app/oracle/orahome
Is this information correct: [y,n,q] (y)
Verifying binaries in /app/oracle/orahome on galaxy ...ok
Verifying binaries in /app/oracle/orahome on nebula ...ok
Copying SFRAC libskgxn on galaxy ......................ok
Copying SFRAC libskgxn on nebula ......................ok
Copying SFRAC ODM library on galaxy ...................ok
Copying SFRAC ODM library on nebula ...................ok
Copying SFRAC libskgxp on galaxy ......................ok
Copying SFRAC libskgxp on nebula ......................ok
Relinking Oracle on galaxy ............................ok
Relinking Oracle on nebula ............................ok
Oracle Relinking is now complete.
Solution Description
Article
http://seer.entsupport.symantec.com/docs/288502.htm
다음은 CRS patchset 적용 후, 문제 해결 위해 Oracle 10g 를 manual 하게 relink하는 과정입니다.
방법1. Relinking Oracle 10g (Using the command line)
[ 10g R1 ]
For Oracle 10gR1, enter one set of the following commands
a. For 32bit oracle:
# cp /opt/VRTSvcs/rac/lib/libskgxn2_32.so
/opt/ORCLcluster/rac/lib/libskgxn2.so
$ cp /opt/VRTSvcs/rac/lib/libskgxp10_ver23_32.so
$ORACLE_HOME/lib32/libskgxp.so
$ ln -s /usr/lib/libodm.so libodm10.so
b. For 64bit oracle:
# cp /opt/VRTSvcs/rac/lib/libskgxn2_64.so
/opt/ORCLcluster/rac/lib/libskgxn2.so
$ cp /opt/VRTSvcs/rac/lib/libskgxp10_ver23_64.so
$ORACLE_HOME/lib32/libskgxp.so
$ ln -s /usr/lib/amd64/libodm.so libodm10.so
[ 10g R2 ]
For 10gR2, enter one set of the following commands:
a. For 32bit oracle:
# cp /opt/VRTSvcs/rac/lib/libskgxn2_32.so
/opt/ORCLcluster/rac/lib/libskgxn2.so
$ cp /opt/VRTSvcs/rac/lib/libskgxp10_ver25_32.so
$ORACLE_HOME/lib32/libskgxp.so
b. For 64bit oracle:
# cp /opt/VRTSvcs/rac/lib/libskgxn2_64.so
/opt/ORCLcluster/rac/lib/libskgxn2.so
$ cp /opt/VRTSvcs/rac/lib/libskgxp10_ver25_64.so
$ORACLE_HOME/lib32/libskgxp.so
방법2. Relinking Oracle10g (Installer)
위 Article에서 Relinking Oracle 10g after upgrading SF Oracle RAC 부분을 참조하여 해결하는 것도 가능합니다.
여기서 2개의 node name이 galaxy 와 nebula 라고 가정합니다.
1. Invoke installsfrac once again:
# cd /opt/VRTS/install
#./installsfrac -configure
2. Enter the system names when prompted:
Enter the system names separated by spaces on which to configure
SFRAC: galaxy nebula
3. Navigate to the "Install and Relink Oracle" menu.
a. Select the appropriate Oracle 10g version (3):
1) Oracle 10gR1
2) Oracle 10gR2
b. Select "Relink Oracle" (3) from the menu:
1) Install Oracle Clusterware (CRS)
2) Install Oracle RDBMS server
3) Relink Oracle
b) [Go to previous menu]
c. From the menu displayed, enter the required information. For example:
Enter Oracle UNIX user name: (oracle) oracle
Enter Oracle UNIX group name: [b] (oinstall) oinstall
Enter Oracle base directory: [b] /app/oracle
Enter absolute path of CRS Home directory: [b] /app/crshome
Enter absolute path of Database Home directory: [b] /app/oracle/orahome
Enter Oracle Bits (64/32) [b] (64) 64
d. Confirm your responses in the verification screen. The installer copies the SF 5.0 Oracle RAC libraries to /opt/ORCLcluster, where it expects libskgxn.
Oracle environment information verification
Oracle Unix User: oracle
Oracle Unix Group: oinstall
Oracle Clusterware (CRS) Home: /app/crshome
Oracle Release: 10.2
Oracle Bits: 64
Oracle Base: /app/oracle
Oracle Home: /app/oracle/orahome
Is this information correct? [y,n,q] (y)
galaxy
Copying /opt/VRTSvcs/rac/lib/libskgxn2_64.so
/opt/ORCLcluster/lib/libskgxn2.so ........... success
nebula
Copying /opt/VRTSvcs/rac/lib/libskgxn2_64.so
/opt/ORCLcluster/lib/libskgxn2.so .............. success
galaxy
Copying /opt/VRTSvcs/rac/lib/libskgxp10_ver25_64.so to
/app/oracle/orahome/lib/libskgxp10.so ........... success
Removing /oracle/10g/lib/libodm10.so ............ success
Linking /opt/VRTSodm/lib/amd64/libodm.so /app/oracle/orahome/
lib/libodm10.so ... success
Setting permissions oracle:oinstall /app/oracle/orahome/lib/
libskgxp10.so ... success
nebula
Copying /opt/VRTSvcs/rac/lib/libskgxp10_ver25_64.so to
/app/oracle/orahome/lib/libskgxp10.so ........... success
Removing /oracle/10g/lib/libodm10.so ............ success
Linking /opt/VRTSodm/lib/amd64/libodm.so /app/oracle/orahome/
lib/libodm10.so ... success
Setting permissions oracle:oinstall /app/oracle/orahome/lib/
libskgxp10.so ... success
e. Enter "q" at the next prompt to leave the installer now that CRS setup
tasks are complete.
4. Bring the CSSD resource online. Enter:
# hares -online cssd -sys galaxy
# hares -online cssd -sys nebula
5. Confirm that CRS in online. Enter:
$CRS_HOME/bin/crs_stat -t
6. Bring online the oracle resources configured under VCS. If they're directly controlled by CRS, you may run the CRS commands to start the instance.
[ 참고 ]
CRS patch 적용 이후에 HP server와 Veritas 환경에서 CRS stack 이 올라오지
않는 경우를 추가 설명해 봅니다.
참고로, Veritas 쪽에서 Node status를 check해 주는 tool을 제공하고 있고,
CRS의 init.cssd 에서 그 tool을 사용하도록 init.cssd 에 patch가 되어야 한
다는 내용의 문서가 있습니다.
그 작업을 위한 patch를 역시 Veritas에서 제공하고 있습니다.
CRS patchset 이나 CRS 를 위한 cumulative patch를 하기 전에 SFRAC 를 위해
init.cssd에 patch를 적용해야 합니다.
Symptoms
1. postrootpatch.sh hangs when apply a patch[set]
2. prerootpatch.sh hangs when rollback a patch[set]
자세한 사항은 다음의 문서에서 안내하고 있습니다.
http://seer.entsupport.symantec.com/docs/281875.htm
Late Breaking News (LBN) - Updates to the Release Notes for Veritas Storage
Foundation (tm) and High Availability Solutions 5.0 and 5.0 Maintenance
Pack 1
on HP-UX 11iv2 and cross references to product documentation
환경
Veritas on HP server
이 patch 는 HP-UX 11i 에만 해당함.
예방책
Before you run the root.sh script, you need to add the init.cssd.patch.
a. Open another window on the system where you are running the installer
b. Log in as superuser
c. Change to the directory where the patch is to be copied:
For Oracle 10gR1:
# cd $CRS_HOME/css/admin
# cp /opt/VRTSvcs/rac/patch /init.cssd-10gR1.patch .
For Oracle 10gR2:
# cd $CRS_HOME/css/admin
# cp /opt/VRTSvcs/rac/patch /init.cssd-10gR2.patch .
d. Run the following command to install the patch:
For Oracle 10gR1:
# patch < init.cssd-10gR1.patch init.cssd
For Oracle 10gR2:
# patch < init.cssd-10gR2.patch init.cssd
e. Run the root.sh script. For example:
# cd $CRS_HOME
# ./root.sh
This starts the CRS daemons on the node where you enter the command.
References
http://ftp.support.veritas.com/pub/support/products/DBE_Advanced_Cluster_for_Oracle_RAC/288502.pdf
http://ftp.support.veritas.com/pub/support/products/DBE_Advanced_Cluster_for_Oracle_RAC/283979.pdf
http://seer.entsupport.symantec.com/docs/281875.htm
<Note:467753.1> Title : Veritas clusterware 5.0 not recognized by Oracle
due to the fact that Veritas libraries over written with crs 10.2.0.3 patchset installation
Maybe you are looking for
-
I have an iphone 4 and before I installed the new software I transferred all my pictures to my computer then deleted the pictures from my iphone to create space for the upgrade to iOS 7. I saw that I had a back up made in jan 2013. I then sinatlled
-
Wherever I find Firefox on my computer, it will not open. i cannot get beyond the icon or the file. Clicking on them gets no result. If I try to uninstall and download again, it tells me it cannot proceed in either case until I close Firefox. But it
-
HOW DO YOU ADD COMMENTARY TO A FINISHED PROJECT?
Good evening, I have a finished movie project, made with iMovie 5.02, and am wanting to add a video commentary on another button. I can create an extra button in iDVD menu, but I can't figure out how to get the movie in there. iDVD says to go to pref
-
Early 2009 24" iMac Haywire Display: LCD Panel or Logic Board?
Hi, My 24" display just developed severe vertical and horzontal lines, mouse trailing, color changing and flickering. The problem begins as soon as the computer is turned on (even the Apple screen goes nuts). When I plug in an external display, the
-
Create Package from /var/lib/pacman/local[SOLVED]
I am trying to get an old version of google earth bcz the 5.2 in aur doesn't start for me. I have it installed on another system but there is not package in /var/cache/pacman/pkg. Is it possible for me to create a package based on the info written