9.5 Moving a Domain

You cannot use ConsoleOne to move a Domain object to a different location in the eDirectory tree because it is a container object. Only leaf objects can be moved. If you need to change the context, graft the GroupWise domain to its corresponding eDirectory object in the new container location. See Section 5.15, GW / eDirectory Association for more information about grafting objects.

You can, however, move the domain directory and the domain database (wpdomain.db) by copying the domain directory structure and all its contents to the new location.

IMPORTANT:These instructions are for moving the domain from one location to another on the same platform. If you want to move a domain from a Windows server to a Linux server, follow the instructions in the GroupWise Server Migration Guide.

  1. Back up the domain, as described in Section 31.0, Backing Up GroupWise Databases.

  2. In ConsoleOne, browse to and right-click the domain to move, then click Properties to display the domain Identification page.

  3. In the UNC Path field, change the path to the location where you want to move the domain, then click OK to save the new location.

    The format of the path in the UNC Path field depends on whether you are running Linux ConsoleOne or Windows ConsoleOne, and on whether the domain is on Linux or Windows. Retain the original format of the path in your modified version of the location.

    The location change is propagated throughout your GroupWise system.

  4. Stop the MTA, and if applicable, other agents (Internet Agent and Monitor Agent) that are running for the domain.

  5. (Conditional) On Linux:

    1. In a terminal window, log in as root, then provide the root password.

    2. Use cp to copy the domain directory and database to the new location:

      cp -r domain_directory destination
      
  6. (Conditional) On Windows:

    1. Use xcopy with the /s and /e options to copy the domain directory and database to the new location:

      xcopy domain_directory /s /e destination
      

      These options re-create the same directory structure even if directories are empty.

    2. Give rights to all objects that need to access the domain database.

      For example, if the new location is on a different server, the Windows MTA and GroupWise administrators who run ConsoleOne need adequate rights to the new location, as described in Section 87.0, GroupWise Administrator Rights.

  7. Edit the MTA and other agent startup files to reflect the changes, then restart the MTA and other agents.

    See Section 42.1.7, Adjusting the MTA for a New Location of a Domain or Post Office.

  8. When you are sure the domain is functioning properly in its new location, delete the original domain directory and its contents.

If you need to move the MTA along with its domain, see Section 42.1.6, Moving the MTA to a Different Server.