GUI mode  Migrate

Chapter 6: Migration Utility

Setup

Before migrating data, indicate your source and target Adaptive Servers and register the paths between the source and target databases they contain. To do this, start sybmigrate with the -m setup command line option, or by selecting “Setup source databases for migration” when you are prompted in the Session Type window.

StepsIndicating your source and target Adaptive Servers and registering the paths between the source and target databases

  1. The Connect to ASE window allows you to designate the source and the target Adaptive Servers for your migration process.

    NoteYou can run only one session of sybmigrate at a time. Therefore, if there is another user running sybmigrate on the same source and target Adaptive Servers, you see the error message “Setup session lock: Either previous setup exit abnormal or there is another setup session running. Do you want to override?” You can override the session lock because it is possible that the previous session may have crashed or quit prematurely.

    Before proceeding with the setup and migration process, verify that there are no other users running sybmigrate. If there is more than one user running sybmigrate simultaneously, Sybase cannot guarantee data integrity.

  2. The Session Type window prompts you to select the type of operation you want to perform. Choose from:

    If you started sybmigrate with the -m option specifying setup, migrate, validate, or reports you do not see this window.

  3. Use the Setup wizard to prepare databases for migration. The Setup wizard displays several windows:

    NoteThe value you assign to each property in the setup session becomes the default value. You can temporarily override default values in the migrate or validate session. Limit these values to the resources available to Adaptive Server.

  4. The Setup Progress window displays the progress of the setup phase.

    During this time, sybmigrate is creating the repository database, installing the database schema, creating a working database for each selected path, and migrating the server data based on your selection, in that order. If you are running sybmigrate in setup mode a subsequent time, it is creating new paths for data migration. If you do not want to create new paths, there is no reason to run sybmigrate through the setup mode more than once.

    You can to view the progress in the log by clicking Show Log. The completion of the setup process is indicated when the Current Task window displays DONE, and when the log shows SETUP_COMPLETE. Click Close to exit the log and the Setup Progress window.

  5. You return to the Connect to ASE window. Select Quit to exit sybmigrate. To begin the migration phase of the data migration process, exit sybmigrate and restart it in the migrate mode.





Copyright © 2005. Sybase Inc. All rights reserved. Migrate

View this book as PDF