By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,276 Members | 1,328 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,276 IT Pros & Developers. It's quick & easy.

log shipping using ftp

P: n/a
Hi,
I want to implement some log shipping from a production server to a
remote stand-by server. I am using db2uext to do this. But is their a
way I can 'twig' the db2uext.cdisk prog to FTP instead of using the
cp. IF so how please.
db2 v.8.1
aix 5.2

thanks
PS
Nov 12 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

Peter Sands wrote:
Hi,
I want to implement some log shipping from a production server to a
remote stand-by server. I am using db2uext to do this. But is their a
way I can 'twig' the db2uext.cdisk prog to FTP instead of using the
cp. IF so how please.
db2 v.8.1
aix 5.2

thanks
PS


IIRC it is possible to make ftp on AIX autoexecute commands.
That would be a way to go. Sorry but I dont know how. See the man page for
details.
But as security seems not to be a concern (ftp is not secure) why not use
rcp (which is not secure too)? That is the tool intended for that kind of
tasks and the changes to db2uext2.cdisk are minimal:
cp -> rcp
/local/archive -> user@host:/remote/archive
If security is an issue, you may use scp (maybe not part of AIX 5.2, in AIX
4.3 it is part of the freeware tools). To use it, just replace the call to
rcp with scp (That's what I use).

HTH

Joachim Banzhaf

Nov 12 '05 #2

P: n/a
Joachim Banzhaf <jb******@ngi.de> writes:
Hi, Peter Sands wrote:
Hi,
I want to implement some log shipping from a production server to a
remote stand-by server. I am using db2uext to do this. But is their a
way I can 'twig' the db2uext.cdisk prog to FTP instead of using the
cp. IF so how please.
db2 v.8.1
aix 5.2

thanks
PS

IIRC it is possible to make ftp on AIX autoexecute commands.
That would be a way to go. Sorry but I dont know how. See the man page for
details.
But as security seems not to be a concern (ftp is not secure) why not use
rcp (which is not secure too)? That is the tool intended for that kind of
tasks and the changes to db2uext2.cdisk are minimal:
cp -> rcp


I think rcp/rlogin is quite a bit less secure than ftp because it isn't
just vulnerable to attacks on an active session but also to creating or
modifying existing .rhosts files, and an attack on a file can be done at
a malicious user's leisure, rather than just during the active session.

Joseph
Nov 12 '05 #3

P: n/a
Ken
> I think rcp/rlogin is quite a bit less secure than ftp because it isn't
just vulnerable to attacks on an active session but also to creating or
modifying existing .rhosts files, and an attack on a file can be done at
a malicious user's leisure, rather than just during the active session.


Take a look at sftp or scp - the secure shell implementation of ftp &
rcp. I use this to automate file transfers between servers.
Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.