Sequences under RAC

Does anyone have any general/specific recommendations for the 9300 sequences in EBS under RAC?
Jeff

In RAC environments, it is always suggested to cache the sequence number to avoid the concurrent updates on the data dictionary because of sequence generator. If cluster databse is processing heavy workload then database sessions may have to wait on SQ enqueues if sequences are not cached. If you want ordered sequence number then you can use 'CACHE ORDER' of sequence. If there is no such requirement of ordered sequence number then 'CACHE NORDER' is the best trade.
Thanks & Regards
-Harish Kumar Kalra

Similar Messages

  • Auto Run sequence under batch processing

    How to auto run sequence under batch processing in a period of time, by scripting or any pre-installed mode?
    Thanks!

    Because by default it is 2*sort_area_size
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96536/ch172.htm
    And sort_area_size by default is 65536
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96536/ch1198.htm
    Gints Plivna
    http://www.gplivna.eu
    Message was edited by:
    gintsp
    Added info about sort_area_size

  • Ordered Sequences in RAC

    We are currently in the process of migrating a single database to a RAC database under an aggressive time line. One of the issues we're currently facing is the use of sequences by our application. Various components of our app require ORDERED sequences (...terrible dependency, actually), and since these components can now connect to multiple instances with separate SGA's (with separately cached sequences), they produce bad results... fail!... "break"... Nothing new...
    Because of the aggressive time line, modifying each component in the application is not feasible.
    We've come up with a "temporary" solution:
    *1. Create a service called SEQSRV that is defined as having a preferred instance: INSTA and and available instance: INSTB with a TAF policy of BASIC.
    2. Create the necessary TNS entries for the service.
    3. Create a database link (SEQ).
    4. Create (recreate) the sequence(s) with appropriately tuned CACHE value NOORDERED (because they will be ORDERED by virtue of accessing only one instance).
    5. Create a synonym from the sequence(s) incorporating the database link
    sql> create synonym <synonym_name> for <sequence>@SEQ
    * - in case we have an issue with INSTA, requests will fail over to INSTB.
    I've tested this with a few options:
    a. CACHE=20, 5000, 1000000
    b. ORDERED, NORDERED
    c. from multiple concurrent clients.
    d. 'select sequence_synonym.nextval from dual' in a loop for iterations: 50, 5000, 2000000
    The test results showed solid performance for all runs, and the trace indicated a DSF locks were proportional to (CACHE/number of iterations). On higher iterations, there was a bit of recursive sql along with the usual TNS-related wait information, but nothing indicating poor performance.
    Can anyone comment on this? Is our logic flawed? Any suggestions? Anything?
    Jeffrey Frey
    Sr. Oracle DBA
    BondDesk Group Llc
    Edited by: jjfrey on Feb 11, 2009 12:17 PM

    Absolutely, the requirement "just" ordered... gaps are permitted between (for whatever reason), as long as the application's threads see chronologically incremented values.
    I'll be sure to test the TAF policies before implementing, when I test failover scenarios... thanks! great suggestion.
    So far, my most extreme test has been two simultaneous connections running 2,000,000 iterations of nextval ... results were comparable to a single without database links (with a few minor tweaks on CACHE value). Nothing in our application comes close to this kind of abuse; however, there are components that run 4 and 5 threads deep, but their requests for nextvals are typically more "serialized" and throttled by other factors (batch processing, AQ etc).
    As for busy database links, I have no issues increasing the number of sockets (distinct links) and grouping accordingly to avoid contention... will require some effort, but... effort is in the job description, right?
    Still think its feasible?
    Jeffrey

  • Sapinst under RAC 11.2 using ACFS and ASM

    Hi all,
    we are actually doing some installationtests (BankingService-Netweaver 7.02) ) on a 2Node-RAC-Cluster with the actual sapinst based on OEL 5.5, Oragrid 11.2.0.2 and OracleBin 11.2.0.2.
    We doing a HA-Installation and we put all "DB-related" files in ASM.
    We put all failovercritical Filesystems on ACFS.
    We are no ASM-mirroring (but SAN-based)
    Of course we know that this combination is not (yet) SAP-certified - but it works fine.
    We are using different Oracle-Users" as grid-ower (oragrid) and "DB-owner" (standard: ora<sid>).
    We faced some privilege-problems regarding the cluster-ressources for ora<sid> -> apart from that the installations run without any issues.
    As sapinst asked for the sapdata-directories, we answered with the ASM-structure.
    So sapinst creates the +ASM-dierectories (if he what to...) and puts the coresponding create_sql-commands towards the DB, which where corectly interpreted against ASM.
    So here some questions:
    does anybody know, when there will be a sapinst with complete ASM-support?
    should we use just one oracle-user?
    is there a naming-standard for the RAC-instances?
    are there brtools availbale with complete ASM-support?
    Thanks and Regards
    Thomas

    Hi Sebastian,
    I knew this presentation and I'm waiting for 7.03...
    This is the newest sapinst, I can find under NW7.0:
    SAPinst build information:
    abi version : 722
    make variant: 720_REL
    build       : 1201786
    compile time: Nov  5 2010 02:07:45
    Do you think, this is already the right one?
    Thanks
    Thomas

  • Sequence in RAC

    Hi
    I am new for RAC environment
    My new database will create in RAC environment
    In my database table,we are using sequence in many place
    so what are the step i want to take when i create sequence
    Please any one help me
    Regards
    Makesh

    Hi,
    Check this sample questions explanation on oracle site.
    Sequences and Oracle RAC
    The use of sequences in Oracle Real Application Clusters (Oracle RAC) is much the same as it is for single-instance Oracle databases, but there are certain Oracle RAC-specific issues. With two or more database instances, sequences may require coordination to guarantee that the sequence numbers are allocated in the correct order.
    Which of the following are always true regarding the use of sequences in an Oracle 10g RAC database? (Pick two.)
    A. It is not possible to use the CACHE option, because each database has a row cache.
    B. Sequence numbers may be out of order if multiple instances run the application program that uses the sequence.
    C. Sequences add no extra overhead to traffic over the interconnect.
    D. Using the CACHE and NOORDER options together results in the best performance for a sequence.
    The correct answers are B and D.
    Answer B is correct because if the CACHE option is used without the ORDER option, each instance caches a separate range of numbers and sequence numbers may be assigned out of order by the different instances. Answer D is correct because the CACHE option causes each instance to cache its own range of numbers, thus reducing I/O to the Oracle Data Dictionary, and the NOORDER option eliminates message traffic over the interconnect to coordinate the sequential allocation of numbers across all instances of the database.
    Answer A is incorrect because even though each instance has a row cache, it is still possible to use the CACHE option with sequences. In such a case, each instance may cache numbers for that sequence in its row cache. Answer C is incorrect because if the CACHE and ORDER options are used together, all instances must allocate numbers in order by coordinating the assignment of the next value, using messages over the interconnect, thereby increasing interconnect traffic in proportion to the frequency of new-number assignment.
    Hope it explains

  • Startup and shutdown sequence in RAC on Linux

    I am trying to understand the start-up and shutdown sequence in 11g R2 RAC on Linux(OEL5.8).
    can you please share me docs or sequence.

    Hi Friend,
    Example : Two node RAC. RAC1 and RAC2 instances.
    Stopping RAC2 Instance :
    =========================
    1. Shutdown the Instance running on RAC2
    2. ./srvctl stop asm -n csbppmaadbs02
    3. ./srvctl stop nodeapps -n csbppmaadbs02
    4. ./srvctl stop listener -n csbppmaadbs02
    5. Check "./crs_stat -t"
    Note 1 : Check the following also for healthy status & If any service of RAC that also we have to check.
    6./crsctl check crs
    CSS appears healthy
    CRS appears healthy
    EVM appears healthy
    Starting RAC2 Instance
    =========================
    1 ./srvctl start nodeapps -n csbppmaadbs02
    2 ./crs_stat -t
    3 ./srvctl start listener -n csbppmaadbs02
    4 ./srvctl start asm -n csbppmaadbs02
    5. Start the Instance of RAC2
    6. ./crs_stat -t
    Hope it helps...
    Thanks
    LaserSoft

  • Log sequence in RAC database

    10.2 Doc. says: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta008.htm#RCMRF106
    >
    Although the SEQUENCE parameter does not require that THREAD be specified, a given log sequence always implies a thread
    >
    Does this mean that the log sequence is unique for all threads ? If not what does this sentence mean ?
    Note that in my 10.2.0.1 RAC database log sequence is unique only for a given thread:
      1  select thread#, sequence#, name, status
      2  from v$archived_log
      3  where sequence# between 34 and 35
      4* order by sequence#
    SQL> /
       THREAD#  SEQUENCE# NAME                                                         S
             1         34                                                              D
             2         34 /u02/fra/RAC/archivelog/2010_08_20/o1_mf_2_34_66xb2ttb_.arc  A
             1         34 /u02/fra/RAC/archivelog/2010_08_20/o1_mf_1_34_66xcgmbn_.arc  A
             2         35 /u02/fra/RAC/archivelog/2010_08_20/o1_mf_2_35_66xb48b8_.arc  A
             1         35 /u02/fra/RAC/archivelog/2010_08_20/o1_mf_1_35_66xcgkk0_.arc  A
             1         35                                                              D
    6 rows selected.

    I sent mail to the writer and got this in reply:
    The sentence will be rewritten to state that: "When you do not explicitly specify a thread number with the sequence number in the command, thread number 1 is used."
    -----------------

  • Keep Sequences in Shared Pool for RAC Environment

    Hi,
           We have 2 node RAC setup for production environment. I want to pin cached sequences in my database. We are using following command for this purpose.
    EXEC DBMS_SHARED_POOL.KEEP('HR.MySeq','Q');
    Do I need to execute this command for each single node?

    Pinning is in the Shared Pool in the SGA.  So it is local to an instance.
    Therefore, you would need to execute it in each instance (i.e. on each node).
    Note :  However, with sequences in RAC, you have to be careful with the definition.  Have you defined it or do you need to define it as CACHE/NOCACHE ?  Have you defined it or do you need to define it as ORDER (to guarantee order generation in RAC) ?
    Hemant K Chitale

  • Finding the name of my teststand sequence in the process model

    I would like to be able to find the file path and name of a teststand sequence in the process model. I have created a simple vi which will display this information when run in a sequence. If i insert the vi into the process model, the file path and name returned is that of the process model and not the sequence under exectution. Is there a way of extracting this information in the process model?

    Davepar -
    If you are executing in the process model you can use the following as a lookup string if you are in the root context "RunState.ProcessModelClient.Path" or "RunState.Root.RunState.ProcessModelClient.Path" if you are not in the root context.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Error while relating sequence to a table

    thanks for a quick reply.
    i incorporated the suggestions that i got from here and i am getting the following error while i am trying to create a trigger:
    ERROR at line 1:
    ORA-04089: cannot create triggers on objects owned by SYS
    It is pretty self-explanatory but I dont know why I am getting this error. I am connected as sys/change_on_install as SYSDBA
    Help please!!
    Mahesh

    Mahesh,
    Hehehe well I had a little chuckle here after reading that. Don't create objects as SYS, that be a bad thing, unless your an elite hax0r.
    First make a new user and create that table and trigger and sequence under this new user. The create user syntax is below. It is wise to make a user also that has DBA privs, so you don't need to be connecting as SYS (The syntax below makes a DBA user). This is very helpful if your forget your SYS password (which you really should be changing).
    Note that you will have to specify the new user name, password, and in particular the TABLESPACE this new user will be making objects in. I put USR as it, but check to see if you have this tablespace or find one to make objects in, because right now your makeing tables in the SYSTEM table space which is a baaad thing.
    DROP USER "U_TYLER";
    CREATE USER "U_TYLER" IDENTIFIED BY "MY_PASSWORD_HERE"
    DEFAULT TABLESPACE "USR"
    TEMPORARY TABLESPACE "TEMP"
    PROFILE DEFAULT ACCOUNT UNLOCK;
    GRANT "CONNECT" TO "U_TYLER";
    GRANT "RESOURCE" TO "U_TYLER";
    GRANT "DBA" TO "U_TYLER";
    ALTER USER "STB" DEFAULT ROLE ALL;
    GRANT CREATE SYNONYM TO U_TYLER;
    GRANT DROP PUBLIC SYNONYM TO U_TYLER;
    GRANT CREATE PUBLIC SYNONYM TO U_TYLER;
    Reply back if your still having some troubles, cause we love to help people worldwide :).
    Tyler

  • The latest QT 10 player doesn't open image sequence anymore?

    I recently upgraded to snow leopard. I found the QT10 came with it has no "open image sequence" under the File menu.
    My old QT7.6.6 player has this wonderful feature.
    Can someone explain what's going on? Thanks.

    I just noticed the same problem. However, I did do a Time Machine backup before I upgraded and was able to restore the previous version of QuickTime as well as keeping the new version. I've just tested the 'Open Image Sequence' on the old version and it appears to work fine.

  • Sequence generation issue

    Hi , I am working in Healthcare industry . we have a claim and payment matching process . Every day 1.5 million payments get matched with 70 million claims and the matched payments are stores in some output table . After matching, an oracle seqence number is generated for each matched record and that is the primary key for the output table.
    Match query will be like this,.
    Select seqeunce1.nextval,a.column1,a.column2,b.coulmn1,b.column2 from claim_table a, payment_table b
    where a.column3=b.column3
    We are facing some seqence problem here. some sequence are missed during the first day and the missed sequnces are getting generated in the second day.
    Sequence Query:
    CREATE SEQUENCE ERA_CLAIM_MATCH_S
    START WITH 1
    MAXVALUE 999999999999999999999999999
    MINVALUE 1
    NOCYCLE
    CACHE 500
    NOORDER;
    Example to demonstrated the problem:
    Day 1(15th July) : sequence generated from 1 to 1000000 (some sequence are missed in between)
    Day2 (16th July) : sequence generated from 2500 to 2000000 (some missed sequence in day 1 are generated here)
    Our database in in RAC system.

    Hemant K Chitale wrote:
    I think that the question is : If the highest value generated on Day 1 was 1000000,  how could a value of 2500 be generated on Day 2 ?
    Shouldn't happen if the Sequence is a NOCYCLE.Hemant, but that is possible if Day 1's processing used the sequence on RAC instance 1 - whereas on Day 2, RAC instance 2 (with unused cached sequences from yesterday) is used.
    E.g.
    // on node 1
    SQL> create sequence testseq start with 1 increment by 1 nomaxvalue nocycle;
    Sequence created.
    SQL> select testseq.nextval, sys_context( 'user', 'instance_name' ) as instance from dual;
       NEXTVAL INSTANCE
             1 dev_1
    // on node 4
    SQL> select testseq.nextval, sys_context( 'user', 'instance_name' ) as instance from dual;
       NEXTVAL INSTANCE
            21 dev_4
    // on node 1, use the sequence a couple of times
    SQL> declare i integer; begin loop i := testseq.nextval(); exit when i > 100000; end loop; end;
      2  /
    PL/SQL procedure successfully completed.
    SQL> select testseq.nextval, sys_context( 'user', 'instance_name' ) as instance from dual;
       NEXTVAL INSTANCE
        100002 dev_1
    SQL>
    // on node 4, check the sequence
    SQL> select testseq.nextval, sys_context( 'user', 'instance_name' ) as instance from dual;
       NEXTVAL INSTANCE
            22 dev_4

  • DISM error under WinPE

    Hello there,
    I have a problem with when I want to use DISM.exe during a Task sequence under WinPE.
    I run the following scripts under WinPE: (Run Command Line Task Sequence with Package)
    Powershell.exe -Command Set-executionpolicy remotesigned
    start "Regional Settings" /wait Powershell.exe -File "%CD%\Regional_Settings\Regional_Settings.ps1"
    $SMS = New-Object -ComObject Microsoft.SMS.TSEnvironment
    $PCName = $SMS.Value("_SMSTSMachineName")
    $PCName = $PCName.Substring(2,3)
    If ($PCName -eq "DEU") {$Lang = "de-DE"}
    If ($PCName -eq "FRA") {$Lang = "fr-FR"}
    If ($PCName) {Start-Process -FilePath "X:\Windows\System32\DISM.exe" -ArgumentList "/Image:C: /Set-UserLocale:$Lang /ScratchDir:C:\Windows\Temp" -NoNewWindow -Wait}
    I need the script to change the "UserLocale" based of the computer name.
    But when I run it I get the following DISM error log:
    2014-04-25 05:03:31, Info DISM PID=1332 TID=1700 Scratch directory set to 'X:\windows\TEMP\'. - CDISMManager::put_ScratchDir
    2014-04-25 05:03:31, Info DISM PID=1332 TID=1700 DismCore.dll version: 6.2.9200.16384 - CDISMManager::FinalConstruct
    2014-04-25 05:03:31, Info DISM PID=1332 TID=1700 Scratch directory set to 'C:\Windows\Temp'. - CDISMManager::put_ScratchDir
    2014-04-25 05:03:31, Info DISM PID=1332 TID=1700 Successfully loaded the ImageSession at "X:\windows\System32\Dism" - CDISMManager::LoadLocalImageSession
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Manager: PID=1332 TID=1700 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM.EXE:
    2014-04-25 05:03:31, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
    2014-04-25 05:03:31, Info DISM DISM.EXE:
    2014-04-25 05:03:31, Info DISM DISM.EXE: Host machine information: OS Version=6.2.9200, Running architecture=x86, Number of processors=4
    2014-04-25 05:03:31, Info DISM DISM.EXE: Dism.exe version: 6.2.9200.16384
    2014-04-25 05:03:31, Info DISM DISM.EXE: Executing command line: "X:\Windows\System32\DISM.exe" /Image:C: /Set-UserLocale:de-DE /ScratchDir:C:\Windows\Temp
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Loading Provider from location X:\windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Connecting to the provider located at X:\windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Loading Provider from location X:\windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Connecting to the provider located at X:\windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Loading Provider from location X:\windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Connecting to the provider located at X:\windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Loading Provider from location X:\windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Connecting to the provider located at X:\windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Loading Provider from location X:\windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Connecting to the provider located at X:\windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2014-04-25 05:03:31, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
    2014-04-25 05:03:31, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
    2014-04-25 05:03:31, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
    2014-04-25 05:03:31, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
    2014-04-25 05:03:31, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
    2014-04-25 05:03:31, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager
    2014-04-25 05:03:31, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
    2014-04-25 05:03:31, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
    2014-04-25 05:03:31, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
    2014-04-25 05:03:31, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
    [1332] [0x80070002] FIOReadFileIntoBuffer:(1415): The system cannot find the file specified.
    [1332] [0xc142011c] UnmarshallImageHandleFromDirectory:(511)
    [1332] [0xc142011c] WIMGetMountedImageHandle:(2568)
    2014-04-25 05:03:31, Info DISM DISM WIM Provider: PID=1332 TID=1700 [C:\_SMSTaskSequence\Packages\CF10019B] is not a WIM mount point. - CWimMountedImageInfo::Initialize
    2014-04-25 05:03:31, Info DISM DISM VHD Provider: PID=1332 TID=1700 [C:\_SMSTaskSequence\Packages\CF10019B] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Getting Provider VHDManager - CDISMProviderStore::GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2014-04-25 05:03:31, Info DISM DISM VHD Provider: PID=1332 TID=1700 [C:\_SMSTaskSequence\Packages\CF10019B] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
    2014-04-25 05:03:31, Info DISM DISM Imaging Provider: PID=1332 TID=1700 The provider VHDManager does not support CreateDismImage on C:\_SMSTaskSequence\Packages\CF10019B - CGenericImagingManager::CreateDismImage
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Getting Provider WimManager - CDISMProviderStore::GetProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    [1332] [0x80070002] FIOReadFileIntoBuffer:(1415): The system cannot find the file specified.
    [1332] [0xc142011c] UnmarshallImageHandleFromDirectory:(511)
    [1332] [0xc142011c] WIMGetMountedImageHandle:(2568)
    2014-04-25 05:03:31, Info DISM DISM WIM Provider: PID=1332 TID=1700 [C:\_SMSTaskSequence\Packages\CF10019B] is not a WIM mount point. - CWimMountedImageInfo::Initialize
    2014-04-25 05:03:31, Info DISM DISM Imaging Provider: PID=1332 TID=1700 The provider WimManager does not support CreateDismImage on C:\_SMSTaskSequence\Packages\CF10019B - CGenericImagingManager::CreateDismImage
    2014-04-25 05:03:31, Info DISM DISM Imaging Provider: PID=1332 TID=1700 No imaging provider supported CreateDismImage for this path - CGenericImagingManager::CreateDismImage
    2014-04-25 05:03:31, Error DISM DISM.EXE: Failed to access the image folder or image's windows folder.
    2014-04-25 05:03:31, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
    2014-04-25 05:03:31, Info DISM DISM.EXE:
    2014-04-25 05:03:31, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->
    2014-04-25 05:03:31, Info DISM DISM.EXE:
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
    2014-04-25 05:03:31, Info DISM DISM Provider Store: PID=1332 TID=1700 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
    The strange thing is that when I run the script manually under WinPE it works absolutely perfect.
    Also the log shows that it runs the correct command line:
    DISM.EXE: Executing command line: "X:\Windows\System32\DISM.exe" /Image:C: /Set-UserLocale:de-DE /ScratchDir:C:\Windows\Temp
    Thanks for your help!

    Three other comments:
    - Why set the execution policy separately? Just use the -executionpolicy option when calling the script.
    - Why are you using start? Start is only necessary if you need to control how something is launched. PowerShell is a valid executable so using start adds a layer of indirection that can actually cause issues with things like the current directory passed
    to command-line being called.
    - Why are you using DISM for this? Setting the values (dynamically) in unattend.xml is easier:
    http://scug.be/sccm/2010/02/02/sccm-windows-7-deployments-amp-unattended-xml/
    Jason | http://blog.configmgrftw.com

  • Why do 2 diff. undo tablespace required in RAC

    Hi -
    1 - I can understand that we do require 2 diff. log files as 2 process can not write on the same redo log files.
    But I could not understand the logic of using 2 diff. undo tablespaces, when tablespaces can be in shared mode.
    They what is the reason of using 2, why can we not have only one undo tablespace in RAC.
    2 - Is there any way to check if one particular instance is running under RAC, Can this be confirmed if instance
    has got extra process like Lms Lmd ...
    your help would be appreciated and apologies for my poor english.
    Regards,
    Lyxx

    Each instance needs its own rollback segments to manage read consistency.
    When you set undo_tablespace=UNDOTBS, you tell the instance to self manage the tablespace UNDOTBS and do dynamic creation of rollback segments.
    This management of undo tablespaces is not "instance shareable". That's why you need 2 undo tablespace (for a 2 node RAC).
    If it's a problem for your environment (don't know why), you can create a single "rollback tablespace" and manage yourself the rollback segments.
    Christophe
    Edited by: willier on 11 sept. 2008 02:44

  • Disk Layout for a RAC deployment on a shoe string

    Hi, not sure if this is better placed under RAC or Linux group.
    I am planning a demo RAC system using 2 linux servers and due to stingy managers, the smallest budget ever imagined !
    I will have the 2 servers networked but am looking at a cheapo disk setup ( excluding virtualisation and SAN/NAS ). I currently have
    Server A and Server B
    Each has an Internal disk of 250 Gb – I am going to place the linux OS on here, the 11gR2 Oracle Grid Infrastructure Home and the 11gR2 Enterprise Edition Oracle Home
    Q1. Since the local server is where the Oracle Instance runs – would I be correct in assuming this is where the SPFILE for the instance goes as well i.e. Server A and B will both hold an SPFILE in the 11gR2 ORACLE_HOME ?
    Q2. What else should be stored on the local server – all the usual logs etc ( eg the instance alert log etc ) ? Is it normal to put a copy of the database control file on each local server ?
    My plan was to carve up the 250 Gb disk into a root partition ( for Linux ) and a /u01 partition for the Oracle Grid Infrastructure Home and the Database Oracle Home
    I was then going to use the remainder of the 250 Gb Disk in Server A as the shared disk ( for RAC ) between the Servers.  I am going to attempt to NFS mount the remainder of the 250 Gb disk on Server A ( disgusted I have no budget for NAS ! ), so Server B will have access to it.
    What I was not sure about is –
    Q3. in regards to ASM Disk Groups, I wasn’t sure if ASM can discover disk space for use, once it has been mounted as a standard file system ( or in my case as an NFS mount ) ?
    Q4. How does ASM interact with standard file system mounts ( if at all ) ?
    Q5. If a physical disk has some standard filesystems mounted on it, can ASM use / discover any remaining part of a disk that has not been configured as a filesystem ?
    Q6. I am assuming the FRA is better placed on the Shared Disk ( so both nodes have access to it ) ?
    Any guidance would be appreciated,
    Jim

    This won't be a RAC, Jim.
    What are you going to use as Interconnect? Do these machines have a 2nd physical NIC? You realise that crossover Ethernet cables are not supported. Is this Gigabit Ethernet? RAC Interconnect over a 10 or even 100 Mb/s  Ethernet, is significantly below par.
    Where are the OCR and Voting Disks going to reside?
    ASM is in my view, mandatory. It makes no sense not using ASM for RAC. ASM needs raw devices to use. It does not run on cooked file systems. NFS shares the latter.
    If NFS is used, over what IP layer is it going to run? The same as the Interconnect? Which would be  an irony as the the RAC db cache is now using the same transport layer as it does for physical I/O - both are over slow Ethernet vying for the same bandwidth.
    RAC is only as sound and as robust as the h/w it is build on. Stuff up with the hardware and you WILL have an inferior and unstable RAC. Accompanied with utter frustration as it will not work the way it should.
    IMO - the ONLY way one can build a 2 server RAC without a SAN or NAS, is with Firewire. Using a shared Firewire 800 disk that supports 2 separate servers at the same time. And then use this Firewire disk as shared storage. This is not supported by Oracle for production use - but past support notes did say that this is a config that can be considered for a dev type RAC. 
    If the 2 servers do not support Firewire 800, then 2 x Firewire 800 PCI cards (and cables) are needed, in addition to the Firewire drive.

Maybe you are looking for