I think I've worked out the proper sequence for refreshing a sipX
working copy and setting it to a desired hostname and IP address:

To (re-)set-up a sipX system for a particular host name and IP address:

1. Build the sipX system.  (This sets the first-run flag.)

2. If you put the host's name in /etc/hosts as a name for 127.0.0.1
(which allows your host to know its name even if its network
connection is down), put your host's preferred FQDN as the *first*
hostname in the line for 127.0.0.1.  Otherwise, sipxecs-setup's
getfqdn() will decide that your host is "localhost.localdomain".

3. Delete etc/sipxpbx/ssl, to prepare for installing new certificates.

4. Run bin/sipxecs-setup.  Give it the correct IP address and netmask.
Give it the correct FQDN.

5.Set SIP_REALM and CONFIG_HOSTS in etc/sipxpbx/domain-config.
Set SIPXCHANGE_DOMAIN_NAME and SIPXCHANGE_REALM in config.defs.
*Note that the realm must match the realm used in the user credentials
currently in the config database or else the users' passwords must be
reentered.

6. Delete the contents of var/log/sipxpbx so you can easily see the
post-revision messages.

7. Run "etc/init.d/sipxecs start".

8. Log into the web UI.

9. Go to the Servers page, set up one server, the host, with its IP
address.  Send profiles to it.  Restart all services.  *Note: Do *not*
stop all services and then start all services, as that will stop
sipXconfig.  (See XCF-3591.)

Dale


_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to