ok,
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.
Questions?
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?
Thanks.
as always.. your idea is ALWAYS more efficient than our..thanks