Author Topic: ARSLOAD daemon vs manual  (Read 2652 times)

rmazurki

  • Jr. Member
  • **
  • Posts: 20
ARSLOAD daemon vs manual
« on: November 30, 2018, 05:43:09 AM »
Hi,

I was trying to search this forum for that topic but I didn't succeeded.
Our system is CMOD 9.5, Redhat Linux 6.10, DB2 + TSM.
On our site currently we are using load deamons - ARSLOAD -d for some directories.

Currently we are designing new process for loading another data.
I belive we can use manual ARSLOAD download in our process instead of load daemons.
But what are the pros an cons of this kind of approach?

It looks like that load daemons are more popular but is this better solution?

Regards
Rafal Mazurkiewicz

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
Re: ARSLOAD daemon vs manual
« Reply #1 on: November 30, 2018, 06:51:05 AM »
I've seen both. We used manual calls of arsload when the file name wasn't compliant, or it was something weird like that.

With all the CMOD customers I've seen, we have used daemons, usually multiple. And there has been zero issues at all. I guess it depends on what you're loading and your volumes.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • Tenacious Consulting
Re: ARSLOAD daemon vs manual
« Reply #2 on: November 30, 2018, 09:45:04 AM »
Running arsload as a daemon is simple and reliable.  If you need to 'wrap' arsload with your own custom process, I recommend having the files arrive in a staging area, and once your custom process is complete, moving them into a directory that arsload is monitoring in daemon mode so it can be loaded into CMOD.

If you want to monitor the process for success of failure, consider adding some code to the logging exit, arslog.

-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

rmazurki

  • Jr. Member
  • **
  • Posts: 20
Re: ARSLOAD daemon vs manual
« Reply #3 on: December 07, 2018, 01:51:30 AM »
ok. Thanks for the replies  :)

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
Re: ARSLOAD daemon vs manual
« Reply #4 on: December 12, 2018, 07:55:56 AM »
To be honest, I've never used the daemon mode. I've tried it a long time ago (something like 10-15 years ago), and didn't like it.
I prefer to have the complete control of what arsload does. And after going to IBM, all my customers that were not on z/OS was doing the same as me. The z/OS people loved the daemon mode.

I think it is a question of taste and color. If you like that mode, then go for it.
If you need more control, and you need to do lots of pre-post processing, then the manual mode might be better for you.

In all case, the advice of @Justin is good concerning adding some code in the logging exit (arslog), but I would just advice to make it as simple as possible, and not put too much logic behind, the shorter and fastest, the better.
Today with CMOD the call to arslog is done in an async mode, that way it doesn't slow down CMOD. But nevertheless try to get the info you need with arslog, and then another script/program will get the output of your custom code to do something more beefy!

Alessandro
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

SacramentoUser

  • Guest
Re: ARSLOAD daemon vs manual
« Reply #5 on: December 18, 2018, 02:51:08 PM »
Hey all,

I support CMOD 9.5 on a RHL platform.  We run both sort of these processes.  Our enterprise scheduler executes the ARSLOAD commands when a process that deposits data into a specific directory has completed.  We have very simple scripts to do this.  It works well for us.   We also use the scheduler's file watcher capability.  When a file appears in a directory, the scheduler executes the ARSLOAD commands via a script.

Hope the info helps.



Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • Tenacious Consulting
Re: ARSLOAD daemon vs manual
« Reply #6 on: December 19, 2018, 07:27:39 AM »
Yup, if your organization has some sort of enterprise-scheduling or orchestration tool, it's great to integrate your loading into that.  It takes away a lot of the 'babysitting' of arsload -- looking for files that should have arrived, but have not, and finding failed loads -- the scheduler/orchestrator knows about the failures right after they happen, and can alert the people that hopefully aren't you. 

-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