Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ChangeIPAddress.command



Eli

Thanks for the swift reply.

> The ChangeIPAddress cli tool is only for MacOS X Server and it fixes up 
> a bunch of places where MacOS X Server uses the IP address and/or DNS 
> address.

So even if I only want to change the IP address of the server, it's
better to use this script rather than the System Prefs Network pane?
(The server's only function presently is that of a backup proxy server
on the same subnet as the main proxy server. When the main proxy goes
down, the idea is that we manually change the backup server's IP to that
of the main proxy. However, until recently, we never had to do that.
Changing the server's IP remotely via ssh and 'ifconfig' proved to be a
failure for some reason.)

I'm pretty certain that in the past I have changed the server's IP via
the Network pane, without any drastic consequences.

> The System Preference Network pane just updates the network settings, so 
> all the other places that also use the IP/dns address aren't updated.

Hmm ... as far as I'm aware, I only want to update the network settings.
Are you saying that if I use the Network pane to update the IP address,
there might be problems later?

> As for doing it remotely, I would imagine that unless you take special 
> precautions, the network connection you would use to run the command 
> [ie, ssh to the server] probably would be disconnected as part of 
> executing the ChangeIPAddress command.

I would expect the ssh session to be disconnected but I wonder if it
would affect the script's correct functioning?

Thanks,

Ian

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >ChangeIPAddress.command (From: Ian Masters <email@hidden>)
 >Re: ChangeIPAddress.command (From: Eli Bach <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.