https://github.com/timnew/metapaasprovisiondaemon
A windows service that rename the computer according to its ipaddresses
https://github.com/timnew/metapaasprovisiondaemon
Last synced: about 1 month ago
JSON representation
A windows service that rename the computer according to its ipaddresses
- Host: GitHub
- URL: https://github.com/timnew/metapaasprovisiondaemon
- Owner: timnew
- Created: 2012-04-23T05:10:50.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-23T09:22:41.000Z (about 14 years ago)
- Last Synced: 2025-02-28T18:01:16.376Z (over 1 year ago)
- Language: C#
- Size: 523 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MetaPaasProvisionDaemon
=======================
A windows service that rename the computer according to its ipaddresses. It is designed for MetaPaas KVM based vitural machines,
which have problem with its computer name. All instances' computer name are the same, which cause problems to services who identify
hosts based on computer name, such as SQL Server and MSMQ, etc.
The service rename the computer based the computer's ip address with the service is started. And rename the computer if needed, then
reboot. The reboot is required by Windows, and only happened after renaming occurs.
The Computer Name will be renamed according to its ip address as following rule:
IP Address: 10.18.9.222 ==> Computer Name: MetaPaas-10-18-9-222
Prefix "MetaPaas-" and splitter "-" are configurable, which can be changed in .settings configuration file.
Known Issues:
1. Service might work inproperly if the computer have multiple network interfaces.
2. Service might work inpropery if the computer is not connected to network.
3. Service might work inproperly if big delay happed to DHCP response.