1834798 Members
2798 Online
110070 Solutions
New Discussion

File transfer to nodes

 
SOLVED
Go to solution
WW451512
Advisor

File transfer to nodes

Hi All,

(Someone was asked this que in an interview, so I was just curious to know the answer)

In a cluster, remsh, scp, rcp etc are not working (because of security reasons), how can you transfer a bunch of files to other nodes in one single command while maintaining their attributes.

Let me know if there is any answer to this.

Thanks
7 REPLIES 7
melvyn burnard
Honored Contributor

Re: File transfer to nodes

look at using DSAU (Distributed System Administration Utilities), or if you have a fairly new SG version, there ar builtin commands
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Steven Schweda
Honored Contributor

Re: File transfer to nodes

The answer might depend on what "etc"
includes.
Victor Fridyev
Honored Contributor

Re: File transfer to nodes

If etc does not include nfs, mount a remote fs and copy the bunch to it with tar or rsync
8)))
Entities are not to be multiplied beyond necessity - RTFM
Stephen Doud
Honored Contributor

Re: File transfer to nodes

If all cross-node copy protocols are closed but email is enabled, consider this:
tar -> gzip -> attach zipped file to an email and send it to the target server. On the target server, create a .forward file that identifies the email content and processes the attachment.
njia_1
Trusted Contributor

Re: File transfer to nodes

Hi there


Have you tried cmcp ? cluster copy command ?

there are some differences if you running HPUX 11.11 and SG 11.16 or the later SG on IA servers.

scp is not working for security reasons ? mmm, I don't get it.

thanks
njia_1
Trusted Contributor
Solution

Re: File transfer to nodes

Hi there

ccp is the answer, cmcp is old and not supported command I think.

thanks
WW451512
Advisor

Re: File transfer to nodes

Thanks all for your suggestions, specially Njia and Melvyn for making me aware of some commands/utilities I have never heard of.