N1 Grid Service Provisioning System 5.0 Installation Guide

ProcedureHow to Migrate Master Server Data From Supported Operating Systems

Migrating data from the 4.1 version of the Master Server to the 5.0 version of the Master Server deletes any data in the 5.0 version of the Master Server. The migration script stops both versions of the Master Server until the script completes the migration. The Master Servers will be unavailable for the duration of the migration.

Before You Begin

Verify that the operating system version on the server you want to upgrade is supported by the N1 Grid Service Provisioning System 5.0. For a list of supported operating systems, see Supported Operating Systems. If the operating system version is no longer supported, follow the instructions in How to Upgrade a Master Server From an Operating System That Is No Longer Supported.

Back up your data before you migrate. See Chapter 9, Backing Up and Restoring, in N1 Grid Service Provisioning System 5.0 System Administration Guide.

Steps
  1. Log into the machine as the user who installed the 4.1 version of the Master Server.

  2. Install the 5.0 version of the Master Server on the same server where the 4.1 version of the Master Server is installed.

  3. For Solaris OS and Red Hat Linux Master Servers, verify that the database will not be optimized during the migration process.

    Check that you do not have any cron jobs scheduled that would start a database optimization while you are migrating the data.

  4. Access a command prompt.

    • On Solaris OS or Red Hat Linux servers, open a shell window and log in as the user that owns the Master Server.

    • On Windows, open a Command Prompt window.

  5. Change to the directory that contains the migration script.

    • On Solaris OS or Red Hat Linux servers, type:


      % cd /N1SPS5.0-home/server/bin/migrate
      

      N1SPS5.0-home is the directory where you installed the Master Server.

    • On Windows, type:


      C:\> cd C:\N1SPS5.0-home\server\bin\migrate
      

      C:\N1SPS5.0-home is the directory in which you installed the Master Server.

  6. Start the migration script.

    • On Solaris OS or Red Hat Linux servers, type:


      % ./migrateMS_4.1-5.0.sh
      
    • On Windows, type:


      C:\N1SPS5.0-home\5.0\server\bin\migrate\>.\migrateMS_4.1-5.0.cmd
      
  7. Follow the instructions on the screen to complete the migration.

    When the migration is complete, the following message appears.


    Master Server migration completed successfully.

    Note –

    The listener port numbers for the Postgres database, browser interface, and the Master Server are not migrated. The N1 Grid Service Provisioning System 5.0 Master Server uses the port numbers that you supplied during installation.


  8. Check the log file for any errors that might have occurred during migration.

    The migration script displays the location of the log file.

  9. Clear the cache on the browser that you use to access the Master Server browser interface.

    If you started a browser session before upgrading the Master Server, graphics and style sheets that are cached in the browser might prevent you from seeing the upgraded browser interface.

  10. Back up the data that you migrated to the new Master Server by using the instructions in Chapter 9, Backing Up and Restoring, in N1 Grid Service Provisioning System 5.0 System Administration Guide.

    You cannot restore data from the 4.1 Master Server to the 5.0 Master Server. Back up the data on the 5.0 Master Server so that you have a complete and accurate backup of the data to use if necessary.

  11. (Optional) Uninstall the 4.1 version of the Master Server.

    You can uninstall the 4.1 version of the Master Server if you do not want to use it by following the instructions in Chapter 10, Uninstalling the N1 Grid Service Provisioning System 5.0.