2.2 Preparing to Migrate Preboot Bundles

Review the following sections only if you want to migrate Preboot bundle objects:

If you do not want to migrate the bundle objects, skip to Section 2.3, Starting the Migration Utility.

2.2.1 Prerequisites for Migrating Preboot Bundles on Linux

If you choose to migrate the ZENworks Linux Management Preboot bundles to ZENworks 11 by using the ZENworks Linux Management Migration utility that is installed on a Linux device, you must perform the following tasks before migrating the bundles:

  1. Back up both the source and destination databases.

    You can migrate objects only once.

  2. (Conditional) If you want to migrate ZENworks Image, Multicast Image Set, or DellDTK Configuration bundle, perform the following tasks:

    1. Mount the ZENworks Linux Management image repository on the device that has ZENworks Linux Management Migration utility installed and running:

      1. Access the image repository directory that is on the ZENworks Linux Management server.

      2. Perform an NFS share on the image repository directory by editing the /etc/exports file by appending the following line:

        /zlm_image_repo_path *(ro,sync)
        
      3. Save the /etc/exports file.

      4. Start the NFS server by using the /etc/init.d/nfsserver start command.

      5. Verify if the image repository directory has been shared by using the showmount -e zlm_server_id command.

      6. On the device where the utility is installed, create a zlm_image_repo directory by using the following command:

        mkdir -p /complete_path_of_the_new_directory_to_be_created/new_directory_name_to_be_created

        The default location to mount the image repository directory is /mnt/zlm_images. However, you can also specify a different location to mount the package repo directory. Ensure that you archive this location because you need to specify it as the value for the Mounted ZLM Image Repository Path bundle preference on the Preboot page in the ZENworks Linux Management Migration utility.

        To create the zlm_image_repo directory within the default location /mnt/zlm_images, use the following command:

        mkdir -p /mnt/zlm_images/zlm_image_repo

      7. Mount the shared zlm_image_repo directory to the directory that you created on the device by using the following command:

        mount zlm_server_ip_address:/zlm_image_repo_path/ /mnt/zlm_images/zlm_image_repo

    2. Mount the ZENworks Configuration Management image repository on the device that has ZENworks Linux Management Migration utility installed and running:

      1. Access the image repository directory that is on the ZENworks Configuration Management server.

      2. Share the content-repo directory of ZENworks Configuration Management by performing an NFS share by adding following line to /etc/exports:

        /var/opt/novell/zenworks/content-repo/ *(ro.sync)
        

        Ensure that you archive this location because you need to specify it as the value for the Mounted ZCM Image Repository Path bundle preference on the Preboot page in the ZENworks Linux Management Migration utility.

  3. (Conditional) If you want to migrate AutoYaST, Kickstart, or DellDTK Configuration bundle, perform the following tasks:

    1. Mount the ZENworks Linux Management TFTP directory on the device that has ZENworks Linux Management Migration utility installed and running:

      1. Access the ZENworks Linux Management TFTP directory that is on the ZENworks Linux Management server.

      2. Perform an NFS share on the TFTP directory by editing the /etc/exports file by appending the following line:

        /srv/tftp *(ro,sync)
        
      3. Save the /etc/exports file.

      4. Start the NFS server by using the /etc/init.d/nfsserver start command.

      5. Verify if the TFTP directory has been shared by using the showmount -e zlm_server_ip command.

      6. On the device where the utility is installed, create a zlm_tftp_repo directory by using the following command:

        mkdir -p /complete_path_of_the_new_directory_to_be_created/new_directory_name_to_be_created

        The default location to mount the TFTP directory is /mnt/zlm_tftp. However, you can also specify a different location to mount the TFTP directory. Ensure that you archive this location because you need to specify it as the value for the Mounted ZLM TFTP Folder bundle preference on the Preboot page in the ZENworks Linux Management Migration utility.

        To create the zlm_tftp_repo directory within the default location /mnt/zlm_tftp, use the following command:

        mkdir -p /mnt/zlm_tftp/zlm_tftp_repo

      7. Mount the shared zlm_tftp_repo directory to the directory that you created on the device by using the following command:

        mount zlm_server_ip_address:/srv/tftp/ /mnt/zlm_tftp

    2. Mount the ZENworks Configuration Management TFTP directory on the device that has ZENworks Linux Management Migration utility installed and running:

      1. Access the TFTP directory is on the ZENworks Configuration Management server.

      2. Share the TFTP directory of ZENworks Configuration Management by performing an NFS share by adding following line to /etc/exports:

        /srv/tftp/ *(ro.sync)
        

        Ensure that you archive this location because you need to specify it as the value for the Mounted ZCM TFTP Folder bundle preference on the Preboot page in the ZENworks Linux Management Migration utility.

2.2.2 Prerequisites for Migrating Preboot Bundles on Windows

If you choose to migrate the ZENworks Linux Management Preboot bundles to ZENworks 11 by using the ZENworks Linux Management Migration utility that is installed on a Windows device, you must perform the following tasks before migrating the bundles:

  1. Back up both the source and destination databases.

    You can migrate objects only once.

  2. (Conditional) If you want to migrate ZENworks Image, Multicast Image Set, or DellDTK Configuration bundle, perform the following tasks:

    1. Mount the ZENworks Linux Management image repository on the device that has ZENworks Linux Management Migration utility installed and running:

      1. Access the image repository directory that is on the ZENworks Linux Management server.

      2. Perform a Samba share on the package repository directory that is on the ZENworks Linux Management server:

        1. Edit the /etc/samba/smb.conf file and append the following information:

          [zlm-images]
          comment = All users
          path = /zlm_image_repo_path
          read only = No
          create mask = 0775
          directory mask = 0775
          
        2. Run the smbpasswd -a test command, then provide the password.

        3. Start the Samba service by using the /etc/init.d/smb start command.

      3. On the device where the utility is installed, click My Computer > Tools > Map Network Drive.

      4. Provide detailed information about the ZENworks Linux Management server and the path for the package repository.

        For example: \\ZLM_Server_IP_address\zlm-images

        Ensure that you archive this location because you need to specify it as the value for the Mounted ZLM Image Repository Path bundle preference on the Preboot page in the ZENworks Linux Management Migration utility.

    2. Mount the ZENworks Configuration Management image repository on the device that has ZENworks Linux Management Migration utility installed and running:

      1. Access the image repository directory that is on the ZENworks Configuration Management server.

      2. Share the %ZENWORKS_HOME%zenworks\work\content-repo\ directory of ZENworks Configuration Management.

        Ensure that you archive this location because you need to specify it as the value for the Mounted ZCM Image Repository Path bundle preference on the Preboot page in the ZENworks Linux Management Migration utility

  3. (Conditional) If you want to migrate AutoYaST, Kickstart, or DellDTK Configuration bundle, perform the following tasks:

    1. Mount the ZENworks Linux Management TFTP directory on the device that has ZENworks Linux Management Migration utility installed and running:

      1. Access the ZENworks Linux Management TFTP directory that is on the ZENworks Linux Management server.

      2. Perform a Samba share on the TFTP directory that is on the ZENworks Linux Management server:

        1. Edit the /etc/samba/smb.conf file and append the following information:

          [zlm-tftp]
          comment = All users
          path = /srv/tftp
          read only = No
          create mask = 0775
          directory mask = 0775
          
        2. Run the smbpasswd -a test command, then provide the password.

        3. Start the Samba service by using the /etc/init.d/smb start command.

      3. On the device where the utility is installed, click My Computer > Tools > Map Network Drive.

      4. Provide detailed information about the ZENworks Linux Management server and the path for the package repository.

        For example: \\ZLM_Server_IP_address\zlm-tftp

        Ensure that you archive this location because you need to specify it as the value for the Mounted ZLM TFTP Folder bundle preference on the Preboot page in the ZENworks Linux Management Migration utility.

    2. Mount the ZENworks Configuration Management TFTP directory on the device that has ZENworks Linux Management Migration utility installed and running:

      1. Access the TFTP directory is on the ZENworks Configuration Management server.

      2. Share the the %ZENWORKS_HOME%\zenworks\share\tftp\ directory of ZENworks Configuration Management.

        Ensure that you archive this location because you need to specify it as the value for the Mounted ZCM TFTP Folder bundle preference on the Preboot page in the ZENworks Linux Management Migration utility.