External procedures for RAC system

Hi Experts,
I have 4 nodes 11.1 RAC in red hat. I saw some node listener configuration with IP=FIRST and other nodes does not have IP=FIRST entry.
I made a search onlin and get statement as IP=FIRST at listening endpoints are for external procedures in the database.
I want to know which means is for external procedures in RAC ? does expert can show some example ?
Thanks
JIm

No the IP=FIRST is not for external procedures. It is to restrict the listener to listening on the specific IP address specified not just the port on any address. This is explained in the NET SERVICES GUIDE

Similar Messages

  • How to compile external procedure for Linxu

    Hello to all.
    I'm not able to find how to compile external procedure on Linux.
    I have 64bit release Linux (I don't know if I need special 64bit library or not).
    I found only something like that:
    gcc -fPIC -shared -o comsh64.so comsh64.c
    Listener are correctly configured.
    Library is in Oracle bin directory.
    If I run select externproc from dual ... I don't receive any error message but program don't work.
    I think that there is some missing parameter in gcc or some small thing ?
    Thank you for possible answeer
    Filip

    Do you have someone any idea?
    Now I have 1 library, 2 functions and 1 package with 2 functions:
    int renamefile(char source, char destination)
    { int result;
    result=rename(source,destination);
    return result;
    int comexi (char *c)
    { int ret;
    ret = system(c);
    return ret;
    FUNCTION callSystemI(c in varchar2) RETURN binary_integer is
    EXTERNAL LIBRARY extern_utils
    NAME "comexi"
    LANGUAGE C
    PARAMETERS (c string);
    function renamefile (src IN varchar2, dst IN varchar2) return binary_integer
    AS EXTERNAL
    NAME "renamefile"
    LIBRARY extern_utils
    LANGUAGE C
    PARAMETERS (src string, dst string);
    The first function still don't works, second function works.
    Why?

  • Could anybody advise the general procedure for SAP system migration?

    I may have chance to be involved into a SAP system migration. Generlly speaking, there are several SAP instances will be migrated into 1 box.The existing instances are 4.6C, and the target instance is ECC6.
    Could anybody provide me some reference material for SAP system migration? or Is there any tools or software can facilitate the migration?
    Thank you so much!
    null

    We are currently running and upgrade from 46C to ECC6 and I have found the following very usefull:
    <a href="https://websmp108.sap-ag.de/upgrade-erp">Upgrade Guides</a>
    SAP Notes:
    Note 825146 - Add. info. on upgrading to SAP NW04s (SR1, SR2) MSSQL
    Note 913971 - Add. info. on upgrading to SAP ERP Central Component 6.0 SR
    Note 813658 - Repairs for upgrades to products based on SAP NW 2004s AS
    Hope this helps!!
    Phil
    Message was edited by:
            Phil Wade

  • Procedure for BI Systems after HSC

    Hello,
    My landscape of BI 7.0 is formed for:
    BID - BI Desenvolvimento
    BIQ - BI Qualidade
    BIP - BI Production
    The systems BID (DEV) and BIP (PRD) they were created starting from
    Homogenêos System Copy (HSC) of BIQ (QAS) and they are OK.
    We have a system DBW (Productive BW 3.5 still) and I need to connect
    BIQ and BIP at the same time in DBW (BW 3.5). But when I execute the
    connection of BIQ with DBW in the transaction RSA1, I lose the
    connection of BIP with DBW. I am using Logical Systems and different
    RFC'S but even so a connection eliminates the other.
    Does it exist more some procedure that should be executed in BID and
    BIP by them have been created starting from a homogenênos (HSC) of
    BIQ?
    Best Regards,
    Martinho Freitas

    Hello,
    My landscape of BI 7.0 is formed for:
    BID - BI Desenvolvimento
    BIQ - BI Qualidade
    BIP - BI Production
    The systems BID (DEV) and BIP (PRD) they were created starting from
    Homogenêos System Copy (HSC) of BIQ (QAS) and they are OK.
    We have a system DBW (Productive BW 3.5 still) and I need to connect
    BIQ and BIP at the same time in DBW (BW 3.5). But when I execute the
    connection of BIQ with DBW in the transaction RSA1, I lose the
    connection of BIP with DBW. I am using Logical Systems and different
    RFC'S but even so a connection eliminates the other.
    Does it exist more some procedure that should be executed in BID and
    BIP by them have been created starting from a homogenênos (HSC) of
    BIQ?
    Best Regards,
    Martinho Freitas

  • Backup and Recovery procedures for production system

    I am trying to decide and test a best backup/recovery approach for our DBXML database in the production environment. Right now I am trying to go through the documentation.
    http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_txn/CXX/filemanagement.html
    What is the best option among offline, hot and incremental backups?
    I am thinking of implementing incremental backups.
    What are the constraints in implementing incremental backups? Is there a detailed step by step example to do this?
    Can I test the backup and recovery procedures by copying the db files and log files from Linux (production) environment to my local machine (Windows XP)? I see only one log.00000000xx file in production and staging environments. It is of same size 52428800 in all our environments (both production and staging) at this point of time.
    What is __db.001 file? What is the significance of this file in backup and recovery procedures?
    A detailed input with example is greatly appreciated.
    Thanks in advancs

    Raghu,
    A couple of points, up front:
    1. the __db* files are the environment (cache, locks, various shared memory regions), and are not part of backup, other than the fact that you need to checkpoint or otherwise flush your cache to your database(s) for a full backup.
    2. log files are not architecture-neutral. That is you can't use a log file created on linux and just use it safely on another hardware platform. It's OK to copy them around, but they can only be used on the same architecture that created them. Database files (containers) are entirely portable among hardware and operating system platforms.
    I don't know of a step-by-step cookbook for backups. This is because of the variations among application needs. However, the procedures described on this page are pretty straightforward:
    http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_txn/CXX/backuprestore.html
    I'm not sure what you mean by "constraints" on incremental backups. The only constraint is that you need to have a full backup first, or you won't be able to recover properly. Based on what I said above, the other constraint is that you'll only be able to recover on a machine of the same architecture as the one that created the log files.
    As for testing, you can certainly copy your database and log files to your Windows machine, treating Windows as an offline backup. If you want to test recovery, you need to copy the files back to Linux. You'll start seeing additional log files when your log data starts to exceed the configured log file size.
    Let me know if you need more clarification,
    Regards,
    George

  • Procedure for BI System copy (ABAP+JAVA) what is the best ?

    Hello to all !
    First time is my that work with BI.
    In my company desired to refresh the data of production of BI, in the system test de BI.
    The instance is Abap + Java. The database is too large.
    I have a question which is the best procedure to refresh my system of Quality of BI with the data of BI production?
    I appreciate the help me.
    Thanks a lot.
    Desiré

    Hi Dcardena,
    Check out this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200ebc93-dabe-2910-c1a6-c4ec30b20e04
    Raja

  • Which external disk for RAC at home?

    Dear Experts,
    Years ago, I tried installing RAC at home on Linux 2.1.
    With 2 Dell machines and a firewire external disk.
    I was only partially successful.
    Today, with Oracle 11, what would be a good external harddisk
    to use? A small external NAS, or SAN through the router,
    with Oracle Clusterware? Something else?
    Multiple VMs with a single internal disk?
    This detail is important!
    Thanks a lot!

    You can go the external shared disk route or you can even go the nfs mounts way. Here is the virtualization route:
    http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
    Perhaps virtualization is the cost effective way (although it is no where the production grade)
    Good Luck

  • Simple backup procedure for B1 system

    Hello - Is there any simple document/help which can be used as a guide to set up the daily back up of B1 system (SAP application and SQL DB)?
    Thanks

    Please check through this thread and the link in the thread to see:
    Re: SBO BackUp Problem
    Thanks,
    Gordon

  • External procedure with Pro*C in it

    I have some C functions that I have compiled into a shared library on Unix.
    One of the functions contains a SQL statement to insert into a table, so I
    compile the file with Pro*C. It compiles fine. I have another C program
    that calls the function within my shared library. It runs fine and the shared
    library does insert the data into the table.
    I create an Oracle library that points to the shared library, then create a stored
    function in the database that executes the routine in the shared library. At
    this point, everything seems in place. We have been using external procedures
    for a while, and they seem to work OK. This is the first one we have, though that
    has Pro*C code in it.
    When I execute the stored function to execute my Pro*C routine, I get the errors
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: Unresolved external.
    This shared library is the first one that we are using that has Pro*C in it. The
    documentation doesn't say anything about being able to use Pro*C routines
    as external procedures; but it doesn't say you can't. Am I attempting the impossible?
    If not, what am I missing?
    null

    Is your library object pointing to one shared library and in turn function in this library is 'looking' to another shared library? if so, that is not allowed

  • Cannot get external procedural call in Oracle RAC Environment

    Cannot get external procedure call to work in our test RAC env.
    We are able to get it to work in our DEV env which is a single instance
    LISTENER.ORA:
    NODE1:
    # listener.ora Network Configuration File: /opt/oracle/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER_SBLBGT01 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sblbgt01-vip1)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.41.1.21)(PORT = 1521)(IP = FIRST))
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (ENVS="EXTPROC_DLLS=ANY")
    NODE2:
    # listener.ora.sblbgt02 Network Configuration File: /opt/oracle/app/oracle/product/10.2.0/db_1/network/admin/listener.ora.sblbgt02
    # Generated by Oracle configuration tools.
    LISTENER_SBLBGT02 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sblbgt02-vip2)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.41.1.22)(PORT = 1521)(IP = FIRST))
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    (ENVS="EXTPROC_DLLS=ANY")
    2) ### If you are receiving errors, please list exact error messages and text: ###
    (cont 1.)
    tnsnames.ora (on both nodes):
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = extproc))
    (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO)))
    [opt/oracle/app/oracle/product/10.2.0/db_1/network/admin]> tnsping EXTPROC_CONNECTION_DATA
    TNS Ping Utility for Solaris: Version 10.2.0.3.0 - Production on 11-APR-2011 10:52:49
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    /opt/oracle/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = extproc)) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO)))
    OK (0 msec)
    Calling External Procedure:
    SQL> execute ttran.shell('ls');
    BEGIN ttran.shell('ls'); END;
    ERROR at line 1:
    ORA-28575: unable to open RPC connection to external procedure agent
    ORA-06512: at "TTRAN.SHELL", line 1
    ORA-06512: at line 1

    Any Reply Please...
    would appreciate your help...

  • Using an AIX archive file as a library for an external procedure.

    I cannot use an archive file, created with the ar command, that contains a shared object that was created with the xlc and ld commands as a library for external procedures. I can use the shared object file created with the ld command as a library for an external procedure. Why would I encounter an invalid magic number and what is the resolution?
    Example:
    oracle:@husk21:/home/oracle> ksh -x ./Oracle_demo.ksh
    + rm shell.o shell.so shell.so.exp shell.so.imp
    + make -f /u01/oracle/product/11.1.0.7/db/rdbms/demo/demo_rdbms32.mk extproc_no_context SHARED_LIBNAME=shell.so OBJS=shell.o
    /u01/oracle/product/11.1.0.7/db/bin/oraxlc -q32 -c -I/u01/oracle/product/11.1.0.7/db/rdbms/demo -I/u01/oracle/product/11.1.0.7/db/rdbms/public -I/u01/oracle/product/11.1.0.7/db/plsql/public -I/u01/oracle/product/11.1.0.7/db/network/public -I/u01/oracle/product/11.1.0.7/db/precomp/public shell.c
    generate_export_list() { /bin/nm -X32_64 -B -h -g "$1" | grep -v ' U ' | awk '{print $3}' | egrep -v '^\.|^TOC' | sort | uniq ; }; generate_import_list() { LIB_NAME=$1; IMP_FILE=$2; cat /u01/oracle/product/11.1.0.7/db/rdbms/lib/xa.imp | head -1 | awk '{print $0, "." }' > ${IMP_FILE}; /bin/nm -X32_64 -C -B -h -g ${LIB_NAME} | grep ' U ' | grep -v "::" | grep -v "(" | grep -v "\.cc" | awk '{print $3}' | sed -e "s/\.//g" | grep -v "^_" >> ${IMP_FILE}; }; generate_import_list shell.o shell.so.imp; generate_export_list shell.o > shell.so.exp; /bin/ld -b32 -bnoentry -bM:SRE -bE:shell.so.exp -bI:shell.so.imp -o shell.so shell.o -L/u01/oracle/product/11.1.0.7/db/lib -lc_r -lm
    ld: 0711-224 WARNING: Duplicate symbol: .system
    ld: 0711-224 WARNING: Duplicate symbol: system
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    oracle:@husk21:/home/oracle> ar rv libshell.a shell.so
    ar: Creating an archive file libshell.a.
    a - shell.so
    oracle:@husk21:/home/oracle> ar tv libshell.a
    rwxr-xr-x 3514/3516 1263 Sep 08 10:00 2009 shell.so
    oracle:@husk21:/home/oracle> file shell.so
    shell.so: executable (RISC System/6000) or object module not stripped
    oracle:@husk21:/home/oracle> file libshell.a
    libshell.a: archive (big format)
    SQL> CREATE OR REPLACE LIBRARY shell_lib is '/home/oracle/libshell.a';
    / 2
    Library created.
    SQL> CREATE OR REPLACE PROCEDURE shell(command IN char)
    AS EXTERNAL
    NAME "shell"
    LIBRARY shell_lib
    LANGUAGE C
    PARAMETERS (command string);
    / 2 3 4 5 6 7
    Procedure created.
    SQL> exec shell('ls');
    BEGIN shell('ls'); END;
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: 0509-022 Cannot load module /home/oracle/libshell.a.
    0509-103 The module has an invalid magic number.
    ORA-06512: at "V500.SHELL", line 1
    ORA-06512: at line 1
    SQL> CREATE OR REPLACE LIBRARY shell_lib is '/home/oracle/shell.so';
    2 /
    Library created.
    SQL> exec shell('ls');
    PL/SQL procedure successfully completed

    Using an AIX archive file as a library for an external procedure.

  • Help! External hard drive (WD) doesn't show up anywhere (except for in System Information)...

    Hi,
    My WD hard drive (160 gb, 3-4 years old) all of a sudden won't show up in Disk Utility or Finder.
    Prior to this, I got an error message, saying something like "back up your data and reformat the disk", and I bought myself a new hard drive (a Verbatim) for this. When I connected the two hard drives, the WD wouldn't show up anywhere, except for in System Information, where the following message is displayed under "USB":
    External HDD    :
      Product ID: 0x0702
      Vendor ID: 0x1058  (Western Digital Technologies, Inc.)
      Version: 1.02
      Serial Number: ????????????????????????
      Speed: Up to 480 Mb/sec
      Manufacturer: Western Digital
      Location ID: 0x14200000 / 9
      Current Available (mA): 500
      Current Required (mA): 0
    My Macbook Pro is a 11.1, with Mavericks installed.
    I have all the recordings of my band's new album on this drive, so any help would be greatly appreciated.
    Thanks!

    I'd have to agree with WZZZ. That sounds like either a bad connection, bad cable, or faulty supply. The port could be bad as well but the cable either being bad or not properly plugged in or maybe even worn out. When the "disk ejected" message shows up it's usually because somehow the cable was yanked out of the system while it was plugged in. Intermittenet connections in the cable, particularly in supply lines between the drive and the unit can cause this to happen as well...it's as if you unplugged the external hard drive from the system for a very short time, but the system still picks it up and sees it as bad.
    If worse comes to worse, download the hard drive troubleshooting book in the downloads section at:
    http://scsc-online.com

  • External procedure call error in RAC

    I met a strange problem today with Oracle RAC 10.2.0.4:
    Situation I:
    In the sequence of tnsnames.ora or TAF, put NodeA before NodeB, everything works well. Even if NodeA is down and only NodeB works.
    Situation II:
    If put NodeB before NodeA, strange things happened.
    1) I can connect to via type2(tnsnames) or type4(url) via sqlplus, and I can also call my extproc in sqlplus.
    2) If I call external procedure via API, whatever type2 or type4, it will report "ORA-06576: not a valid function or procedure name"
    RAC should share anything on both nodes, why Situation I and Situation II have different behaviour? Can anyone help me? Thanks!

    Thanks.
    In fact, using the supplied makefile in $ORACLE_HOME/plsql/demo and MAKING SURE THAT THE .SO IS EXECUTABLE(!) works.

  • External procedure call for cobol programs

    I'm trying to call cobol programs using external procedure calls. I followed metalink doc#119543.1 but when the cobol shared library is called from PL/SQL, the session hangs. I'm running Oracle 9.2.0.4 EE, Microfocus Server Express 2.2, C for AIX v6, and AIX 5.2 (64-bit). If you know how to get this working or you have a working test case, please post a reply. Thanks.

    You know that there are several steps to it :
    1.- Make a library from cobol a the source code in a file
    2.- Check the listener parameters to call external procedures and the service in the client
    3.- Make a library inside the database
    4.- Create the procedure that is going to call the
    procedure.
    Did you do those steps?
    Joel P�rez

  • External debugger for other frontend systems!?

    Hi,
    I am working on one issue,
    I.E.
    There is dotnet front end page --- where I am getting some error(not syntax or any its functionality error)
    And the coding part behind this functionality is done in RFC function module!
    How can I find out this function module...
    (I know that function group which contains more than 25 function modules)...
    Can I put external debugger for this RFC(If find).?
    Let me know about this.
    --Naveen Inuganti.

    Hi,
    I got this,
    you should have user name and password to acces that HTTP(.Net) page.
    Ofcourse its mandatory.
    Same user name should have Debugging authorization in the SAP system, where its targets.
    And You can give that user name at DEBUGGING setting and make sere that check box for session debugging on for that user.
    Hope you know path for above settings,
    UTILITIES -> SETTINGS-> ABAP Editer -> Debugger tab.
    --Naveen Inuganti.

Maybe you are looking for