Oracle RAC FAN CALLOUT SCRIPTS AND EVENT HANDELERS AND FCF
Hi ,
Can I get some sample Scripts/Demos for FAN + FCF Callout Events on Windows and Linux based RAC installations for a better understanding of the subject.
Regards
Sanjeev Sen
Edited by: SANJEEVSEN on Nov 12, 2012 4:04 AM
Hi Sanjeev,
...Any idea/example about automating the startup of services through the Event Handelers .Could you please specify the task? What services are you talking about? Please give me some examples.
Best regards,
Gennady
Similar Messages
-
In my script I have the following that script that is not providing me the information that I was expecting. Namely the following values I would like to have trapped and written to logfile
SERVICE
DATABASE
INSTANCE
HOST
STATUS
REASON
TIMSTAMP
However I'm only getting SERVICE, INSTANCE, and SERVICEMEMBER with no actual values assigned to them. Please advise on how to fix this. THanks.
#! /bin/ksh
AWK=/bin/awk
for ARGS in $*; do
PROPERTY=`echo $ARGS | $AWK -F"=" '{print $1}'`
VALUE=`echo $ARGS | $AWK -F"=" '{print $2}'`
#> map EVTTYPE to EVENT_TYP, NODE to HOST:
case $PROPERTY in
#> note: EVENT_TYP is one of: NODE, DATABASE, INSTANCE, SERVICE, SERVICEMEMBER
EVENT_TYP | event_typ) NOTIFY_EVENT_TYP=$VALUE ;;
VERSION | version) NOTIFY_VERSION=$VALUE ;;
SERVICE | service) NOTIFY_SERVICE=$VALUE ;;
DATABASE | database) NOTIFY_DBNAME=$VALUE ;;
INSTANCE | instance) NOTIFY_INSTANCE=$VALUE ;;
HOST | host) NOTIFY_HOST=$VALUE ;;
STATUS | status) NOTIFY_STATUS=$VALUE ;;
TIMESTAMP | timestamp) NOTIFY_SVRLOGDATE=$VALUE ;;
esac
done
FAN_LOGFILE=/tmp/fan`hostname`_uptime.log
echo ${1} >>${FAN_LOGFILE}
if [ ${NOTIFY_EVENTTYPE} = "INSTANCE" -a ${NOTIFY_STATUS} = "down" ]
then
${REFRESH_DIR}/rac_refresh >> ${FAN_LOGFILE} 2>&1
fi
How do you get the actual values for SERVICE, INSTANCE, DATABASE...? Thanks
Edited by: yakub21 on May 26, 2010 12:26 PMIs this your script or Oracle provided script....? If Oracle provided scirpt then i am not sure how you are running...
If it is your personal script then i can advise how to get the values...
1. Get the node name from $ lsnodes command or HOSTNAME=`hostname |awk -F"." '{print $1}'`
2. You can take the remaining values directly from database by querying the DBA_* tables ..gerp the value using AWK...
Hope this helps..
Regards
http://www.oracleracexpert.com/
Overview of Transparent Application Failover in Oracle RAC
http://www.oracleracexpert.com/2010/04/overview-of-transparent-application.html
In function 'lcdprm':: Warning after patch in RAC
http://www.oracleracexpert.com/2010/04/in-function-lcdprm-warning-gets.html -
Oracle RAC Interconnect, PowerVM VLANs, and the Limit of 20
Hello,
Our company has a requirement to build a multitude of Oracle RAC clusters on AIX using Power VM on 770s and 795 hardware.
We presently have 802.1q trunking configured on our Virtual I/O Servers, and have currently consumed 12 of 20 allowed VLANs for a virtual ethernet adapter. We have read the Oracle RAC FAQ on Oracle Metalink and it seems to otherwise discourage the use of sharing these interconnect VLANs between different clusters. This puts us in a scalability bind; IBM limits VLANs to 20 and Oracle says there is a one-to-one relationship between VLANs and subnets and RAC clusters. We must assume we have a fixed number of network interfaces available and that we absolutely have to leverage virtualized network hardware in order to build these environments. "add more network adapters to VIO" isn't an acceptable solution for us.
Does anyone know if Oracle can afford any flexibility which would allow us to host multiple Oracle RAC interconnects on the same 802.1q trunk VLAN? We will independently guarantee the bandwidth, latency, and redundancy requirements are met for proper Oracle RAC performance, however we don't want a design "flaw" to cause us supportability issues in the future.
We'd like it very much if we could have a bunch of two-node clusters all sharing the same private interconnect. For example:
Cluster 1, node 1: 192.168.16.2 / 255.255.255.0 / VLAN 16
Cluster 1, node 2: 192.168.16.3 / 255.255.255.0 / VLAN 16
Cluster 2, node 1: 192.168.16.4 / 255.255.255.0 / VLAN 16
Cluster 2, node 2: 192.168.16.5 / 255.255.255.0 / VLAN 16
Cluster 3, node 1: 192.168.16.6 / 255.255.255.0 / VLAN 16
Cluster 3, node 2: 192.168.16.7 / 255.255.255.0 / VLAN 16
Cluster 4, node 1: 192.168.16.8 / 255.255.255.0 / VLAN 16
Cluster 4, node 2: 192.168.16.9 / 255.255.255.0 / VLAN 16
etc.
Whereas the concern is that Oracle Corp will only support us if we do this:
Cluster 1, node 1: 192.168.16.2 / 255.255.255.0 / VLAN 16
Cluster 1, node 2: 192.168.16.3 / 255.255.255.0 / VLAN 16
Cluster 2, node 1: 192.168.17.2 / 255.255.255.0 / VLAN 17
Cluster 2, node 2: 192.168.17.3 / 255.255.255.0 / VLAN 17
Cluster 3, node 1: 192.168.18.2 / 255.255.255.0 / VLAN 18
Cluster 3, node 2: 192.168.18.3 / 255.255.255.0 / VLAN 18
Cluster 4, node 1: 192.168.19.2 / 255.255.255.0 / VLAN 19
Cluster 4, node 2: 192.168.19.3 / 255.255.255.0 / VLAN 19
Which eats one VLAN per RAC cluster.Thank you for your answer!!
I think I roughly understand the argument behind a 2-node RAC and a 3-node or greater RAC. We, unfortunately, were provided with two physical pieces of hardware to virtualize to support production (and two more to support non-production) and as a result we really have no place to host a third RAC node without placing it within the same "failure domain" (I hate that term) as one of the other nodes.
My role is primarily as a system engineer, and, generally speaking, our main goals are eliminating single points of failure. We may be misusing 2-node RACs to eliminate single points of failure since it seems to violate the real intentions behind RAC, which is used more appropriately to scale wide to many nodes. Unfortunately, we've scaled out to only two nodes, and opted to scale these two nodes up, making them huge with many CPUs and lots of memory.
Other options, notably the active-passive failover cluster we have in HACMP or PowerHA on the AIX / IBM Power platform is unattractive as the standby node drives no resources yet must consume CPU and memory resources so that it is prepared for a failover of the primary node. We use HACMP / PowerHA with Oracle and it works nice, however Oracle RAC, even in a two-node configuration, drives load on both nodes unlike with an active-passive clustering technology.
All that aside, I am posing the question to both IBM, our Oracle DBAs (whom will ask Oracle Support). Typically the answers we get vary widely depending on the experience and skill level of the support personnel we get on both the Oracle and IBM sides... so on a suggestion from a colleague (Hi Kevin!) I posted here. I'm concerned that the answer from Oracle Support will unthinkingly be "you can't do that, my script says to tell you the absolute most rigid interpretation of the support document" while all the time the same document talks of the use of NFS and/or iSCSI storage eye roll
We have a massive deployment of Oracle EBS and honestly the interconnect doesn't even touch 100mbit speeds even though the configuration has been checked multiple times by Oracle and IBM and with the knowledge that Oracle EBS is supposed to heavily leverage RAC. I haven't met a single person who doesn't look at our environment and suggest jumbo frames. It's a joke at this point... comments like "OMG YOU DON'T HAVE JUMBO FRAMES" and/or "OMG YOU'RE NOT USING INFINIBAND WHATTA NOOB" are commonplace when new DBAs are hired. I maintain that the utilization numbers don't support this.
I can tell you that we have 8Gb fiber channel storage and 10Gb network connectivity. I would probably assume that there were a bottleneck in the storage infrastructure first. But alas, I digress.
Mainly I'm looking for a real-world answer to this question. Aside from violating every last recommendation and making oracle support folk gently weep at the suggestion, are there any issues with sharing interconnects between RAC environments that will prevent it's functionality and/or reduce it's stability?
We have rapid spanning tree configured, as far as I know, and our network folks have tuned the timers razor thin. We have Nexus 5k and Nexus 7k network infrastructure. The typical issues you'd fine with standard spanning tree really don't affect us because our network people are just that damn good. -
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. -
Oracle RAC FAN API - oracle.simplefan.*
Dear all,
has anyone got the FanListeners to submit event information by implementing the example in appendix b of the JDBC Developers guide? Except that the example has syntax errors and method names are wrong I couldn't get it to emit anything after fixing all the errors and running it. The API documentation draft is here: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e13993/oracle/simplefan/package-summary.html. I am registering the Listeners with the subscription, yet regardless of what I do nothing gets written out on the console...
I am thankful for any pointers!
Martin
Edited by: Martin Bach on May 10, 2010 11:41 AMHi,
1) check for any network-related issues, such as firewalls - they might be configured to block TCP connections between client and server
2) enable ALL logging for "oracle.simplefan"
And please post here your code and configuration file. -
SAP ECC6.0 installation with Oracle RAC
Hi Expert,
Current we working on SAP ECC6.0 installation with Oracle 10G RAC on AIX 5.3. The RAC are running on two nodes (servers). And we are using GPFS filesystem (not running on HACMP).
Overall we had completed the Oracle RAC installation (CRS+RDBMS) and tested the oracle failover and it work find. Now we want to start with the SAP installation (with HA). In the SAP installation documentation, it did request to create a virtual hostname on the node and execute the sapinst scripts with below command line.
#./sapinst SAPINST_USE_HOSTNAME=ascs00
But if we are running on Oracle RAC + GPFS do we need to specify the virtual hostname? If not, which hostname i should use to install the HA for SAP? Please advice.
Regards.And then I'd continue with the documentation at:
SAP on Oracle => SAP on Oracle Real Application Clusters (RAC)
There you can find several installation guides for windows/UNIX/Linux -
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 -
Oracle RAC 10g on Windows XP Professional
Hi All,
I read many articlaes that we can not install Oracle 10g RAC on Windows xp professional but the problem is I have a laptop where I am installing VMWARE with Unix O/S I can not upgrade my XP to Server edition as I do not have money o buy license.
Please help me what all files I need to change to make my XP one of the nodes os RAC 10g.Thanks for replying.
Can by downloading the kit,I will be able to install Oracle RAC?
My question was:
I have windows xp on my machine.I have vmware software also.I need to install Oracle RAC 10g on winxp and an guest opertaing system which will be linux.I want to test RAC by making 1 node on linux and one node on guest operating system winxp.
Problem is RAC can only be installed on Server edition.Can it be possible to do it on WinXP? -
Oracle RAC - Not getting performance(TPS) as we expect on insert/update
Hi All,
We got a problem while executing insert/update and delete queries with Oracle RAC system, we are not getting the TPS as we expected in Oracle RAC. The TPS of Oracle RAC (for insert/update and delete ) is less than as that of
single oracle system.
But while executing select queries, we are getting almost double TPS as that of Single Oracle System.
We have done server side and client side load balancing.
Can anyone knows to solve this strange behaviour? Shall we need to perform any other settings in ASM/ Oracle Nodes
for better performance on insert/update and delete queries.
The following is the Oracle RAC configuration
OS & Hardware :Windows 2008 R2 , Core 2 Du0 2.66GHz , 4 GB
Software : Oracle 11g 64 Bit R2 , Oracle Clusterware & ASM , Microsoft iSCSI initiator.
Storage Simulation : Xeon 4GB , 240 GB ,Win 2008 R2, Microsoft iSCSI Traget
Please help me to solve this. We are almost stuck with this situation.
Thanks
RoyLoad Profile Per Second Per Transaction Per Exec Per Call
~~~~~~~~~~~~ ------------------ ----------------- ----------- -----------
DB time(s): 48.3 0.3 0.26 0.10
DB CPU(s): 0.1 0.0 0.00 0.00
Redo size: 523,787.9 3,158.4
Logical reads: 6,134.6 37.0
Block changes: 3,247.1 19.6
Physical reads: 3.5 0.0
Physical writes: 50.7 0.3
User calls: 497.6 3.0
Parses: 182.0 1.1
Hard parses: 0.1 0.0
W/A MB processed: 0.1 0.0
Logons: 0.1 0.0
Executes: 184.0 1.1
Rollbacks: 0.0 0.0
Transactions: 165.8
Instance Efficiency Indicators
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 93.74 Redo NoWait %: 99.96
Buffer Hit %: 99.99 Optimal W/A Exec %: 100.00
Library Hit %: 100.19 Soft Parse %: 99.96
Execute to Parse %: 1.09 Latch Hit %: 99.63
Parse CPU to Parse Elapsd %: 16.44 % Non-Parse CPU: 84.62
Shared Pool Statistics Begin End
Memory Usage %: 75.89 77.67
% SQL with executions>1: 71.75 69.88
% Memory for SQL w/exec>1: 75.63 71.38 -
hi all,
we have Oracle-RAC deployed on-premise and we would like to extend our data center to Azure and have DR on Azure, is that possible and if yes how we can achieve this.
Thanks
TekaAFAIK, Oracle 10g RAC is not supported in solaris containers.
It is however supported in Solaris zone clusters...in order to use it, you would have to use Sun Cluster 3.2 (iinm). -
Where to download Oracle RAC 11g2 CRS/clusterware?
Hello experts.
I'm building a home/test Oracle RAC environment on 11g2 and I can't seem to find the CRS/Clusterware for download?
I've been able to download the CVU and verify all of the server/OS/systems configuration work that was needed upfront.
I'm running on CentOS 5.5 (RHEL 5.5), on a Sun Sunfire v20z, that has FC disk array and FC HBA's connected over fiber (LC/LC connections).
I've downloaded the Oracle 11g2 software 1&2, and also the Grid software, and the CVU software.
CVU shows all configurations passed... can anyone point me in the right direction? I'm assuming Oracle allows people to download CRS/Clusterware for non-commercial (personal education) purposes without license?
Please advise.
Thank you.Hi,
I'm building a home/test Oracle RAC environment on 11g2 and I can't seem to find the CRS/Clusterware for download?Here:
https://edelivery.oracle.com/
Or:
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
CVU shows all configurations passed... can anyone point me in the right direction? I'm assuming Oracle allows people to download CRS/Clusterware for non-commercial (personal education) purposes without license?Oracle Clusterware and Oracle ASM binaries are installed as a single binary called the grid infrastructure. So, If you downloaded Grid Infrastructure you already have the CRS and ASM installation.
All software downloads are free, and most come with a Developer License that allows you to use full versions of the products at no charge while developing and prototyping your applications, or for strictly self-educational purposes.
Regards,
Levi Pereira -
Weblogic 9.2/10.3 Connecting to Oracle RAC
What is the best way to connect to Oracle RAC from Weblogic? I am looking to do load balancing and no XA transaction. According to the Weblogic documentation, the recommended approach is to use multipool with each pool pointing to a specific listener. It is also recommended that the remote listner on Oracle Net Service. However, according to the Oracle RAC doc, it is recommended that we perform both client side and server side load balancing. So here is the question:
To connect to Weblogic from Oracle RAC doing load balancing and no XA, what is the best approach? Multipool or a single pool with FCF enabled?I think driver level load balancing in such configuration has not been tested by weblogic and not guaranteed to work. There may be other implications.(which I am not aware :) )
The JDBC forum can be helpful :- WebLogic Server - JDBC
Edited by: Manish Chellappan on Jul 22, 2009 8:45 PM
Edited by: Manish Chellappan on Jul 22, 2009 8:46 PM -
Enterprise User Security (EUS) with Oracle RAC database
Hi all,
i'm experiencing a problem configuring centralized AAA on Oracle OID for Oracle RAC Database.
My environment is:
1) Oracle OID 10g (192.168.15.245 - rh4oidserver.klab.it)
2) Oracle RAC database 11g
I successfull configured a standalone Oracle Database to authenticate user in OID centralized repository, but i'm experiencing different problem to do, with RAC, same things.
In dept:
1) Oracle RAC works correctly and internal user (SYS,Oracle, ecc.) are correctly authenticated and authorizated against database
2) Oracle RAC register himself in OID (see attached snapshoot)
3) I run sqlplus to connect on Oracle RAC using OID users and i get following error: ORA-28030 Server encountered problems accessing LDAP directory service
Using a sniffer, i can see a reset message after SSL handshake (SSL v3 encrypted alert), but i don't undenstand root cause....
Host file on RAC server is:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
# Public
192.168.15.177 orclrac1.klab.it orclrac1
192.168.15.178 orclrac2.klab.it orclrac2
#Private
192.168.1.100 orclrac1-priv.klab.it orclrac1-priv
192.168.1.105 orclrac2-priv.klab.it orclrac2-priv
#Virtual
192.168.15.88 orclrac1-vip.klab.it orclrac1-vip
192.168.15.96 orclrac2-vip.klab.it orclrac2-vip
92.168.15.184 openfiler.klab.it openfiler
192.168.1.90 openfiler-priv.klab.it openfiler-priv
192.168.15.246 acti.klab.it acti
#192.168.1.245 rh4oidserver.klab.it rh4oidserver
192.168.15.245 rh4oidserver.klab.it rh4oidserver
tnsname.ora is:
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
RACDB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orclrac1-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = racdb.klab.it)
(INSTANCE_NAME = racdb1)
RACDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orclrac1-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = orclrac2-vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = racdb.klab.it)
LISTENERS_RACDB =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = orclrac1-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = orclrac2-vip)(PORT = 1521))
RACDB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orclrac2-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = racdb.klab.it)
(INSTANCE_NAME = racdb2)
ldap.ora is:
# ldap.ora Network Configuration File: /u01/app/oracle/product/11.1.0/db_1/network/admin/ldap.ora
# Generated by Oracle configuration tools.
DIRECTORY_SERVERS= (rh4oidserver.klab.it:389:636)
DEFAULT_ADMIN_CONTEXT = "dc=dbtest101,dc=klab,dc=it"
DIRECTORY_SERVER_TYPE = OID
sqlnet.ora is:
# sqlnet.ora.orclrac1 Network Configuration File: /u01/app/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora.orclrac1
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (LDAP,TNSNAMES)
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /u01/app/oracle/admin/racdb)
listener.ora is:
# listener.ora.orclrac1 Network Configuration File: /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora.orclrac1
# Generated by Oracle configuration tools.
LISTENER_ORCLRAC1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orclrac1-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.177)(PORT = 1521)(IP = FIRST))
LISTENER_ORCLRAC2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = orclrac1-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.178)(PORT = 1521)(IP = FIRST))
Thank's in advance for any help or suggestion.
AntonioHello bipkary,
what version are you using?
the following link tells you everything about EUS in oracle10g R2:
http://download.oracle.com/docs/cd/B19306_01/network.102/b14269/toc.htm -
Crs,css and evm deamons in Oracle RAC
Can anyone please explain me the basic functionality and purpose of crs,css and evm deamons in Oracle RAC.
Read some where that ocssd deamon performs cluster configuration information in OCR disk......is this ocssd deamon alias is css ???The Oracle Clusterware processes on UNIX-based systems are:
■ crsd—Performs high availability recovery and management operations such as
maintaining the OCR and managing application resources. This process runs as
the root user, or by a user in the admin group on Mac OS X-based systems. This
process restarts automatically upon failure.
■ evmd—Event manager daemon. This process also starts the racgevt process to
manage FAN server callouts.
■ ocssd—Manages cluster node membership and runs as the oracle user; failure
of this process results in cluster restart.
■ oprocd—Process monitor for the cluster. Note that this process only appears on
platforms that do not use vendor clusterware with Oracle Clusterware. -
Red Hat Cluster Suite and Oracle RAC
HI Guys,
Our boss will plan to configure Red Hat Cluster Suite to replace to update oracle RAC.
Are there some experienced expert to explain advantage and risk of Red Hat Cluster Suite v Oracle RAC 11.2
Thanks
JinHi,
first of all Red Hat Cluster Suite cannot replace the RAC functionality. RAC is database Red Hat Cluster Suite, just provides clusterware. So all with what you will end up is a plain old failover cluster solution.
So in maximum Red Hat Cluster Suite can replace the Oracle Clusterware. (But not below a RAC, since this is not supported and even with integration with other clusterware Oracle Clusterware will still be there).
So what he will end up is also replacing RAC with single instance databases in a failover cluster solution, and with this will decrease a lot of RAC capabilities:
=> Rolling Upgrade (OS / Clusterware and some database patches)
=> Storage migration/consolidation
=> Fast failover (30 seconds vs. minutes).
See www.oracle.com and you will find whitepapers with differences between failover clusters and RAC.
http://www.oracle.com/technetwork/database/enterprise-edition/failover-cluster-134770.pdf
But even if there are other justifications to reduce availablity (which actually can only be costs), I still wonder, why he wants to replace Oracle Clusterware - the clusterware shipped with Oracle is far more mature than the one from the Red Hat cluster Suite.
And there is no better integration for Oracle databases in clusterware than what Oracle clusterware can provide.
Even more so, OCW is a full capable clusterware and you can build your own failover cluster solution for free.
The same would have to be done if he replaces it with redhat cluster.
PS: If someone is providing failover scripts for Oracle in Redhat clusters, it will be Redhat (but I think you have to write them yourself).
Regards
Sebastian
Maybe you are looking for
-
How do I sync my iPhone to a new computer without having to erase and sync?
Hi, i have an iPhone 4s that i have been syncing with my old windows computer. I now have a macbook air and obviously i want to start syncing my iPhone on my mac instead of windows. I DO have a backup of my iPhone on my windows if that makes a differ
-
Is RoboHelp for Word packaged with RoboHelp 11?
Is RoboHelp for Word packaged with RoboHelp 11?
-
Synchronous Call Timeout but the PO still created in ECC.
Hi PI Expert, I have problem with synchronous call (Web Service - > RFC). Sometimes if the processing time in ECC take longer time the webservice will throw exception timeout but then the processing stil continue in receiver communication channel un
-
Java icon keeps disappearing, i cant play on pogo what can i do?
I used internet explorer for years, one day the room in monopoly slots on pogo would not open, they would come up and drop off. Pogo said 2 try firefox and google crome. They work for awhile and then java icon gos away and room drop off there to. I w
-
Help please with my email and BB
I have had to change my password with my gmail account, and now im not recieving any emails through my handset. When Im going on orange blackberry interent service its saying the password is invalid.