Page 1 of 2

Error: The configuration does not contain the invoking node

Posted: Tue Jul 24, 2012 8:34 am
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!

Posted: Tue Jul 24, 2012 9:57 am
by ArndW
Could you post the APT_CONFIG file that is being used when you see the error?

Posted: Tue Jul 24, 2012 4:24 pm
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).

Posted: Tue Jul 24, 2012 11:08 pm
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 ""}
        }
}

Posted: Wed Jul 25, 2012 12:48 am
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.

Posted: Wed Jul 25, 2012 6:18 am
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.

Posted: Thu Jul 26, 2012 7:42 am
by ujala
Yes,I am calling a server routine to delete dataset (orchadmin -rm ...)

Posted: Thu Jul 26, 2012 7:55 am
by PaulVL
Why not open a command (execute) sequencer?

Posted: Thu Jul 26, 2012 9:39 pm
by ujala
Can u just brief what u mean by command (execute)..

Posted: Thu Jul 26, 2012 9:42 pm
by chulett
The Execute Command stage. It allows one to run something from the command line directly (like orchadmin) - no routine required.

Posted: Thu Jul 26, 2012 11:11 pm
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.

Posted: Fri Jul 27, 2012 12:20 am
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. :?

Posted: Fri Jul 27, 2012 3:57 am
by ujala
Very true.., can i get an approach to solve the above problem! :cry:

Posted: Fri Jul 27, 2012 5:22 am
by ArndW
What happened when you added the "-x" option to your "orchadmin -rm" command as I suggested earlier?

Posted: Sun Jul 29, 2012 10:55 pm
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.