Weblogic7/examples/clustering/ejb Automatic failover for idempotent methods ?

This one should be easy since it is from the examples folder of bea 7 about
          clustering.
          Ref : \bea7\weblogic007\samples\server\src\examples\cluster\ejb
          I am referring to the cluster example provided with the weblogic server 7.0
          on windows 2000.
          I deployed Admin server and 2 managed server as described in document.
          Everything works fine as shown by the example. I get load balancing and
          failover both. Too Good.
          Client.java is using the while loop to manage the failover. So on exception
          it will go thru the loop again.
          I understand from the documentation that the stateless session EJB will
          provide the automatic failover for Idempotent stateless bean
          Case Failover Idempotent : ( Automatic )
          If methods are written in such a way that repeated calls to the same method
          do not cause duplicate updates, the method is said to be "idempotent." For
          idempotent methods, WebLogic Server provides the
          stateless-bean-methods-are-idempotent deployment property. If you set this
          property to "true" in weblogic-ejb-jar.xml, WebLogic Server assumes that the
          method is idempotent and will provide failover services for the EJB method,
          even if a failure occurs during a method call.
          Now I made 2 changes to the code.
          1 . I added as follows to the weblogic-ejb-jar.xml of teller stateless EJB
          <stateless-clustering>
          <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
          <stateless-bean-load-algorithm>random</stateless-bean-load-algorithm>
          <stateless-bean-methods-are-idempotent>true</stateless-bean-methods-are-idem
          potent>
          </stateless-clustering>
          So I should get the automatic failover .............
          2. Also I added the break statement in the catch on line around 230 in
          Client .java
          catch (RemoteException re) {
          System.out.println(" Error: " + re);
          // Replace teller, in case that's the problem
          teller = null;
          invoke = false;
          break;
          So that the client program does not loop again and again.
          Now I compile and restart all my three servers and redeploy application (
          just to be sure )
          I start my client and I get a automatic load balancing between the server
          which makes me happy.
          But Failover ....?
          I kill one of the managed application server in cluster at any particular
          test fail point.
          I expect the exception to be taken care automatically by error/failover
          handler in the home/remote stub
          But the client program fails and terminates.
          1. What is wrong with the code ?
          2. Does the automatic failover with the indempotent methods also has to be
          taken care by coding the similar while loop for stateless ejb ?
          Your help will be appreciated ASAP.
          Let me know if you need any thing more from my system. But I am sure this
          will be very easy as it is from the sample code.........
          Thanks
          

Sorry I meant to send this to the ejb newsgroup.
          dan
          dan benanav wrote:
          > Do any vendors provide for clustering with automatic failover of entity
          > beans? I know that WLS does not. How about Gemstone? If not is there
          > a reason why it is not possible?
          >
          > It seems to me that EJB servers should be capable of automatic failover
          > of entity beans.
          >
          > dan
          

Similar Messages

  • Clustering with automatic failover of entity beans? (Provided by any vendors)

    Do any vendors provide for clustering with automatic failover of entity
              beans? I know that WLS does not. How about Gemstone? If not is there
              a reason why it is not possible?
              It seems to me that EJB servers should be capable of automatic failover
              of entity beans.
              dan
              

    Sorry I meant to send this to the ejb newsgroup.
              dan
              dan benanav wrote:
              > Do any vendors provide for clustering with automatic failover of entity
              > beans? I know that WLS does not. How about Gemstone? If not is there
              > a reason why it is not possible?
              >
              > It seems to me that EJB servers should be capable of automatic failover
              > of entity beans.
              >
              > dan
              

  • Configuring Automatic Failover for EPM Planning Cluster

    We are trying to test automatic failover using a Planning(11.1.2.2)/weblogic cluster containing 2 physical servers and a Weblogic proxy plug-in for OHS.
    I understand that to enable this we must configure in-memory replication of HTTP session states and to do this, (according to various sources including ID 779350.1) the weblogic.xml file must include a descriptor set up as follows:
    <session-descriptor>
       <session-param>
        <param-name>PersistentStoreType</param-name>
        <param-value>replicated</param-value>
    </session-param>
    </session-descriptio>
    Where should weblogic.xml be created or amended (if it already exists) for a Planning cluster in a standard scaled out EPM deployment in order to effect failover between the two servers.
    Thanks

    yes, it can be load balanced in hyperion registry i believe, seen it once only drawback is ,if a JVM goes down while processing a request it needs to be manually started, however the url will switch automatically   

  • Failover with idempotent methods

    All,
    I have a stateless session bean in a clustered environment whose methods are
    idempotent. Assuming that a failure occurs when I invoke one of its
    methods, will WebLogic automatically try to get another reference to the
    bean and re-invoke the same method again? If so, how many times will it
    attempt this retry? If not, does this mean I have to re-invoke the method
    on the bean myself (and hence, what is the difference between this approach
    and that taken for stateless session beans whose methods are NOT
    idempotent)?
    Thanks in advance for your replies,
    -Jon

    Based on the response from the server, in the sense that if the stub doesn't get
    any exception it wouldn't retry. Idempotent means you are basically saying that
    it doesn't change the state on the server even if you make the call twice or
    more. If the method is not idempotent there might be instance where your call
    might or might not have succeeded in which case the stub won't retry. Whereas
    with idempotent methods it will retry. You don't have to do anything on client
    side to get this behavior. Weblogic rmic provides with smart stubs that does
    this for you under the covers.
    Prasad
    Jon Eagles wrote:
    >
    All,
    I have a stateless session bean in a clustered environment whose methods are
    idempotent. Assuming that a failure occurs when I invoke one of its
    methods, will WebLogic automatically try to get another reference to the
    bean and re-invoke the same method again? If so, how many times will it
    attempt this retry? If not, does this mean I have to re-invoke the method
    on the bean myself (and hence, what is the difference between this approach
    and that taken for stateless session beans whose methods are NOT
    idempotent)?
    Thanks in advance for your replies,
    -Jon

  • Automatic failover for message consumers

    I'm trying to evaluate the failover capabilities of a message consumer when the JMS service is migrated either manually or because of a server failure. I've tried setting the reconnect policy to "all" on both the client and the connection factory, but my consumer will not receive messages after the migration occurs unless I restart it. I've seen some references in the documentation about a special license needed for using the JMS clustering capabilities. I'm using the default license that comes with the download so I suspect this may be the problem. Can anyone confirm this?

    Hi
              Thanks for the immediate response. We are okie for the messages lost before the subscriber created.
              Messages are not coming even after the subscibers are created successfully..
              When i publish a message Topic Server throws a error in the server side for the particular reconnected subscriber.
              I attached the error log
              <20-Mar-2007 00:41:08 o'clock GMT+04:00> <Warning> <JMS> <BEA-040499> <An error occurred while pushing messages to a JMS
              client: weblogic.jms.common.JMSException: weblogic.messaging.dispatcher.DispatcherException: java.rmi.RemoteException:
              Could not establish a connection with 3695118781574910662C:57.12.45.181R:8457695624056246393S:10.12.88.82:[7010,-1,-1,-1
              ,-1,-1,-1]:JawaDomain:ManagedServer_1, java.rmi.ConnectException: Destination is not a server; No available router to de
              stination; nested exception is:
              java.rmi.ConnectException: Destination is not a server; No available router to destination; nested exception is:
              java.rmi.ConnectException: Could not establish a connection with 3695118781574910662C:57.12.45.181R:845769562405
              6246393S:10.12.88.82:[7010,-1,-1,-1,-1,-1,-1]:JawaDomain:ManagedServer_1, java.rmi.ConnectException: Destination is not
              a server; No available router to destination; nested exception is:
              java.rmi.ConnectException: Destination is not a server; No available router to destination
              weblogic.jms.common.JMSException: weblogic.messaging.dispatcher.DispatcherException: java.rmi.RemoteException: Could not
              establish a connection with 3695118781574910662C:57.12.45.181R:8457695624056246393S:10.12.88.82:[7010,-1,-1,-1,-1,-1,-1
              ]:JawaDomain:ManagedServer_1, java.rmi.ConnectException: Destination is not a server; No available router to destination
              ; nested exception is:
              java.rmi.ConnectException: Destination is not a server; No available router to destination; nested exception is:
              java.rmi.ConnectException: Could not establish a connection with 3695118781574910662C:57.12.45.181R:845769562405
              6246393S:10.12.88.82:[7010,-1,-1,-1,-1,-1,-1]:JawaDomain:ManagedServer_1, java.rmi.ConnectException: Destination is not
              a server; No available router to destination; nested exception is:
              java.rmi.ConnectException: Destination is not a server; No available router to destination
              at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:116)
              at weblogic.jms.dispatcher.DispatcherAdapter.dispatchNoReply(DispatcherAdapter.java:29)
              at weblogic.jms.frontend.FESession.pushMessage(FESession.java:2759)
              at weblogic.jms.common.Sequencer.deliverMessages(Sequencer.java:274)
              at weblogic.jms.common.Sequencer.pushMessage(Sequencer.java:171)
              Truncated. see log file for complete stacktrace
              Thanks

  • Can I prevent automatic failover for a period of time?

    We have two Exchange 2013 servers (and a witness server) in a DAG.  They are all VMWare virtual.  We have recently migrated our 500 users from Ex2007 to Ex2013, so there is a bit of a learning curve for us. One of the servers "A"
    is has a better hardware situation than the other "B" server that is offsite.  They both have the same memory and hard drive sizes.  We would like to keep the databases active on the better A server.  There was a situation with our
    primary A server the night before that caused the databases to be activated on the B server which in turn caused B to run all the resources up to 100% and be very.  I was able to move the active databases back to A and put B in maintenance mode so
    that it won't fail over to B for right now until we can get B a better hardware situation. 
    Question is: Is it possible for B to keep getting the logs played to the server so that if there were a catastrophic failure on A, we could essentially activate the databases on B we would be fine.  I don't want it to be activating on B on
    its own.  I don't want to break the DAG because we want it to be able to eventually be used as designed, but it may be a month or two.  Essentially, can we put the DAG in a manual mode?
    Thanks.
    Sally

    Hi,
    Just for more reference:
    How To Block A Mailbox Database Copy From Activation…
    http://theucguy.net/how-to-block-mailbox-database-copy-from/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety,
    or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Thanks,
    Simon Wu
    TechNet Community Support

  • HACMP Clustering Script for SAP ECC 6.0 (SR1) - Automatic Failover

    Hello,
    I have installed the SAP ECC 6.0 (SR1) under AIX 5.3 / DB2 V8 FP12 with HACMP Clustering environment. Manual Failover is working fine. Central System has been installed in share drive with Virtual IP and Virtual name inNode A. Dialog Instance is loaded locally in Node B. I want to get HACMP Clustering script(automatic failover script) for Automation. Please help me if you have. It is single package clustering. If Node A fails, Node B will take care ( Central System and Dialog instance will run in Node B)
    Thanks
    Gautam Poddar

    this post is duplicated at Upgrade to ERP 2005/ECC 6.0 from  R/3 4.72/Basis 640 on Z/OS 1.4 DB2 8.1

  • HACMP Clustering Script for SAP ECC 6.0 (SR1) - Automatic Failover-Oracle10

    Hello,
    I have installed the SAP ECC 6.0 (SR1) under AIX 5.3 / Oracle 10g with HACMP Clustering environment. Manual Failover is working fine. ASCS and Database instances are loaded in share drive with Virtual IP and Virtual name. Central Instance and Dialog Instance are loaded locally in Node A and Node B. I want to get HACMP Clustering script(automatic failover script) for Automation. Please help me if you have.
    Thanks
    Gautam Poddar

    Here are HA stop & start scripts that you should be able adapt for your particular circumstances. Based on earlier versions of SAP / Oracle but assume should be a reasonable guide
    Script to start SAP is start_sap_prd
    #!/bin/ksh
    Script:         /usr/local/bin/cluster/start_sap_prd
    Comments:       HACMP Application START script for PRD
    Show me obvious information in hacmp.out
    banner "Starting"
    banner "PRD SAP"
    Set the oracle and sap owner.
    ORASID="PRD"
    SAPADM="prdadm"
    ORAUSR="oraprd"
    VIRTUALHOST="vhost"
    DEVHOST="vhostdev"
    Get the volume groups for this resource group
    RG=$( /usr/es/sbin/cluster/utilities/cllsgrp | grep -i $ )
    VG_LIST=$( /usr/es/sbin/cluster/utilities/cllsres -g $ | \
            grep "VOLUME_GROUP=" | \
            awk -F\" '{ print $2 }' )
    Check the transport directory is mounted.
    if mount | grep -w "/usr/sap/trans"
      then
            print "Transport directory is already mounted."
      else
            cd /tmp
            print "Attempting a background mount of the transport directory."
            nohup mount -o intr,bg,soft :/usr/sap/trans1 /usr/sap/trans &
    fi
    #Start SAP and Oracle
    #Start listener
    su - $ -c /rprd/oracle/PRD/920_64/bin/lsnrctl start
    rc=$?
    if [ $? != 0 ]
      then
            echo "ERROR: Listener failed to start\n"
    fi
    #Start Database
    su - $ -c "/rprd/oracle/PRD/bin/start_database_PRD.sh"
    sleep 20
    Standard sapstart script
    su - $ -c startsap $
    Script:       /usr/local/bin/cluster/stop_sap_prd
    Dated:        01/11/06
    Application:  Oracle/SAP
    Comments:     HACMP Application STOP script for SAP / Oracle PRD
    Show me obvious information in hacmp.out
    Set the oracle and sap owner.
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to start SAP\n"
    fi
    exit 0
    Script to stop SAP is stop_sap_prd
    #!/bin/ksh
    set -x
    banner "stopping"
    banner "PRD SAP"
    ORASID="PRD"
    SAPADM="prdadm"
    ORAUSR="oraprd"
    VIRTUALHOST="vhost"
    #Stop SAP/Oracle
    su - $ -c stopsap $
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to stop SAP and Oracle\n"
            break
    fi
    Stop SAP collector and Oracle listener.
    su - $ -c /usr/sap/PRD/SYS/exe/run/saposcol -k
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to stop SAPOSCOL \n"
    fi
    su - $ -c /rprd/oracle/PRD/920_64/bin/lsnrctl stop
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Listener failed to stop\n"
    fi
    if mount | grep -w "/usr/sap/trans"
      then
            print "Transport directory is mounted."
            /usr/es/sbin/cluster/events/utils/cl_nfskill -k -u /usr/sap/trans
            sleep 1
            /usr/es/sbin/cluster/events/utils/cl_nfskill -k -u /usr/sap/trans
            sleep 1
            umount -f /usr/sap/trans &
      else
            print "Transport directory is not mounted."
    fi
    exit 0

  • Plz help!! idempotent methods stateful session beans? (failover)

              plz help!! idempotent methods stateful session beans? (failover)
              Hi there,
              Im trying to failover my shopping cart implemented using stateful ejb, the replication
              is working but the failover is not (Object not found exception....).
              By design is hard to think on an stateful ejb using idempotent methods, but after
              checking the documentation in detail im completely confused, so im starting to
              wonder if i should use idempotent methods or manual retry in case one server is
              down.
              Plz take a loo at these explanations about faiolver in the WLS edocs.
              "....With clustered objects, automatic failover generally occurs only in cases
              where the object is idempotent.....Because of this, replica-aware stubs will not,
              by default, attempt to retry a method that fails after the request is sent but
              before it returns. This behavior can be overridden by marking a service idempotent..."
              BUT
              "By default, a stateful session bean's Home stub provides load balancing and failover
              for its method invocations to any clustered server where the bean is deployed...."
              So is possible to achieve automatic failover (not only load balancing) for stateful
              ejb without having to worry about state-changes or manual retry. (i know the retry
              is requiered if the server crashed just before finishing a transaction but this
              is not what im talking about).
              Any help will be highly appreciated
              Alan
              

              Ryan,
              Yes, im deploying using In-memory replication and clusterable elements, when try
              to invoke the method (after one of the nodes is down) i recieve an "java.rmi.NoSuchObjectException:
              Bean has been deleted".
              I believe all this could be related to some sort of issue with JNDI Lookup in
              the cluster, but haavent been able to get a clue to make it work....(almost desesperate
              by now)
              Alan
              "ryan upton" <[email protected]> wrote:
              >Alan,
              >
              >If the state isn't maintained during failover I would suspect a
              >configuration error. Have you set the <replication-type> element within
              ><stateful-session-clustering> tag in the bean's deployment descriptor?
              >
              >"Alan" <[email protected]> wrote in message
              >news:40e17cf7$1@mktnews1...
              >>
              >> Ryan,
              >>
              >>
              >> Maybe i didnt explain myself, in the scenario im dealing with I KNOW
              >the
              >method
              >> finished succesfully (example, the user succesfully added an item to
              >a
              >cart).
              >>
              >>
              >> Just after that one of the nodes goes down, and the user decides to
              >add a
              >new
              >> item (new invocation , not a retry of failed one) on the same session.
              >>
              >> This is the case in which failover should work automatically as you
              >say,
              >meaning
              >> the new method invokation should be able to retrieve the session state
              >info from
              >> the replica and switch the primary.....Well, this is the part wich
              >isnt
              >working
              >> :( as i understand it should transparently
              >>
              >> I believe could be a config issue , but have no way to make it work.
              >>
              >> Regards,
              >>
              >> Alan
              >> "ryan upton" <[email protected]> wrote:
              >> >
              >> >"Alan" <[email protected]> wrote in message
              >news:40e06296@mktnews1...
              >> >>
              >> >> Ryan,
              >> >>
              >> >> Thanks for clearing the both conditions a bit more, in this case
              >my
              >> >issue
              >> >has
              >> >> to do with the scenario #1 in which subsequent calls (invocations)
              >> >go to a
              >> >node
              >> >> which isnt avaliable(down), do you have any idea of in what conditions
              >> >the
              >> >"automnatic"
              >> >> failover would fail??? (meaning why the stub would try to dispatch
              >> >a call
              >> >to the
              >> >> same previous node)
              >> >>
              >> >> Thanks for the help again
              >> >>
              >> >
              >> >Subsequent calls won't go to a node that's down. That's the whole
              >> >point
              >> >;-). Failover is always automatic, what you are getting confused
              >on
              >> >is
              >> >automatic method re-execution upon failover which happens if the method
              >> >has
              >> >been marked as idempotent. The logic is this: if I failover to an
              >EJB
              >> >that
              >> >I know is still alive, I can't safely call the same method again.
              > Why?
              >> >Because I don't know how much of the method completed the last time
              >before
              >> >the previous bean's failure. So if the bean can yield multiple results
              >> >from
              >> >multiple invocations I had better play it safe and not re-execute
              >the
              >> >method
              >> >on the bean I failed over to (unless it's idempotent because in that
              >> >case it
              >> >doesn't matter how many times I call it, it always does the same thing).
              >> > In
              >> >scenario #1 and #2 failover is automatic and all new calls are executed
              >> >against the bean the client failed over to, but only idempotent methods
              >> >are
              >> >re-executed.
              >> >
              >> >
              >>
              >
              >
              

  • Need for idempotent stateless session beans

    I'm trying to find a solution for failovering method calls on a stateless
              session bean, even for method calls that already have started.
              I understand that failover services for failures that occur while the method
              is in progress, are supported only for idempotent method.
              My question is why ???
              Assuming that I start a transaction each time I call a method on a bean, I
              believe that committing the work will be done only after the method returned
              successfully. Why can't the stub decide that if it something went wrong in
              the transaction then it wasn't committed and it can be run again ?
              We need the method call failover services real bad, while making the methods
              idempotent can be very awkward sometime.
              TIA
              Eran.
              

    Eran Erlich wrote:
              > I'm trying to find a solution for failovering method calls on a stateless
              > session bean, even for method calls that already have started.
              > I understand that failover services for failures that occur while the method
              > is in progress, are supported only for idempotent method.
              > My question is why ???
              > Assuming that I start a transaction each time I call a method on a bean, I
              > believe that committing the work will be done only after the method returned
              > successfully. Why can't the stub decide that if it something went wrong in
              > the transaction then it wasn't committed and it can be run again ?
              Its hard to decide whether the stub has to retry or not since the failure
              could have happened anytime. So, the stub will retry only if it knows for sure
              that it is safe to retry.
              - Prasad
              >
              > We need the method call failover services real bad, while making the methods
              > idempotent can be very awkward sometime.
              >
              > TIA
              > Eran.
              

  • DataGuard automatic failover

    Say an automatic failover has happened.
    The former primary DB is down.
    The former standby DB is now the primary DB and is up and running.
    I assume the clients have to reconnect to the second DB.
    Now, how can we make the automatic failover for the clients?
    (At least that you do not have to manually change the clients' tnsnames.ora to the new DB.)

    Take a look into the NET8 manual. The simple way is to define multiple addresses in the address list. That way you get a connect time failover: if the first instance isn't reachable the scond one will be used and so on.
    DB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    )

  • Replicating simple Java objects for automatic failover

    Is there a way to replicate a simple java object that is bound from JNDI
              across all servers so that if the primary server fails, it will
              automatically failover?
              We have a java client that uses JNDI to access EJBs on WLS5.1 SP8. In order
              to determine client information, the client currently binds a simple java
              class in the JNDI tree. The Entity and Session beans use the caller
              principal to locate the object in order to access client-information for
              such things as record locking, logging, etc..
              We have to move this architecture to a cluster environment and we are
              wondering how we can replicate this object across cluster servers so that
              failover is handled automatically, and that it is still accessible through
              JNDI.
              An RMI replicated stub is not enough, since it only works as long as the
              server hosting the RMI object is alive.
              I'd like to add that the object is created and bound at client start-up and
              destroyed at client exit.
              Thank you for any advice or information,
              Dania Kodeih.
              

    A: Replicating simple Java objects for automatic failover

    That's what I figured. I guess the only solution in this case is to persist
              the object during client sessions. I was hoping for something simpler, but I
              guess I'll have to create an Entity Bean and everything else that comes with
              it.
              Thanks,
              Dania.
              Cameron Purdy wrote in message <[email protected]>...
              >Unfortunately, when the originating server goes down, the replicated object
              >disappears.
              >
              >Peace,
              >
              >--
              >Cameron Purdy
              >Tangosol, Inc.
              >http://www.tangosol.com
              >+1.617.623.5782
              >WebLogic Consulting Available
              >
              >
              >"Don Ferguson" <[email protected]> wrote in message
              >news:[email protected]..
              >> If I am not mistaken, any serializable object will automatically be
              >replicated
              >> across the tree.
              >>
              >> Dania Kodeih wrote:
              >>
              >> > Is there a way to replicate a simple java object that is bound from
              JNDI
              >> > across all servers so that if the primary server fails, it will
              >> > automatically failover?
              >> >
              >> > We have a java client that uses JNDI to access EJBs on WLS5.1 SP8. In
              >order
              >> > to determine client information, the client currently binds a simple
              >java
              >> > class in the JNDI tree. The Entity and Session beans use the caller
              >> > principal to locate the object in order to access client-information
        �... [Show more]

    Read other 4 answers

  • Question How to switch between tabs automatically? for example every 30 seconds

    Question
    How to switch between tabs automatically? for example every 30 seconds

    Tab Mix Plus has that feature.
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • Hi my mac book pro is having some problem with mouse , With out my actions it's automatically running for example If I open some site the arrow is automatically pressing every where if u don't mind can u suggest me what I have to do

    Hi
    I am facing some problem mouse arrow with out my actions it's automatically running for example If I open a some site the arrow mark is going every where and automatically pressing and the particular sites are opening if u don't mind can u suggest me what I have do

    If you can still access the machine and haven't wiped the drive, open the Mac App Store, log in to your Apple ID, and try to download Mavericks from there. If it works, make a bootable USB from the
    Mavericks installer (google how to do this). Then boot to the USB wipe the drive and install Mavericks clean. And since it shoudl be associated with your Apple ID at that point you shouldn't have any issues.

  • Behaviour of Service Broker during clustered SQL Server failover

    Hi, 
    I have 3 instances of SQL Server 2005 hosted on a 3-node cluster, using Polyserve clustering.  Each instance is nominally hosted on its own node in the cluster.
    I have configured Service Broker to route messages from INST-A (on NODE-1) to INST-C (on NODE-3), using TCP and a NetBIOS name.  This NetBIOS name obviously uses the machine name of the node, rather than the virtual machine name of the instance.
    Under normal conditions, this works, messages sent from INST-A to INST-C are received and processed.
    However, should INST-C failover (for example to NODE-1), the route created to INST-C from INST-A is no longer valid; INST-C is now on a different node to that specified in the route.
    Service Broker stops, unable to put messages onto the queue on INST-C, so backing them up in sys.transmission_queue on INST-A.  To fix, I have to update the route as appropriate.
    We have thousands of messages being sent every minute.  While a delay in sending them during an actual failover is expected, would it not also be expected to recover itself and process any backlog without manual intervention?
    Is there something I'm missing in my configuration?  Or do I need to set up some other means to automatically update the route upon failover?  In which case, how can I programmatically determine the node to which it has failed-over?
    Configuration scripts:
    Target Endpoint:
    CREATE ENDPOINT ServiceBrokerTargetEndpoint
    STATE = STARTED
    AS TCP(LISTENER_PORT = xxxx)
    FOR SERVICE_BROKER(AUTHENTICATION = WINDOWS, ENCRYPTION = REQUIRED)
    CREATE ROUTE RouteToTargetService
    WITH SERVICE_NAME = 'ServiceBrokerTargetService', ADDRESS = 'TCP://INST-C:xxxx'
    INST-A and INST-C are both SQL 2005 Enterprise edition.
    Thanks for any assistance.
    Simon

    Hi David, 
    Thanks for correctly guessing our longer term plans.  It's good to know this won't be a problem in the future.
    However, that doesn't answer my original question, which is a bit more pressing than waiting until we have migrated.  If it can't be done, it can't be done, and we'll just bear that in mind when responding to failover events.  But I would prefer
    a definitive "no, it can't" rather than a speculative "no".  
    Regards, 
    Simon

Maybe you are looking for

  • Adobe Reader X re-enabling "Display in browser" option by itself

    Hi all, I've ran into this problem with two users, but can't seem to figure out how to fix it. We've unticked the "Display in browser" option under Preferences a couple of times, but it always re-enables itself after a few hours. I've also disabled t

  • Different input and output xml files [encoding]

    Welcome. I write a little code that connect to ftp server, log in, than search an input xml file. That file is input for BufferedReader. This data are writing to local file. Im from poland and i wish use polish fonts and that fonts are broken in this

  • Incoming Payment Check No. field not editable directly

    SBO 2007A, PL 42 Banking >> Incoming Payments >> Payment Means When I am entering an incoming check from a customer, on the Payment Means window, I can't click in the Check No. field and enter data, but if I tab over it to it from the amount field, I

  • Kind Chef mobile app, used Starling and Adobe AIR

    Hi everyone, Recently we were busily working on an idea called "KindChef" which is a system that helps restaurants and we as customers. We have started a campaign for it on Indiegogo site, which is a crowdfunding site backed by Google as some of you

  • Content Switch Design diagrams

    Hi Can anyone help in providing the web links/articles (with diagrams) that helps to visualize/design a network topology with Cisco 11500 Content Switch & NetApp Cache Engines for load balancing. Thanks in advance. Regards // Anoop