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:
- Type
CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT)
to create a virtual optical drive. - Type
CRTIMGCLG IMGCLG(XXX) DIR('/XX') TYPE(OPT) CRTDIR(*YES)
to create an image catalog. - Type
ADDIMGCLGE IMGCLG(XXX) FROMFILE('ImageName.ISO') TOFILE(*FROMFILE)
to add the backup images to the image catalog. - Type
WRKIMGCLG
and use option 8 to load image catalog to optical drive. - Verify image catalog has the following settings:
- Type: *LIC
- NFSSHR: *YES
- Type
STRNFSSVR SERVER(*All)
to start the NFS server. - Type Type
CHGNFSEXP OPTIONS(‘-i -o ro’) DIR(‘/xx')
to change NFS export option. - Change object authorities and TFTP attributes:
- Type
CHGAUT OBJ('/xx') USER(*PUBLIC) DTAAUT(*RWX) SUBTREE(*ALL)
. - Type
CHGTFTPA AUTOSTART(*YES) ALTSRCDIR('/xx')
. - Type
CHGAUT OBJ('/xx') USER(QTFTP) DTAAUT(*RX) SUBTREE(*ALL)
.
- Type
- Restart the TFTP server:
- Type
ENDTCPSVR SERVER(*TFTP)
. - Type
STRTCPSVR SERVER(*TFTP)
.
- Type
Restore the image to the client
Restore the image to the client IBM i LPAR with the following steps:
- Type
STRSST
and sign in to Service Tools with your Service Tools User ID and password. - Select option 8 – Work with service tools User IDs and Devices.
-
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.
- 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.
- Press F7=Store.
- Press F17=Deactivate followed by Activate.
- Type
NETSTAT CNN
and press F14 to display port numbers to verify the port 3000 status as active. - Type
CRTDEVOPT
to create the client server optical device. - 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’
- Type
WRKDEVD OPTXX
to very on the optical device. - Type
WRKIMGCLGE IMGCLG(\*DEV) DEV(Opt dev)
. to vary on the optical device and verify that you can access the remote image catalog. - Type
STRNETINS
to start network install:- Press F4 and configure the following settings:
- Network optical device = Optical Device
- Installation option = *LIC
- Keylock mode = *MANUAL
- Press F4 and configure the following settings:
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:
- On the Install LIC screen, choose option 1 – Install Licensed Internal Code.
- Select step 1 to install LIC and initialize the system.
- After the license installation completes, select Disk Initialization: Initialize non configured disks and add to ASP.
- 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:
- Select option 1 (Install the operating system).
- On the Set major system option screen, type Y to enable automatic configuration.
- 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
- Select option 1 – Select System Value Commands.
- Select option 1 – Work with System Values.
- 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
- Change the QSECOFR password.
Restore data
To restore data:
- Type
CRTDEVOPT
to create a virtual optical device, and then press F1. - Change the following settings:
- Local internet address = *SRVLAN
- Remote internet address The IP address of the IBM i NIS Server
- Network image directory = ‘/xx’
- Type
WRKDEVD
to vary on the device. - 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.