how to differentiate failover-led startup with normal startup

Discussion in 'Clustering' started by Michael, Sep 1, 2006.

  1. Michael

    Michael Guest

    I installed some application into MSCS with providing resource dll, and
    configured my application running as cluster-aware application in
    Active/Passive mode. Everytime my application starts up with the resource
    group (there are some other resources in this group, such as shared disk,
    virtual hostname and IP address etc.), I need to know whether it starts up
    normally or is led by failover, if the group had just failed over, my
    application need to do some post-failover works.
    But how can I differentiate failover-led startup with normal startup? I
    mean, when my application starts up, how can it know if the group had just
    failover and restarted, are there any API can tell? or are there any event
    can be retrieved?
     
    Michael, Sep 1, 2006
    #1
    1. Advertisements

  2. I believe this is a limitation of your application.

    You should code your application that after an online event, the application
    will always do the "post-failover tasks", so regardless of the application
    comming on-line on the node with out prior move of ownership or comming
    online after moving ownership, you do not have to check if it was a failover

    hope this make sense
    rgds,
    _Edwin.
     
    Edwin vMierlo, Sep 1, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.