- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Synchronise file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 05:48 AM
09-01-2006 05:48 AM
i need an information please,
can we do in HP-UX a synchronisation of files or directories ,
for example , if i have two servers , and two files each on one server with the same name , and i make changes to one file and i want that the file on the other server that take the changes automatically also ?
thank's
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 05:54 AM
09-01-2006 05:54 AM
SolutionYou can use the rdist utility to copy files from one to the other but it is not automatic. You would have to cron something to periodically sync the files.
You should also look at rsync:
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/rsync-2.6.8/
It's smarter than rdist in that it can transfer only portions of changed files.
Really, NFS is the better approach because the changes are instantaneous (well, almost) and you don't have to worry about which copy is the actually the master. Consider what happens when the same file is updated on both hosts at the same time. They contain different data, but which one wins? NFS solves that for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 06:04 AM
09-01-2006 06:04 AM
Re: Synchronise file
also check on rsync utility for how to distribute files globally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 10:09 PM
09-01-2006 10:09 PM
Re: Synchronise file
Agent session started for user "root@scxpdap1.beac.int".
(pid=11104)
* Beginning Analysis Phase.
* Source:
scxpdap1.beac.int:/global/outils/RSYNC/rsync-2.6.8-hppa-11.23-2.depot
* Target: scxpdap1:/
* Target logfile: scxpdap1:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
The corequisite "gettext.gettext-SHLIBS" for fileset
"rsync.rsync-RUN,r=2.6.8" cannot be successfully resolved.
The corequisite "popt.popt-RUN" for fileset
"rsync.rsync-RUN,r=2.6.8" cannot be successfully resolved.
ERROR: The dependencies for fileset "rsync.rsync-RUN,r=2.6.8" cannot
be resolved (see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
* Executing preDSA command.
* Summary of Analysis Phase:
ERROR: Exclude rsync.rsync-RUN,r=2.6.8
ERROR: 1 of 1 filesets had Errors.
ERROR: The Analysis Phase had errors. See the above output for
details.
can you have ideas about that
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2006 01:29 AM
09-02-2006 01:29 AM
Re: Synchronise file
Have you solved the synchronization precedence problem yet? If not, installing the software is the easy part. NFS is still the better answer.