11-15-2011
sync directory
Hi,
I have directory name as TEST on server1 and same directory TEST on server2 now i need to
using
these directories as new directories and files will be generated by application in TEST directory daily. I dont have rsync package on server. My approach is by
lists all sub-directories and files then result will go to output file and using output file
to TEST on servers2 .Please assist to create script.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
What's the idea of Unsyncron SUN WS's ? one of our client had a problem & my supervisor told me that this causes of unsynchron WS's i mean maybe the setting of one is not compatible with other .....
Any Suggestion would be helpful
Rgrds,
nikk (1 Reply)
Discussion started by: nikk
1 Replies
2. Solaris
hi all ,
i have a E4900 server cluster that consists of 2 Servers (Cluster1 and cluster2 )
all of my crons are located under /var/spool/cron/crontabs .
I am trying to put them on a shared place , so thati dont have to edit both crons on every system .
thank you
cheers (3 Replies)
Discussion started by: ppass
3 Replies
3. Solaris
Hi all....I have a Sun Ultra2 that I want to use with my PC monitor. I have purchased an adapter that does not work and I was told I need to change my video card setting (if I can) to Separate Sync.....my Monitor product number ends in 1343......I am running SunOS 5.7 ......anyone have any ideas?
... (0 Replies)
Discussion started by: psantinello
0 Replies
4. Solaris
Hi Gurus
I ave a Prod,standby and DR server(All Sol 5.9) and i need to sync the Application running in prod,standby and DR. The Application vests in a filesystem(a directory) and syncing the directory would server my purpose.
I came across rsync utility and am planning to implement it. But... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies
5. Shell Programming and Scripting
Hi guys, can you help. I have looked all over the site and can not find the info I'm after. Perhaps I am missing something very obvious. I want to syncronise between 2 servers, I can not use NFS mount/share. So I have been looking at scp, rsync, rdist. Thing is, I want only the newer files to... (2 Replies)
Discussion started by: Boloic
2 Replies
6. UNIX for Dummies Questions & Answers
Folks;
I have 2 SUSE DNS servers, one will be the master and one will be the slave. we normally update the master when adding any new servers to the DNS list.
I'm looking for a way to sync both servers every night, so the slave is updated nightly.
I thought of using "rsync" with cron to sync... (1 Reply)
Discussion started by: Katkota
1 Replies
7. UNIX for Advanced & Expert Users
Hi All,
want to sync. two servers , both are having solaris os.
If am updating any thing in one server , it will automatically sync. with the other server .
Is it possible , if so den how ? (3 Replies)
Discussion started by: natraj005
3 Replies
8. Solaris
rsync for solaris seems to be a spotty beast. It's not installed by default. I facing a problem where I didn't have root access to be able install rsync. I did have ssh access and was able to configure the authorized keys so that no password was required to connect from one server to another. ... (1 Reply)
Discussion started by: abe123
1 Replies
9. UNIX for Advanced & Expert Users
I'm quite new to SVN and having configured it based on tutorials from youtube etc, I have it setup like below:
* User1 and User2 can commit and update using their own passwords,
* Updates from both user1 and user2 are visible to each other
* files are shared between both user1 and user2
*... (2 Replies)
Discussion started by: busyboy
2 Replies
LEARN ABOUT DEBIAN
apache::testrun
Apache::TestRun(3pm) User Contributed Perl Documentation Apache::TestRun(3pm)
NAME
Apache::TestRun - Run the test suite
SYNOPSIS
DESCRIPTION
The "Apache::TestRun" package controls the configuration and running of the test suite.
METHODS
Several methods are sub-classable, if the default behavior should be changed.
"bug_report"
The "bug_report()" method is executed when "t/TEST" was executed with the "-bugreport" option, and "make test" (or "t/TEST") fail. Normally
this is callback which you can use to tell the user how to deal with the problem, e.g. suggesting to read some document or email some
details to someone who can take care of it. By default nothing is executed.
The "-bugreport" option is needed so this feature won't become annoying to developers themselves. It's automatically added to the
"run_tests" target in Makefile. So if you repeateadly have to test your code, just don't use "make test" but run "t/TEST" directly. Here is
an example of a custom "t/TEST"
My::TestRun->new->run(@ARGV);
package My::TestRun;
use base 'Apache::TestRun';
sub bug_report {
my $self = shift;
print <<EOI;
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
EOI
}
"pre_configure"
The "pre_configure()" method is executed before the configuration for "Apache::Test" is generated. So if you need to adjust the setup
before httpd.conf and other files are autogenerated, this is the right place to do so.
For example if you don't want to inherit a LoadModule directive for mod_apreq.so but to make sure that the local version is used, you can
sub-class "Apache::TestRun" and override this method in t/TEST.PL:
package My::TestRun;
use base 'Apache::TestRun';
use Apache::TestConfig;
__PACKAGE__->new->run(@ARGV);
sub pre_configure {
my $self = shift;
# Don't load an installed mod_apreq
Apache::TestConfig::autoconfig_skip_module_add('mod_apreq.c');
$self->SUPER::pre_configure();
}
Notice that the extension is .c, and not .so.
Don't forget to run the super class' c<pre_configure()> method.
"new_test_config"
META: to be completed
perl v5.14.2 2011-02-08 Apache::TestRun(3pm)