bpstart_notify and updating /etc/hosts file on media server
Hello All,
I have been wokring with my network team to try to figure out how to resolve the following issue.
We have a customer with several Windows clustered file servers.
I am aware of the best practices for protecting clustered file servers (virtual IP) but for this customer we cannot do this because we use PVLAN's and so transferring the virtual IP would cause it to be blocked because it is assigned to the other nodes MAC address.
An idea popped up to use a bpstart_notify script to perhaps update the cluster IP to the other nodes IP in the /etc/hosts file on the media server but I don't know if this is even possible.
The idea at the time of the backup is for bpstart_notify to:
- Check current configured IP address for cluster for active node (from command line)
- if node 1 is active then update /etc/hosts on media server from 192.168.0.12 to 192.168.0.13
- if node 2 is active then update /etc/hosts on media server from 192.168.0.13 to 192.168.0.12
Then run the backup.
My questions are:
do you think this is feasible?
will the bpstart_notify work on the media server per policy/client? I don't want this to run for every backup if I run it on the media server.
Hi All,
In the end despite my best efforts, none of the suggested solutions were able to fix my issue.
I ended up writing an SOP to my team if a failover occured, then they just move the cluster alias name to the other node. This is going to just be a workaround until the end of the year when our network refresh occurs