Author Topic: arsload from remote (AIX) CMOD server to Z/OS CMOD server  (Read 4512 times)

SV

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
arsload from remote (AIX) CMOD server to Z/OS CMOD server
« on: June 11, 2015, 01:47:14 PM »
I have two CMOD servers one on Z/OS and other on AIX. Both are on same CMOD level 9.0.0.3.  Need to load files on AIX CMOD server to Z/OS CMOD server. Both insatnces names are archive, but ports are different.  The load faile with coonection error. Let me know if I need to change the cfg diffrently.

I have updated ars.ini file on AIX to add
[@SRV@_ARCHIVE]
PORT=1445
SRVR_INSTANCE=ARCHIVE
SRVR_INSTANCE_OWNER=archive
SRVR_OD_CFG=/opt/IBM/ondemand/V9.0/config/ars.cfg
SRVR_DB_CFG=/opt/IBM/ondemand/V9.0/config/ars.dbfs
SRVR_SM_CFG=/opt/IBM/ondemand/V9.0/config/ars.cache
PROTOCOL=2

[@SRV@_ARCHIVE]
HOST=ZOSFQDN   (not the actual host name scrubbed)     
PORT=1446
SRVR_INSTANCE=ARCHIVE
PROTOCOL=2

With that the arsload ran on aix server to load faile to connet to Z/OS
arsload -h hostname:port -g testAppGrp  -a testApp K  -p test.stash -1 ./test.trace  -nfv SBBY

trace:
9175114:1 06/11/2015 12:34:42:556431 ERROR arsload.c(6452)ArcLOADP_ProcessFile:Current state msg_buf=ARS4315I Processing file >SBBY<  rc=1
9175114:1 06/11/2015 12:34:42:556816 WARNING arsadmin.c(6513)ArcADMIN_MainRun:Current state unified_login=0
9175114:1 06/11/2015 12:34:42:558296 ERROR arssock.c(3113)ArcSOCKET_ClientConnect:Error in socket communication buf=Thu Jun 11 12:34:42 2015: OnDemand(3113) -> getaddrinfo errno = 0 rc = 8
 
9175114:1 06/11/2015 12:34:42:558381 ERROR arsload.c(8422)ArcLOADP_AdminMsg:Current state msg_buf=ARS1106E Connection cannot be established for the >Z/OS-FQDN:1446< server  rc=1
9175114:1 06/11/2015 12:34:42:558388 ERROR arsadmin.c(6622)ArcADMIN_MainRun:Current state msg_str=ARS1106E Connection cannot be established for the >Z/OS-FQDN:1446< server
9175114:1 06/11/2015 12:34:42:558412 ERROR arsload.c(6584)ArcLOADP_ProcessFile:Current state msg_buf=Could not connect to server to establish log id  rc=2
...skipping...
AIX-6.1-ARSLOAD-9.0.0.3-06/11/2015 12:34:42
9175114:1 06/11/2015 12:34:42:556431 ERROR arsload.c(6452)ArcLOADP_ProcessFile:Current state msg_buf=ARS4315I Processing file >SBBY<  rc=1
9175114:1 06/11/2015 12:34:42:556816 WARNING arsadmin.c(6513)ArcADMIN_MainRun:Current state unified_login=0
9175114:1 06/11/2015 12:34:42:558296 ERROR arssock.c(3113)ArcSOCKET_ClientConnect:Error in socket communication buf=Thu Jun 11 12:34:42 2015: OnDemand(3113) -> getaddrinfo errno = 0 rc = 8


Thanks
SV
« Last Edit: June 12, 2015, 10:16:22 AM by SV »
Intrests: #zOS #AIX #Linux #DB2, #TSM, #Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize, #ODWEK #DR #ContentNavigator; #CLOUD

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: arsload from remote (AIX) CMOD server to Z/OS CMOD server
« Reply #1 on: June 12, 2015, 01:54:08 AM »
I see a few things...

Inside your ars.ini file, you need to use a different server name after the @SRV@ for each block.

I don't think a slash ("/") is valid in a hostname, and I'm not sure you're passing the right info for the -p option.

-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

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: arsload from remote (AIX) CMOD server to Z/OS CMOD server
« Reply #2 on: June 12, 2015, 07:57:48 AM »
Hello SV,

