22.2 Migrating DNS to OES 11 SP3

In these sections, the OES 2 SP3 or OES 11 server is referred to as the source server and the OES 11 SP3 server as the target server.

22.2.1 Planning Your Migration

Make sure your setup addresses the following requirements before you migrate DNS to the new platform.

System Requirements

  • An eDirectory integrated DNS server is installed on the target machine.

    NOTE:During DNS installation, do not select the Create DNS Server option. This avoids the creation of the DNS server for the temporary NCP server. So when migration is completed, the existing DNS server objects are considered.

  • Schema extension is already done on the destination server tree and DNS-DHCP Group, and the RootServerInfo and DNS-DHCP Locator objects are created.

Supported Platforms

The following platforms are accepted as valid source platforms for the migration process:

  • OES 2 SP3

  • OES 11

  • OES 11 SP1

  • OES 11 SP2

  • OES 11 SP3

22.2.2 Migration Scenarios

To migrate DNS to the new platform, you can use the Java Management Console. During migration, the configuration details as well as the data are migrated to the destination platform.

Migrating Servers within the Same eDirectory Tree

  1. Launch Java Console.

  2. Identify the source NCP server and the corresponding DNS server object that should be migrated to the target server.

    The server and the server object will no longer exist on the OES 2 server after migration. Make sure that the DNS Service is not running on this source NCP server.

    To stop the service, see Stopping the DNS Server in the OES 11 SP3: Novell DNS/DHCP Services for Linux Administration Guide.

  3. Use Java Console to move the source DNS server. This task also migrates the primary zones in the tree.

    For information about moving the DNS server, see Moving a DNS Server in the OES 11 SP3: Novell DNS/DHCP Services for Linux Administration Guide.

  4. After this migration, proceed with performing the service-specific proxy migration. For more information, see Migrating Proxy Users to OES 11 SP3.

Using Java Console to Migrate Servers across eDirectory Trees

You can migrate DNS across eDirectory trees by exporting the DNS database from the source server and importing the database to the target server.

Exporting the DNS Database

The export DNS database operation transfers the resource record data of a zone to a text file. The text file is in the DNS BIND master file format. These files can be used in other DNS servers, including BIND servers, or they can be imported back into the eDirectory database using the DNS/DHCP Java-based Management Console.

  1. In the DNS Service window, select the zone you want to export, then click Export DNS Database on the toolbar.

  2. In the Export - DNS window, enter the name of a destination file or browse to select a file name from the dialog box.

  3. Click Export to store your zone data in a file.

  4. If the export program encounters any error, the Details button is enabled. Click Details to view the error details.

Importing the DNS Database

The import DNS database operation transfers resource record data present in the BIND formatted DNS zone files into the eDirectory database.

  1. In the DNS Service tab, click Import DNS Database on the toolbar.

  2. Enter the DNS BIND formatted file name in the field provided. You can also browse to select the file name from the File Selection dialog box.

  3. Click Next to select the context where the zone objects will be created.

  4. Click Next to select the server name that manages the zone.

    You can select an existing DNS server or an NCP server, where the DNS server object will be created. The selected DNS server must have the DNS/DHCP services installed in it.

    If you select the zone type as primary, this DNS server will act as a designated primary. If you select the zone type as secondary, this DNS server will act as a designated secondary. If you do not want to assign a DNS server for this zone, leave this field empty.

  5. Click Next to specify the zone type.

    If you select the zone type as primary, Novell DNS servers act as primary servers for this zone. If you select secondary, servers act as secondary DNS servers.

  6. Click Next to view the configuration that you selected.

  7. Click Import to begin importing with this configuration.

    If the import program encounters any error, the Details button is enabled. Click Details to view the error details. Some resource records might not have been transferred because of incorrect data. Click Create on the toolbar to recreate these resource records.

  8. Click Finish to complete the import operation.

22.2.3 Post-Migration Procedure

  1. Use the Java Management Console to check for the existence of the following objects:

    • DNS-DHCP

    • DNSDHCP-GROUP

    • RootServerInfo

    • DNS Server object

  2. Load novell-named using the rcnovell-named start command and check to see if the /etc/opt/novell/named/named.conf file contains zone database files with valid information.

  3. Use the nslookup utility to query for records in zones.