troubleshooting Question

Synchronize folders on two AIX taking into account a DNS record.

Avatar of sminfo
sminfo asked on
Unix OS
9 Comments1 Solution628 ViewsLast Modified:

We have two AIX boxes with rsync installed. One server is 'b5' and the other 'b5cont'.  There's a DNS record 'b5srv' which can be the IP of 'b5' or 'b5cont' depending where we want to have the service running. On the initial state the IP of 'b5' is the same of 'b5srv'.

Both servers has a folder /FOLDER which has to be identical no matter the service 'b5srv' is running.

We must use RSYNC or other open source software, there's no $$$ for HACMP, GLVM or other commercial software.

What we have thought is to make an script that runs on both servers which compares the IP of 'b5srv' with the local IP and if it's the same, it invokes the rsync command to make the synchronization.


Is there another simple or better way to do that?
If we use this way, which is the best way to get AIX's IP? ifconfig? netstat -in? other?

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros