11.2 Migrating the Data from the MS SQL Database to an Oracle Database

11.2.1 Migrating the Data from the MS SQL Database to an Oracle Database

  1. Ensure that all the tasks listed in Preparing to Move the Data are completed.

  2. Run the database migration utility. .

  3. Enter the target database type as Oracle.

  4. Enter the IP address or host name of the Oracle database server.

  5. Enter the port used by the Oracle database server.

  6. Enter the fully qualified net service name for the Oracle database.

  7. You can choose to create a new user schema or use an existing user schema.

    If you choose to create a new schema, continue with Step 8.

    If you choose to use an existing user schema, skip to Step 9.

  8. Enter the database server administrator's user name and password.

  9. Enter the schema name when prompted for the database user name.

  10. Enter the database schema password when prompted for the database user's password.

    NOTE:The migration utility prompts for inputs as mentioned in Step 4 to Step 9 to migrate audit database as well.

    The database migration starts.

  11. When the database migration is complete, you can check the novell-zenworks-configure.log file to see if the migration was successful. The log file is located in %ZENWORKS_HOME%\log\ on Windows and in /var/opt/novell/log/zenworks/ on Linux.

  12. After the database is successfully migrated, continue with the following steps:

    1. Perform post-migration tasks. .

    2. Re-configure the ZENworks Reporting Server to point to the Oracle database, because it will still be pointing to the MS SQL database.

11.2.2 Resuming the Database Migration

If the migration of the database is stopped for any reason, the ZENworks migration utility allows you to resume the migration if the dbmigration.xml file has been created. The file is located in the ZENworks_installtion_path\bin directory on Windows, and in the /opt/ novell/zenworks/bin directory on Linux.

  1. Run the database migration utility. .

  2. Enter the target database type as Oracle.

  3. Enter the IP address or host name of the Oracle database server.

    You must specify the IP address or host name of the Oracle database server used while migrating the database. For example, if you had specified the IP address of the database server while migrating the database, then you must specify the same IP address while resuming the database migration. You cannot specify the host name of the database server.

  4. Enter the port used by the Oracle database server.

  5. Enter the fully qualified net service name for the Oracle database.

  6. Choose to use an existing schema.

  7. Enter the schema name when prompted for the database user name specified before stopping the database migration.

  8. Enter the database schema password when prompted for the database user's password specified before stopping the database migration.

    NOTE:The migration utility prompts for inputs as mentioned in Step 3 to Step 8 to migrate audit database as well.

  9. Choose to resume the database migration.

    The database migration starts.

  10. After the database is successfully migrated, continue with Post-Migration Tasks.