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 AM

Hi,
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.

Similar Messages

  • How to install oracle RAC 11g on oracle linux 5 using vmware workstation ?

    Hello;
    I need to Install Oracle RAC 11g R2 with database 11g ( 2 nodes ) but by using vmware workstation ( not server 2) on oracle linux 5-6 .
    So any document can help me please ..
    regards.

    http://www.oracle-base.com/articles/11g/oracle-db-11gr2-rac-installation-on-ol5-using-vmware-server-2.php
    http://appsdbaworkshop.blogspot.in/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    http://robertgfreeman.blogspot.in/2009/12/11gr2-rac-on-vmware-part-one.html

  • Using Oracle RAC VM tmeplates - Oracle Virtual Box

    Greetings - can any one guide me to use Oracle RAC vm templates using Oracle Virtual Box?
    Appreciated!

    There is no need to burn a DVD because Virtualbox can directly mount and boot from the .iso image you downloaded. It is usually a good idea to check the md5 checksum of your download with the number provided by the download page to verify your download is not corrupted. There are no problems installing any version of Oracle Linux under Virtualbox provided you have the right hardware. I suggest to check the Virtualbox documentation.
    Note: This is not a Virtualbox forum.

  • 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

  • Oracle RAC DBA Training at DBA School In Hyderabad

    DBA School Offering the best training for all Oracle, PeopleSoft and SQL DBA courses. Here Mr. Satya seelam has 8 years experience in United States,
    DBA School providing real time and practical knowledge and you will learn more than what you are expecting now.
    DBA School Providing Excellent Training for Oracle RAC DBA (R12)
    ORACLE 10g RAC ON SAN
    Fee is 9k only
    COURSE CONTENTS:
         RAC INTRODUCTION
         i. What is RAC?
         ii. High Availability Concepts.
         iii. Advantage of using Real Application Cluster
         RAC Architecture and concepts
    i. Difference between Standalone and RAC
    ii. Various components of Real Application Cluster (RAC)
    iii. Importance of cluster software and shared storage.
    iv. Different ways of sharing files across cluster
    v. Describe the purpose of using services with RAC
         RAC Installation and Configuration Part I
         i. Outline Oracle 10g RAC Installation
         ii. Pre-Installation Tasks
         iii. Cluster verification utility
         RAC Installation and Configuration Part II
         i. Install Cluster software
         ii. Install Database software
         iii. Launching VIPCA
         iv. Cluster database creation
         RAC Database Instances Administration
         i. Starting and stopping RAC Instances
         ii. RAC Initialization Parameter Files
         iii. Adding / Deleting a Node to a Cluster
         iv. Adding / Deleting Database Instance
         Automatic Storage Management in RAC
         i. Describe Automatic Storage Management (ASM)
         ii. Install the ASM software
         iii. Set up initialization parameter files for ASM
              And database instances
         iv. Start and shut down ASM instances
         Administering Redo, Undo and Services
         I. Managing redo log groups in a RAC environment
         ii. Managing undo tablespace in a RAC environment
         iii. Using SRVCTL to manage ASM and Database instances
         iv. Dealing with the ocr and voting disk
         Different Ways of making connection in RAC
    i. Configuring load balancing
    ii. Overview of Fast Application Notification(FAN)
    iii. Configuring Transparent Application Failover(TAF)
         Managing Backup and Recovery in RAC
         i. Configure database in Archive Log Mode
         ii. Configure RMAN
         iii. RAC database backup and recovery
         RAC database Cloning
         PATCH APPLY IN RAC
         RAC software Upgradation
         RDBMS software Upgradation
         Database Upgradation
    Visit: www.hyddbatraining.com
    Other Courses Available at DBA SCHOOL:
    1. Oracle 10g DBA
    2. Oracle 11g DBA
    3. Oracle APPS DBA
    4. PeopleSoft DBA
    5. PeopleSoft Technical
    6. PeopleSoft Functional (HRMS and FSCM)
    7. Oracle RAC
    REPLY BELOW
    Email: [email protected]
    Mobile: +91-9966293445 / +91-8142368899
    Phone: +91-40-30629104/040-66446847

    user8740508 wrote:
    ...... the best training for all Oracle, PeopleSoft and SQL DBA courses ............This is dishonourable spam from an institution that does not appear on [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=317] and therefore would be a waste of money in terms of an approved hands on course. One also hopes the institute has valid oracle licences. A clear case of [http://blogs.oracle.com/certification/2009/04/are_you_getting_your_training.html]. The quality of the training may (or may not be) be good, but the brainless posting of this thread in the documentation forum by the spammer does not fill one with hope or respect {thread:id=1052644}.

  • How to configure Oracle RAC for Wiki and Blog

    Has anyone done Oracle RAC configuration for Oracle Wiki and Blogs?
    Thanks,
    Frank

    Hi Andreas,
    Thanks you for your help. I am trying to implement third party external LDAP authentication for APEX and Forms.
    So I started with OID and SSO setup to create external Partner Applications. Some reason my oid and sso web login links are not working. I didn't find any errors. I need some help in finding the problem and direction, I already read docs on web but no proper direction. I appreciate your help.
    Thanks

  • 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 11g installation

    Hi
    Am planning to install oracle RAC 11g on linux server. Have doubt on installation of clusterware or grid infrastructure first .?
    I think grid infrastructure covers clusterware and ASM both and then oracle 11g software to be installed.
    But how to download grid insfrastructure software. Will it come with oracle 11g software..? or need to download it seperately.?
    Because when i try to download oracle RAC 11g which gives link to download the 11g software not grid.
    Thanks in advance,

    Hi,
    Its called "oracle one node rac"  you will find plenty of documents on metalink, extract is below, hope this helps you to understand the differences.
    Oracle RAC Database : Oracle RAC database is a clustered database. It can have more than one instance running on one or more hosts. To make is database RAC , there is another software needs to be installed called Oracle Grid infrastructure which takes care of multinode sync, ASM, Oracle restart etc. Oracle GI is necessary as a base of Oracle RAC. In Oracle RAC, the load is balanced across multiple instance of databases running on different nodes. This is best for Production database. Failure of any instance is abstracted from user and forwarded to another instance from the database server pool. No of instances can be controlled using Policy Managed or Admin Managed.
    Oracle RAC One Node : Some time we need to have RAC databases but donot need many instances, why? Simple answers to it is leverage the high availability of RAC. The Oracle RAC One node is a RAC DB runs on one host. The advantage is it saves your resource, can to converted to full RAC any time, Cluster fail over i.e. the Database instance is moved to new instance in case of any failure on host known as Instance Relocation,easy to upgrade etc. This type of database is well suited for small production and dev/test environments.

  • Oracle RAC requires ODP?

    I am starting a new project with the following scenario: .Net 2.0 web application accessing Oracle RAC (64 bits) using Data Access Application Block. I would like to know if it is required to use ODP to access Oracle RAC or Microsoft Oracle Data Provider could be used. Another questions: Do ODP supports .Net 2.0? Is it possible to configure ODP in Data Access Application Block?
    Any help is appreciated.
    Luciana

    Hi,
    ODP.NET does not currently support ADO2.0. There should be a beta coming up sometime soon for it, and there are other threads you can check to get info to get in on the beta if you want to do that.
    A lot of the RAC functionality is handled by the underlying client, so both ODP's should be able to take advantage of it, at least in some sense. However, as of 10.2, Oracle's ODP has additional functionality to be able to get notification when RAC events occur.
    I dont know much about DAAP, but believe there are other threads where folks have converted it to Oracle code.
    Hope that helps,
    Greg

  • Oracle RAC training

    Does anyone know who offers hands on Oracle RAC training besides Oracle?

    user9898098 wrote:
    Does anyone know who offers hands on Oracle RAC training besides Oracle?Hi,
    In which country are you residing?
    Also refer to below thread :
    http://forums.oracle.com/forums/thread.jspa?threadID=324635&tstart=0
    Regards
    Rajesh

  • Oracle RAC windows版 の インストールガイドってあるでしょうか?

    勉強のためにOracle RACのインストールをいつかやってみようと
    思うのですが、windows版のインストールStepbyStepガイドみたいなものはあるでしょうか?
    ORACLEのドキュメントは探してみたのですが、それっぽいのは見つけられませんでした。
    http://docs.oracle.com/cd/E16338_01/rac.112/b56289/toc.htm

    私は以下を利用しました。
    http://www.oracle.com/technetwork/jp/database/oraclerac-install-guide-1524162-ja.pdf

  • Step by step to build with Oracle RAC

    Anyone have a step by step reference for assembly of a new Oracle RAC environment using Oracle Linux in its version 7 for x86_64 processors. Because this documentation does not exist on the site of the oracle.
    Tks.

    refer :-
    RAC and Oracle Clusterware Best Practices and Starter Kit (Platform Independent) [ID 810394.1]
    RAC: Frequently Asked Questions [ID 220970.1]
    also,
    Document 811306.1 RAC and Oracle Clusterware Best Practices and Starter Kit (Linux)
    Document 811280.1 RAC and Oracle Clusterware Best Practices and Starter Kit (Solaris)
    Document 811271.1 RAC and Oracle Clusterware Best Practices and Starter Kit (Windows)
    Document 811293.1 RAC and Oracle Clusterware Best Practices and Starter Kit (AIX)
    Document 811303.1 RAC and Oracle Clusterware Best Practices and Starter Kit (HP-UX)
    also,
    http://oracleinstance.blogspot.com/2010/03/oracle-10g-installation-in-linux-5.html

  • Oracle RAC Concept  - load balancing

    Hello All,
    I have a question about Oracle RAC and how it balance loading.
    What I know about Oracle RAC that it balancing load between its node, so if a new session is connected to the Database it will execute on the node which have less load.
    If I am having an application that connects to the database with few number of sessions and some sessions have huge (huge load) processes to execute while the other sessions are executing small process (in terms of load).
    So below is an example scenario that i am asking for an answer of it:
    if am having a two node RAC database.
    My application that is connected to this RAC database wants to execute three processes P1, P2 and P3 each will have a session correspondingly S1, S2 and S3
    Let is say that P1 will take 60% of the database resources (memory ....) and P2 will take 1% and P3 1%.
    So my question is it a sessions load balancing or Processes load balancing ? So in case and randomly (Managed by ORACLE RAC) S1 is connected to node 1 and it is using node 1 resources so the load on node 1 will be 60%, so when S2 and S3 needs to connect it will go to node 2 since node 1 is loaded. in that case i will have Node 1 using 60% of it is resources (becuase of S1 that is executing P1) while node 2 only uses 2 % (because of S2 and S3 that is executing P2 and P3).
    Is that how Oracle RAC works ? or it balance the load of S1 (60%) between node 1 and node 2 ?
    I am asking this question since my application is not users application, so it will connect to the database with few number of sessions, and 1 session of them may execute a huge process while the other are executing small processes.
    So in that case, how RAC is doing the balance loading?
    Regards,

    i hope , this links may help you.
    Thread: Server side Load balancing in RAC
    Server Side Load Balancing Testing
    read Oracle documentation:
    http://www.oracle.com/pls/db102/search?word=server+side+load+balancing&partno=
    http://www.oracleracexpert.com/2010/01/oracle-rac-load-balancing-and-failover.html
    http://www.databasejournal.com/features/oracle/article.php/3659411/Oracle-RAC-Administration---Part-15-Connection-Load-Balancing-and-FAN.htm
    http://oracleinstance.blogspot.com/2010/08/transparent-application-failover-taf.html

  • A question about Oracle RAC

    Hello
    I see a question:
    by one thread in one process on one machine, select a row by unique condition , show can not find , and then insert a the same row, show occur error violate unique;
    ask for help!

    i hope , this links may help you.
    Thread: Server side Load balancing in RAC
    Server Side Load Balancing Testing
    read Oracle documentation:
    http://www.oracle.com/pls/db102/search?word=server+side+load+balancing&partno=
    http://www.oracleracexpert.com/2010/01/oracle-rac-load-balancing-and-failover.html
    http://www.databasejournal.com/features/oracle/article.php/3659411/Oracle-RAC-Administration---Part-15-Connection-Load-Balancing-and-FAN.htm
    http://oracleinstance.blogspot.com/2010/08/transparent-application-failover-taf.html

  • How an aplications sever will communicate with  Oracle RAC?

    Hi, I wonder how the applacations server will communicate with the two nodes Oracle RAC. Do I have to install an Oracle client to the application server and configure tnsname.ora file to connect with the nodes?
    Have any one any experience to share and help me?

    That depends on the driver being used. Here are some examples for the JDBC connections
    url="jdbc:oracle:oci:@TNS_ALIAS"
    url="jdbc:oracle:oci:@(DESCRIPTION=
    (LOAD_BALANCE=on)
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusnode-1vip)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusnode-2vip)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusnode-3vip)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusnode-4vip)(PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=ERP)))"
    url="jdbc:oracle:oci:@(DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusalias)(PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=ERP)))"
    url="jdbc:oracle:thin:@(DESCRIPTION=
    (LOAD_BALANCE=on)
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusnode-1vip)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusnode-2vip)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusnode-3vip)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusnode-4vip)(PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=ERP)))"
    url="jdbc:oracle:thin:@(DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)(HOST=clusalias)(PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=ERP)))"
    If you are going to use FAN and FCF you may want to take a look at the following white paper.
    http://www.oracle.com/technology/products/database/clustering/pdf/twpracwkldmgmt.pdf

Maybe you are looking for