Sponsored Content
Full Discussion: Production to DR switch
Special Forums IP Networking Production to DR switch Post 302767519 by mohtashims on Thursday 7th of February 2013 03:12:17 AM
Old 02-07-2013
Network Production to DR switch

Hi,

I have application server on IP 10.10.220.42 (Prod).

When the Production goes down I wish to switch over all my application server's configuration files onto IP 10.10.220.45 (DR).

The client is exposed to proxy apache http webserver running @ IP 10.10.220.30

Can you please suggest what configuration change needs to go in where inorder to achieve Prod -> DR switch ?
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

need help.. ! Production Env.

Hi ! I want to delete a softlink... with a name.. " -> ALCATEL " FYI:- lrwxrwxrwx 1 infomcm develop 32 Dec 3 2007 COX -> /wlsuite/om/cm/build/sandbox/COX lrwxrwxrwx 1 infomcm develop 33 Jul 21 05:52 WL10 -> /wlsuite/om-cm/build/sandbox/WL10 lrwxrwxrwx 1... (2 Replies)
Discussion started by: dashok.83
2 Replies

2. Shell Programming and Scripting

how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable

hi, how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable which needs to be connected to one console server having rj11 on its side and db 9 female on other end.i.e. on switch side,console cable has rj45 and db 9 pin female connector on other side of... (1 Reply)
Discussion started by: pankajd
1 Replies

3. UNIX for Dummies Questions & Answers

To know the server which the production is pointing to?

Hi, How to know which server(Application or webserver) the production link or url is pointing to? Is there any command to get the server IP address? Thanks in advance. (3 Replies)
Discussion started by: venkatesht
3 Replies

4. BSD

Copying OpenBSD Kernel from a non production to production machine

Hi All, There are few OpenBSD 4.8 servers without compiler installed at my working place. However, sometimes there are some patches released for patching the kernel. My question is: Can I setup a non production OpenBSD 4.8 server as a test machine with compiler installed and use it to... (1 Reply)
Discussion started by: lcxpics
1 Replies
smtpdcheck(1)							Mail Avenger 0.8.3						     smtpdcheck(1)

NAME
smtpdcheck - check SMTP servers SYNOPSIS
smtpdcheck [--stop {ip-addr|name}] [--timeout seconds] [prio:]server [[prio:]server] DESCRIPTION
smtpdcheck checks to see if SMTP servers are available. The intent is for use on secondary mail servers, which have no reason to accept mail when the primary server is available. The argument consists of a list of server names, each of which may optionally be prefixed by a numeric MX priority and a colon. (This is exactly the format for MX records returned by the avenger dns command.) smtpdcheck will attempt to connect to each server in succession. If one of the servers specified on the command line is available, smtpdcheck will print its name to standard output and exit with status 1. If smtpdcheck cannot connect to any of the servers, it will exit with status 0. If a system error occurs, smtpdcheck will exit with status 2. OPTIONS --stop {ip-addr|name} Tells smtpdcheck to stop before checking a server with IP address ip-addr or hostname name. If such a host is encountered in the list of servers and prio is specified, then smtpdcheck will consider it acceptable for other servers with the same priority to be available, even if those servers were first in the list. In other words, given the following arguments: smtpdcheck --stop s2.domain.com 10:s1.domain.com 10:s2.domain.com 20:s3.domain.com This command will always succeed, regardless of whether "s1.domain.com" is up, because "s2.domain.com" has the same priority. On the other hand, the following command will fail and output "s1.domain.com" if "s1.domain.com" is up: smtpdcheck --stop s2.domain.com 10:s1.domain.com 20:s2.domain.com 30:s3.domain.com If a gethostbyname lookup for the argument name fails, smtpdcheck will exit immediately with status 2. --timeout {seconds] By default, smtpdcheck spends 10 seconds probing each server. This includes the time to do a DNS lookup, to establish a TCP connection to port 25 of the server, and to read the "220" SMTP code from the server's SMTP greeting message. To use a different value, specify it with the --timeout option. The value 0 disables the timeout completely, which is dangerous since smtpdcheck might then end up waiting forever to read the "220" string. EXAMPLES
To refuse to relay mail at a secondary MX server when the primary server is not down, you might place the following in /etc/avenger/secondary (assuming MxLocalRcpt is 1): dns RECIP_MXES mx "$RECIPIENT_HOST" setvars server=`smtpdcheck --stop $MYIP $RECIP_MXES` test -n "$server" && defer "Please use server $server" SEE ALSO
avenger(1) dbutil(1) asmtpd.conf(5), The Mail Avenger home page: <http://www.mailavenger.org/>. BUGS
smtpdcheck could achieve much lower latency by probing all the servers simultaneously. It should also include some kind of caching, to avoid repeatedly trying to contact an unavailable server. Finally, hosts with multiple IP addresses could be handled more cleanly, though what smtpdcheck does should probably work in most cases. AUTHOR
David Mazieres Mail Avenger 0.8.3 2012-04-05 smtpdcheck(1)
All times are GMT -4. The time now is 04:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy