Preparing for data migration from SUSE Linux Enterprise Server

Learn how to upgrade and prepare your SUSE Linux® Enterprise Server for the data migration.

This section provides information about preparing for a Linux data migration. This information only covers a data migration from SUSE Linux Enterprise Server on an IBM® System i® or IBM eServer™ i5 model to SUSE Linux Enterprise Server on an IBM System i5® or eServer i5 model. To prepare to migrate your data from a server running SUSE Linux Enterprise Server, complete the following tasks:

Prepare the source server

  1. Ensure your i5/OS® is running at least version 5 release 3.
  2. You must upgrade to SUSE Linux Enterprise Server 9 before migrating to your target server.

    To upgrade to SUSE Linux Enterprise Server 9, perform the following steps:

    1. Obtain a copy of the SLES 9 installation CD
    2. Vary off your Linux server by completing the following steps:
      1. Type WRKCFGSTS *NWS, and then press Enter.
      2. Type 2 next to the NWSD that you want to shutdown, and then press Enter.
    3. Place the first CD into the CD-ROM drive of the System i partition that is sharing its resources.
    4. Change the NWSD of the Linux server to point to the installation stream file of the CD by completing the following steps:
      1. Enter CHGNWSD
      2. Specify the following information:
        NWSD (servername)
        IPLSRC (*STMF)
        IPLSTMF ('/QOPT/SU90.001/ISERIES64')
        IPLPARM (*NONE)
    5. Open a virtual console session to your Linux server.
    6. Vary on your NWSD by completing the following steps:
      1. Type WRKCFGSTS *NWS, and then press Enter.
      2. Type 1 next to the NWSD that you want to start, and then press Enter.
    7. Follow the distribution documentation to complete the steps in YaST.
  3. After you have upgraded to SUSE Linux Enterprise Server 9, vary off your NWSD by completing the following steps:
    1. Type WRKCFGSTS *NWS, and then press Enter.
    2. Type 2 next to the NWSD that you want to shutdown, and then press Enter.
  4. Change the NWSD of the Linux server to point to the NWSSTG. Enter CHGNWSD and specify the following information:
    NWSD (servername)
    IPLSRC (*NWSSTG)
    IPLSTMF (*NONE)
    IPLPARM ('/root=/dev/iseries/vda')
  5. Vary on your NWSD. Complete the following steps to vary on your NWSD:
    1. Type WRKCFGSTS *NWS, and then press Enter.
    2. Type 1 next to the NWSD that you want to start, and then press Enter.
  6. Locate a Linux distribution kernel that is compatible with an IBM System i model.
    Note: Even though you are upgrading from an IBM System i model, you need to install a System p® Linux kernel to ensure compatibility with an IBM System i model.
  7. Obtain access to an installation kernel through either of the following methods:
    • Linux installation CDs
    • Network based install source
  8. Ensure that your CD-ROM is mounted by entering the following command:
    mount /dev/iseries/vcda /mnt/cdrom
    Note: Enter in the appropriate name for your virtual device in the previous command.
  9. Download the latest SUSE Linux Enterprise Server 9 System p kernel to your partition's virtual disk. A pSeries® Linux kernel is required to ensure compatibility with the IBM System i model. If you have upgraded your Linux server to SLES 9, you will still be running the System i kernel and will still need to obtain the System p kernel. For SUSE Linux Enterprise Server 9, this kernel might be on the second installation CD under /suse/ppc. The following is an example of how to download this kernel. Enter the first command, and then the second command to retrieve the name of your Linux kernel. Enter the last command to copy the kernel.
    cd /media/
    find . -name "kernel-pseries*"
    cp cdrom/suse/ppc/(name of your pseries kernel) /root/
  10. Shut down your Linux logical partition.
  11. Save the entire server using option 21 of the GO SAVE command. For more information, see the GO SAVE topic. Specify the following options:
    1. Vary off the network server...*ALL
    2. Unmount file systems..........Y
    Note: Ensure that you have two copies of the backup media.
  12. Using Linux backup tools, save any critical data contained within the virtual disk.
  13. Save and transfer your network server storage space (NWSSTG) by completing the following steps:
    1. Ensure that your Linux logical partition is shut down.
    2. Create a savf using the command crtsavf. For example, the following command creates a save file named test1 in library QGPL:
      QGPL: CRTSAVF FILE(QGPL/TEST1)
    3. Save your NWSSTG into the save file. Each NWSSTG has a directory under /QFPNWSSTG that is named the same as the NWSSTG. This directory contains the control file and files that contain your virtual disk. The following is an example that would save the LINUX530 NWSSTG:
      SAV
      DEV('/QSYS.LIB/QGPL.LIB/TEST1.FILE')
      OBJ('/QFPNWSSTG/LINUX530' *INCLUDE)
      SUBTREE(*ALL)
      Notes:
      1. Two save files need to be created if you have your NWSSTG in a secondary auxiliary storage pool (ASP). Using the previous example, if LINUX530 was in storage space ASP2, then a save file must also be created of /DEV/QASP02/LINUX530.UDFS.
      2. This step creates a save file. You can use file transfer protocol (FTP) to send the save file to your target server.
      3. This step assumes that you want to use FTP to transfer the save file over. You can also use backup and recovery to transfer your save file over. See the Backup and Recovery Guide
        Link to PDF
        for more information.
      4. For information about saving your partitions to media, see the Backup and recovery topic.