I am trying to migrate my jobs from one server to another

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
srikanth77
Participant
Posts: 1
Joined: Tue Dec 23, 2003 10:56 am

I am trying to migrate my jobs from one server to another

Post by srikanth77 »

Hi,

I am trying to migrate the jobs from one server to another, both of them have the same configurations and same version. can i migrate them without using the import and export command.
sri
raju_chvr
Premium Member
Premium Member
Posts: 165
Joined: Sat Sep 27, 2003 9:19 am
Location: USA

Re: I am trying to migrate my jobs from one server to anothe

Post by raju_chvr »

How exactly are you trying to achieve this without DS export and import?

interesting to know?
hgalusha
Participant
Posts: 8
Joined: Tue Jan 22, 2002 12:27 pm
Location: USA

Post by hgalusha »

On unix, you can restore the /dsadm file system from a tape backup and that would effectively do it....but it seems to me the safest method would be a full project export and import.

Hope this helps.
raju_chvr
Premium Member
Premium Member
Posts: 165
Joined: Sat Sep 27, 2003 9:19 am
Location: USA

Post by raju_chvr »

I would suggest the later... full project export and import on the another
machine ...


Happy Holidays !!
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Do not even contemplate copying a project directory and its contents as a means of migration. Archiving a project via a unix backup is valid only as a means of disaster recovery. You should be able to recreate a project from your version control tool's archive. The idea of not using the inherent functionality in the tool for moving design objects in and out is a disaster in waiting.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
raju_chvr
Premium Member
Premium Member
Posts: 165
Joined: Sat Sep 27, 2003 9:19 am
Location: USA

Post by raju_chvr »

See there we go ... now we have an authoritative answer to use DS export and import functionality.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Just to elaborate, the entire project and contents are stored in hundreds of binary data files. It's all or nothing. For example, one single hash file DS_JOBOBJECTS contains the entire job design library for that project. You have no ability to pick pieces and parts from it. In addition, all of the job logs, configuration, status files, etc are contained within the project. Any import/export goes with it. Permissions becomes an issue, as all files have to retain their owner, group, and settings. Furthermore, you have to absolutely have the EXACT same paths on both servers, as internal files have paths hardcoded in them. In addition, licensing may be an issue, because two different servers have different serial numbers. I would imagine there may be some hidden things there. Not to drive the final nail in the coffin, but this approach means that everything, everytime, would be wholesale wiped out and replaced. This means every incremental job change, log purge, setting change, whatever, requires a complete project replacement. NOT GOOD.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Just to rub it in...

Even if you got everything right from Ken's post, you still have to fix any required entries in the system tables (such as UV.ACCOUNT and the SQL Catalog tables).

Therefore, while technically it can be done - if you know what you're doing at every step - why would you bother, given that export/import looks after everything for you (except automatic creation of hashed files)?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Export/import does not copy hashed files. After all, these are intended as temporary storage. :lol:
If you have copied hashed files such as SDKSequences, you now need to create pointers to them in the VOC file. To do this use the SETFILE command. Search the Forum for details.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply