Solved

Snow Leopard server - What tools to use instead of "changeip"?

Posted on 2011-02-17
4
1,259 Views
Last Modified: 2012-05-11
Experts,

I would like to hear your opinion on the following issue:

In the Apple manual (*) "Advanced_Server_Admin_v10.6.pdf", on page 144-145 is mentioned "Do not use the changeip command-line tool to change DNS names, even though the tool is still available" and "Do not use the changeip command-line tool to change computer names, even though the tool is still available".
The changeip (Terminal-) command seems to still work well (at least most of the time).

As far as I know changeip is a script that is performing a series of tasks when you need to change the (dns-) hostname and/or IP-number of a Mac OS X Server.

The "Advanced Server Administration" manual also tells: "You can use the scutil command-line tool to set the local hostname and local hostname. For more information, see the scutil man page."
This tool seems to be around for quite some time, as I found in an old article on the www.afp548.com website.

On the other hand, Apple seems to be inconsistant with the advice quoted above.
On page page 134 is mentioned: "Use changeip to change the IP address of the Podcast Producer server. (etc)"
and on page 142: "3 Use changeip to change the DNS name of the Podcast Producer server."

So I'm getting confused here. What I would like to know (and will test in the next weeks) is:
- Do we need to use a mix of the commands now?
or,
- Do we manually need to perform a series of steps?
- Am I getting something wrong or overlooking something?

Suppose I have this server with the following specifications:
Hostname: server1
DNS name: server1.example.com
IP number: 10.0.0.1

I want to change it to:
Hostname: server2
DNS name: server2.example.com
IP number: 10.0.0.2

Until recently I would change hostname and IP number first in the System Preferences and then run the changeip command. Which usually gets me the results I want. What steps should I officialy do now? This manual could be more clear IMO.

Thanks in advance!


(*) Downloadable from this page: http://www.apple.com/server/macosx/resources/documentation.html
0
Comment
Question by:Mac2010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
marook earned 500 total points
ID: 34924184
Hi,
Well.. we use it all the time - and it has been the only way to fix a broken Podcast Producer server.
At a tech-briefing, an Apple engineer did mention that changeip is run by the system if you make changed to the Network prefpane, so the system seems to use it itself.
But we as mentioned, we have been in a need to use it directly.
0
 
LVL 8

Author Comment

by:Mac2010
ID: 34969031
Thanks for you feedback. Is there any official documentation, that you know of, about what the Apple engineer mentioned?
0
 
LVL 7

Assisted Solution

by:marook
marook earned 500 total points
ID: 34975789
Hi,
No - none that we were given.. :-(
We did some tests in the office two days ago, and we can't trace changeip being run, but a 'postconf' tool is run, but that seems to be a Postfix repair tool...
So - the issue is till up in the air.. :-(
0
 
LVL 8

Author Closing Comment

by:Mac2010
ID: 35033992
I'm closing the question; this issue remains open, partly unsolved. It would be nice if Apple gets more clear on this.
0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question