07-27-2009
11 server each create 1 transfer file, containing all file changes done during the day.
11 servers each connect to the other servers so as to receive this transfer file and process the update to the "local" copy of the "other" branch files.
And my client has "refused" any recommendation for a centralized backup server.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to search files (basically .cc files) in /xx folder and subfolders.
Those files (*.cc files) must contain #include "header.h" AND x() function.
I am writing it another way to make it clear,
I wanna list of *.cc files that have 'header.h' & 'x()'. They must have two strings, header.h... (2 Replies)
Discussion started by: ritikaSharma
2 Replies
2. Shell Programming and Scripting
Hi,
I want to grep multiple patterns from multiple files and save to multiple outputs. As of now its outputting all to the same file when I use this command.
Input : 108 files to check for 390 patterns to check for. output I need to 108 files with the searched patterns.
Xargs -I {} grep... (3 Replies)
Discussion started by: Diya123
3 Replies
3. Shell Programming and Scripting
Dear All,
I am trying to write a Unix Script which fires a sql query. The output of the sql query gives multiple rows. Each row should be saved in a separate Unix File.
The number of rows of sql output can be variable. I am able save all the rows in one file but in separate files.
Any... (14 Replies)
Discussion started by: Rahul_Bhasin
14 Replies
4. Shell Programming and Scripting
Hello,
I would like to ask for help with csh script.
An example of an input in .txt file is below, the number of lines varies from file to file and I have 2 or 3 columns with values. I would like to read all the values (probably one by one) and set them to independent unique variables that... (7 Replies)
Discussion started by: FMMOLA
7 Replies
5. Shell Programming and Scripting
Hi All,
I need to read values of 10 columns from oracle query and assign the same to 10 unix variables. The query will return only one record(row).
I tried to append all these columns using a delimiter(;) in the select query and assign the same to a single variable(V) in unix. I thought I... (3 Replies)
Discussion started by: hkrishnan91
3 Replies
6. Shell Programming and Scripting
Hello,
I have a file with below content - Example
3
6
69
139
210
345
395
418
490
492
I would like the result as - Multiple of 70 or nearest number in the file less than the multiple of 70
69
139 (5 Replies)
Discussion started by: Mannu2525
5 Replies
7. Shell Programming and Scripting
Hello Gurus,
I have a multiple pipe separated files which have records going over multiple Lines. End of line separator is \n and records going over multiple lines have <CR> as separator. below is example from one file.
1|ABC DEF|100|10
2|PQ
RS
T|200|20
3| UVWXYZ|300|30
4| GHIJKL|400|40... (7 Replies)
Discussion started by: dJHa
7 Replies
8. Shell Programming and Scripting
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Discussion started by: mohit_vardhani
2 Replies
9. Shell Programming and Scripting
I have 4000 files like
$cat clus_grp_seq10_g.phy
18 1002
anig_OJJ65951_1 ATGGTTTCGCAGCGTGATAGAGAATTGTTTAGGGATGATATTCGCTCGCGAGGAACGAAGCTCAATGCTGCCGAGCGCGAGAGTCTGCTAAGGCCATATCTGCCAGATCCGTCTGACCTTCCACGCAGGCCACTTCAGCGGCGCAAGAAGGTTCCTCG
aver_OOF92921_1 ... (1 Reply)
Discussion started by: sammy777888
1 Replies
10. UNIX for Beginners Questions & Answers
Hi ,
Can any please help the below requirement on all multiple servers and multiple dbs.
update configuration set value='yes' ;1)
the above statement apply on 31 Databases at a time on different Ip address
eg : 10.104.1.12 (unix ip address )
the above ip box contains 4 db's eg : db... (2 Replies)
Discussion started by: venkat918
2 Replies
LEARN ABOUT FREEBSD
rpc.ypxfrd
RPC.YPXFRD(8) BSD System Manager's Manual RPC.YPXFRD(8)
NAME
rpc.ypxfrd -- NIS map transfer server
SYNOPSIS
rpc.ypxfrd [-p path]
DESCRIPTION
The rpc.ypxfrd utility is used to speed up the distribution of very large NIS maps from NIS master to NIS slave servers. The normal method
for transferring maps involves several steps:
o The master server calls yppush(8) to inform the slave servers to start a transfer.
o The slave servers invoke ypxfr(8), which reads the entire contents of a map from the master server using the yp_all() function.
o The ypxfr(8) program then creates a new map database file by using the db(3) library hash method to store the data that it receives
from the server.
o When all the data has been retrieved, ypxfr(8) moves the new file into place and sends ypserv(8) on the local machine a
YPPROC_CLEAR to tell it to refresh its database handles.
This process can take several minutes when there are very large maps involved. For example: a passwd database with several tens of thousands
of entries can consume several megabytes of disk space, and it can take the db(3) library package a long time to sort and store all the
records in a hash database. Consider also that there are two sets of map files: master.passwd.by{name,uid} and passwd.by{name,uid}.
The rpc.ypxfrd utility speeds up the transfer process by allowing NIS slave servers to simply copy the master server's map files rather than
building their own from scratch. Simply put, rpc.ypxfrd implements an RPC-based file transfer protocol. Transferring even a multi-megabyte
file in this fashion takes only a few seconds compared to the several minutes it would take even a reasonably fast slave server to build a
new map from scratch.
The rpc.ypxfrd utility uses the same access restriction mechanism as ypserv(8). This means that slave servers will only be permitted to
transfer files if the rules in the securenets database permit it (see ypserv(8) for more information on securenets). Furthermore, only slave
servers using reserved ports will be allowed to transfer the master.passwd maps.
OPTIONS
The following option is available:
-p path
This option can be used to override the default path to the location of the NIS map databases. The compiled-in default path is
/var/yp.
FILES
/var/yp/[domainname]/[maps] The NIS maps for a particular NIS domain.
SEE ALSO
yp(8), yppush(8), ypserv(8), ypxfr(8)
AUTHORS
Bill Paul <wpaul@ctr.columbia.edu>
BUGS
The FreeBSD ypxfrd protocol is not compatible with that used by SunOS. This is unfortunate but unavoidable: Sun's protocol is not freely
available, and even if it were it would probably not be useful since the SunOS NIS v2 implementation uses the original ndbm package for its
map databases whereas the FreeBSD implementation uses Berkeley DB. These two packages use vastly different file formats. Furthermore, ndbm
is byte-order sensitive and not very smart about it, meaning that am ndbm database created on a big endian system cannot be read on a little
endian system.
BSD
June 2, 1996 BSD