Things to be considered when swapping IPs: (Put IP addresses of current servers to new servers)
- Stop all the services on all 6 nodes ensuring no java processes are still running
For Example.
- ps-ef | egrep 'java|adm' (where adm is the application account on the server) - Ensure that the services are not configured to auto-start
- Edit java.security to ensure networkaddress.cache.ttl=1
(vi /opt/radiantone/vds/jdk/jre/lib/security/java.security) - Ensure hosts files of the new servers contain the NEW IP addresses prior to server
- Shorten DNS TTL to something like 5 minutes
- Configure DNS to swap IP
- Configure Servers to swap IP (reboot required)
- Ensure firewalld is running prior to starting services
- Ensure all the required firewall ports are open
- (ports 389,2389,636,1636,7171,7070,3888,2888,8090,2181,9101 -- if using all default ports) - Ensure that firewalld is now running as a service (if it wasn't before)
- Check to see if there is any reference to the old IP in the server files
(grep -R --exclude=*.log <old_ip> /opt/radiantone/vds/ |grep -v vds_server_access
After the change:
- Set networkaddress.cache.ttl back to -1 after 48 hours
- Set the DNS TTL back to 24 hours - set back from 5 minutes to 24 hour
Comments
Please sign in to leave a comment.