Ensure that all the tasks listed in Section 7.1, Preparing to Move the Data are completed.
Run the database migration utility. For more information, see Step 2 in the Section 6.2.1, Migrating the Data from the Internal Sybase Database to an Oracle Database.
Select the target database type as sql-server.
Choose the purging option for data before database migration.
Enter the IP address or host name of the MS SQL database server.
Enter the port used by the MS SQL database server.
(Optional) Enter the named instance for the MS SQL Server engine.
Choose to create a new database or use an existing database on the MS SQL server.
If you choose to create a new database, continue with Step 9.
If you choose to use an existing database, skip to Step 10.
(Conditional) If you choose to create a new database in Step 8, perform the following tasks:
Select the authentication type (Windows or SQL Server) to be used for the database administrator user.
Enter the database server administrator user name.
Enter the database server administrator password.
(Conditional) If you choose Windows authentication in Step 9.a, enter the database administrator’s domain name.
Select the authentication type (Windows or SQL Server) to be used for the database access user.
Enter the database access user name.
Enter the database access user password.
(Conditional) If you choose Windows authentication in Step 10, enter the database access user’s domain name.
Enter the name of the database on the MS SQL server to which you want to migrate the data. If you choose to create a new database in Step 8, the database is created on the MS SQL server with the name that you specify in this step.
(Conditional) If you choose to create a new database in Step 8, enter the complete path where you want the database to be created. You must select the existing folder.
Perform the steps from Step 5 to Step 15 for ZENworks audit database. The database migration starts.
When the database migration is complete, you can verify the novell-zenworks-configure.log file to see if the migration was successful. The log file is located in %ZENWORKS_HOME%\log\ on the Windows Primary Server and in /var/opt/novell/log/zenworks/ on the Linux Primary Server.
Remove the Novell ZENworks Embedded Datastore service from the device that has the internal Sybase database installed:
On the Windows device: Perform the following tasks:
At the server prompt, execute the following command:
sc delete SQLANYs_ZENDatastore
sc delete SQLANYs_ZENAuditDatastore
Edit the%ZENWORKS_HOME%\conf\monitor.conf to remove dbsrv10 from the line highpriority=zenserver,casaserver,dbsrv10.
On the Linux device: Perform the following tasks:
At the console prompt execute the following:
/etc/init.d/sybase-asa stop
/etc/init.d/sybase-audit-asa stop
Rename sybase-asa to sybase-asa1 by executing the following command:
mv sybase-asa sybase-asa1
mv sybase-audit-asa sybase-audit-asa1
Edit the/etc/opt/novell/zenworks/monitor.conf to remove sybase-asa and sybase-audit-asa from the line services=novell-zenserver novell-zenload sybase-asa sybase-audit-asa
After the database is migrated, continue with the following steps:.
Perform post-migration tasks. See Section 7.3, Post-Migration Tasks.
Re-configure the ZENworks Reporting Server to point to the MS SQL database, because it will still be pointing to the Sybase database. See Reconfigure Data Source in the ZENworks Reporting 5 System Reference.
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_HOME%\bin directory on the Windows Primary Server, and in the /opt/ novell/zenworks/bin directory on the Linux Primary Server.
Run the database migration utility. For more information, see Step 2 in the Section 6.2.1, Migrating the Data from the Internal Sybase Database to an Oracle Database.
Enter the target database type as sql database server.
Enter the IP address or host name of the MS SQL database server.
You must specify the IP address or host name of the MS SQL 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.
(Optional) Enter the named instance of the MS SQL Server engine.
Choose to use an existing database.
Enter the credentials of the database user depending on the authentication mode selected.
Enter the database name.
Choose to resume the database migration.
The database migration starts.
After the database is successfully migrated, continue with Section 7.3, Post-Migration Tasks.