JB Blanco
asked on
Need a good solution to deploying hosts files to several servers that does not involve GPO
Need a good solution to deploying hosts files to several servers that does not involve GPO
Hi,
I need a good and fast way to deploy a hosts file or edit the hosts file of many Application servers at once and then be able to roll back if necessary.
Also, these servers are not all on the same domain. And some are not even part of a domain but a workgroup. So this makes things complicated.
We need to make this happen in preparation for a SQL DB migration that is occurring next week.
I was looking online for different ways to do this.
I found some powershell script solutions but there may be a great tool for this instead. I feel this is a very common situation for Application servers and making sure there are no issues incase DNS goes broke for whatever reason. I feel it is also great for Failover situations.
Your thoughts please. Thanks
Hi,
I need a good and fast way to deploy a hosts file or edit the hosts file of many Application servers at once and then be able to roll back if necessary.
Also, these servers are not all on the same domain. And some are not even part of a domain but a workgroup. So this makes things complicated.
We need to make this happen in preparation for a SQL DB migration that is occurring next week.
I was looking online for different ways to do this.
I found some powershell script solutions but there may be a great tool for this instead. I feel this is a very common situation for Application servers and making sure there are no issues incase DNS goes broke for whatever reason. I feel it is also great for Failover situations.
Your thoughts please. Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you check the WhatIF is basically a switch where you want to "Simulate" what the script does.
To actually do it you must remove the "-WhatIf" all over the place to test it in a secure environment :) the whole idea is that you could safely run the script and check the steps it does before actually doing it.
To actually do it you must remove the "-WhatIf" all over the place to test it in a secure environment :) the whole idea is that you could safely run the script and check the steps it does before actually doing it.
ASKER
I will test this out this week and get back to you.
Thanks!
Thanks!
ASKER
Looks like this may be exactly what we need. Thanks again. Still in the testing phase and tweaking it to our needs.
Thanks for your patience
Thanks for your patience
Amazing to know that and I'm glad to help
ASKER
Wow, nice! First of all thank you for your response!
Can you elaborate more on your last few lines "Check them with whatif remove all whatif for production"
What does it do exactly?