11g upgrade conflict

I had applied all the 11g patches according to the SAP Note and ran into what is called an online patch.  From the Oracle® Database SAP® Bundle Patch 11.2.0.2.0 - 201012 readme: You cannot apply or roll back an online patch if the database is down.
So I do the dbua and get all done and go to apply the patch.  opatch gives me this message:
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/oracle/BSN/112_64')
AH! So which is it?

When you upgrade from Oracle 10g to Oracle 11g you can first install only the database software into the new filesystem or folder structure
On unix /oracle/<SID>/11202 and a link 112_64 -> /oracle<SID>/11202 will be made
After installing the software you can apply the bundle patch to this new Oracle installation (make sure your env variables are pointing to new Oracle installation)
The online patches that are in that bundle patch have an offline counterpart in the same bundle patch so you can just apply the bundle patch using MOPatch and you do not need to apply any more patches afterwards when the database is online
Before running DBUA to do the actual upgrade you then need to switch back to env variables of old Oracle installation and shut down SAP + Oracle 10g and the Oracle listener
I do agree the SAP notes and documentation on installing patchsets etc are confusing.

Similar Messages

  • Oracle DB 10g to 11g Upgrade

    Hi,
    We have a SAP Oracle Database, the size is 1.5 TB.
    The Hardware details are
    Application – SAP ERP 6.0 EHP5 SPS6
    Database – Oracle 10.2.0.2
    OS Platform – AIX 5.3 TL05, SP06
    HW – 8 Dual Core CPU’s, 256 GB RAM on DB-CI server
    Test Environment : 32 GB RAM
    Please from your experience let me know how much time will a 10g to 11g upgrade will take.
    Regards,
    Narayan

    hi,
    There are several parameters you have to check before upgrading. Commonly it is independent of size of database.I think it will take as minimum 1 hour. Check the links to speed up upgrading and to consider pre-upgrade preparation:
    https://blogs.oracle.com/UPGRADE/entry/how_long_will_your_upgrade_tak
    http://www.oracle.com/technetwork/database/upgrade/best-practices-for-upgrading-11gr2-174946.pdf

  • Oracle 11g upgrade: How to update stale statistics for sys and sysman?

    Hi,
    I am in the process of testing Oracle 11g upgrade from Oracle 10.2.0.3. I have run utlu111i.sql on the 10g database.
    The utility utlu111i.sql reports about the stale statistics for SYS and SYSMAN components.
    I executed dbms_stats.gather_dictionary_stats; dbms_stats.gather_schema_stats('SYS'); and dbms_stats.gather_schema_stats('SYSMAN');
    After that the utlu111i.sql still reports the stale statistics for sys and sysman. Does anyone know how to get rid off this warning successfully?
    Thanks,
    Sreekanth

    Does anyone know how to get rid off this warning successfully?Just ignore the warnings. Check The Utlu111i.Sql Pre-Upgrade Script Reports Stale Sys Statistics - 803774.1 from Metalink.

  • Oracle packages - nested table cursor - 11g upgrade testing

    I have a package call Crisis_Contacts. This package has a function(generate_file) in it that has a create cusor statement which calls on another function(split) in another package called NCF_UTL. In testing our code for a 11g upgrade the cursor statement calling on the split function is throwing a Error: ORA-00600: internal error code, arguments: [4814], [5], [0], [0], [], [], [], [], [], [], [], [] when compiling the package, which it was not doing prior to upgrade. Can you suggest a possible workaround or mod to this code to stop the error from occuring.
    Basically, this code is reading html files and spliting them into section and loading them into the cursor. Then the cursor is read to write them to a table. Then it reads the table and transmits the lines of html to another location.
    CREATE OR REPLACE package body ACADMGR.crisis_contacts as
    function generate_file( file_type in varchar2,
    person_pidm in integer := null,
    person_id in varchar2 := null,
    dry_run in varchar2 := 'N',
    pidm_filter in varchar2 := null,
    include_placeholders in varchar2 := 'N',
    comments in varchar2 := null ) return integer is
    cursor typeDef is
    select * from crisis_contact_file_type ccft
    where ccft.file_type = generate_file.file_type;
    file_type_def typeDef%rowtype;
    cursor fieldDef is
    select * from crisis_contact_file_field ccff
    where ccff.file_type = generate_file.file_type
    order by seq asc;
    type r_typ is ref cursor;
    r r_typ;
    datasel varchar2(32767) := '';
    r_pidm integer;
    pers_pidm integer := person_pidm;
    prev_pidm integer;
    r_tag varchar2(255);
    r_val varchar2(4000);
    type field_list is table of varchar2(256);
    type field_index is table of integer index by varchar2(256);
    type val_list is table of varchar2(4000);
    type req_tbl is table of boolean index by varchar2(256);
    req_fields field_list := field_list();
    all_req_seen boolean;
    fields field_list := field_list();
    vals val_list := val_list();
    field_idx field_index;
    out_id integer;
    out_line integer := 0;
    buf varchar2(4000);
    saved_out_line integer := 0;
    xml_section_lf_delims ncf_utl.split_tbl := ncf_utl.split_tbl( ncf_utl.crlf, chr(13), chr(10) );
    cursor splitcur( txt in varchar2 ) is
    select column_value line from table(ncf_utl.split( txt, xml_section_lf_delims ));
    cursor get_output is
    select text from crisis_contact_file_line
    where output_id = out_id
    order by line_no asc;
    log_time date := sysdate;
    log_seq integer := 1;
    procedure outp( txt in varchar2 ) is
    begin
    --dbms_output.put_line( txt );
    insert into crisis_contact_file_line
    ( output_id, line_no, text )
    values
    ( out_id, out_line, txt );
    out_line := out_line + 1;
    end;
    procedure split_outp( txt in varchar2 ) is
    begin
    if txt is not null then
    for r in splitCur( txt ) loop
    outp( r.line );
    end loop;
    end if;
    end;
    begin
    open typeDef;
    fetch typeDef into file_type_def;
    close typeDef;
    if pers_pidm is null and person_id is not null then
    select distinct(spriden_pidm) into pers_pidm from spriden
    where spriden_id = person_id;
    end if;
    insert into crisis_contact_file_out ( file_type, comments ) values ( file_type, comments )
    returning output_id into out_id;
    datasel := gen_outfile_sql( file_type, pers_pidm, pidm_filter, include_placeholders );
    if dry_run = 'Y' then
    ncf_utl.output_text( datasel );
    else
    split_outp( file_type_def.preamble );
    buf := '';
    for f in fieldDef loop
    fields.extend;
    fields(fields.last) := f.alias;
    field_idx(f.output_field) := fields.last;
    vals.extend();
    if f.mandatory = 'Y' then
    req_fields.extend;
    req_fields(req_fields.last) := f.output_field;
    end if;
    if file_type_def.file_mode = 'DELIM' and file_type_def.print_heading = 'Y' then
    buf := buf || case when fieldDef%rowcount > 1 then nvl(file_type_def.delimiter,',') else '' end ||
    nvl(file_type_def.quote,'') || nvl(f.alias,f.output_field) || nvl(file_type_def.quote,'');
    end if;
    end loop;
    if length(buf) > 0 then
    outp(buf);
    end if;
    --outp( '<?xml version="1.0" encoding="UTF-8"?>' );
    --outp( '<recipients>' );
    open r for datasel;
    loop
    fetch r into r_pidm, r_tag, r_val;
    exit when r%notfound;
    if prev_pidm is null or prev_pidm != r_pidm then
    if prev_pidm is not null then
    split_outp( file_type_def.record_end );
    all_req_seen := true;
    --check and reset 'seen' flags for required fields
    for i in 1..req_fields.count loop
    if vals(field_idx(req_fields(i))) is null then
    all_req_seen := false;
    end if;
    end loop;
    --if not all_req_seen then
    -- rollback to USER_START;
    -- out_line := saved_out_line;
    --end if;
    if all_req_seen then
    buf := '';
    for i in 1..fields.count loop
    if file_type_def.file_mode = 'XML' then
    outp( ' <' || fields(i) || '>' || vals(i) || '</' || fields(i) || '>' );
    elsif file_type_def.file_mode = 'DELIM' then
    buf := buf || case when i > 1 then nvl(file_type_def.delimiter,',') else '' end ||
    nvl(file_type_def.quote,'') || vals(i) || nvl(file_type_def.quote,'');
    end if;
    end loop;
    if file_type_def.file_mode = 'DELIM' then
    outp(buf);
    end if;
    end if;
    end if;
    --savepoint USER_START;
    --saved_out_line := out_line;
    if r_tag != 'endofdata' then
    split_outp( file_type_def.record_start );
    end if;
    for i in 1..fields.count loop
    vals(i) := null;
    end loop;
    end if;
    prev_pidm := r_pidm;
    if field_idx.exists(r_tag) then
    if r_val is not null then
    vals(field_idx(r_tag)) := r_val;
    end if;
    end if;
    end loop;
    if pers_pidm is not null then
    split_outp( file_type_def.record_end );
    end if;
    split_outp( file_type_def.postamble );
    --for o in get_output loop
    -- dbms_output.put_line( o.text );
    --end loop;
    end if;
    return out_id;
    end generate_file;
    procedure gen_and_transmit( file_type in varchar2,
    username in varchar2, pass in varchar2,
    pidm_filter in varchar2 := null,
    include_placeholders in varchar2 := 'N',
    comments in varchar2 := null,
    url_base in varchar2 := null, url_path in varchar2 := null,
    ssl_wallet_path in varchar2 := null, ssl_wallet_pass in varchar2 := null ) is
    out_id integer;
    begin
    out_id := generate_file( file_type, pidm_filter => pidm_filter,
    include_placeholders => include_placeholders,
    comments => comments );
    --transmit_file( out_id, username, pass,
    transmit_file( out_id, 'mhaywood', '------------',
    url_base => url_base, url_path => url_path,
    ssl_wallet_path => ssl_wallet_path, ssl_wallet_pass => ssl_wallet_pass );
    end gen_and_transmit;
    begin
    UTL_HTTP.set_persistent_conn_support( true, 10 );
    end;
    create or replace
    PACKAGE BODY NCF_UTL IS
    PROCEDURE OUTPUT_TEXT( BUFFER IN VARCHAR2, LINE_LEN IN INTEGER := 80 ) IS
    TYPE CHRLIST IS TABLE OF VARCHAR2(1);
    cr VARCHAR2(1) := CHR(13);
         lf VARCHAR2(1) := CHR(10);
         tab VARCHAR2(1) := CHR(9);
         whitespace CHRLIST := CHRLIST( ' ', tab );
         pos INTEGER := 1;
         len INTEGER;
         brk INTEGER;
         curbrk INTEGER;
         lnbrk INTEGER;
         whtbrk INTEGER;
         i INTEGER;
    BEGIN
    len := LENGTH(BUFFER);
         WHILE pos <= len
         LOOP
         WHILE SUBSTR( BUFFER, pos, 1 ) IN ( cr, lf )
         LOOP
         pos := pos + 1;
         END LOOP;
         --find the next newline type char, or pos+250 if one isn't found
    lnbrk := LEAST( NVL(NULLIF(INSTR( BUFFER, cr, pos ),0),pos+250),
                             NVL(NULLIF(INSTR( BUFFER, lf, pos ),0),pos+250) );
         --after the loop:
         -- whtbrk should be the last whitespace char before LINE_LEN + pos
         -- (or == pos, if none found)
         -- curbrk should be == 0 or the 1st whitespace after LINE_LEN + pos
         whtbrk := pos;
         curbrk := pos;
         FOR i IN 1..whitespace.COUNT
         LOOP
         LOOP
         curbrk := INSTR( BUFFER, whitespace(i), whtbrk + 1 );
              IF curbrk <= pos + LINE_LEN AND curbrk >= whtbrk THEN
              whtbrk := curbrk;
              END IF;
              EXIT WHEN curbrk > pos + LINE_LEN OR curbrk = 0;
              END LOOP;
              EXIT WHEN curbrk > pos + LINE_LEN;
         END LOOP;
         brk := LEAST( len + 1, lnbrk, NVL( NULLIF( whtbrk, pos ), pos + 250 ),
                        NVL( NULLIF( curbrk, 0 ), pos + 250 ), pos + 250 );
         dbms_output.put_line( SUBSTR( BUFFER, pos, brk - pos ) );
         pos := brk;
         END LOOP;
    END;
    function split( str in varchar2, d0 in varchar2, d1 in varchar2 := null,
    d2 in varchar2 := null, d3 in varchar2 := null,
    d4 in varchar2 := null, d5 in varchar2 := null,
    d6 in varchar2 := null, d7 in varchar2 := null,
    d8 in varchar2 := null, d9 in varchar2 := null )
    return split_tbl pipelined is
    pos integer := 1;
    curidx integer;
    idx integer;
    delims split_tbl;
    idx_delim varchar2(32767);
    len integer := length( str );
    begin
    if d0 is null then
    --split on whitespace
    delims := split_tbl( ' ', chr(9), chr(10), chr(13) );
    else
    delims := split_tbl( d0, d1, d2, d3, d4, d5, d6, d7, d8, d9 );
    end if;
    loop
    idx := -1;
    --we want the lowest value of IDX > 0
    for i in 1..delims.count loop
    curidx := instr( str, delims(i), pos, 1 );
    if curidx > 0 then
    if idx = -1 or curidx < idx then
    idx := curidx;
    idx_delim := delims(i);
    end if;
    end if;
    end loop;
    if idx > 0 then
    --if splitting on whitespace, treat any amount of it as
    --a single delimiter
    if d0 is not null or idx > pos then
    pipe row( substr( str, pos, idx - pos ) );
    end if;
    else
    -- also make sure to ignore trailing whitespace
    if d0 is not null or pos <= len then
    pipe row( substr( str, pos ) );
    end if;
    exit;
    end if;
    pos := idx + length( idx_delim );
    end loop;
    return;
    end split;
    function split( str in varchar2, delimiters in split_tbl := null )
    return split_tbl pipelined is
    i integer;
    cursor spcur( d0 in varchar2 := null, d1 in varchar2 := null,
    d2 in varchar2 := null, d3 in varchar2 := null,
    d4 in varchar2 := null, d5 in varchar2 := null,
    d6 in varchar2 := null, d7 in varchar2 := null,
    d8 in varchar2 := null, d9 in varchar2 := null ) is
    select column_value v from table (split(str,d0,d1,d2,d3,d4,d5,d6,d7,d8,d9));
    function x( i in integer ) return varchar2 is
    begin
    if delimiters.exists(i) then
    return delimiters(i);
    else
    return null;
    end if;
    end;
    begin
    for r in spcur( x(0),x(1),x(2),x(3),x(4),x(5),x(6),x(7),x(8),x(9) ) loop
    pipe row( r.v );
    end loop;
    end split;
    END;
    Thanks

    Curious behavior, but irrelevant, IMHO, since one never switches back and forth between two releases in the real world. All that STARTUP UPGRADE does is that it enables upgrade scripts to be run - it does not prevent statements like CREATE USER from being executed since the upgrade may create new needed accounts
    http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve045.htm#SQPUG128
    HTH
    Srini

  • Oracle 11g upgrade in AIX 6.1 with HACMP

    Hi Friends,
    As i have two Power Servers running in AIX 6.1 with oracle 10g in HACMP in which SAP application is running.
    The one is standalone Database and other is central Instance.
    I have done the 11g upgrades successfully in my DEV and QAS servers which are non-cluster Environment.
    Now i want to do the same upgrade in PRD which is in HACMP.
    Please let me know what are the areas should i concentrate specially for cluster environment servers.
    Thanks,
    Hari

    DB Filesystems
    Filesystem GB blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 4.00 2.62 35% 15438 3% /
    /dev/hd2 8.00 5.03 38% 57744 5% /usr
    /dev/hd9var 4.00 2.85 29% 10914 2% /var
    /dev/hd3 4.00 3.50 13% 2575 1% /tmp
    /dev/fwdump 1.00 1.00 1% 13 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 6 1% /home
    /dev/hd11admin 0.25 0.25 1% 107 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 43% 9040 7% /opt
    /dev/livedump 0.25 0.25 1% 7 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 1.86 8% 21 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 80 1% /oracle/PIP
    /dev/lv_usr_sap 2.00 1.92 5% 78 1% /usr/sap
    /dev/lv_sapmnt 2.00 0.62 70% 978 1% /sapmnt
    /dev/dumplv 95.00 32.80 66% 26790 1% /dump
    /dev/saparchlv 2.00 1.99 1% 57 1% /home/pipadm
    /dev/lv_pip_64 10.00 5.73 43% 18988 2% /oracle/PIP/102_64
    /dev/lv_mirlogA 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogA
    /dev/lv_mirlogB 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogB
    /dev/lv_oraarch 200.00 121.48 40% 433 1% /oracle/PIP/oraarch
    /dev/lv_oralogA 1.00 0.59 41% 8 1% /oracle/PIP/origlogA
    /dev/lv_oralogB 1.00 0.59 41% 8 1% /oracle/PIP/origlogB
    /dev/fslv01 2.00 1.97 2% 102 1% /oracle/PIP/saparch
    /dev/lv_sapbkp 5.00 5.00 1% 40 1% /oracle/PIP/sapbackup
    /dev/lv_sapchk 5.00 5.00 1% 80 1% /oracle/PIP/sapcheck
    /dev/lv_data1 200.00 86.26 57% 30 1% /oracle/PIP/sapdata1
    /dev/lv_data2 200.00 84.92 58% 26 1% /oracle/PIP/sapdata2
    /dev/lv_data3 200.00 84.92 58% 26 1% /oracle/PIP/sapdata3
    /dev/lv_data4 200.00 84.92 58% 26 1% /oracle/PIP/sapdata4
    /dev/lv_data5 200.00 84.92 58% 26 1% /oracle/PIP/sapdata5
    /dev/lv_data6 200.00 84.92 58% 26 1% /oracle/PIP/sapdata6
    /dev/lv_data7 200.00 84.92 58% 26 1% /oracle/PIP/sapdata7
    /dev/lv_data8 200.00 84.93 58% 26 1% /oracle/PIP/sapdata8
    /dev/lv_saporg 20.00 20.00 1% 7 1% /oracle/PIP/sapreorg
    /dev/saptrance 5.00 4.92 2% 588 1% /oracle/PIP/saptrace
    /dev/lv_inventry 2.00 1.99 1% 55 1% /oracle/oraInventory
    /dev/lv_102_64 10.00 5.05 50% 11044 1% /oracle/stage/102_64
    CI
    /dev/hd4 4.00 1.99 51% 14429 3% /
    /dev/hd2 8.00 5.01 38% 57680 5% /usr
    /dev/hd9var 4.00 3.38 16% 10936 2% /var
    /dev/hd3 4.00 3.82 5% 1362 1% /tmp
    /dev/fwdump 1.00 1.00 1% 18 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 55 1% /home
    /dev/hd11admin 0.25 0.25 1% 5 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 42% 9024 7% /opt
    /dev/livedump 0.25 0.25 1% 8 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 2.00 1% 9 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 52 1% /oracle/PIP
    /dev/lv_usr_sap 10.00 10.00 1% 17 1% /usr/sap
    /dev/lv_client 2.00 1.86 8% 16 1% /oracle/client
    /dev/lv_smnt_pip 10.00 2.20 78% 114142 18% /sapmnt/PIP
    /dev/lv_sap_pip 10.00 8.10 19% 1577 1% /usr/sap/PIP
    /dev/lv_sap_cms 5.00 5.00 1% 8 1% /usr/sap/ccms
    root@pagedb:/ $ su - orapip
    pagedb:orapip 1> echo $ORACLE_HOME
    /oracle/PIP/102_64
    i have upgraded successfully in my DEV and QAS.
    So can i go with the same procedure as i went with non-cluster Env.
    Thanks

  • 11g Upgrade from 10.2.0.4 in SUSE 10.

    Hi Gurus,
    We have 11g Database upgrade on our EBS 11i environment, database size is around 1.3 TB, i already did test upgrade it was not satisfactory results what client is expecting regarding downtime, i followed manual upgrade as i am very much familier with that, i your views and suggestions to reduce upgrade downtime.
    11g Upgrade from 10.2.0.4 in SUSE 10.

    Hi,
    Is your database is RAC or NON-RAC.
    If you are going for patchset upgrade then you can go for roll upgrade patch.
    as you know, you cannot escape the downtime always. ;-)
    i already did test upgrade it was not satisfactory results what client is expecting regarding downtime, i followed manual upgrade as i am very much familier with thatOracle introduces DBUA with many features, still why you are not going for DBUA?
    You have to test the TEST environment using DBUA ;-)
    If for example For 1.3 TB you are going to consistent backup, still you have down time. then there is no point to think on UPGRADE duration.
    but you can perform pro-actively like.. install the 11g ORACLE_HOME before the downtime. & so on.

  • 11g Upgrade Issues and Questions

    Hi,
    I am upgrading database from 9.2.0.6 to 11g in EBS, Apps version is 11.5.10.2.
    I have performed 11.1.0.7 patch set installation tasks & Apply additional 11.1.0.7 RDBMS patches
    Now my query is that I have to copy InitSID.ora from 9i to 11g before or after database Upgrade(using DBUA)?
    When I have to set Database Initialization Parameters for Oracle Applications Release 11i before or after database Upgrade(using DBUA)?
    Regard's
    GSM

    Hi,
    The output of utlu111i.sql script is as below before upgrade.We have to make any modification before upgrade.If yes where I have to do the changes.
    SQL> @utlu111i.sql
    Oracle Database 11.1 Pre-Upgrade Information Tool 04-09-2010 12:55:26
    Database:
    --> name: PROD
    --> version: 9.2.0.8.0
    --> compatible: 9.2.0
    --> blocksize: 8192
    --> timezone file: V4
    Logfiles: [make adjustments in the current environment]
    --> The existing log files are adequate. No changes are required.
    Tablespaces: [make adjustments in the current environment]
    --> SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 8052 MB
    --> ODM tablespace is adequate for the upgrade.
    .... minimum required size: 10 MB
    --> APPS_UNDOTS1 tablespace is adequate for the upgrade.
    .... minimum required size: 299 MB
    --> APPS_TS_TX_DATA tablespace is adequate for the upgrade.
    .... minimum required size: 2322 MB
    --> APPS_TS_QUEUES tablespace is adequate for the upgrade.
    .... minimum required size: 70 MB
    --> OLAP tablespace is adequate for the upgrade.
    .... minimum required size: 16 MB
    Update Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    WARNING: --> "compatible" must be set to at least 10.1.0
    Renamed Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    -- No renamed parameters found. No changes are required.
    Obsolete/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    --> "optimizer_max_permutations"
    --> "row_locking"
    --> "undo_suppress_errors"
    --> "max_enabled_roles"
    --> "enqueue_resources"
    --> "sql_trace"
    --> "background_dump_dest" replaced by "diagnostic_dest"
    --> "user_dump_dest" replaced by "diagnostic_dest"
    --> "core_dump_dest" replaced by "diagnostic_dest"
    Components: [The following database components will be upgraded or installed]
    --> Oracle Catalog Views [upgrade] VALID
    --> Oracle Packages and Types [upgrade] VALID
    --> JServer JAVA Virtual Machine [upgrade] VALID
    --> Oracle XDK for Java [upgrade] VALID
    --> Real Application Clusters [upgrade] INVALID
    --> OLAP Analytic Workspace [upgrade] UPGRADED
    --> OLAP Catalog [upgrade] VALID
    --> Oracle Text [upgrade] VALID
    --> Oracle XML Database [install]
    --> Oracle Java Packages [upgrade] VALID
    --> Oracle interMedia [upgrade] VALID
    --> Spatial [upgrade] VALID
    --> Data Mining [upgrade] VALID
    --> Oracle OLAP API [upgrade] UPGRADED
    Miscellaneous Warnings
    WARNING: --> Passwords exist in some database links.
    .... Passwords will be encrypted during the upgrade.
    .... Downgrade of database links with passwords is not supported.
    WARNING: --> Deprecated CONNECT role granted to some user/roles.
    .... CONNECT role after upgrade has only CREATE SESSION privilege.
    WARNING: --> Database contains stale optimizer statistics.
    .... Refer to the 11g Upgrade Guide for instructions to update
    .... statistics prior to upgrading the database.
    .... Component Schemas with stale statistics:
    .... SYS
    .... OLAPSYS
    .... MDSYS
    .... ODM
    WARNING: --> Database contains INVALID objects prior to upgrade.
    .... The list of invalid SYS/SYSTEM objects was written to
    .... registry$sys_inv_objs.
    .... The list of non-SYS/SYSTEM objects was written to
    .... registry$nonsys_inv_objs.
    .... Use utluiobj.sql after the upgrade to identify any new invalid
    .... objects due to the upgrade.
    .... USER APPS has 3 INVALID objects.
    WARNING: --> Database contains schemas with objects dependent on network
    packages.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    .... USER APPS has dependent objects.
    .... USER MDSYS has dependent objects.
    SYSAUX Tablespace:
    [Create tablespace in the Oracle Database 11.1 environment]
    --> New "SYSAUX" tablespace
    .... minimum required size for database upgrade: 500 MB
    PL/SQL procedure successfully completed.
    SQL> spool off
    Thank's
    Regards
    GSM

  • 11G Upgrade - EBS 12.1.2

    I have a few questions on the 11G upgrade.
    DB - 11.2.0.3 - OS - zLinux
    EBS - 12.1.2 - SLES 10-SP3
    I am following note 1058763.1 (Interoperability Notes Oracle E-Business Suite Release 12 with Oracle Database 11g Release 2 (11.2.0) - and am at step 23 - Implement and Run Autoconfig
    Referring to 387859.1 (Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12), I have finished unzipping the appsutil.zip file to the $ORACLE_HOME on the database tier using the unzip -o appsutil.zip.
    The next step in 387859.1 requires running autoconfig on the DB tier - for which I don't find the $ORACLE_HOME/appsutil/scripts folder.
    Section 3.2 of 387859.1 refers to Installing JRE on the Database tier - however when I run the java -version command - I already get the following output on the upgraded 11g home.
    tebsdb01:EBST1:/t01/product/db11.2.0.3 > java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pxz6460sr9fp3ifix-20111215_04(SR9 FP3+IV12154))
    IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux s390x-64 jvmxz6460sr9-20111214_97396 (JIT enabled, AOT enabled)
    J9VM - 20111214_097396
    JIT - r9_20101028_17488ifx31
    GC - 20101027_AA)
    JCL - 20110727_04
    tebsdb01:EBST1:/t01/product/db11.2.0.3 >
    My first question - what steps have I missed that have resulted in a missing $ORACLE_HOME/appsutil/scripts folder
    My second question - if my java version is already 1.6.0, is there a need to continue with instaling JRE on the database tier?
    This is the first time I am running through a 11g upgrade - hence the plethora of questions.
    Thanks so much in advance for your help.
    Regards

    One last question regarding this 11gR2 upgrade.
    My APPS and BA team are now asking what kind of testing they should be doing on an upgraded 11gR2 instance.
    Can anyone who has upgraded an instance (DB only) shed some light on this aspect of the QA testing process?Since the database upgrade does not change any of the underlying objects under Oracle EBS schemas, you need to do basic checks to verify this upgrade. Examples are ..
    - You can shutdown/startup the database with no issues
    - No errors are reported in the database log files
    - Submit concurrent programs and make sure it completes successfully
    - Make sure CM and all services are up
    - Create/Update Users/Responsibilities
    - Make sure AutoConfig complete successfully
    ..etc
    Thanks,
    Hussein

  • [Urgent] Some questions about OID/OSSO 10g - 11g upgrade

    Dear all,
    We are under doing upgrading assessment of OID/OSSO 10g to 11g for a customer. After reviewed the 'upgrading guide', we still have some questions as below:
    1.     Whether the ‘10g DIP profiles’ will be still available after the OID 11g upgrade? Currently there are some sync of AD<->OID and DB->OID.
    2.     Whether the ‘WNA’ function will still work after the upgrade?
    3.     Is there a big change of OID API from 10g to 11g? If so, I think a big effort maybe on application modification.
    4.     I found that there is a OAM Basic version for OSSO 10g upgrade. So if this OAM Basic will migrate the OSSO configuration (like external application) automatically, or it must be re-configed after the upgrade?
    5.     Currently customer config OID 10g as BPEL/ESB’s identity store. So does BPEL/ESB 10g is certificated with OID 11g also? I didn’t find the certification so far.
    Thank you in advance and any comment are welcome.

    Dear all,
    We are under doing upgrading assessment of OID/OSSO 10g to 11g for a customer. After reviewed the 'upgrading guide', we still have some questions as below:
    1.     Whether the ‘10g DIP profiles’ will be still available after the OID 11g upgrade? Currently there are some sync of AD<->OID and DB->OID.
    2.     Whether the ‘WNA’ function will still work after the upgrade?
    3.     Is there a big change of OID API from 10g to 11g? If so, I think a big effort maybe on application modification.
    4.     I found that there is a OAM Basic version for OSSO 10g upgrade. So if this OAM Basic will migrate the OSSO configuration (like external application) automatically, or it must be re-configed after the upgrade?
    5.     Currently customer config OID 10g as BPEL/ESB’s identity store. So does BPEL/ESB 10g is certificated with OID 11g also? I didn’t find the certification so far.
    Thank you in advance and any comment are welcome.

  • [Urgent] Some questions about Oracle Portal 10g - 11g upgrade

    Dear friends,
    We are under doing upgrading assessment of Oracle Portal from 10g to 11g. After reviewed the 'upgrading guide', we still have some questions as below:
    1. Whether the 'Instant Portal' feature remain in Oracle Portal 11g? If yes, how to migrate the Instant Portal 10g sites? If no, any workaround?
    2. Whether the old 10g Page Group and Pages will be still available after 11g upgrade? Also can customer import the old 10g transportset into Portal 11g?
    3. How about the customized Portal 10g objects (such as customized template, style, attributes) after 11g upgrade? Still be usable?
    4. Customer use PDK to develop many portlets in 10g. Can they use JDeveloper 11g to migrate their old project to 11g automatically?
    Thank you in advance and any comment are welcome.

    1. Whether the 'Instant Portal' feature remain in Oracle Portal 11g? If yes, how to migrate the Instant Portal 10g sites? If no, any workaround?Instant Portal is not available anymore in Oracle Portal 11g. The Instant Portal page groups will be migrated to standard Portal page groups. Maintenance of the Instant Portal can be done with the standard Portal tools. The Instant Portal tools are not available anymore.
    Whether the old 10g Page Group and Pages will be still available after 11g upgrade? Also can customer import the old 10g transportset into Portal 11g?Old 10g Page Groups are migrated to Portal 11g. They will still be available after the upgrade.
    Export/Import through transports sets has always been limited to instances of the same version. It is not supported between versions as documented in the Administration Guide :
    [11.2.1|http://download.oracle.com/docs/cd/E14571_01/portal.1111/e10239/cg_imex.htm#CCJBCCGD] System Requirements
    Before exporting and importing content, ensure that your system meets the minimum system requirements, as described in this section.
    Notes:
    * Export and import functions only within the same release of Oracle Portal and the same patch release, for example, release 10.1.4 to release 10.1.4 or release 11.1.1 to release 11.1.1. You cannot export and import between two different releases, such as release 10.1.2 to release 10.1.4 or release 10.1.4 to release 11.1.1.
    How about the customized Portal 10g objects (such as customized template, style, attributes) after 11g upgrade? Still be usable?Customized objects get migrated as well. Certain types (e.g. PL/SQL item types) need to be checked after upgrade as the behavior of the PL/SQL code may differ between database versions. This is particularly of concern when the 10.1.4.x Portal uses a 10.1 database. A database upgrade to either 10.2, 11.1 or 11.2 is necessary as Portal 11g is not supported with RDBMS 10.1.
    Customer use PDK to develop many portlets in 10g. Can they use JDeveloper 11g to migrate their old project to 11g automatically?Never done this, but the Portal framework is able to consume JPDK providers which are running in older versions of the toolkit. If the providers are running in standalone OC4J containers, you would be able to upgrade the framework and keep the providers in their OC4J containers. This will allow you to focus on the framework first and worry about your providers later.
    Thanks,
    EJ

  • Oracle 10g to 11g Upgrade - Oracle Clusterware problem

    Oracle10g RAC (2 Nodes) RHEL 4 64bit
    Hi All,
    I have began the procedure for upgrading Oracle Clusterware to 11g. However, during the install OUI was giving me certain error messages like it couldn't transfer the OUI installlogs to node 2. Well, I kept pushing through the install and after I ran the last rootupgrade script on node 2 it gave me the following error:
    Checking the existence of nodeapps on this node
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Creating '/crs/home/install/paramfile.crs' with data used for CRS configuration
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Failed to retrieve VIP details
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/ops/opsctl/OPSCTLDriver (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Failed to retrieve VIP details
    Setting CRS configuration values in /crs/home/install/paramfile.crs
    So I ignored the error for the time being and after that I checked the status of crs and it gave me the following:
    [oracle@vtl-rac2 crsd]$ crsstatus
    HA Resource Target State
    ora.VMRACDEV.VMRACDEV1.inst ONLINE ONLINE on vtl-rac1
    ora.VMRACDEV.VMRACDEV2.inst ONLINE ONLINE on vtl-rac2
    ora.VMRACDEV.db ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
    ora.vtl-rac1.ons ONLINE OFFLINE
    ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
    ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
    ora.vtl-rac2.ons ONLINE OFFLINE
    ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
    So i tried to bring it back up by doing a crs_stop -all and crs_start -all and it gave me the following error:
    vtl-rac1 : CRS-1019: Resource ora.vtl-rac2.ons (application) cannot run on vtl-rac1
    Start of `ora.vtl-rac1.ons` on member `vtl-rac1` failed.
    vtl-rac2 : CRS-1019: Resource ora.vtl-rac1.ons (application) cannot run on vtl-rac2
    CRS-0223: Resource 'ora.VMRACDEV.db' has placement error.
    CRS-0215: Could not start resource 'ora.vtl-rac1.ons'.
    CRS-0215: Could not start resource 'ora.vtl-rac2.ons'.
    I am thinking that all of this is caused by the various issues I had with the install. If I am incorrect, then please let me know. If it is true, I would like to know if there are any 11g docs on how to clean up a failed clusterware upgrade. Any advice would be greatly appreciated on any of the situations I am having.
    Thank you

    Hi Chandra,
    Did CVU report any problems before the upgrade?No, there were no errors reported by CVU before the upgrade.
    I don't there is note out there for cleaning 11g CRS
    install...and I think can very use the 10g CRS note -
    239998.1.Yeah I might have to go that way.
    I have both the 11g CRS install and upgrade from 10g
    to 11CRS at
    http://chandradba.blogspot.com/2007/08/oracle-11g-rac-
    install-on-red-hat-50.html
    and
    http://chandradba.blogspot.com/2008/02/oracle-10g-crs-
    upgrade-to-11g-crs.html
    see if it helps.Yup, your guide is very simple, clear and error proof :) That's how mine when pretty much except right around 75% I started getting these strange errors of files not being able to be transferred to node 2. Anyways, it shouldn't be a problem as none of those errors were configuration related...or else I would have a messed up cluster.
    Well, I actually rebooted both machines and now the whole CRS stack is up!! So I guess I am ok. We'll just have to wait and see.
    Thanks for your help Chandra...I always appreciate it.

  • OBIEE 10g to 11g Upgrade Project plan

    Hello All,
    I am a technical consultant working on OBIEE/OBIA and the management needs a project plan for upgrading OBIEE suite 10g to OBIEE 11g (11.1.1.6).
    Can you please share some details as -task list and approx hours required. I have a rough idea of task list in terms environment setup, installations, configuration, custom code migration, testing etc. I want present a professional plan that is being followed by others. Dont want to look odd one out. Your help is appriciated.
    Thanks you !

    See this in the log:
    *02712: Expected oracle.biee.admin:type=BIDomain.BIInstance.ServerConfiguration,* Oracle instance, found 0*
    You will have to look into why the upgrade utility isnt seeing any instance recognized - it will only work with 1 instance registered and for some reason it cant find any in your configuration.
    You could try looking in Oracle® Fusion Middleware Error Messages Reference 11g Release 1 (11.1.1.6.0) for details on the error.
    Ensure the service instance name is present in jps-config.xml.

  • OBIEE 11g - Upgrading Simple Install to Enterprise Install.

    Hi Experts,
    I have a OBIEE 11g instance in Simple Install. Is there a way to Upgrade the same Instance to Enterprise Install without Uninstalling and Reinstalling.
    Thanks
    Swami

    no you cant upgrade from simple to enterprise..you have to do a full install

  • Issues expected in oracle 9i/10g to 11g upgrade

    Hi.
    We are planning to migrate some 95 odd applications from Oracle 9i/10g to 11g. The upgrade method we are planning to use is to setup 11g target servers and move databases from source to target using import/export. Then do the necessary changes in the app code and connect the application to the new target server and test.
    The source OS may be RHEL 3/4/5 or Solaris 8 and target OS will be RHEL 4/5 or Solaris 10.
    My questions are:
    1. What can be the expected database side issues possible while moving the structure+data+views/sps etc from old version to new version using import/export.
    2. How much time may it take to move the database from source to target for say a 100GB database?
    3. Will the change of OS have any implications on the movement from source to target?
    4. What are the application side issues possible considering that most apps use odbc/jdbc to connect to the datastores?
    5. Can any application side inline queries be affected?
    6. Will there be any changes to the column data types from 9i/10g to 11g which can impact the code?
    Thanks,
    Vipul Shah
    Edited by: 885362 on Sep 15, 2011 1:31 AM
    Edited by: 885362 on Sep 15, 2011 1:39 AM

    1. What can be the expected database side issues possible while moving the structure+data+views/sps etc from old version to new version using import/export. If you complete the steps in (Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0.2) [ID 881505.1]) please see these docs.
    After RDBMS Upgrade To 11gR2 In An Applications 11i Environment: ORA-20000 DRG-100[51021],[Drwaf.C],[1605],[],[] ORA-4088 [ID 1104963.1]
    Running adbldxml.pl On DB Node Fails With Unsatisfiedlinkerror Exception Loading Native Library: njni11 [ID 1183373.1]
    Adstats.sql Fails While Upgrading Database to 11gR2 [ID 1232853.1]
    Ad_parallel_compile: Ora-01031: Insufficient Privileges in adadmin / re-create grants and synonyms for APPS schema after upgrade from 10gR2 to 11gR2 [ID 1148264.1]
    Ad_parallel_compile: Ora-01031: Insufficient Privileges in adadmin / re-create grants and synonyms for APPS schema after upgrade from 10gR2 to 11gR2 [ID 1148264.1]
    2. How much time may it take to move the database from source to target for say a 100GB database? Depends on many factors -- Try this on a test instance with similar hardware configuration and setup to production to estimate the time.
    3. Will the change of OS have any implications on the movement from source to target?No, but you may relink the executable files -- How to Relink Oracle Database Software on UNIX [ID 131321.1]
    4. What are the application side issues possible considering that most apps use odbc/jdbc to connect to the datastores? If you run AutoConfig with no errors when there should be no issues with ODBC/JDBC connectivity.
    5. Can any application side inline queries be affected? It should not be affected expect if you custom code use some features which are no longer available in 11g database.
    6. Will there be any changes to the column data types from 9i/10g to 11g which can impact the code?Typically no, however you need to do full and proper testing to verify.
    Thanks,
    Hussein

  • SQL strange behavior after 11g upgrade

    Hi all,
    After upgrading from 10.2.0.3 to 11.2.0.1 (64-bit RedHat), one of my SQLs behaves very strangely.
    These are the facts:
    - This is upgrade evaluation phase in 'lab' environment
    - First run (after db restart) returns results very quickly (acceptable 0.4 secs)
    - Every consecutive run is very slow (3-4 minutes)
    - Explain Plan did NOT change between runs;
    - Number of 'consistent gets' changed drastically (from few thousands to few millions) ...which would usually lead to inefficient data access plan (index), but again, the explain plan did not change!
    - If I flush shared_pool, next run is quick again, and the story repeats ... flushing shared_poll is possible in test system only, it's out of question for prod system of course
    - All above happens in 'lab' environment, i.e. no multi-user load yet ... practically 'one-session' system
    - I have tried both AMM and ASSM memory management(s) and same problem happens regardless (my old 10g database uses ASSM and I am trying to implement ASM in new 11g db)
    - On same server, the SQL in question performs correctly if I run it in 10g environment;
    - I have updated my 11g Oracle software/db with the latest CPU;
    In addition, I have played with 'result cache' in 11g, and putting 'result_cache' hint in my sql resolved the issue. But that will open a lot of new questions for implementation in real app environment ... so at this moment, I don't want to evaluate result cache ...if I don't have to
    I am thinking to try this on another server and eliminate eventual issue with some kind of faulty memory on existing server ... after that - to open ticket with Oracle ...
    Any similar experience out there? Any thoughts?
    Thanks a lot ...

    Welcome to the forums !
    How to post a tuning request
    HOW TO: Post a SQL statement tuning request - template posting
    When your query takes too long ...
    HTH
    Srini

