redirect connection


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users redirect connection
# 1  
Old 03-16-2005
redirect connection

I have two UX servers ( eg. Server A , Server B ) , the users use Netterm as emulator to telnet to connect to these servers , each server have assigned a dedicated IP address ( eg. Server A --> 192.168.1.1 , Server B --> 192.168.1.2 ) , now if a user want to connect Server A , he need to telnet to the Server A's IP address ( 192.168.1.1 ) .
I want to ask if Server A failure suddenly and a user want to connect to Server A , is it possible to redirect the connection from Server A to Server B ( from 192.168.1.1 to 192.168.1.2 ) ? thx

eg. assume Server A and Server has the same login password and same data so user can login either server
# 2  
Old 03-16-2005
A quick fix HA solution for this scenario

Use a second ip address on each machine, either by adding a second real connection or a virtual host.

On serverA monitor serverBs 2nd address and vice versa for serverB.

If you can't contact the second interface on the other server, bring up a virtual host on your primary interface with the primary ip of the other server. Once you can once again reach the second ip address of the other server drop this virtual host.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How keep running a program n an another computer via a connection ssh when the connection is closed?

Hi everybody, I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop. I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies

2. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

3. UNIX for Advanced & Expert Users

Connection reset by peer..closing connection

Hello I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS). What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies

4. UNIX for Dummies Questions & Answers

ssh_exchange_identification: Connection closed by remote host Connection closed

Hi Everyone, Good day. Scenario: 2 unix servers -- A (SunOS) and B (AIX) I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time. Some of these sftp's fail with the following error: ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies

5. Solaris

Redirect an application with a Serial connection

Hi community, I've currently working on SUN Server V490 and I'm connecting with a Serial port (I DON'T HAVE ANY IP CONNECTIVITY)...I need to redirect the graphic interface of Oracle with the dbca command; I know a way with an IP Connectivity ( use a X-Server and then setenv DISPLAY... (7 Replies)
Discussion started by: Sunb3
7 Replies

6. Shell Programming and Scripting

Redirect within ksh

I am using ksh on an AIX box. I would like to redirect the stdout and stderr to a file but also show them on the terminal. Is this possible? I have tried tee within my file without success. This is the code I have so far exec > imp.log 2>&1 | tee exec 1>&1 I am new to shell scripting, so... (3 Replies)
Discussion started by: podzach
3 Replies

7. SCO

Redirect archive0?

Hello UNIX-community, We have an older SCO UNIX-system running PCS3 (an industrial platform) and since a few weeks we are experiencing problems with our archiving software. For about ten years, the system archives data to Magneto-Optical discs (MO-discs) and thus far it has worked fine.... (0 Replies)
Discussion started by: V4Friend
0 Replies

8. Shell Programming and Scripting

redirect STDIN

can you redirect STDIN with command arguments? I have tried this approach: # ./script -option <argument1> <argument2> 0<$2 # $2: ambiguous redirect Is this possible? (4 Replies)
Discussion started by: prkfriryce
4 Replies

9. Shell Programming and Scripting

Redirect messages

I have this script which invoke a java program and in the program I have several System.out.println statement to write messages to standard output, I wanna to redirect these to a log file so I did java blah blah blah > log.txt 2>&1 but I can't see any of those messages, can anybody help?... (2 Replies)
Discussion started by: mpang_
2 Replies

10. IP Networking

Redirect

I'm sittig behind a firewall that doesn't allow ftp. I have a conection to a UNIX system, connecting throug SSH. Is it possible to redirect the ftp through the UNIX to my computer? (1 Reply)
Discussion started by: <Therapy>
1 Replies
Login or Register to Ask a Question