Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to do an IP Divert From one ip to the other? Post 302521141 by kgrvamsi on Tuesday 10th of May 2011 10:07:38 AM
Old 05-10-2011
i have a Web application running on 10.0.0.3 and i have a IMS(intelligent monitoring System) wid ip 10.0.0.4 and i have a mysql replication chain of ip's from 10.0.0.5-10.0.0.8...where 10.0.0.5 behaves has the master.here i want to make the web aplication not to route directly to my database,it should first go to the IMS machine from there it should send the request to the database from there the rely should be sent to the web application.so here i want to know how can i make this architecture work practically??should i make my IMS as a proxy server????
 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

divert output

i want to run a ksh script 'myscript' at the background and direct the system to return any error msg to /tmp/myscript.err and the output of 'myscript' to /tmp/myscript.out how do i do that at the command prompt? thank you. (3 Replies)
Discussion started by: kanang
3 Replies

2. IP Networking

Divert DNS traffic to another gateway

hello all, i have a local bind9 dns server running on debian. its default gateway is 10.0.0.x. This internet gateway has limited bandwidth. we have another high speed internet connection(adsl) and the gateway to access this connection is 10.0.0.y. all users in the office are using... (2 Replies)
Discussion started by: coolatt
2 Replies
ypmake(8)						      System Manager's Manual							 ypmake(8)

NAME
ypmake - rebuild Network Information Service (NIS) database using the make command SYNOPSIS
cd /var/yp make [options] [map] OPTIONS
The options argument can be used to override the default values of three special variables used by make: Instructs make to use the source files in the specified directory. The default is /var/yp/src. Instructs make to construct a domain other than the master's default domain. The DOM variable in the /var/yp/Makefile file must be set to the domain name before running make. If you run ypsetup, the DOM variable is set when you specify a domain name. Specifies the database routines used to store NIS maps. The choices are: btree -- Recommended when creating and maintaining very large maps. dbm/ndbm -- For backward compatibility. This is the default. hash -- A potentially quicker method for managing small maps. When non-null inhibits updating of the new database files using the yppush(8) function. The default is the null string. To override the default values of these special variables, an options argument format of special_variable = value is used. See the EXAM- PLES section for an example. The map argument supplied on the command line instructs make to update only the specified map. The specified maps are those located at /var/yp/{domain}, where {domain} is the NIS domain name. Some typical entries for the map argument are passwd, hosts, and networks. Typing make passwd creates and updates the NIS password database, if it is out of date. The make command distributes the updated password database to the slave servers using yppush(8). Therefore, typing make host or make networks creates and updates the host and network files, /var/yp/src/hosts and /var/yp/src/networks, respectively, on the master and slave servers. See ypfiles(4) and ypserv(8) for an overview of NIS. DESCRIPTION
The make command uses the /var/yp/Makefile file to build an NIS database. With no arguments, make creates databases for any NIS maps that are out-of-date, and then executes yppush(8) to notify slave servers that there has been a change. Note Execute the make command only at an NIS master server machine. If it is executed from either a slave server or an NIS client machine, the created changes will only be overwritten when the next NIS master server machine update, using ypxfr(8), is performed. RESTRICTIONS
You must use the same database format for each map in a domain. In addition, a server serving multiple NIS domains must use the same data- base format for all domains. Although a Tru64 UNIX NIS server that takes advantage of btree files will be able to store very large maps, NIS slave servers that lack this feature might have a much smaller limit on the number of map entries they can handle. It may not be possible to distribute very large maps from a Tru64 UNIX NIS master server to a slave server that lacks support for very large maps. NIS clients are not affected by these enhancements. EXAMPLES
This example causes make to create a password NIS map for the domain NewDomain instead of for the default domain: make DOM=NewDomain passwd SEE ALSO
Commands: make(1), makedbm(8), yppush(8), ypserv(8), ypxfr(8) Files: ypfiles(4) ypmake(8)
All times are GMT -4. The time now is 02:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy