• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » exporting a job to a LINUX machine

#1 2008-06-24 10:48:36

zskiredj
Member
Registered: 2008-06-02
Posts: 25

exporting a job to a LINUX machine

Tags: [export, linux, os]

Hello
Do you have some aditionnal documentation concerning exporting a job to a LINUX machine ?

thanks

Offline

#2 2008-06-24 11:20:32

shong
Talend team
Registered: 2007-08-29
Posts: 10289
Website

Re: exporting a job to a LINUX machine

Hello

You can indeed create a job on one Operating System, then deploy it and execute it on a different OS.

To achieve this task, simply follow the steps below:

   1. Export a job on current Operating System.
   2. Import the job onto the other Operating System.
   3. Make some change if you need and run it.

However, if the job contains input/output components, the input/output paths should be changed to match the different Operating System.

Let's say, you want to migrate a job from Windows XP to Linux.
We advise you to use the context parameter to store the output path so that you can easily change the path once the job is imported to the other OS.

For example, add a variable myfileoutput1 with default value: F:/tmp/myfileoutput1.txt when working on Windows XP. Perform the export/import tasks to deploy your job onto Linuw. When you have deployed the job, change the default context parameter value of myfileoutput1to:  /usr/tmp/myfileoutput1.txt  as you are now on Linux.


Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2008-06-24 14:29:22

zskiredj
Member
Registered: 2008-06-02
Posts: 25

Re: exporting a job to a LINUX machine

OK.  But what can I do if I have just a SSH access to the remote Linux machine ?

Offline

#4 2008-06-24 17:58:08

SMaz
Member
Registered: 2008-04-21
Posts: 186
Website

Re: exporting a job to a LINUX machine

I routinely develop my jobs in Windows and roll them out to AIX.

Two things:  as Shong mentions, you should use context variables for all file names and database connect information.  Then, to change a job to run in a different environment and/or server all you need do is change the context variables.

For file paths, etc. I've found that you can use the Linux/AIX/UNIX notations under Windows as well.  So, all my paths are defined with forward slashes as opposed to backslashes. That way they run fine under any environment - Windows or Linux/AIX/Unix.


As for physical deployment on the AIX boxes, I just FTP the generated files over to the AIX boxes and write a short little ksh wrapper file to run them.  The wrapper just does things like check the result code of the job and reroute any console output to a file.

Offline

#5 2008-06-25 11:02:50

zskiredj
Member
Registered: 2008-06-02
Posts: 25

Re: exporting a job to a LINUX machine

It works. Thanks.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » exporting a job to a LINUX machine

Board footer

Powered by FluxBB