Error: The configuration does not contain the invoking node

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

ujala
Participant
Posts: 45
Joined: Mon Jun 21, 2010 2:51 pm
Location: Chennai

Error: The configuration does not contain the invoking node

Post by ujala »

Hello all
I am using datastage v- 8.7 ,Linux environment

In a sequence job i am using a server routine to delete dataset, while using it in the sequence job,job aborts due to the below fatal error:
"The configuration does not contain the invoking node fastname"

I am sure that the code is fine because i have tested it in diff environment And according to the IBM blog i found the config file should contain the required fastname(ex:adc.def.com ) i am using the same,its the same what u get while using uname -n in linux server.

Any help is highly appreciated!
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Could you post the APT_CONFIG file that is being used when you see the error?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The problem is in your configuration file. It must properly mention the node on which the job is started (I'm assuming you're not in a grid configuration here).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ujala
Participant
Posts: 45
Joined: Mon Jun 21, 2010 2:51 pm
Location: Chennai

Post by ujala »

Please find the content of the Configuration file below:

Code: Select all

{
        node "node1"
        {
                fastname "athos.techsol.com"
                pools ""
                resource disk "/opt/IBM/InformationServer/Server/Datasets" {pools ""}
                resource scratchdisk "/opt/IBM/InformationServer/Server/Scratch" {pools ""}
        }
        node "node2"
        {
                fastname "athos.techsol.com"
                pools ""
                resource disk "/opt/IBM/InformationServer/Server/Datasets" {pools ""}
                resource scratchdisk "/opt/IBM/InformationServer/Server/Scratch" {pools ""}
        }
}
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I just re-read your post; you are using a server routine to delete datasets, which means you must be calling DSExecute or just the BASIC EXECUTE to run the command line "orchadmin -rm ...", right?

It is likely that the datasets you are deleting have been copied from another machine and thus have a different internal configuration file, if you add the "-x" option to your orchadmin command it will force use of the current APT_CONFIG file and likely your warning will go away.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ArndW wrote:you are using a server routine to delete datasets
I've been sitting here, wondering if that might be the culprit but wasn't really sure the why of it.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ujala
Participant
Posts: 45
Joined: Mon Jun 21, 2010 2:51 pm
Location: Chennai

Post by ujala »

Yes,I am calling a server routine to delete dataset (orchadmin -rm ...)
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Why not open a command (execute) sequencer?
ujala
Participant
Posts: 45
Joined: Mon Jun 21, 2010 2:51 pm
Location: Chennai

Post by ujala »

Can u just brief what u mean by command (execute)..
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The Execute Command stage. It allows one to run something from the command line directly (like orchadmin) - no routine required.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ujala
Participant
Posts: 45
Joined: Mon Jun 21, 2010 2:51 pm
Location: Chennai

Post by ujala »

Yes i am aware of that but i am not able to delete all the dataset files from the folder in windows environment so took an approach with respect to server routine.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If by that you mean that you think the Execute Command stage runs the command on the Client, you'd be mistaken... it runs it on the Server just like your routine does. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ujala
Participant
Posts: 45
Joined: Mon Jun 21, 2010 2:51 pm
Location: Chennai

Post by ujala »

Very true.., can i get an approach to solve the above problem! :cry:
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What happened when you added the "-x" option to your "orchadmin -rm" command as I suggested earlier?
ujala
Participant
Posts: 45
Joined: Mon Jun 21, 2010 2:51 pm
Location: Chennai

Post by ujala »

sorry for the delay after using -x option in ( "orchadmin -rm [-x]") command i got the following error :

##I IIS-DSEE-TFCN-00006 10:23:24(001) <main_program> conductor uname: -s=Linux; -r=2.6.32-220.el6.x86_64; -v=#1 SMP Wed Nov 9 08:03:13 EST 2011; -n=athos.lucidtechsol.com; -m=x86_64
##I IIS-DSEE-TCOA-00021 10:23:24(002) <main_program> WARNING: could not delete [-x]/BMI_Updated/datasets*.ds because it does not exist.
Post Reply