Opinions and help needed Pls.

I am seeking some opinion and help.
I need to setup and control both 9i and 10g databases using EM.
The 9i databases will also be DataGuarded . I have successfully tested this using 9i EM with a repository
and Intelligent Agents and the DataGuard Wizard to create logical standby databases. An interesting experience.
Now that our first 10g database is in development, I would like to control it in a similar fashion. It will 'go' production
in November and will also need to be DataGuarded.
I am aware that each 10g Instance can have it's 'own' web interface, but to use the Dataguard wizard, I will need to use Grid control.
Q1. Can someone confirm or refute that Grid control, with it's own applicaton server & DB instance, is permitted
without ANY additional licenses at all, provided it is being used to control
other fully licensed EE databases only?
Q2. As 10gR1 Grid was the first release of the product, and we will be controlling 10gR2 databases (apparently patch 10.1.0.4 can do it),
do YOU think we should use 10.1.0.4 GC now,
or just use the 9i EM product and 10g Dataguard Broker command line tool 'DGMRGL' (not tested here yet), and wait for the 10gR2 GC hopefully early next year?
Below are all the processes that were started by installing 10G grid (10.1.0.3) in Solaris 64.
I will be attempting to apply the 10.1.0.4 EM Grid patch to this and controlling a 10.2.0.1 DB.
I have successfully connected to the Grid Control ("as is" installed 10.1.0.3) using netscape.
( initially using http://localhost:7780:em which automatically became http://dandrutl02:7780/em/console/logon/sdk/incompatible;jsessionid=c0a89b1fce6b5d53d63770647e38909ad251f1b02be.n65In79Pr6KKaxCNaN0McybtahyM-x4Qc2SLbhiIaN4Iah1vbA5zawSLa3mPn39AahqQb2SHbQnAnwb5pBfzqB1Molbzhk5Imkrzqx0In65In79Pr6KKawaLaxiKc3uPbxeM8OexhOaOgzX5hgbynknvrkLOlQzNp65In0__ ) Click ok a few times.....
Eventually I get to "http://dandrutl02:7780/em/console/logon/logon" and can login OK.
I have successfully installed an agent for 10g GC on a remote host, and can control it from the Grid host. It could control
a 9.2.0.7 instance on the remote host. 10.2.0.1 is also installed on the remote host but no Db has been created yet.
Now, can someone tell me the commands I need, - and the correct order - to:
Q3. Stop all Grid Web, application server, database, and local agent processes on the Grid host.
Q4. Start-up of same.
Q5. Start and stop of processes for the Grid Agent on the Remote agent host.
Q6. What is the preference for the installation order of the 10g Agent and Oracle 10gR2 software ?
Grid master processes
============
/data/oracle/product/10.1.0.4EM/opmn/bin/opmn -d
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
ora_qmn0_REPOS10
/data/oracle/product/10.1.0.4EM/jdk/bin/java -Xmx256m -Doracle.ias.sysmgmt.logg
/data/oracle/product/10.1.0.4EM/bin/tnslsnr LISTENER -inherit
ora_dbw0_REPOS10
ora_lgwr_REPOS10
ora_pmon_REPOS10
ora_reco_REPOS10
/data/oracle/product/10.1.0.4EM/opmn/bin/opmn -d
ora_smon_REPOS10
ora_cjq0_REPOS10
ora_ckpt_REPOS10
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/jdk/bin/java -server -Djava.security.policy=/da
/data/oracle/product/10.1.0.4EM/webcache/bin/webcached -A -OPMN -U 1250885641
/bin/sh -c /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/o
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/oracle/produ
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/oracle/produ
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/bin/sh -c /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/o
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/oracle/produ
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/jdk/bin/java -server -Xnoclassgc -Xmx256m -DORA
/data/oracle/product/10.1.0.4EM/perl/bin/perl /data/oracle/product/10.1.0.4EM/b
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/bin/emagent
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/jdk/bin/java -server -Djava.security.policy=/da
oracleREPOS10 (LOCAL=NO)
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
ora_j000_REPOS10
ora_j001_REPOS10
ora_j002_REPOS10
ora_j003_REPOS10
ora_j004_REPOS10
ora_j005_REPOS10
/bin/sh /data/oracle/product/9.2.0.6/bin/dbsnmpwd
/opt/local/sbin/sshd
/data/oracle/product/9.2.0.6/bin/dbsnmp
oracleREPOS10 (LOCAL=NO)
oracleREPOS10 (LOCAL=NO)
oracleREPOS10 (LOCAL=NO)
oracleREPOS10 (LOCAL=NO)
oracleREPOS10 (LOCAL=NO)
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
oracleREPOS10 (LOCAL=NO)
-ksh
oracleREPOS10 (LOCAL=NO)
/data/oracle/product/agent/bin/emagent
oracleREPOS10 (LOCAL=NO)
oracleREPOS10 (LOCAL=NO)
/data/oracle/product/agent/perl/bin/perl /data/oracle/product/agent/bin/emwd.pl
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/webcache/bin/webcached -OPMN -U 1250885643
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
/data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
oracleREPOS10 (LOCAL=NO)
ora_j006_REPOS10
oracleREPOS10 (LOCAL=NO)
oracleREPOS10 (LOCAL=NO)
Grid AGENT host processes
==========
/data/oracle/product/10.1.0.4EM/bin/emagent
/data/oracle/product/9.2.0.6/bin/tnslsnr LISTENER -inherit
-ksh
/data/oracle/product/10.1.0.4EM/perl/bin/perl /data/oracle/product/10.1.0.4EM/b
/opt/local/sbin/sshd

Thank you for the reply, it go me working. Now some additional info and questions.
On a monitored host were I have both 9.2 and 10.2 databases installed, I was attempting to use just the 10.2 listener and the 10.1.0.4 agent to monitor everything. This worked.
I Installed 9.2 , 10.2 and 10.1.0.4 Agent software and started a 10.2 listener and 10.1.0.4 agent on a second Unix host.
But, when I attempted to set up a 9.2 DataGuarded logical databases to the second host, it failed and as far as I can tell it seems to be expecting that I will use a 9.2 listener for 9.2 DB's and a 10.2 listener for 10.2 Db's. (The errors were related to attempting to execute lsnrctl commands against wrong listener version).
Can someone confirm that Oracle expects that you will use multiple listeners (on different ports of course)?
I have also had some odd behavior from the 10g Grid application, only corrected by ending the session and restarting, but I am assuming that this is because Grid is still a relatively new product.
For clarity, I list the order of installation below. Can someone check that I have done it right?
host 1
Install 9.2.0.1 software.
Install Patches to same to get to our production level (9.2.0.4)
Install several patches related to EM and CritialPatchUpdates etc.
(as an aside, EM 9.2.0.6 with a management repository will control the above fine)
Install 10.2.0.1 software
Created a 9.2 and 10.2 test DB's.
Configure 10.2 listener for all Db's
host 2
Install 9.2.0.1 software.
Install Patches to same to get to our production level (9.2.0.4)
Install several patches related to EM and CritialPatchUpdates etc.
(as an aside, EM 9.2.0.6 with a management repository will control the above fine)
Install 10.2.0.1 software
management host
Install 10.1.0.3 grid control to new database
(Installes AS , creates a 9.0.? Db for the repository, Agent etc)
Install 10.1.0.4 grid patch to grid home
Install 10.1.0.4 grid patch to agent home
host 1
Install 10.1.0.3 grid agent
Install 10.1.0.4 patch to agent
host 2
Install 10.1.0.3 grid agent
Install 10.1.0.4 patch to agent
Whew! And Oracle thinks this is easy?
I am seriously considering using 9.2 EM and OMS for the DataGuard on 9.2 Db's only and 10G's database broker command line interface for the 10.2 stuff and banning use of 10g Grid control 10.1.
I Need a 10gGrid control 2.01 more stable, reliable, simpler, NOW.
Migrating a 9.2 OMS and repository to 10g Grid when it becomes usable will need to be possible.
You thoughts?

Similar Messages

  • Design Help - Cartoon Lion and Profile - Opinions and Help Needed

    Hey guys!
       FIrst of all, you rock, like all of you! This is one of the best online communities, I always get great help quickly. Thanks!
    Here is what's up, I am creating a "Children's" book for my wife and my one year aniversary (I know, puke, right?). Anywho, one of the charachters is a Lion (Named Louis, if you are interested). I have a great face and body for him but I am not sure about the profile shot... I can't tell if I am being a perfectionist or if it just sucks... What do you all think, what would you do differently? Thanks!
    Here are the PNG's
    Here are links to full size images and PNG's if you really want to dig in. You will notice that everything is layered, this is because I want to work with these as base sprites and then change facial expressions and what not from page to page.
    Lion.png
    Profile-Lion.png
    Lion.PSD
    Profile-Lion.PSD
    Thanks again!

    Ok... here he is with the snout... it certainly looks more realistic, but I am afraid it does not match the art style of the orrigianl where he is facing us. What do you guys think?

  • Urgent help needed pls regarding LOGO

    hello friends this is sudhakar . i really need help
    pls urgent
    i wrote scjp 5.0 certification in august and cleared succesfully
    i got all certificates but for logo i have to send the mail which cost me around 620/- rupess to them. but,
    can u any one tell how can v say to sun pupil tat i got all my cetificaties and i need the logo for my resume
    i heard we can do with online in www.sun.com only so can u help me out pls it is urgent.....

    http://www.sun.com/training/certification/faq/index.html#logos
    This part should be relevant to you -
    All customers that reside outside US and Canada: Once you have successfully passed one of our Java platform exams, a certification kit will be mailed to you that includes a Sun Logo Agreement. Please sign the agreement and mail it back to the address supplied. Depending from which country you mail the agreement, it may take up to month for you to receive the logo. We are currently working to provide an online logo for our International customers.
    This means you send the mail to them or wait for them to go online (which might mean months).

  • Urgent help needs - pls help me

    i have four group in my template.
    each group have subtotal at the end of it's group.
    after each group total, i need to display total (which is differance between current group and previous) right below of group total.
    and this difference need to show from second group.
    example -
    Group 1 Year
    A ( total amount for Group 1)
    Group 2 Year
    B ( total amount for Group 2 )
    Total differance C (which is B - A )
    Group 3 Year
    D ( total amount for Group 3 )
    Total differance E ( which is D - C)
    Group 4 Year
    F ( total amount for Group 4)
    total difference G (which is F - E)
    G G1
              G G2
    G 999.00E
    G1
    G 999.00
    <?xdoxslt:set_variable($_XDOCTX,’px’,xdoxslt:get_variable($_XDOCTX, 'y'))?><?xdoxslt:set_variable($_XDOCTX,’y’,xdoxslt:get_variable($_XDOCTX, 'x'))?><?xdoxslt:set_variable($_XDOCTX,’x’,sum ($G1[(./FISCAL_YEAR=current()/FISCAL_YEAR)]/AMOUNT))?>
    E
    <?xdoxslt:set_variable($_XDOCTX,’py’,xdoxslt:get_variable($_XDOCTX, 'y'))?>
    Val is
    Px is <?xdoxslt:get_variable($_XDOCTX, 'px')?>
    <?xdoxslt:get_variable($_XDOCTX, 'x')?>
    <?xdoxslt:get_variable($_XDOCTX, 'y')?>
    Diff is
    <?xdofx:xdoxslt:get_variable($_XDOCTX, 'y')-xdoxslt:get_variable($_XDOCTX, 'px')?>E
              E
    above code does not give me subtraction.
    in above code pls omit that --- http -- in code but mistake it display in post.
    any help is greatly appreciated.
    thanks.
    Edited by: user6767417 on Apr 3, 2009 5:02 PM

    Hi ,
    thanksfor reply me.
    your suggestion is working.
    but now it gives me differance between two column of same group.
    but i need differance between same column of differant group ?
    ant kind of helpis greatly apprecidated.
    thanks.

  • HELP NEED PLS

    I HAV A ZEN MICRO PROBLEM
    WHAT IS IS
    I CHARGE IT ALL NIGHT (VIA USB ON MY PC) & THIS MORNING THE BATT. IS DEAD SAYIN LOW BATT WHEN I PLUG IT OUT
    ITS ONLY STAYIN ON WHEN ITS ON CHARGE ...
    2
    WHEN ITS PLUGED IN & I TURN THE ZEN ON IT ONLY GOES IN TO THE RECOVERY MENU & I CANT GET OUT OF IT NO MATTER HOW MUCH I TURN IT OFF OR ON
    CUD SOME PLS HELP ME
    PS IM FRM THE UK
    CUD SOME ALSO GIVE ME A CUSTOMER SUPPORT NUMBER
    THE UK NUMBER ON THE SITE DONT WORK WHEN I TRY 2 CALL IT 4 SOME REASON
    THANKS IN ADVANCE

    robert,
    If your player are using firmware version ..0, then slide the lock switch to lock position when charging. If you are using other firmware version, the player would need to be properly recognize by the computer first before it will start to charge properly.
    It doesn't bode well if the player are stuck at the recovery mode. Have you try the cleanup option and then the reboot option.
    Jason

  • Contract Analysis Report - Help needed pls.

    Hi Gurus,
    I have below requirement.
    To analyze the contracts created in purchasing(in SAP). The report shall help to analyse the Contracts that are due to expire in next 12 months.
    Now I need a suitable datasource and business content ods/cube.
    Required characters are: Contract no, Vendor, Purchasing group, created on,start date,end date etc.
    Report to run for contract end date between today's date and next year. For ex if user is running report on 05-oct-2007, the report should display all the contracts having end date between 05-oct-2007 and 04-oct-2008.
    Please help me.
    Thanks,
    Sasi

    Hi
    Take the <b>VBRK-KNUMV field  and pass it to KONV-KNUMV</b> table field along with all the Condition types (KSCHL) fields to get the amounts (KBETR and KWERT) fields
    Regards
    Anji

  • I pod touch question..help needed pls.

    I have an I pod touch approx 3 yearws old. I have plugged it into my laptop and it says it it updated to the latest version.
    When I try to download an app it tells me that I need to update it. Then I go into itunes and it tells me that there are no updates.
    It is running 4.2.1 (8C148)
    Any advice pls?

    You have an iPod Touch 2nd gen which can only go up to iOS 4.2.1 so you have the latest version for your iPod.
    If you are trying to download Apps that require iOS 4.3 or later you will not be able to do so.

  • Agriculture Project - Advise and help needed

    Dear Gurus,
    I have done extensive preparation work for a project in Agriculture which is based on a cooperative model type from a SD module point of view (5 companies will share means of productions, labour, harvests), those 5 companies will rent the land divided into parcels to another 2 organisations that will not exploit the land but just rent it. 1 of those 2 companies will be trading from a SD perspective with suppliers to buy and sell production.
    I am looking for help and advise on how to best implement sales processes in SD.
    Being new to this forum and having never worked on an agricultural project, I am not sure if this forum is the best to get ideas, help,and why not set-up an online working group. So if I got mistaken, I apologize in advance and would kindly ask you to put me in the right direction.
    Alternatively, I would be very interested to hear where I can get best practices in implementing SD within a cooperative agricultural environment.
    Obviously, should you be interested and have some experience in the area above mentioned, I will be happy to give you more details.
    Kind regards
    Christian

    Dear Christian,
    You do not have to go to specific details of your process. The generic process can be dealt here.
    As a process owner, if you feel the processes are really unique, please let me know so that I can check this with concerned stakeholders of the forum.
    This might be of interest to them as the industry vertical here is new.
    Do let me know in case of any concerns.
    Regards,
    Rakesh

  • Help needed pls!!!!

    1.I have 2 schema a and b
    2.I dont have priviledge to create procedure in schema a but i have in schema b.So I created procedure in schema b which will update the synonyms in schema a
    3.Inside the procedure created under the schema b ? Can I use update a.<synonyn name>
    where <> ;
    Getting error : insufficient privilege to access object
    Can I update another schema's object from another schema ?

    Yes! but what u need is the privillages granted by a. Since a is the owner of the object a must grant the privilleges on that synonym to b.

  • Logic needed and help needed in BAPI..

    Hi,
    I am looking 2 BAPI's for posting an accounting doc in GL.
    BAPI_ACC_DOCUMENT_POST
    BAPI_ACC_GL_POSTING_POST
    But in the above mentioned BAPI's I dont find any posting key field.
    Here my scenario is to use the posting keys 40 and 50 for posting's.
    Can any body suggest me how to approach for this.
    Thanks in Advance.
    Message was edited by: KDeepak
    Message was edited by: KDeepak
    Message was edited by: KDeepak

    Hi
    I changed my code to create three documents:
    TABLES: bapiache09, mard.
    DATA: t_items  LIKE STANDARD TABLE OF bapiacgl09 WITH HEADER LINE,
          t_amount LIKE STANDARD TABLE OF bapiaccr09 WITH HEADER LINE,
          t_result LIKE STANDARD TABLE OF bapiret2   WITH HEADER LINE.
    DATA: belnr TYPE belnr_d,
          gjahr TYPE gjahr.
    DATA times TYPE n.
    DO 3 TIMES.
    Header Data
      bapiache09-comp_code   = 'ZN01'.
      bapiache09-doc_date    = sy-datum.
      bapiache09-pstng_date  = sy-datum.
      bapiache09-doc_type    = 'PV'.
    bapiache09-ref_doc_no  = 'BAPI Test'.
      bapiache09-username    = sy-uname.
      bapiache09-bus_act     = 'RFBU'.
      MOVE sy-index TO times.
      CONCATENATE 'BAPI TEST N.' times INTO bapiache09-ref_doc_no.
      REFRESH t_items.
    First Item
      MOVE 1 TO t_items-itemno_acc.
    Account number
      t_items-gl_account = '0012440130'.
    The posting key are 40/50 by default, if you need different keys, set
    the transaction business code here: check hits of table T030B to see
    the link between transaction and posting keys
    *accountgl-acct_key   = 'ACC'. <----
      APPEND t_items.
    Second Item
      MOVE 2 TO t_items-itemno_acc.
    Account number
      t_items-gl_account = '0012440140'.
    The posting key are 40/50 by default, if you need different keys, set
    the transaction business code here: check hits of table T030B to see
    the link between transaction and posting keys
    *accountgl-acct_key   = 'ACC'. <----
      APPEND t_items.
      REFRESH t_amount.
    Set amount
      MOVE 1 TO t_amount-itemno_acc.
      t_amount-currency = 'EUR'.
      MOVE 1000 TO t_amount-amt_doccur.
      APPEND t_amount.
      MOVE 2 TO t_amount-itemno_acc.
      t_amount-currency = 'EUR'.
      MOVE 1000 TO t_amount-amt_doccur.
      t_amount-amt_doccur = t_amount-amt_doccur * -1.
      APPEND t_amount.
      REFRESH t_result.
    check posting
      CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
        EXPORTING
          documentheader = bapiache09
        TABLES
          accountgl      = t_items
          currencyamount = t_amount
          return         = t_result.
      LOOP AT t_result WHERE ( type = 'E' OR
                               type = 'A' ).
        EXIT.
      ENDLOOP.
      IF sy-subrc <> 0.
        REFRESH t_result.
        CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
          EXPORTING
            documentheader = bapiache09
          TABLES
            accountgl      = t_items
            currencyamount = t_amount
            return         = t_result.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    Print Message
      LOOP AT t_result.
        WRITE: t_result-message.
    Get Number
        IF t_result-id     = 'RW' AND
           t_result-number = '605'.
          belnr = t_result-message_v2(10).
          gjahr = t_result-message_v2+14(4).
        ENDIF.
      ENDLOOP.
    ENDDO.
    Just as you can see, I insert my code into DO/ENDO cycle and so I re-call the BAPI three times.
    In this situazione I posted document 3 documents and the field AWKEY is correctly filled.
    Max

  • Terribly help needed pls.......

    Hi
    I have problem in implementing this banker's algorithm
    Resource- Request algorithm
    1.If Request <= Need[i][j] go to step2.
    else raise ERROR condition process exceeded its maximum claim.
    2.If Request[i]<= Available, go to step 3.
    else Pi must wait since resources are not available.
    3. Available := Available - Request[i];
    Allocation += Request[i];
    Need[i] -= Request[i];
    If the resulting resource-allocation state is safe, the transaction is completed and process Pi is allocated resources. However if the new state is unsafe, then Pi must wait for Request[i] and the old resource-allocation state is restored.
    Safety Algorithm:
    1. Initalize Work := Availabe and Finish[i]:=false for i=1,2,....p
    2.Find an i such that both a.) Finish[i] ==false b) Need[i] <= Work
    If such i exists, go to step 4.
    3. Work := Work + Allocation[i]
    Finish[i] := true
    go to step2
    4 if Finish[i] == true for all i, then the system is in a safe state
    My code is as follows --->
    inal int r = 3, p = 5;
             int[][] need = new int[p][r];
             int[][] work = new int[1][r];
             boolean[] finish = new boolean[p];
             System.out.println( "Allocation");
             System.out.println( "----------\n ");
             int[][] allocation = {{0, 1, 0}, {3, 0, 2}, {3, 0, 2},{2, 1, 1},{0, 0, 2}};
             System.out.println( "Max");
             System.out.println( "----\n ");
              int[][] max = {{7, 5, 3},{3, 2, 2},{9, 0, 2},{2, 2, 2},{4, 3, 3}};
             System.out.println( "Available");
         System.out.println( "---------\n ");
         int[][] available = {{2, 3, 0}};
    // initializing Work = Availabe
        System.arraycopy(available, 0, work, 0, available.length);
        System.out.println( "Need");
        System.out.println( "----\n ");
           for(int i = 0; i < allocation.length; i++){
              for(int j = 0; j < allocation.length; j++){
    need[i][j] = max[i][j] - allocation[i][j];
    System.out.println( "Request");
    System.out.println( "-------\n ");
    int[][] request = {{3, 3, 0}};
    System.out.println( "Finish");
    System.out.println( "-------\n ");
    for(int i =0; i<p; i++){
         finish[i] = false;
    // Resource Request Algorithm starts here
    for(int i=0; i < request.length;i++){
         for(int j=0; j <request[i].length; j++){
    if(request[0][j] > need[3][j]){
    System.out.println(" Process has exceeded its maximum claim. ");
    }//end if
    else if(request[0][j] > available[0][j])
    System.out.println("P"+i+" process must wait since the resources are not available.");
    else{
    available[0][j] = available[0][j] - request[0][j];
    allocation[i][j] = available[0][j] + request[0][j];
    need[i][j] = need[i][j] - request[0][j];
    }//end else
    // Safety Algorithm starts here
    step2:
    for(int m=0; m <= i; m++){
    for(int n=0; n <= m; n++){
    if(!(finish[i] == false && need[3][j] <= work[0][j])){
         finish[i] = true;
         System.out.println("The system is in safe state when process P3 request "
                   + request[0][j] +" from resource "+ need[3][j]);
    }//end if
    else{
         work[0][j] = work[0][j] + allocation[i][j];
    finish[i] = true;
    continue step2;
    }// end else
    } // end j for loop
    }// end i for loop

    i'm getting wrong output.
    when request exceed maximum its not in safe state.
    But my code is printing its in safe stateHow about using a debugger or System.out.printlns to verify the internal values that led to this output?

  • Speaker help needed pls

    I can play music that is stored on my PC but not through the internet i.e. youtube?????
    I have checked all hte speaker settings and it saying they are installed and working properly.
    Anyone any ideas what that might be?

    Download K-Lite codec mega pack from:
    http://www.filehippo.com/download_klite_mega_codec/
    then do this:
    Start > Programs > K-Lite Codec Pack > Configuration > Codec Tweak Tool
    Then check the box next to [Registry] Fix non-working system sound
    It should fix the problem
    ||-Although I am working on behalf of HP, I am speaking for myself and not for HP.-||
    //Click on Kudos if my reply was helpful and answered your question//
    ||-If my answer solved the problem please mark the topic as the accepted solution-||

  • Help needed pls!!! GF4 Ti4800 SE 8X on MSI 845 Ultra?

    Hi folks,
    I just purchased a GF4 Ti4800 SE 128mb 8X.
    I own a MSI 845 Ultra ARU (6398), I understand this board only supports up to 4X AGP, but the GF4 card should be able to "downgrade" to work with a 4x motherboard, I hope.
    Booting up is ok, but graphics start to tear on the window start-up screen. At the desktop, once i click the mouse, the desktop will hang like for 1 sec, then the monitor switch to Black screen, and then back desktop, this repeats when i click the mouse. There are also some weird colors here and there.
    Can anyone pls advise?

    Quote
    Originally posted by wonkanoby
    serious vga card,is your psu in the same bracket
    Hi there, thanks for ur prompt reply :D
    hmm, sorry i don't realli what you mean by "psu in the same bracket"?
    My PSU is a HEC 475W.

  • Creating bootable EXTERNAL HD - advice and help needed please

    Hi all,
    First of all I hope this is the right place to put this topic, if not then please move it to the right place.
    Right, now my problem.
    As I have a few programs that do not work with Snow Leopard yet, but do with Leopard, I wanted to know if it is possible to create a bootable HD (partition) on my external HD without losing all the data that is on there now? I have a 1TB external drive on which I would like to do this, and then install OSX Leopard on it to be able to use the software that is not Snow Leopard compatible yet.
    The software I am talking about is most of the Line 6 software like the Variax Workbench
    Thanks in advance and best regards
    Peter

    If there's ample free space on the ext HD to hold what's on the int HD, then this is the way to do it quickly and not lose anything currently on the ext HD. These steps assume that the ext HD is formatted as Mac OS Extended.
    1. Download and install Carbon Copy Cloner (CCC).
    2. Double-click on the ext HD's Desktop icon, select list view in the Finder window that pops up, CMDSHIFTN (creating an untitled folder), uniquely rename that folder (e.g., Don'tTouch), and put everything currently on the ext HD into that folder.
    3. Launch CCC, select the internal HD as source, select the ext HD as target, select, Backup Everything, uncheck the +Delete items that don't exist on the source+ option, click the Clone button, enter your admin username & password, and click OK.
    4. When CCC reports back with a good cloning, quit CCC, launch System Preferences->Startup Disk->select the ext HD, and click Restart.
    5. If the machine successfully boots with the clone on the ext HD (select Apple icon->About This Mac->Startup Disk->"name of ext HD"), then ensure that it looks and operates exactly like the original did.
    6. Launch Disk Utility, select the int HD, and erase and repartition it to suit your needs.
    7. Launch CCC and reclone the clone to its int HD volume.
    8. Install Leopard onto another int HD volume, include those Leopard-only apps, and you have a dual-boot int HD, but only have the SL volume backed up. As others have noted, you need to consider backing up the other stuff on the ext HD (in "Don'tTouch") and providing for a clone of the new Leopard installation.

  • Help needed pls to set up Homehub 1.0

    Hi, I am new to this forum and am hoping you guys can give me some help to set up a homehub 1.0 which I was given. Tried BT help without success so far.
    I am trying to connect my desktop PC through an ethernet cable but can't get a connection. My current ISP is AOL (who weren't helpful and won't be my ISP much longer). I have downloaded the userguide which didn't help either. I do not have the installation disc. The idea of the router is to enable wireless setup of the Nintendo Wii at the same time as the PC which is at the moment connected via a Voyager modem.
    Can anyone help please? Many thanks,

    it is not the end of the world for the old trusty wireless modem.
    It is possible to install the original 'Speed Touch' software/firmware for the Home Hub 1.
    AOL use to use Speedtouch modems (probably still do) and you can download the firmware from reputable sources.
    if you google Javiser and select homeHubindex link (www.jarviser.co.uk/jarviser/homehubindex.htm) and select Loading Speedtouch firmware this will resolve your issues.  Or click here
    http://www.jarviser.co.uk/jarviser/hubunlocking.html
    CG
    CG Over An Out

Maybe you are looking for

  • How do I create a single PDF Portfolio from an Outlook 2011 email with multiple non-pdf attachments?

    How do I create a single PDF Portfolio from an Outlook 2011 email with multiple non-pdf attachments? Email has 3 attachments--some are not pdf. I'd like all three converted into pdf files along with the email itself, and all appear in the email's pdf

  • My ibook g4 to fail to load sometimes

    sometimes my laptop works just fine but, sometimes it will not load the mouse or show the battery and wi-fi. sometimes it load completely then tell me to reboot. other times it comes up to a boot screen saying type mac-boot which does nothing. then t

  • Flash Player refuse to reinstall (OSX)

    Hello! This concerns OSX 10.6.4 and Flash Player installation problems. I had some trouble with Safari 5 after installation and I tried many things including removing Flash Player (which turned out not to be the cause of the problem) using the Adobe

  • Currency Converion and Business Rule questions

    Hi all, I am new to BPC and would appreciate if you can help me answer few of my questions. I was going through how to documents on currency conversion and Business Rules. 1. The Flow in Currency Conversion and Business Rules different? 2. Can Curren

  • Creating Network Bridge in Windows 7 on wired port causes cable unplugged

    So I created a Microsoft Loopback interface and tried to create a Network Bridge in Windows 7 with the wired Ethernet port on my E7440 laptop.  But once the bridge is created and the interfaces added, the Ethernet port says 'cable unplugged'.  If I t