To acess grid control out of the network (example from my house)

Its possible to configure grid control console and oms to access out of the network , for example from my house by internet access.
Thanks

If you want to connect to the EM Website you should have a connection from your home to your company. Usually using a VPN you can solve this.
If you want to monitor the temperature of your fridge using GridControl (if you manage to install an agent on the fridge) than you have to configure proxies for your GridControl and your agent - if there is a firewall between home and work (hopefully there is one ;-)
We are using a VPN tunnel to connect from home office to our company lan. There are several ways to do this in a secure way (RSA tokens, smartcards, fingerprints etc.)
regards
Andreas

Similar Messages

  • I have an Airport Extreme as my router and am using time capsule to extend the network in my new house. My ISP is only providing me 4-5 ip addresses and wants me to set up my router to issue out new ip addresses for all my devices.How do I fix this?Help

    I have an Airport Extreme as my router and am using time capsule to extend the network in my new house. My ISP is only providing me 4-5 ip addresses and wants me to set up my router to issue out new ip addresses for all my devices.How do I fix this?Help.
    They said I need to change my settings to NAT settings. I haven't been able to figure out or find anything. I have also spoken to Apple Support on the phone for hours without being able to figure out how to do this ( i don't think he knew much either lol.) Please help me because I've got about 15-20 devices in my house that require to be connected to the internet and this is just making things ridiculously slow and painful for me.
    Thanks!

    It is on DHCP & NAT under router mode yet my isp is still the one issuing ip addresses to my devices instead of the router issuing them

  • Which? - License for OEM Grid Control or just the additional Packs and Add-Ins?

    I took a look at the price list and I wanted to clarify the "Named User Plus". The Diagnostic and Tuning Packs are each shown as $100 for the named user. As a DBA, if I have a named user license for these two management packs, does this mean that I can manage as many databases as needed with these two management packs?

    Wow, 25 separate dbcontrols sound like a nightmare.
    By the way, our Oracle rep just happened to come here yesterday, and he validated what was said here.
    You can install the Grid Control free; you simply un-check the Packs/Add-Ins during the install.
    As I understand it, you would install the Grid Control Agent first on each server, then when you install Oracle RDBMS, the Universal Installer will detect the Agent and enable the Grid Control instead of the Database Control.
    Then you install the OEM Grid Control repository and software on a separate server, and that is where you manage all of the Oracle RDBMS servers from.
    He also said to use the highest version Grid Control Agents on the database servers and repository server and keep the versions of that software in sync, which is separate from the Oracle RDBMS version.

  • Installing Oracle Entrerprise Manager not Grid control separately to the DB

    Hi,
    Can I install Only Oracle Enterprise manager console 11g not grid control separately to the Database server.
    If yes, what should I do?
    Thanks in advance

    dbakely wrote:
    Hi,
    Can I install Only Oracle Enterprise manager console 11g not grid control separately to the Database server.
    If yes, what should I do?In Oracle terms, there is a world of difference between Installing and Configuring.
    If you want to Install Database Control to a different location, the answer is basically 'No' (from what I can tell).
    If you want to Configure Database Control at a different time than the database, then you use emca. However, it depends on the ORACLE_HOME of the database and generally can not be configured to a differnert location or computer. That is one reason for using Gr\id Control.

  • License for OEM Grid Control or just the additional Packs and Add-Ins?

    I have searched the forums and found the link below in a discussion about the Enterprise Manager Grid Control, but nobody answered this question specifically:
    Can you freely install and use the Grid Control (with no additional Packs or Add-Ins)? Or does the Grid Control itself require a license?
    P.S. The price list linked here only displays prices for Grid Control Packs and Add-Ins:
    www.oracle.com/corporate/pricing/eplext.pdf

    Wow, 25 separate dbcontrols sound like a nightmare.
    By the way, our Oracle rep just happened to come here yesterday, and he validated what was said here.
    You can install the Grid Control free; you simply un-check the Packs/Add-Ins during the install.
    As I understand it, you would install the Grid Control Agent first on each server, then when you install Oracle RDBMS, the Universal Installer will detect the Agent and enable the Grid Control instead of the Database Control.
    Then you install the OEM Grid Control repository and software on a separate server, and that is where you manage all of the Oracle RDBMS servers from.
    He also said to use the highest version Grid Control Agents on the database servers and repository server and keep the versions of that software in sync, which is separate from the Oracle RDBMS version.

  • HT4972 Hello there, i have an i Phone 3GS which was locked on the network Orange from U.K i finished the contract last year, but some how i cant unlock it to be able to use on a different network. tried to restore it on itunes but it says unable to proces

    Hello there, i have an i Phone 3GS which was locked on the network Orange from U.K i finished the contract last year, but some how i cant unlock it to be able to use on a different network. tried to restore it on itunes but it says unable to process at this time.

    under UK legislation, if your are out of contract (and not owing the carrier any debts!) they are LEGALLY obliged to unlock you, and within a certain number of (few) days.. search OFCOM for the regulations.
    That said, they are also entittled to charge you for this (usually about £20!)
    I believe, that this can also be done via an APPLE STORE, but the first option is always the Origional Network carrier.
    Orange has a terrible repuation now for customer service (which is just one reason they changed their name to EE!, and yes, this is fact which is why they came Bottom in several recent customer satisfaction surveys.. so they are not going to rush to help you leave them are they..)

  • Not able to get Out-of-the-Box Examples Index Page for running the jsp examples

    Hi
    I am a new person using weblogic first time I installed the weblogic 7.0 beta
    version on my machine.I am trying to start the weblogic server console so that
    I can configure web applications examples on my machine.
    I am getting following error and not able to view Out-of-the-Box Examples Index
    Page
    error:
    <Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
    on Port 7003: Address in use: JVM_Bind>
    Please help me to find the reason to have this problem
    Thank You in advance
    Vikas

    Hi.
    Please post all WLS 7.0 beta questions to the beta newsgroups -
    weblogic.developer.interest.70beta.*.
    Thanks,
    Michael
    Vikas wrote:
    Hi
    I am a new person using weblogic first time I installed the weblogic 7.0 beta
    version on my machine.I am trying to start the weblogic server console so that
    I can configure web applications examples on my machine.
    I am getting following error and not able to view Out-of-the-Box Examples Index
    Page
    error:
    <Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
    on Port 7003: Address in use: JVM_Bind>
    Please help me to find the reason to have this problem
    Thank You in advance
    Vikas--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • This past month I have been having problems connecting to my home wireless connection. Previously I had no problems whatsoever. I have tried unplugging the wireless router, turning off the wirless airport, deleting the network name from my list of server

    This past month I have been having problems connecting to my home wireless connection. I have a MacBook Pro OSX Version 10.6.8. Previously I had no problems whatsoever. I have tried unplugging the wireless router, turning off the wirless airport, deleting the network name from my list of servers and trying to reconnect this way. These methods have worked temporarily, but the same problem keeps coming back. Most of the time my personal wireless connection does not even come up among the list of available networks. My fellow flatmates have PCs and both of them are able to connect to the network without problem.
    The router is a d-link model DIR-615. I am not tech savy, so if any other information need to be provided in order to better understand my situation, please let me know.
    Please help me!

    If I open the list of networks in a window it says "connection timeout," but if I just select it from the drop down it tries for awhile and then stops with no prompt. When I try to run network diagnostics it says "sorry, we can't connect to the internet" (or some solution-free variation of that)

  • I used the Nik filter collection as a trial version on Elements 12 on MacOS10.9.  When the trial was up, the purchased version is not allowed to work.  Any suggestions.  I've uninstalled everything aand cleaned out all the NIK files from the libraries.

    I used the Nik filter collection as a trial version on Elements 12 on MacOS10.9.  When the trial was up, the purchased version is not allowed to work.  Any suggestions.  I've uninstalled everything aand cleaned out all the NIK files from the libraries.

    To Mickey: I got the 2 RAR files into one directory, extracted the part1.rar file, and in that new folder there is a file called start.html. I opened this, and followed the links on the right, from "Welcome" to "Getting Started". After all this I had the SAP Management Console, as well as the Database Manager applications created. You will find the specific instructions for setting up the MaxDB under the "Getting Started" link. After setting up the Database Manager you have to start it up with a user-id and password which was created during the set-up, and specifically link the database to the NSP system. I seem to remember that this didn't work at first, because the Database Manager shortcut does not run the program as an administrator. So run it as an administrator! I altered the shortcut's properties under the shortcut/advanced so it will always run the program as an administrator, and haven't had any problems - once you have done the "Add" procedure you may never need to re-visit the database manager.
    Edited by: Paul Wright on Jan 8, 2009 2:03 PM

  • Oracle 10.2.0.3 Grid Control and ReNew the IP Address

    Hello
    I have installed Grid Control and added few hosts and was working fine. But I have changed the IP address of Grid Server host. I mean I have been given new IP address for Grid Control host.
    I have changes the ip address in /etc/hosts and reboot the server. But Grid Control Console page is not coming up on IE. Help Please...
    Regards
    Sindhi

    It has been sorted out. As Grid Control use FQDN and it do not use IP address. Just I changes the IP address and FQDN was same. I was forgot to change IP address from Terminal Server where I was accessing Grid Control Console using IE. Thanks for you both to response my query.

  • Grid Control 11g Agent: The free port availability check has failed.

    I tried to use 11g Grid Control agent deployment wizard to install 11g agent to an Oracle Enterprise Linux 5 (64 bit) server, but received following error message:
    PROBLEM : The free port availability check has failed.
    ERROR : Check complete. The overall result of this check is: Not executed <<<<
    RECOMMENDATION : Please free one of the ports in the required range
    The port I used is the default one - 3872. I used "netstat -a |grep 3872" to check if this port is in use, the "netstat" command returned nothing, so I think this port is free. I tried to leave the "Port" field empty and let Oracle automatically pick a free port, I still got the same error message.
    According to the log file,
    more prereq2010-11-22_10-42-27AM.out
    Starting execution of Prerequisites...
    Total No of checks: 12
    Performing check for CheckPortAvailability
    Checking for the availability of free ports in the required range.
    Loading file /opt/oracle/product/11.2.0/dbhome_1/localhost.localdomain_xxx//sysman/config/emd.properties to get the busy ports: Successful
    Loading file /opt/oracle/product/11.2.0/dbhome_1//sysman/config/emd.properties to get the busy ports: Successful
    Port specified by user null is not available
    Check complete. The overall result of this check is: Not executed <<<<
    Check complete: Not executed <<<<
    S_UNKNOWN_HOST_EXEPTION_BEFORE_CHECK: An unknown host exception encountered during the Port Pre Req Check.
    Recommendation: You must free one of the ports in the required range.
    Did someone encounter a similar problem before? Thanks for your help.
    Amos

    814475 wrote:
    I tried to use 11g Grid Control agent deployment wizard to install 11g agent to an Oracle Enterprise Linux 5 (64 bit) server, but received following error message:
    PROBLEM : The free port availability check has failed.
    ERROR : Check complete. The overall result of this check is: Not executed <<<<
    RECOMMENDATION : Please free one of the ports in the required range
    The port I used is the default one - 3872. I used "netstat -a |grep 3872" to check if this port is in use, the "netstat" command returned nothing, so I think this port is free. I tried to leave the "Port" field empty and let Oracle automatically pick a free port, I still got the same error message.
    According to the log file,
    more prereq2010-11-22_10-42-27AM.out
    Starting execution of Prerequisites...
    Total No of checks: 12
    Performing check for CheckPortAvailability
    Checking for the availability of free ports in the required range.
    Loading file /opt/oracle/product/11.2.0/dbhome_1/localhost.localdomain_xxx//sysman/config/emd.properties to get the busy ports: Successful
    Loading file /opt/oracle/product/11.2.0/dbhome_1//sysman/config/emd.properties to get the busy ports: Successful
    Port specified by user null is not available
    Check complete. The overall result of this check is: Not executed <<<<
    Check complete: Not executed <<<<
    S_UNKNOWN_HOST_EXEPTION_BEFORE_CHECK: An unknown host exception encountered during the Port Pre Req Check.
    Recommendation: You must free one of the ports in the required range.
    Did someone encounter a similar problem before? Thanks for your help.
    AmosYEP, overhere the same problem.
    Can't figure out yet what the problem exactly is.
    In our case I deinstalled a working 10.2.0.4 agent ( same port same config ) and tried to install 11g Agent.
    It fails with the above message. We however are on AIX, and that hasn't a 'netstat -p' option to find occupied ports easily.
    Because the database is question needs to be monitored constantly I now reinstalled the 10.2.0.4 agent again and works seemlessly
    Still unsolved.....
    FJFranken

  • Office 2010 & 2007 - Excel and Access File Locking Out On the Network With Multiple Users

    This is also posted in the Office 2010 - IT Pro General Discussions, but was suggested to repost here, since a definitive answer was not found.
    Hi,
    An issue that's happening is that Excel and Access files are locking on the network. We're currently using Office 2007 and 2010.
    Here are some different scenarios that are happening:
    When opening the file it is locked out by “User X” which is the person that has the file locked out and no one else can open the file.
    When opening the file it is locked out by “User Y” which is NOT the actual person, but is locked out by “User X” and no one else can access the file.
    When opening the file  it is locked out by “…another user” which is generic and no one else can access the file.
    The two more common events are incident 1 and 2 with 3 happening the less common.
    This message will continue until the sessions are closed through computer management on the file server.
    The file server is running Windows Server 2003.
    This does happen on both Windows XP and Windows 7 clients.
    This does happen for users using Office 2007 and Office 2010.
    There are two sets of Office 2010 Users when it comes to patches. Everyone has the most current patches with Office 2010 SP2 while anyone that has Microsoft Project 2010 is using all the current update before Office 2010 SP2.
    All users that are using Office 2007 have all the current patches and service packs.
    Another variable is that we have users that will leave a file open on the network for 3+ days and after a while it will lock the file out.
    Also we have Shadow Copy that runs daily on the system which I'm not for sure if that impacts anything if a file is opening during that time.
    Any ideas on how to mitigate the lock out issues would be appreciated.
    Thanks,
    Binary Process
    Edit November 12, 2013: This issue can occur if and if not another person actually has the file open. If the person doesn't have the file open then there is a hung connection which needs to be disconnected by going to the Computer Management of the File
    server.

    Hi Binary,
    I know that the description of the hotfix does not relate to the issue. The purpose is to install it for upgrading SMB related file.
    A similar issue I encountered before:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b7fcc59b-52d9-4a02-863a-1a529bcb8cb1/temp-doc-etc-files-dont-close-after-a-file-closes-this-causes-locked-files?forum=winserverfiles
    It is resolved by upgrading SMB files so maybe it will help on your case.
    Another hotfix which may related:
    http://support.microsoft.com/kb/983458
    If you have any feedback on our support, please send to [email protected]

  • Can't Log in from out side the network

    FCS loaded onto an xserve, running 10.5.2. I can connect to FCS when I am on the network, but when I am outside of the network, I can get the "Welcome to Final Cut Server" page. I can open the log in screen, but when I try to log in, I get "Connect Timed out".
    Anybody have an idea.
    I am thinking it is something in the hardware firewall, but I have all of the ports that are supposed to be open, according to
    http://support.apple.com/kb/HT1628
    Thanks
    Todd

    How long ago did you read that document? It used to list a port 8991, but now lists port 8891. Maybe that's it?
    Try running Network Utility and doing a port scan on your public IP to see what ports are open. Maybe there is one you need to add to your firewall's open ports.

  • Returning the control out of the procedure

    Gurus,
    Please see my code
    BEGIN
         BEGIN                                    -- To check whether the user(Record) exists in the table
                SELECT a.code, a.code_desc                                     
              INTO L_code, L_code_desc
                FROM CODE_DETAIL a, USER_ROLE_PRIVS b
                WHERE a.code_desc = b.granted_role
                AND a.code_type like '%CATR%'
                AND b.username = I_U_ID;
         EXCEPTION
              WHEN NO_DATA_FOUND THEN
              O_ERR_MSG := 'N';
         END;
      IF L_CODE <> '1' AND L_CODE <> '2' AND L_CODE <> '3' THEN     -- To check whether there is any other role associated other than 1, 2 or 3
         O_ERR_MSG := 'Y';
      END IF;This is a piece of code which is a part of procedure .. Now whenever I have O_ERR_MSG initialized to Y or N .. it should come out of the procedure... What's happenning now is, variable is getting initialized and executing the rest of the code, which shouldnt happen ..
    Can you please tell me how to pass the control back to the procedure without executing the other lines ?
    Regards

    Ok... posting the entire code
    CREATE OR REPLACE PROCEDURE AFE_CHECK_SUBMIT (I_u_id in varchar2, I_ord_num in number, O_rol out VARCHAR2, O_app_check OUT Varchar2, O_v_app_check out number, O_v_otb_check out number, O_AMT OUT NUMBER, O_ERR_MSG OUT VARCHAR2, O_error_message IN OUT varchar2 ) IS
    L_role                  varchar2(30); 
    L_approval_limit        number;         L_otb_limit             number;                
    L_approval_level        varchar2(5);           
    L_tolerance_limit       varchar2(40);            L_program VARCHAR2(60)  := 'AFE_CHECK_SUBMIT';
    L_code                  VARCHAR2(10);
    L_code_desc             VARCHAR2(30);
    L_app_check             NUMBER;
    L_otb_check             NUMBER;
    L_amt                   NUMBER;
    L_otb_amt1              NUMBER;
    L_order_no           NUMBER;
    L_status           VARCHAR2(1);
    CURSOR C_PO_AMT IS SELECT i.dept, i.class, h.order_type, to_CHAR(h.otb_eow_date, 'MONYYYY') po_month, sum(o.qty_ordered * o.unit_cost) po_amt
    FROM ITEM_MASTER i, ORDLOC o, ORDHEAD h
    WHERE i.item = o.item
    AND o.order_no = h.order_no
    AND o.order_no = I_ord_num
    GROUP BY i.dept, i.class, h.order_type, to_CHAR(h.otb_eow_date, 'MONYYYY');
    CURSOR C_OTB_CALCULATE(order_type VARCHAR2, order_eow_date date, dep number, clas number ) IS
    SELECT sum(decode(order_type, 'ARB', a_budget_amt-a_approved_amt,
                                             'BRB', b_budget_amt-b_approved_amt,
                                             'N/B', n_budget_amt-n_approved_amt,
                                                 0)) otb_amt1
      FROM OTB
      WHERE to_char(EOW_DATE,'MONYYYY') = to_char(order_eow_date,'MONYYYY')
      AND DEPT = dep
      AND CLASS = clas
          GROUP BY to_CHAR(ORDER_EOW_DATE,'MONYYYY'),DEPT,CLASS;
          C2 C_OTB_CALCULATE%rowtype;
          c3 C_PO_AMT%rowtype;
    CURSOR C_ROLE_CHECK IS
      SELECT a.code, a.code_desc                                      -- checking the role of the user who has logged in
      FROM CODE_DETAIL a, USER_ROLE_PRIVS b
      WHERE a.code_desc = b.granted_role
      AND a.code_type like '%CATR%'
      AND b.username = I_U_ID;
      L_ROLE_CHECK C_ROLE_CHECK%ROWTYPE;
    BEGIN
       dbms_output.put_line('User id is :' || I_u_id);
       dbms_output.put_line('Selecting the role');
       BEGIN     
         OPEN C_ROLE_CHECK;
         LOOP
              FETCH C_ROLE_CHECK INTO L_ROLE_CHECK;
              EXIT WHEN C_ROLE_CHECK%NOTFOUND;
              L_code := L_ROLE_CHECK.code;
         END LOOP;
       EXCEPTION
              WHEN NO_DATA_FOUND THEN
                 dbms_output.put_line('No Record in table');
              O_ERR_MSG := 'N';  
    END;
      dbms_output.put_line('Role is :' || L_code);
      IF L_CODE <> '1' OR L_CODE <> '2' OR L_CODE <> '3' THEN
         O_ERR_MSG := 'Y';
         dbms_output.put_line('Unidentified user');
      END IF;
      IF L_code = '1' THEN                                       -- If user id is planner
           O_rol := '1';
         dbms_output.put_line('User is PLANNER (ROLE 1)');
            SELECT r.ORD_APPR_AMT                                   -- will be checking the approval limit of that role
            INTO L_approval_limit          
            FROM  RTK_ROLE_PRIVS r, CODE_DETAIL c
            WHERE r.ROLE = c.CODE_DESC
            AND c.CODE = L_code;
         dbms_output.put_line('Approval limit is :' || L_approval_limit);
            OPEN C_PO_AMT;                                          -- OTB check based on dept,class
            LOOP
              FETCH C_PO_AMT into c3;
                    EXIT when c_PO_AMT%notfound;
              dbms_output.put_line('Entered 1st loop');
                    OPEN C_OTB_CALCULATE(c3.order_type, TO_DATE(c3.po_month,'MONYYYY'), c3.dept, c3.class);
                    LOOP
                   dbms_output.put_line('Entered 2nd loop');
                         FETCH C_OTB_CALCULATE into c2;
                            EXIT WHEN C_OTB_CALCULATE%notfound;
                            L_amt := c3.PO_AMT;
                   dbms_output.put_line('PO AMT IS:' || L_amt);
                   IF c3.PO_AMT > L_approval_limit THEN    -- Checking whether amount greater than approval lim
                        dbms_output.put_line('Approval limit exceeded');
                                 L_app_check := 1;
                                    O_app_check := 'T';
                                    O_v_app_check := 1;
                        O_amt := L_amt;
                        dbms_output.put_line('Approval check is:' || L_app_check);
                        dbms_output.put_line('Approval check exceeded? :' || O_app_check);
                        dbms_output.put_line('Parameter for Approval check is:' || O_v_app_check);
                            ELSIF C3.PO_AMT <= L_approval_limit then
                        dbms_output.put_line('Approval limit not exceeded');
                        dbms_output.put_line('Approval check is:' || L_app_check);
                        dbms_output.put_line('Parameter for Approval check is:' || O_v_app_check);
                                    L_app_check := 0;
                                    O_v_app_check := 0;
                            END IF;
                   IF c3.PO_AMT > c2.OTB_AMT1 THEN         -- Checking whether amount greater than OTB amount
                        dbms_output.put_line('OTB AMT is :' || c2.otb_amt1);
                        dbms_output.put_line('OTB limit Exceeded');
                                 L_otb_check := 1;
                                    O_app_check := 'T';
                                    O_v_otb_check := 1;
                        O_amt := L_amt;
                        dbms_output.put_line('OTB check is:' || L_otb_check);
                        dbms_output.put_line('OTB check exceeded? :' || O_app_check);
                        dbms_output.put_line('Parameter for OTB check is:' || O_v_otb_check);
                            ELSIF C3.PO_AMT <= C2.OTB_AMT1 THEN
                        dbms_output.put_line('OTB limit not exceeded');
                                    L_otb_check := 0;
                                    O_v_otb_check := 0;
                        dbms_output.put_line('OTB check is:' || L_otb_check);
                        dbms_output.put_line('Parameter for OTB check is:' || O_v_otb_check);
                            END IF;
                    END LOOP;
                    CLOSE C_OTB_CALCULATE;
            END LOOP;
            CLOSE c_PO_AMT;
         IF L_app_check = 0 and L_otb_check = 0 then            
              SELECT ORDER_NO, STATUS                     -- Checking whether there is a duplicate order number
              INTO L_order_no, L_status                    
              FROM AFE_POAPPROVAL
              WHERE ORDER_NO = I_ord_num;
              IF L_status = 'O' then                         -- If found and its stauts is open, update the record by changing the status column to "C"
                   UPDATE AFE_POAPPROVAL
                   SET STATUS = 'C'
                   WHERE ORDER_NO = I_ord_num;
                   COMMIT;
              END IF;
              INSERT INTO AFE_POAPPROVAL                    -- Inserting the record into AFE_POAPPROVAL when OTB and approval limit is below the PO amt
                    VALUES (I_ord_num, 1,'O',I_u_id,'ROLE1','N','N', SYSDATE,'S', L_amt);
              dbms_output.put_line('Inserted Record into AFE_POAPPROVAL');
                    COMMIT;                
            END IF;
          ELSIF L_code = '2' THEN                            -- If user id is category manager
         dbms_output.put_line('User is Category manager (ROLE 2)');          
               O_rol := '2';
                  SELECT r.ORD_APPR_AMT                                        -- will be checking the approval limit of that role
                  INTO L_approval_limit          
                  FROM  RTK_ROLE_PRIVS r, CODE_DETAIL c
                  WHERE r.role = c.CODE_DESC
                  AND c.CODE = L_code;
               dbms_output.put_line('Approval limit is :' || L_approval_limit);
                  OPEN c_PO_AMT;                                          -- OTB check based on dept,class
                  LOOP
                       FETCH c_PO_AMT into c3;
                    EXIT when c_PO_AMT%notfound;
              dbms_output.put_line('Entered 1st loop');
                    OPEN C_otb_CALCULATE(c3.order_type, TO_DATE(c3.po_month,'MONYYYY'), c3.dept, c3.class);
                    LOOP
                         FETCH C_OTB_CALCULATE into c2;
                            EXIT WHEN C_OTB_CALCULATE%notfound;
                   dbms_output.put_line('Entered 2nd loop');
                            L_amt := c3.PO_AMT;
                   dbms_output.put_line('PO AMT is:' || L_amt);
                            IF c3.PO_AMT > L_approval_limit THEN    -- Checking whether amount greater than approval limit
                        dbms_output.put_line('Approval limit exceeded');
                                 L_app_check := 1;
                                    O_app_check := 'T';
                                    O_v_app_check := 1;
                        O_amt := L_amt;
                        dbms_output.put_line('Approval check is:' || L_app_check);
                        dbms_output.put_line('Approval check exceeded? :' || O_app_check);
                        dbms_output.put_line('Parameter for Approval check is:' || O_v_app_check);
                            ELSE
                        dbms_output.put_line('Approval limit not exceeded');
                                    L_app_check := 0;
                                    O_v_app_check := 0;
                        dbms_output.put_line('Approval check is:' || L_app_check);
                        dbms_output.put_line('Parameter for Approval check is:' || O_v_app_check);
                            END IF;
                            L_otb_amt1 := c2.OTB_AMT1;
                   dbms_output.put_line('Selecting tolerance limit');
                            SELECT cd.code_desc                                     -- will be chekcing the tolerance limit
                            INTO L_tolerance_limit
                            FROM CODE_DETAIL cd, CODE_HEAD ch
                            WHERE ch.CODE_TYPE = cd.code_type
                            AND ch.CODE_TYPE = 'OTBT';
                            L_tolerance_limit := to_number(L_tolerance_limit);
                   dbms_output.put_line('Tolerance limit is:' || L_tolerance_limit);
                            L_otb_limit := c2.OTB_AMT1-(c2.OTB_AMT1 * (1- (L_tolerance_limit/100))); -- Will be calculating the tolerance limit
                   dbms_output.put_line('OTB AMT is :' || L_otb_amt);
                            IF c3.PO_AMT > L_otb_limit THEN         -- Checking whether amount greater than OTB amount
                        dbms_output.put_line('OTB limit exceeded');
                                 L_otb_check := 1;
                                    O_app_check := 'T';
                                    O_v_otb_check := 1;
                        O_amt := L_amt;
                        dbms_output.put_line('OTB check is:' || L_otb_check);
                        dbms_output.put_line('OTB check exceeded? :' || O_app_check);
                        dbms_output.put_line('Parameter for OTB check is:' || O_v_otb_check);
                            ELSE
                        dbms_out.put_line('OTB Limit not exceeded');
                                    L_otb_check := 0;
                                    O_v_otb_check := 0;
                        dbms_output.put_line('OTB check is:' || L_otb_check);
                        dbms_output.put_line('Parameter for OTB check is:' || O_v_otb_check);
                            END IF;
                    END LOOP;
                    CLOSE C_OTB_CALCULATE;
                  END LOOP;
                  CLOSE c_PO_AMT;
                  IF L_app_check = 0 and L_otb_check = 0 THEN            
                    SELECT ORDER_NO, STATUS                     -- Checking whether there is a duplicate order number
              INTO L_order_no, L_status
              FROM AFE_POAPPROVAL
              WHERE ORDER_NO = I_ord_num;
              IF L_status = 'O' then                         -- If found and its stauts is open, update the record by changing the status column to C
                   UPDATE AFE_POAPPROVAL
                   SET STATUS = 'C'
                   WHERE ORDER_NO = I_ord_num;
                   COMMIT;
              END IF;
                    INSERT INTO AFE_POAPPROVAL                    -- Inserting the record into AFE_POAPPROVAL when OTB and approval limit is below the PO amt
                    VALUES (I_ord_num, 1,'O',I_u_id,'ROLE2','N','N', SYSDATE, 'S', L_amt);                 
                    COMMIT;
              dbms_output.put_line('Inserted Record into AFE_POAPPROVAL');
                  END IF;
           ELSIF L_code = '3' THEN                                         -- If user id is category head
         dbms_output.put_line('User is Category Head (ROLE3)');
                O_rol := 3;
            OPEN c_PO_AMT;                                          -- OTB check based on dept,class
            LOOP
                 FETCH c_PO_AMT into c3;
                    EXIT when c_PO_AMT%notfound;
              dbms_output.put_line('Entered 1st loop');
                    OPEN C_OTB_CALCULATE(c3.order_type, to_date(c3.po_month,'MONYYYY'), c3.dept, c3.class);
                    LOOP
                         FETCH C_OTB_CALCULATE into c2;
                            EXIT WHEN C_OTB_CALCULATE%notfound;
                   dbms_output.put_line('Entered 2nd loop');     
                            L_amt := c3.PO_AMT;
                   dbms_output.put_line('PO AMT is :' || L_amt);     
                            IF c3.PO_AMT > c2.OTB_AMT1 THEN         -- Checking whether amount greater than OTB amount
                        dbms_output.put_line('OTB AMT is :' || c2.otb_amt1);
                        dbms_output.put_line('OTB Limit exceeded');
                                 L_otb_check := 1;
                                    O_app_check := 'T';
                                    O_v_otb_check := 1;                                        
                        O_amt := L_amt;
                        dbms_output.put_line('OTB check is:' || L_otb_check);
                        dbms_output.put_line('OTB check exceeded? :' || O_otb_check);
                        dbms_output.put_line('Parameter for OTB check is:' || O_v_otb_check);
                            ELSE
                        dbms_output.put_line('OTB limit not exceeded');
                                    L_otb_check := 0;
                                    O_v_otb_check := 0;
                        dbms_output.put_line('OTB check is:' || L_otb_check);
                        dbms_output.put_line('Parameter for OTB check is:' || O_v_otb_check);
                            END IF;
                    END LOOP;
                    CLOSE C_OTB_CALCULATE;
            END LOOP;
            CLOSE c_PO_AMT;
            IF L_otb_check = 0 THEN                                
    IF L_otb_check = 0 THEN                                
              OPEN C_RECORD_CHECK;
              LOOP
                   FETCH C_RECORD_CHECK INTO L_RECORD_CHECK;
                   EXIT WHEN C_RECORD_CHECK%notfound;
                   IF C_RECORD_CHECK%FOUND THEN
                        UPDATE AFE_POAPPROVAL
                        SET STATUS = 'C'
                        WHERE ORDER_NO = I_ord_num;
                        COMMIT;
                   END IF;
              END LOOP;
              INSERT INTO AFE_POAPPROVAL                    -- Inserting the record into AFE_POAPPROVAL when otb and approval limit is below the po amount
                     VALUES (I_ord_num, 1,'O',I_u_id,'ROLE3','Y','N', SYSDATE,'S', L_amt);
                     COMMIT;
              dbms_output.put_line('Inserted Record into AFE_POAPPROVAL');
            END IF;
         END IF;
      EXCEPTION
         WHEN OTHERS THEN
            O_error_message := SQL_LIB.CREATE_MSG('PACKAGE_ERROR',
                                                   SQLERRM,
                                                   L_program,
                                                   TO_CHAR(SQLCODE));
      END AFE_CHECK_SUBMIT;
    /Now i am executing the procedure ...
    SQL>SQL> @OUT_SUBMIT;
    Enter value for user: RMS12DEV
    old 12: o_user :='&user';
    new 12: o_user :='RMS12DEV';
    Enter value for order: 6139
    old 13: o_order :=&order;
    new 13: o_order :=6139;
    User id is :RMS12DEV
    Selecting the role
    No Record in table
    Role is :
    o_rol:
    O_app_check:
    O_v_app_check:
    O_v_otb_check:
    O_amt:
    O_ERR_MSG: N
    O_error_message:
    PL/SQL procedure successfully completed.
    If you have looked at the output .. after the variable is intialized to 'N', still I am getting msgs displayed .. Hope this is clear .. Now can you suggest the solution...
    Regards
    Message was edited by:
    Seshu
    Message was edited by:
    Seshu

  • Run Singlular Database Control and Grid Control Agents at the same time????

    Hello,
    I have walked into a new job where one of my 1st tasks is installing and configuring EM Grid Control version 10.2.0.3. Most of the individual databases already have singular EM/Database Control also set up for basic monitoring - some are 10.2.0.1 databases; some are 9.2.0.7 databases.
    Can I continue to run the existing singular EM Database Controls for monitoring and managing the databases while I am getting connected, the new agents up and running, and the Grid Control templates and alerts and notification fully set up?
    Or will I have to shut down those agents fully prior to installing the new 10.2.0.3 agents???
    I am hoping so since they use different communication ports of 1158 for the singular Database Controls versus 4889 for Enterprise Wide Grid Control.
    Thanks for any help in clarifying this.
    KL

    OK, so as long as I keep the homes separate & straight, I could conceivably allow them both (Database Control and Grid Control Agent) to run AND be used at the same time - even when using secured grid control (https), correct? Just have the separate homes for separate agents and use separate ports for the different consoles?
    Of course I might still run into an issue with this, ass I am also in the process of securing Grid Control... The current Database Console used by the app users to monitor is NOT an https url...
    The real reason for this is because some app users are used to using the EM Database Control for application monitoring. I would like to not take that away from them while I am in the process of setting up all of the users, roles, alerts, groups, etc. on Grid Control.

Maybe you are looking for