Importing IBM i workloads into Skytap using NIS

You can also use IBM Backup, Recovery and Media Services (BRMS) and IBM Cloud Storage Solutions for i (ICC) to migrate the workload (user data) of an on-premises LPAR to Skytap.

Power A CPU architecture that supports IBM i, AIX, and Linux (on Power) in Skytap. VMs must enabled for your account to import IBM i LPARs.

Contents

Create an image on the server

Create the image on the IBM i NIS server with the following steps:

  1. Type CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT) to create a virtual optical drive.
  2. Type CRTIMGCLG IMGCLG(XXX) DIR('/XX') TYPE(OPT) CRTDIR(*YES) to create an image catalog.
  3. Type ADDIMGCLGE IMGCLG(XXX) FROMFILE('ImageName.ISO') TOFILE(*FROMFILE) to add the backup images to the image catalog.
  4. Type WRKIMGCLG and use option 8 to load image catalog to optical drive.
  5. Verify image catalog has the following settings:
    • Type: *LIC
    • NFSSHR: *YES
  6. Type STRNFSSVR SERVER(*All) to start the NFS server.
  7. Type Type CHGNFSEXP OPTIONS(‘-i -o ro’) DIR(‘/xx') to change NFS export option.
  8. Change object authorities and TFTP attributes:
    1. Type CHGAUT OBJ('/xx') USER(*PUBLIC) DTAAUT(*RWX) SUBTREE(*ALL).
    2. Type CHGTFTPA AUTOSTART(*YES) ALTSRCDIR('/xx').
    3. Type CHGAUT OBJ('/xx') USER(QTFTP) DTAAUT(*RX) SUBTREE(*ALL).
  9. Restart the TFTP server:
    1. Type ENDTCPSVR SERVER(*TFTP).
    2. Type STRTCPSVR SERVER(*TFTP).

Restore the image to the client

Restore the image to the client IBM i LPAR with the following steps:

  1. Type STRSST and sign in to Service Tools with your Service Tools User ID and password.
  2. Select option 8 – Work with service tools User IDs and Devices.
  3. Press F13, and then select the LAN adapter.

    The LAN adapter needs to be on the same VLAN as on the IBM i NFS(NIS) server.

  4. Configure service tools LAN adapter with the following settings:
    • IP version allowed: IPV4
    • Internet address Use the same IP address of the client (TARGET).
    • Gateway router address Use the same gateway as on the client.
    • Subnet mask Use the same subnet mask as on the client.
  5. Press F7=Store.
  6. Press F17=Deactivate followed by Activate.
  7. Type NETSTAT CNN and press F14 to display port numbers to verify the port 3000 status as active.
  8. Type CRTDEVOPT to create the client server optical device.
  9. Press F4 and configure the following settings:
    • Local internet address = *SRVLAN
    • Remote internet address The IP address of the IBM i NIS Server
    • Network image directory = ‘/xx’
  10. Type WRKDEVD OPTXX to very on the optical device.
  11. Type WRKIMGCLGE IMGCLG(\*DEV) DEV(Opt dev). to vary on the optical device and verify that you can access the remote image catalog.
  12. Type STRNETINS to start network install:
    • Press F4 and configure the following settings:
      • Network optical device = Optical Device
      • Installation option = *LIC
      • Keylock mode = *MANUAL

Install LIC and OS, and restore data

After the image is restored to the client, install the license, then the operating system, and then restore backup data.

Install LIC

To install LIC:

  1. On the Install LIC screen, choose option 1 – Install Licensed Internal Code.
  2. Select step 1 to install LIC and initialize the system.
  3. After the license installation completes, select Disk Initialization: Initialize non configured disks and add to ASP.
  4. From the DST Menu:
    • Select option 1 – Work with Disk Units from DST menu.
    • Select option 1 – Work with Disk Configuration on the with Disk Units display.
    • Select option 1 – Work with ASP configuration on the Work with Disk Configuration display.
    • Select option 1 to add units to existing ASPs.

Install the operating system

To install the operating system:

  1. Select option 1 (Install the operating system).
  2. On the Set major system option screen, type Y to enable automatic configuration.
  3. On the next screen, set date, time, and system time zone, and then configure the following settings:
    • Start print writers = N
    • Start system to restricted state = Y
    • Set major system options = Y
    • Define or change system at IPL = Y
  4. Select option 1 – Select System Value Commands.
  5. Select option 1 – Work with System Values.
  6. Configure the following settings:
    • QALWOBJRST: *ALL
    • QFRCCVNRST: 0
    • QINACTITV: *NONE
    • QJOBMSGQFL: *PRTWRAP
    • QJOBMSGQMX: 10 (minimum, 11 recommended)
    • QLMTDEVSSN: 0
    • QLMTSECOFR: 0
    • QMAXSIGN: *NOMAX
    • QPFRADJ: 1
    • QPWDEXPITV: *NOMAX
    • QSCANFSCTL: *NOPOSTRST
    • QVFYOBJRST: 1
  7. Change the QSECOFR password.

Restore data

To restore data:

  1. Type CRTDEVOPT to create a virtual optical device, and then press F1.
  2. Change the following settings:
    • Local internet address = *SRVLAN
    • Remote internet address The IP address of the IBM i NIS Server
    • Network image directory = ‘/xx’
  3. Type WRKDEVD to vary on the device.
  4. Restore the option 22 or option 21 to restore the data.

Depending on the backup, restore option 22 or option 21. If you restore option 22, then bring up the network services and transfer the user data (option 23) to the target system.