- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- two way file replication
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-28-2006 10:56 PM
тАО03-28-2006 10:56 PM
I have two HP-UX boxes(B.11.11 ). They are being used as application servers.
Our applications write some files (images/jpegs) on the local servers (not database).. But users can login any application servers and can request the file! So I need to replicate new files between application servers..
How can I do this.. ?
AFAIK, rsnyc tool can replicate as master / slave mode.. So I can not do 2 way replication..
If I use NFS and put all files to a single app server, then if that application server crashes I will lose my functionality (for disaster recovery) and files !
TIA..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2006 11:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2006 11:34 PM
тАО03-28-2006 11:34 PM
Re: two way file replication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 02:10 AM
тАО03-29-2006 02:10 AM
Re: two way file replication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 02:21 AM
тАО03-29-2006 02:21 AM
Re: two way file replication
Here are two options, you can chose which ever suite to you.
Option 1.
Install rsync on both the systems. Run rsync from Server1 to Server2 with out -delete option. This will copy all the data from server1 to server2, but will not delete anything from server 2. Then
run rsync from Server2 to Server1. This will again copy additional data from Server2 to Server1, remember you should not use -delete option.
Option 2.
Use NFS, Mount Server1 filesystem in Server2 and create files in single location. For high availability, you may need to go for MC/Service guard, or Array level sharing, etc.
Hope this helps.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2006 04:55 PM
тАО03-29-2006 04:55 PM
Re: two way file replication
I will save copy of files every night to other machines different directory..
In case of a failure in machine which exports files, I will change the other machine's directory's name to NFS chare directory and continue to work..!
Do you see any problem here ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 03:15 AM
тАО03-30-2006 03:15 AM
Re: two way file replication
Consider at the same time NFS weaknesses..
Best luck
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 03:23 AM
тАО03-30-2006 03:23 AM
Re: two way file replication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2006 04:03 PM
тАО03-30-2006 04:03 PM
Re: two way file replication
but in the future if/when you upgrade,
another possible approach would be
Serviceguard but with the Cluster
File System (CFS) instead of NFS.
If two instances of your application
are able to read/write to the NFS mounted
directory then that implies it is
already doing all the proper locking
operations.
You would likely be able to substitute CFS
here and still have HA and none
of the NFS management headaches.
Until then, NFS under Serviceguard is
just the ticket.