Maybe you are looking for

  • Partition Pruning - Dimension and FACT tables..

    Hi I have a DWH environment where we have partitioned the FACT table by a date column. This is RANGE partition. The TIME dimension table joins to the FACT table based on this date. However the end user queries will typically be fired using a differen

  • Sccm 2012 multiple language reports from mbam integration

    I installed mbam on my sccm 2012 primary server and all went well with one exception.  The reports have multiple languages.  In the reports folder that houses the mbam reports, there are multiple folders for the four mbam reports, so I have about 10

  • Photoshop/Lightroom CC question

    I'm thinking about getting the Photoshop/Lightroom 9.99 package, but I already own and have installed a current copy of Lightroom 5. Could this result in any problems when I download the cc version of Photoshop/Lightroom. If so, what should I do to a

  • Unable to get Zero Phase shift after filtering PWM

    Hi, After filtering the PWM signal i'm not getting the exact shape of Sine wave, i'm using the Zerophaseshiftfilter.vi in the blockdiagram.I've also attached the resulting waveforms that i'm getting. Anybody help me out. Thanks sayaf Attachments: PWM

  • How to add sound to the general error handler

    I'm looking for an easy way to create an audible indication (a beep or something) when the general error handler displays an error message.  Anyone have any suggestions?? Solved! Go to Solution.