ODIWaitForData - what to do when db goes down?

Feeling a bit dense about this one, but...
I've got a package that uses ODIWaitForData, then goes through a number of steps until it returns to the ODIWaitForData step. This works fine until the database that's being polled for data goes down for backup, which causes an error in the step.
What's the best practice for handling this?
Create a KO path the gently ends the scenario?
-John

You can also add OdiSendMail to the KO step following by OdiSleep and then OK step to OdiWaitforData ,using OdiSleep let it go for sleep for few min and Join Ok step back to OdiWaitfordata , so in case the database comes up again it can read and process else let the process sleep and also by email you will also get notified that something is wrong in Source database .
OdiWaitforData KO- OdiSendMail ---OK --- and ---KO--- (have both steps,even if mail server is down your job wont step ) --> Odisleep( sleep for 15 -30 min ) -- OK ( join back to ) OdiWaitforData
What do you think ?

Similar Messages

  • Auto start of db when it goes down

    Is there any way using script to start database when it goes down due to some unexpected reason on windows platform?
    Oracle 10g
    Windows 2003 Server

    Hi,
    Create your own batch script that does the below things
    1) Make a connection to Oracle to see if database is up.
    2) If not then start the database.
    I would be better checking why Oracle database is going down too frequent rather doing auto start.
    Regards
    Anurag Tibrewal.

  • L2TP script to initiate a router reload when tunnel goes down - working

    Hi,
         Just thought I would post a working EEM script on doing a router reload when the L2TP tunnel goes down....
    I am using a 3825 router to initiate a site-to-site tunnel with a 3rd party vpn service - StrongVPN.  On the odd occasion when the tunnel goes down, the l2tp tunnel state goes to "no session left" and the virtual-ppp1 interface - which is tied to the l2tp vpn - goes down.  Unfortunately, because I have no control on the far end router, the only way to bring it back up is thru a router reload....
    Here you go:
    event manager applet L2TP-DOWN
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to down"
    action 1.0 syslog msg "The L2TP VPN is down"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload in 10" pattern "confirm"
    action 1.3 cli command ""
    action 1.4 syslog msg "EEM scheduled reload in 10 minutes"
    event manager applet L2TP-UP
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to up"
    action 1.0 syslog msg "The L2TP VPN is up"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload cancel"
    Jason

    Hi Arie,
         So, here is the script I am using....
    When the L2TP tunnel goes to "no sessions left", the virtual-ppp1 interface goes down.  That's the typical message I get when it goes down.  So, when I reboot the router, the script shows the message that the virtual-ppp1 interface is up when the L2TP tunnel comes up.  I checked the debugs and that is the behaviour when the tunnel goes up / down...
    Here you go:
    event manager applet L2TP-DOWN
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to down"
    action 1.0 syslog msg "The L2TP VPN is down"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload in 10" pattern "confirm"
    action 1.3 cli command ""
    action 1.4 syslog msg "EEM scheduled reload in 10 minutes"
    event manager applet L2TP-UP
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to up"
    action 1.0 syslog msg "The L2TP VPN is up"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload cancel"
    Thanks.

  • What happens to client session when host goes down?

    I have a windows 2012 R2 RDP environment. 1 Broker and 3 Session Host Servers.
    My question is as follows:
    User connects via broker to one of the Host servers. Host server goes down, while user is still connected. Session is written in Broker database. User wants to connect again, but broker sends him on to the server which is down and so he cannot connect.
    Other situation is similar, User connects to host, administrator drains host, stopping new connections. User disconnects session, session is still in Broker, when user tries to reconnect is sent to drained server but cannot login, as he is considered new
    connection.
    What am I missing?
    Aaron

    Hi Aaron,
    Thank you for posting in Windows Server Forum.
    We need to configure RDSH in a load balance farm where it can be managed by RD Connection Broker. For that we need to use DNS RR where need to make entry for all RDSH server which will be handled by RDCB Server or we can use any load balancing method to load
    balance the different RDSH server and thus that connection will allow the disconnected session for reconnection and can identify the connection.
    The RD Connection Broker for RDS serves the following main purposes:
    • Determining the best RD Session Host server to connect to - this is based on the amount of current sessions per RD Session Host Server as a form of load balancing. 
    • Reconnecting a user to an existing session, in case there is one - this is called reconnecting to disconnected sessions. 
    • Being a resource for RD Web Access to deliver information about what Remote Apps are available on RD Session Host Servers that are a member of the broker.
    More information.
    Remote Desktop Server farms explained (Part 1
    & Part 2) (Link is for Server 2008 R2 but it’s only for reference).
    Step by Step Windows 2012 R2 Remote Desktop Services – Part 3 (For Server 2012 R2)
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • When Workspace goes down 6 Jan 2015, what happens to Buzzword?

    The Buzzword & Presentations Internet collaboration tools are very good.
    When Workspaces shuts down in January 2015 will those tools surface as independent Adobe products, or will they be accessible through a different Adobe Internet portal?
    Macromedia Contribute was a big problem-solver for me - especially when coordinating website creation within one template, but originating from different countries, and multiple designers.  In some respects Buzzword and Presentations share that interactive connectivity - with sharing and templates.
    I hope Adobe has a positive answer for this one.
    Thank you
    MIchael Cerulli Billingsley
    SharedSufficiency.org
    and Redactyl.com

    Unfortunately, Buzzword and Presentations will be permanently retired along with Workspaces.
    For details, see FAQ: Adobe Workspaces retired.

  • Load balancing - what happens if a server goes down?

    Hi, Just an academic question.
    Assume I have 2 DA servers behind a BIG-IP load balancer, named DA1 and DA2.
    If I enable Load Balancing (BIG-IP in my case), what happens to the clients already Connected to DA1 when IP-HTTPS is used?
    For example:
    Client1 is connected to BIG-IP, which in turn redirect this client to DA1-Server. Assume that DA1-server goes down, what happens with the client then? I assume the Client will be redirected to DA2-server by BIG-IP after some time, meaning it will have to establish
    the connection from scratch. Is this correct and roughly how long does it take for the clients to connect to the DA2-Server?
    Since IP-HTTPS is using it's own pool and IPv6 prefix per DA server, I assume this will happen? And the DA client1 will receive a new IPv6 address from DA2 ?
    Thanks!

    Hi,
    It depends of the way your Big-IP is checking the servers in your pool.
    The client will try to reconnect to the HTTPS interface and still be redirected to server1 until your Big-IP validate that the server1 is not responding and disable it.
    And yes, you'll receive a new IPv6 address because each server in a DirectAccess NLB cluster has a specific IPv6 range for the clients.
    Gerald

  • JMS Exception when server goes down (Urgent) ?

    Hi All,
    I have three topics in the JMS Server which is on the top of Web logic server 8.1.
    On the client side I have Swing thick cleint.For each topic I have a listener.
    When the web logic server goes down ( I shut down manually ) Only one listener is recieving the Exception and the Swing client reacts accordingly.
    After this ,
    Client continousoly checks whether the server is up or not. Once the server is up again the Exception is thrown that server is down ( I guess now the second listener is recieving the message).
    After some time again the third listener recives the message.....
    and the client reacts on that exception 3 times.
    How can I get rid of this ?
    thanks in advance.
    san

    Hi,
    this is probably a very good question to ask support. 'Logical' deployment sequence
    was added to the WebLogic only recently (6.1sp?) ('logical' means that first datasources
    are deployed, then EJB's and then web-apps, deployment-order parameter was added etc).
    So, for applications where shutdown sequence is important there must be a document which
    describes how server shutdown works.
    On the other hand, this may not be as important as deployment sequence, because running
    instance can crash at any time and it should not affect anything.
    Jen <[email protected]> wrote:
    Repost
    Hi,
    Most of my ejbs use connection from the connection pool. At the weblogic server shut
    down time (heavy load), I can see the jsps call the ejb, sometime jsp can't find
    the bean because it's removed from jndi. sometime jsp found the bean but when the
    bean try to talk to database, ejb can't use the connection because the datasource
    is removed from jndi. Also my shutdown class waits for the threads finish up, and
    the threads calls the ejb and do the db operation, and the conn is cut when the db
    operation is half way. So, the order of events when server shut down is important
    to me. I am wondering how other people deal with it. Thanks --
    Dimitri

  • WLAN goes down when WAN goes down

    Hi
    I have 4 AP with EAP enabled. The authentication servers are located globally and the authentication request goes to the server situated in another country. My problem is that when my WAN goes down my WLAN also goes down immediately. Does the AP communicte with the server even after authentication, Atleast after authentication it should keep my authenticated machines in the network
    any help is appreciated
    ashish gupta

    if you use a Cisco ACS server, click on "Interface Configuration" and "Radius (Cisco Aironet)" Make sure that "Aironet-session-time" is checked.
    Then, you can change the session timeout in user or group level.
    Other ways to resolve the problem:
    1. install redundant links to the site
    2. configure a second radius server on all access point. The second radius server can be one of the APs locally. If you configure "radius-server deadtime ?", the AP will not communicate to the radius server for a period of time if the radius server does not respond for 3 times. Of course, you have to populate the centralize user database to a number of APs.

  • Notification when ICM going down

    Could someone please tell how I can set up email notification each time concurrent managers are terminated successfully or otherwise?
    What I am looking to do is that each time the ICM is going down, I receive an email.
    Thanks

    Write a shell script (set up a cron job) that checks the status of the CM (either from the OS by checking FNDLIBR executable files or by reading from the database by checking the actual/target columns of each CM in FND_CONCURRENT_QUEUES table).
    This is what I am after ........to know where it is configured. I may have to look for and ask the DBA that set it up.https://forums.oracle.com/forums/search.jspa?threadID=&q=Concurrent+AND+Down+AND+Notification&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Automatic shutdown of Radio when WAN goes down

    I have an autonomous CISCO 877 wireless router IOS 12.4(9)T6
    I want the radio to shutdown if there is no egress port -( usually ADSL but concievably Ethernet) but I can't find the commands.
    I had a problem some time ago with another non-CISCO AP that was associating with local clients because they saw it as a strong signal but then couldn't route the packets because the Ethernet was down. Other nearby APs could have taken them over if its radio had been switched off.
    I can't believe there isn't a way to do this but I'm looking for the commands in vain. This works a bit like a backup but instead of bringing a port up when another fails it should shut down the radio when the monitored port fails.
    Sorry if this is a dumb question but I've trawled through docs and postings: maybe I'm getting the wrong keywords

    Thanks Roman - exactly what I needed.
    I have added the config below for anyone else who might be interested - although I only used the Ethernet Interface as a test
    and have yet to try it with the ATM or dialer interfaces.
    event manager applet RADOFF
    event syslog pattern "Interface FastEthernet3, changed state to down"
    action 1.0 cli command "en"
    action 1.1 cli command "conf t"
    action 1.2 cli command "int do0"
    action 1.3 cli command "shut"
    event manager applet RADON
    event syslog pattern "Interface FastEthernet3, changed state to up"
    action 1.0 cli command "en"
    action 1.1 cli command "conf t"
    action 1.2 cli command "int do0"
    action 1.3 cli command "no shut"

  • What to use when VFP goes away

    We are currently using VFP to do all of our data processing.  We use it because it is very powerful & fast and the command window gives you easy access to simple data tools.  VFP is a very good programming language.  As you know, VFP is going to be retired by MS in the near future, 2015, I think. 
    What database software do you use now, what are you planning to do when MS stops supporting VFP?  SQLServer is not a convenient tool to massage data with, not to mention it is very expensive.  Access...well, 'nough said.
    Does anyone have any thoughts?

    David,
    Per one of our Developers, Glenn -
    "There is MySql or SqlLite,  Those would be my first suggestions.  You can program against those databases lots of different languages.
    Also, just because MS says that they will retire Visual Fox Pro, that just means they will end support for the product, but it will still probably be functional for quite some time, until there is an operating system upgrade that is not compatible."
    Hope this helps!
    Thanks,
    Kendra

  • MBP shuts off when battery goes down to ~20%

    Recently, my MBP started shutting off when the battery level got to 20%. No low battery warning, just shuts off like it got to 0%. I plug it in, turn it on, it boots and battery level is right around 20%.
    Battery Information:
    Model Information:
    Serial Number: SMP-ASMB012-3571-70d
    Manufacturer: SMP
    Device name: ASMB012
    Pack Lot Code: 0001
    PCB Lot Code: 0000
    Firmware Version: 0102
    Hardware Revision: 0300
    Cell Revision: 0200
    Charge Information:
    Charge remaining (mAh): 4420
    Fully charged: Yes
    Charging: No
    Full charge capacity (mAh): 4440
    Health Information:
    Cycle count: 191
    Battery health: Good
    Battery Installed: Yes
    Amperage (mA): 0
    Voltage (mV): 12544
    I took it to the Apple store and the "genious" told me that cycle count is too high and they can't replace the battery under warranty. He said I use it with a battery too much. Last time I checked, I bought a portable computer, it has a battery for a purpose. When I work at a client's office I don't always have it plugged in. What does actually constitute a "cycle"? I've had the laptop for 1 year and 2 months.

    Ok, so I'll tell you guys my experience with the genius bar at the Apple Store.
    It was about 2:20 pm today, I walked up to the genius bar and waited for someone to come to me -- which took all of 30 seconds. So he asked what my reason for visiting was, and I told him the story about how my battery would just cut off at 30%. He then asked for my computer, so I reached into my laptop bag, pulled it out, and placed it in front of him. It was in sleep mode so we just opened it up to get started; he went to the "About this Mac" from the Apple button in the menu bar and took a look at my serial number. After about 2 minutes he said "I'll be right back." I waited for no longer than two minutes, and he came out from the back with a box in hand. He then flipped my computer over and took my battery off, opened the box, pulled out a new battery and placed it in my computer. Then, all that I had left to do was sign for it, and I was on my way in no more than 10 minutes.
    What I find interesting is that he didn't even look at how many "cycles" my battery had; although, it probably wouldn't have made much difference as it was only at 17. At any rate, I asked him if there was a set of defective batteries out there -- including mine -- and basically he told me that yes, there was. So I guess since he looked at my computers serial number, his computer told me that mine was one of the affected ones.
    Anyways, bottom line was it was very easy to do to get it replaced, with zero hassle. For the most part, I'm pretty happy with how the Apple Store and genius bar both opperate, much better than dealing with stores like Best Buy and the like -- in my opinion anyways.
    Good luck everyone.

  • Howto notify admins when server goes down

    hi all
    I want to learn that how do you monitor the BPEL engines? Can you send snmp traps or do you use any other mechanisms? and how?
    Maybe i will only send alert when engine crashes or in similar cases.
    Replies will be very useful to solve this issue .
    Thanks

    additional comment: We don't use WSM(webservices manager).
    Thks

  • When Serial Goes Down and ISDN Picks Up configure required

    Hi
    As per attached diagram we need configure on routers please find attachment.

    Hi
    The best advice I can give you is to talk to your local cisco rep and have them help you to configure that.
    why ? We are missing alot of information that we need to know to do a good job and this is not just a lab or test, this I understand, is a live network and if we make this wrong it will not funktion as intended.
    It is better to talk to a local ciscorep and they can go over the full design with you so that you do not get a nasty surprise when things do not go they way they are supposed to.
    Also you will make contact with someone that can come and help you on short notice and knows your environment.
    To have information here on the forums is all good and well but it is not a substitute for a real techguy being there with you to help you when things go wrong or to help you plan the network and contingency plans.
    Good luck
    HTH

  • How to buffer data when network goes down

    I am not a LabView programmer.  One of the programmers here has written a program which writes data to a network computer.  Unfortunately on occassions where the network has a glitch maybe for a few seconds or even a fraction of a second. the program will lose all of the data which it was writing.
    Is there anyway in which they could write the program so that it would buffer the data and save it else where.

    TCP is designed to handle small network outages automatically. You should not need to worry about loosing data unless the outage is excessive or you are using a stateless protocol such as UDP instead of TCP. Just make sure you are using a single TCP connection for the entire communication.
    If you use UDP, buffering will involve some code to make sure that only lost segments get retransmitted. You could do some out of band communnication (e.g. on a second port) so the two sides can detect network glitches and keep each other informed.
    This will not be easy unless you know some LabVIEW, though.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for