Solved

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

Posted on 2011-02-17
4
1,252 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
  • 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 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