3.5.1 Matrix Server Administration Guide
Chapter 12: Configure Virtual Hosts 213
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
Other Virtual Host Procedures
Change the Virtual IP Address for a Virtual Host
When you change the virtual IP address of a virtual host, you will also
need to update your name server and to configure applications to
recognize the new virtual IP address. The order in which you perform
these tasks is dependent on your application and the requirements of
your site.
You can use mx commands to change the virtual IP address of a virtual
host. Complete these steps:
1. At the command prompt, run the following command:
mx matrix dump > mxdump.out
2. Edit the mxdump.out file, replacing all occurrences of the old IP
address with the new IP address.
3. At the beginning of the mxdump.out file, add a line such as the
following to remove the old IP address from the virtual host
configuration:
vhost delete <old_IP_address>
4. Delete any lines in mxdump.out that do not need to change.
5. Run the following command to update the matrix configuration with
the new IP address:
mx --file mxdump.out
Rehost a Virtual Host
You can use the Rehost option to modify the configuration of a virtual
host. For example, you might want to change the primary for the virtual
host or reorder the backups. To use this option, select the virtual host,
right-click, and then select Rehost. The Virtual Host Rehost window
appears.