DataStage server migration

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

The Configuration you mentioned is compatable for 7.5x.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
benny.lbs
Participant
Posts: 125
Joined: Wed Feb 23, 2005 3:46 am

Post by benny.lbs »

I know the APT_CONFIG_FILE format is compatible.

However, if the server name changed, we simply transfer the disks to new server, the Dataset can be read correctly ?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Yes, you can move without worries in this part of the transition. The dataset descriptors don't contain a a server name reference, just the schema information and the paths to the actual data files.
trobinson
Participant
Posts: 208
Joined: Thu Apr 11, 2002 6:02 am
Location: Saint Louis
Contact:

Post by trobinson »

I'm confused by ArndW's reply. I see the config file in a dataset when I do a orchadmin ll. The fastname will be the old server. If the job that generates the dataset does NOT use "Use Existing (Discard schema and records)" when the job is run, then won't the existing dataset attempt to use the old environment's config file and not the new?
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

HI,

The config file information is from 'Orchadmin' command and not from dataset descriptor file.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
trobinson
Participant
Posts: 208
Joined: Thu Apr 11, 2002 6:02 am
Location: Saint Louis
Contact:

Post by trobinson »

Hey, I'm still confused. Maybe you can help me out. I see this doing a orchadmin ll:
"Embedded ORCHESTRATE system configuration:"

and then the config information.

so my questions would be these;

1. How does orchadmin know which configuration file applies to the dataset? We have several and I would consider that quite mis-leading if orchadmin showed me one when in fact the dataset was created with another.
2. Why does orchadmin say "embedded"?

Thanks for the help!

Is this a hijack of the thread? Maybe, but the answer will apply.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The configuration file used/reported is whatever is currently pointed to by the APT_CONFIG_FILE environment variable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
trobinson
Participant
Posts: 208
Joined: Thu Apr 11, 2002 6:02 am
Location: Saint Louis
Contact:

Post by trobinson »

Still confused. I was content with Ray's answer as that made sense and he is Ray after all. However, perusing the documentation for another problem I took a quick peek at Managing DataSets from the PX Developer's Guide pdf page 1046. It very clearly states that the configuration file in (sic) use when the DataSet was created is in the Descriptor file.

Having it there makes sense to me since the Config file in the current APT_CONFIG_FILE env variable could be radically different then the config file used when the dataset was created.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I took a look at the files and trobinson is correct, the config file that was used is embedded in the dataset along with the schema and file locations.
But looking at the orchadmin options it seems that the locations listed as the paths to the data files override any config file inherited attributes, so you will be able to utilize the dataset on the new node.

You could test this by changing the config settings in the dataset to some other path and see if the datasets is still displayable.
trobinson
Participant
Posts: 208
Joined: Thu Apr 11, 2002 6:02 am
Location: Saint Louis
Contact:

Post by trobinson »

I will surmise that you go on to discuss the -x option of orchadmin. Doing orchadmin -help discusses which config file to use when using orchadmin; the one contained within the dataset descriptor file or the APT_CONFIG_FILE one.

Reading further it looks like whatever one does in DataStage; NEVER, ever ...
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Clearly an embedded configuration is necessary in a Data Set or a File Set. For example, if it was written under control of a four-node configuration file, then it can only be read from those four nodes, irrespective of the "current" configuration file. This can imply a need to re-partition in a running job.

My statement was about configuration file - I should have been more explicit.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
trobinson
Participant
Posts: 208
Joined: Thu Apr 11, 2002 6:02 am
Location: Saint Louis
Contact:

Post by trobinson »

Yes, clearly... now. Remember the single most important success factor in any DataStage implementation is ...












... the use of the ellipse.
Post Reply