Use these instructions to create an NFS directory and image catalog on your servers to allow you to maintain the Robot products from one location. This process is especially useful if you need to update products on multiple systems.
Step A: Set up NFS on the Local System with a Directory for ISO Images (on the IBM i )
The NFS system is the system that contains the ISO images to be used by other systems in the IBM i network. The remote systems will mount their directory to the directory on the local NFS system.
Enter the following command to create the NFS directory on the IBM i for the ISO image (for example, HELPISO).
Add your profile to distribution directory so you can execute the start/stop NFS server commands.
ADDDIRE USRID(your_profile_system_name) USRD('Description of User') USER(your_usrprf)
Note: You must have *IOSYSCFG special authority to use this command.
Step B: Download HelpSystems ISO Images to your PC and FTP the Images to the IBM i NFS Server
HelpSystems provides two ISO images, CD1 and CD2. Download each of these ISO images to maintain your Robot products.
Download the ISO images from the HelpSystems website to your PC. Contact Technical Support for the URL for the download.
Note: Download both ISO images for CD1 and CD2:
ROBOT_CD1_xxxxxxxx.iso and ROBOT_CD2_xxxxxxxx.iso
FTP both ISO images from your PC to the IBM i NFS directory you created in Step A ('/HELPISO').
Use the following FTP command to put the ISO images into the IFS directory:
QUOTE SITE NAMEFMT 1
Step C: Export the NFS Directory and Start the NFS Server on the IBM i Server
Before using the NFS directory, you must set up the export options on the Change NFS Export (CHGNFSEXP) command. The CHGNFSEXP command includes multiple options; refer to the IBM Redbook: Exploring NSF on AS400, section 4—NFS Security, if you need additional security.
Enter the following command:
CHGNFSEXP OPTIONS('-I -O RO ANON=0') DIR('/HELPISO')
Start the NFS servers on NFS system:
Note: The NFS jobs (QNFS*) run in the QSYSWRK subsystem.
Step D: Create a Directory and Mount the Directory on the Remote IBM i Servers
Create directory HELPISO on the remote system:
Mount the HELPISO directory from the client to the NFS server directory.
MOUNT TYPE(*NFS) MFS('YOGI:/HELPISO') MNTOVRDIR('/HELPISO')
Note: Display the attributes of the directory, to make sure that the user has mounted NFS directory. Execute the WRKLNK command and select option 5 to view the contents of the /HELPISO directory.
If the parameters show the following, the directory is mounted to a remote system:
Owner . . . . . . . . . . . . . . . . : *NOUSRPRF
System object is on . . . . . . . . : Remote
Possible error messages:
CPFA09C, Not Authorized to object.
Check the user ID or system on which the CHGNFSEXP command was executed to see if the UID or GUID is authorized to the object.
CPFA0A2, Object not found. Object is /HELPISO.
Check if the /HELPISO directory exists on the remote system.
Step E: Create an Optical Device and Image Catalog
Use the following steps to maintain the Robot products on the local IBM i or the remote IBM i systems that have been mounted over the NFS directory.
Create a virtual optical device.
CRTDEVOPT DEVD(OPTHELPISO) RSRCNAME(*VRT)
Vary on the virtual optical device.
VRYCFG CFGOBJ(OPTHELPISO) CFGTYPE(*DEV) STATUS(*ON)
Create the image catalog.
CRTIMGCLG IMGCLG(HELPIMGCLG) DIR(HELPIMGCLG) TYPE(*OPT) CRTDIR(*YES) TEXT('HELPSYSTEMS ISO IMAGE CATALOG')
Step F: Add and Load the Image Catalog
Add the image catalog. (The example below uses CD1).
ADDIMGCLGE IMGCLG(HELPIMGCLG) FROMFILE('/HELPISO/ROBOT_CD1_xxxxxxxx.iso') TOFILE(*fromfile) TEXT('Helpsystems ISO Image')
Load the image catalog.
LODIMGCLG IMGCLG(HELPIMGCLG) DEV(OPTHELPISO)
Note: If the LODIMGCLG command fails, do the following and try the command again:
If the STATUS is IN_ERROR, select option 9, Unload, and then option 8, Load.
Execute the LODIMGCLG command again.
Execute the LODRUN command to display the HelpSystems Menu.
Now you can maintain the Robot products.
Step G: Unmount the NFS Directory and Unload the Image Catalog
Unmount the *NFS directory, /HELPISO, on the NFS client.
UNMOUNT TYPE(*NFS) MNTOVRDIR('/HELPISO')
Note: The object could be locked by the NFS process for some time while it unloads and removes the image from the catalog.
Unload the image catalog HELPIMGCLG.
LODIMGCLG IMGCLG(HELPIMGCLG) OPTION(*UNLOAD) DEV(OPTHELPISO)
Unload the image catalog entry for the ISO image.
LODIMGCLGE IMGCLG(HELPIMGCLG) OPTION(*UNLOAD)
Remove the image catalog entry for the ISO image.
RMVIMGCLGE IMGCLG(HELPIMGCLG) IMGCLGIDX(1) KEEP(*NO)
Vary off the virtual optical device.
VRYCFG CFGOBJ(OPTHELPISO) CFGTYPE(*DEV) STATUS(*OFF)
End the NFS subsystem on the NFS server system.