- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Windows Server 2003
- >
- DHCP servers Active/Disable
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2008 10:42 PM
тАО01-28-2008 10:42 PM
srv_1 IP: 192.168.0.7
srv_2 IP: 192.168.0.8
I am running two dhcp servers(srv_1, srv_2) having same IP Range(Same scope) on Windows Server 2003.
dhcp service is disable/stoped on srv_2, that is right now there is only one DHCP server(srv_1) available.
Please share with me the code/script(vb or batch), that will check if the srv_1 is alive/active(ping srv_1), if not then this script enable/start the dhcp service on srv_2, but it continues to check via ping that srv_1 is alive or not. Once Srv_1 is enable/active/alive, the script will stop/disable the dhcp service on srv_2.
This script will be placed on srv_2.
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2008 09:37 PM
тАО01-29-2008 09:37 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2008 10:09 PM
тАО01-29-2008 10:09 PM
Re: DHCP servers Active/Disable
I am not sure, if this will be answer to your question, but having 2 servers has no sense not to use them if no particular reason. Try to consider having this server configured as redundant and always running. with same scope create different exlusions and create same reservation on both of them so you would have 2 redundant servers distributing load and serving clients.
Would it be acceptable? Scripting it will decrease what you could have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2008 05:06 AM
тАО01-30-2008 05:06 AM
Re: DHCP servers Active/Disable
Lucky Luciano
Nice Suggestion. Thanks for your detailed reply and suggestions.
>with same scope create different exlusions and create same reservation on >both of them...
Ok If I configure the dhcp server on SRV_1, is there any utility so that I export all the configs(reservations, IP Range/Scope etc) to a file, and then Import all the settings on SRV_2 from that file ? so that I dont have to configure the SRV_2 manually.
Second, as I am going to start work on the DHCP-Redundancy project(thanks Igor), but still I would like to have such a script.
Thanks and Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2008 05:29 AM
тАО01-30-2008 05:29 AM
Re: DHCP servers Active/Disable
I think that netsh should be a way
http://blogs.technet.com/teamdhcp/archive/2006/07/18/442311.aspx
just to be careful and to play with it
:-)