473,320 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

how to switch back after rerouting to alternative server

Hi,

I'm testing automatic reroute on two instances on the same server. The
client can successfully connect to instance 2 after I stop instance 1.
However I don't know how to let client back to instance 1. I start
instance 1. But client still connect to instance 2. Do I have to stop
instance 2 in order to let client switch back to instance 1? Is there
any other way to do it?

Thanks.

Jun 29 '06 #1
1 1387
I believe you will have to stop Instance2, as the client reroute "kicks in"
when the normally identified instance is not available.
As it switched to Instance 2, that one became the "normal " one and should
stay so until it (Instance2) dies and reroute will send the client to
Instance1.
From your question, you are not using HADR functions but just testing
reroute so the client has no clue that it should connect to 1 by preference
over 2 if it was rerouted to 2.
HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Challenge" <ha********@yahoo.com> a écrit dans le message de news:
11**********************@75g2000cwc.googlegroups.c om...
Hi,

I'm testing automatic reroute on two instances on the same server. The
client can successfully connect to instance 2 after I stop instance 1.
However I don't know how to let client back to instance 1. I start
instance 1. But client still connect to instance 2. Do I have to stop
instance 2 in order to let client switch back to instance 1? Is there
any other way to do it?

Thanks.


Jun 30 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Dave | last post by:
Hello all, Consider the case of an if with many else if clauses vs. a switch with many cases. In thinking about how such control constructs would likely be implemented, it would seem that...
5
by: Bryan Parkoff | last post by:
C++ programmers and I tried to experience by writing 65536 switch cases. It is too large for Windows XP and other operating system to handle. It looks like that JMP Table obtains 256K bytes for...
2
by: Saber | last post by:
I've a repeater and here is a piece of HTML when I use, I can't switch back to Design view: <a href=default.aspx?id=<%#container.dataitem("id")%>Some Link</a> I get this error message: Could...
9
by: Codex Twin | last post by:
I am re-sending this in the hope that it might illicit a response. I have a corporate client who forces their workstations to get the proxy server details using an automatic proxy discovery script....
9
by: Raj | last post by:
public static void HandleException(ref Exception io_exException, bool i_blnPropagateException) { switch (true) { case io_exException is ApplicationHandledException: { if...
5
by: Phuff | last post by:
Hey all, I need some direction help. I have a switch case statement that is seemingly my only option right now, but its too large and not easy to maintain the code. Here goes... I have part...
11
by: Brad | last post by:
Does anyone know of a method to reroute a web page to a file. When someone comes to a web page, I would to reroute the output from a web page to a file on our site. The web page we are rerouting...
10
by: anon.asdf | last post by:
Here's a reminder of duff's device: /*************************************/ #include <stdio.h> #define STEP 8 #define MAX_LEN STEP*4+1 #define SOURCE_LEN 28
20
by: Ryan Liu | last post by:
Hi, I have a client/server application, using one thread/client approach. I see very high context switch/sec. What are the ways to reduce it? Each thread sleep longer in its endless loop if...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.