- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to syncronize failover server with a modif...
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
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
тАО04-19-2006 03:46 AM
тАО04-19-2006 03:46 AM
how to syncronize failover server with a modified file on primary server ?
How can I do it ?
P.S:Password less ssh authentication is already enabled between 2 servers so that I can scp with no problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 07:29 AM
тАО04-19-2006 07:29 AM
Re: how to syncronize failover server with a modified file on primary server ?
scp -p /etc/pb.conf server2:/etc
I think the problem is that if you failover, you can't be sure of having access to the primary servers configuration.
I suggest a regularly run cron job to scp it to an alternate location on the backup server. Then you can use diff in a script to see changes.
Or you could use rsync via ssh to keep the files in sync all the time.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 08:33 AM
тАО04-19-2006 08:33 AM
Re: how to syncronize failover server with a modified file on primary server ?
Thanks for the response.
I did something similiar to what you suggested. I do cksum of the current file (pb.conf) and put it in a /tmp/pb.temp file. Then I run the script thru cron nightly and compare current cksum of pb.conf with the one in pb.temp and see if there is a differece. if there is, I scp the file over to remote server.
I could have scp the file to failover server every night but I thought maybe I should ohly do it if /etc/pb.conf
is modified.
Thanks for making me think.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 08:34 AM
тАО04-19-2006 08:34 AM
Re: how to syncronize failover server with a modified file on primary server ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2006 03:10 PM
тАО04-19-2006 03:10 PM
Re: how to syncronize failover server with a modified file on primary server ?
by SEP. Another alternative is cfengine.
This is available with HP-UX starting
with 11.23 December 05.
cfengine is too big a hammer for a single
file, but if you find you have other aspects
of the systems that you'd like to synchronize,
it could be the right approach.
pete