Quote
[@SRV@_ARCHIVE]
PORT=1445
SRVR_INSTANCE=ARCHIVE
SRVR_INSTANCE_OWNER=archive
SRVR_OD_CFG=/opt/IBM/ondemand/V9.0/config/ars.cfg
SRVR_DB_CFG=/opt/IBM/ondemand/V9.0/config/ars.dbfs
SRVR_SM_CFG=/opt/IBM/ondemand/V9.0/config/ars.cache
PROTOCOL=2

[@SRV@_ARCHIVE]
HOST=Z/OS-FQDN     
PORT=1446
SRVR_INSTANCE=ARCHIVE
PROTOCOL=2

Well that way it will never work...

You must for each stanza a different name for example:

Code: [Select]
[@SRV@_ARCHIVE]
PORT=1445
SRVR_INSTANCE=ARCHIVE
SRVR_INSTANCE_OWNER=archive
SRVR_OD_CFG=/opt/IBM/ondemand/V9.0/config/ars.cfg
SRVR_DB_CFG=/opt/IBM/ondemand/V9.0/config/ars.dbfs
SRVR_SM_CFG=/opt/IBM/ondemand/V9.0/config/ars.cache
PROTOCOL=2

[@SRV@_ZOSCMOD]
HOST=hostname     
PORT=1446
PROTOCOL=2

and then run the arsload with this command (I don't know the -H option... -h exists but not -H (at least officially!!))
Code: [Select]
arsload -h ZOSCMOD -g testAppGrp  -a testApp K  -p test.stash -1 ./test.trace  -nfv SBBY
And that should work and as you can see I've replace the wrong hostname "Z/OS-FQDN" with the correct one "hostname".
I've also removed the line "SRVR_INSTANCE=ARCHIVE" because for a remote connection, it is not needed.

Regards,
Alessandro
« Last Edit: June 12, 2015, 02:24:57 PM by Alessandro Perucchi »
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

SV

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
Re: arsload from remote (AIX) CMOD server to Z/OS CMOD server
« Reply #3 on: June 12, 2015, 10:22:08 AM »
@Justin - Thanks for your reply sorry, / was due to me trying to scrub the actual name

@Alessandro Perucchi:
 Thanks your solution worked.


thanks a lot for your quick replies. saved me some time - SV
« Last Edit: June 15, 2015, 05:36:22 AM by SV »
Intrests: #zOS #AIX #Linux #DB2, #TSM, #Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize, #ODWEK #DR #ContentNavigator; #CLOUD

jfunk

  • Guest
Re: arsload from remote (AIX) CMOD server to Z/OS CMOD server
« Reply #4 on: November 11, 2015, 01:37:37 PM »
Good day,

May I ask one question about this?  My company may require a similar solution.  The configuration guide states each instance requires its own system log.  The idea is separating document loading from data retrieval while utilizing the same database.  Is it possible to access the same system log?  Please advise.  Thank you.

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: arsload from remote (AIX) CMOD server to Z/OS CMOD server
« Reply #5 on: November 11, 2015, 11:34:34 PM »
Good day,

May I ask one question about this?  My company may require a similar solution.  The configuration guide states each instance requires its own system log.  The idea is separating document loading from data retrieval while utilizing the same database.  Is it possible to access the same system log?  Please advise.  Thank you.

Hello Jeff,

what does your company requires exactly?

To have 2 CMOD servers?
Or
To be able to load document from one server to a remote CMOD server?
Or
A combination of 2 instances and load documents from another server?
Or
something else?

Please explain in more details, and if possible in another thread, so you won't hijack this thread (which is a clear problem, with a clear solution), and we can have a clear and clean question and solution for you, that could help future readers to find quickly their solution to their problems without having to read 100 of questions/answer on the same thread.

Thank you very much for your understanding :)

The question on this thread is clearly the second, even if it was stated that he had 2 CMOD servers.

You wrote:

Quote
The idea is separating document loading from data retrieval while utilizing the same database.

That's exactly the idea of CMOD from a standard point of view. So there is nothing to change here... And that independently of what the answer I'm awaiting from you is.

Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML