[cvsnt] How to capture new IP addres of the CVSNT server intomy copy?
dsomers at omz13.com
Mon Jan 8 14:35:46 GMT 2007
Michael Wojcik wrote:
> I don't think Petr said the hostname hadn't changed.
He talked about IP addresses changing, but a lot of people get confused when
it comes to things like IP addresses, DNS entries (e.g. confusing dotted-IP
addresses with hostnames, since most applications treat them equally and
just do a lookup to get the host's IP address).
> We recently had to update all of our Root files due to server
> relocation. The old CVS server is still used for a number of other
> purposes, so it had to keep its old hostname. Addressing by name does
> not prevent all future issues.
There will always be corner cases.
> Now, had the old server been originally addressed using an alias (DNS
> CNAME) that was used exclusively for CVS purposes, *that* name could
> have been transferred to the new server.
Exactly. CNAME records make network admin easier, especially when you use
them to be used to point to services provided rather than hosts.
> (Any problem can be solved by
> another level of indirection...)
And it gets more fun when you do double-indirection :-)
> But the CVS admins didn't think of
That is because CVS admins are not network admins.
> (I don't know *why*
> anyone would create spacy directories in their CVS repository, but some
> of my coworkers have. Sigh.)
Never underestimate the crazy things that users will do if left to their own
devices.. you could, of course, apply a little bit of magic via some
scripts so that users can't do such things.
David Somers - typographer/programmer/whatever
Random (and sometimes useful) stuff blogged at http://www.omz13.com
More information about the cvsnt