OnDemand User Group

Support Forums => iSeries => Topic started by: Joe Wolken on January 25, 2022, 11:14:06 AM

Title: Configuring Archive from iSeries to a Windows Server - Connection Error
Post by: Joe Wolken on January 25, 2022, 11:14:06 AM
I am trying to use the IBM instructions to configure 2 OnDemand v.10.5 systems such that new spool files are indexed on the iSeries server and loaded on a Windows server.  Based on the instructions, I have done the following setup:

SERVER ODTEST Windows - Created Instance = ARCHIVE
   - Create Migration Policies
   - Export/Import all App Groups/Applications from iSeries
        - Successfully tested loading new local files
   - Create UserID = ONDADM as non-LDAP ID with same password as iSeries TEST Server
   - Configure Load UserID = ONDADM with same password as iSeries TEST Server

Server TEST iSeries - Created Instance = ARCHIVE
   - Updated ARS.INI with Host=ODTEST.domainname.com and Port=1445
   - Run QSH cmd = arsstash -a 3 -c -u ONDADM -s /QIBM/UserData/OnDemand/CONFIG/odarchive.sth
   - Add line to ARS.INI = SRVR_OD_STASH=/QIBM/UserData/OnDemand/CONFIG/odarchive.sth
   - DID NOT start the ARCHIVE Instance on the iSeries

TEST iSeries - Test 1 archive
   ADDRPTOND APPGRP(R09800) SPLF(R09800) JOB(141198/USERID/J098000019) SPLNBR(1) INSTANCE(ARCHIVE)

Results:
   - ADDRPT, QZSHSH, QP0ZSPWT runs for minutes then times out
   - Spool file error = ARS1106E Connection cannot be established for the >ARCHIVE< server
   - Ping to ODTEST.domainname.com is successful
I tried changing the ARS.INI to specify Host=IP address instead of fully qualified server name and get same results

Has anyone setup this environment successfully? Am I missing anything?  How can I debug an ARS1106E error on the iSeries?  I do not see that the request is ever making it to the Windows Server.

Any ideas would be appreciated.

Joe
Title: Re: Configuring Archive from iSeries to a Windows Server - Connection Error
Post by: Justin Derrick on January 26, 2022, 10:33:24 AM
This sounds like a connectivity problem - are there any firewalls between these systems (either in the network infrastructure, or on the servers themselves)?  Are you using any non-default port numbers?  Is SSL enabled on either system?

-JD.

Title: Re: Configuring Archive from iSeries to a Windows Server - Connection Error
Post by: Joe Wolken on February 07, 2022, 09:35:34 AM
I identified and fixed the issue.  It was simply a Windows Server Firewall issue.  I added an Inbound Rule to the Firewall that enabled the OnDemand ARCHIVE Instance port 1445.

Now I can start the OnDemand Monitor STRMONOND and simply specify the Instance  = ARCHIVE and the SCS spool files are storing successfully.

Thanks Justin for prompting a closer look at the connectivity issues.

Joe
Title: Re: Configuring Archive from iSeries to a Windows Server - Connection Error
Post by: Joe Wolken on May 17, 2022, 02:17:34 PM
I have found that when using the STRMONOND command from the iSeries to monitor an output queue for new spool files to load to a Windows Server that the command ALWAYS uses the 'Check First' value for matching the Application Group name to use to archive on the Windows Server.
It seems to ignore the 'Check next' and 'Check Last' values when searching for an existing Application Group to use for archive.
Instead it generates a message 88 in the system log saying that the Application Group does not exist.  It only read from the Check First value.

Is this anyone else's experience?

Thanks,
Joe