Author Topic: Configuring Archive from iSeries to a Windows Server - Connection Error  (Read 502 times)

Joe Wolken

  • Full Member
  • ***
  • Posts: 109
  • CMOD iSeries Consultant
    • View Profile
    • OAS Corp.
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
Installation, Upgrade, Migration, Administration, Integration, Customization, Training, and more!

Call: 512-402-1123
email: wolkenj@oascorp.com 
Click: http://www.OASCorp.com

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2119
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Configuring Archive from iSeries to a Windows Server - Connection Error
« Reply #1 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.

IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Joe Wolken

  • Full Member
  • ***
  • Posts: 109
  • CMOD iSeries Consultant
    • View Profile
    • OAS Corp.
Re: Configuring Archive from iSeries to a Windows Server - Connection Error
« Reply #2 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
Installation, Upgrade, Migration, Administration, Integration, Customization, Training, and more!

Call: 512-402-1123
email: wolkenj@oascorp.com 
Click: http://www.OASCorp.com

Joe Wolken

  • Full Member
  • ***
  • Posts: 109
  • CMOD iSeries Consultant
    • View Profile
    • OAS Corp.
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
Installation, Upgrade, Migration, Administration, Integration, Customization, Training, and more!

Call: 512-402-1123
email: wolkenj@oascorp.com 
Click: http://www.OASCorp.com