Page 1 of 1

Understanding Configuration file ?

Posted: Wed Mar 30, 2011 5:16 am
by jaksani
Hi,

Please help me in understanding a configuration file.
For example consider below one:
main_program: APT configuration file: /opt/IBM/IS801/InformationServer/Server/Configurations/twonodes.apt
{
node "node1"
{
fastname "nc006a11d"
pools ""
resource disk "/opt/IBM/IS801/InformationServer/Server/Datasets" {pools ""}
resource scratchdisk "/INFO_Serv/isapps/workarea_tmp" {pools ""}
}
}

Posted: Wed Mar 30, 2011 7:10 am
by chulett
Seems to be inappropriately named. Is that the complete file? :?

Posted: Wed Mar 30, 2011 1:59 pm
by ray.wurlod
Yes it is. The second "}" character is the clue. So, yes, it is badly named - it defines only one node.

Posted: Wed Mar 30, 2011 11:59 pm
by jaksani
I changed it to

{
node "node1"
{
fastname "nc006a11d"
pools ""
resource disk "/opt/IBM/IS801/InformationServer/Server/Datasets" {pools ""}
resource scratchdisk "/INFO_Serv/isapps/workarea_tmp" {pools ""}
}

node "node2"
{
fastname "nc006a11d"
pools ""
resource disk "/opt/IBM/IS801/InformationServer/Server/Datasets" {pools ""}
resource scratchdisk "/INFO_Serv/isapps/workarea_tmp" {pools ""}
}
}


Except node name everything is same in both node defintions.
Plese let me know will this do fine or Do I need to make any changes to that.

Posted: Thu Mar 31, 2011 12:29 am
by jaksani
I have tested it by collecting records from different nodes to different files.
So, I think is working.

I would like to know the meaning & significance of below parameters mentioned in configuration file

fastname "nc006a11d" -> Server name
pools "" -> ?
resource disk "/opt/IBM/IS801/InformationServer/Server/Datasets" {pools ""} -> ?
resource scratchdisk "/INFO_Serv/isapps/workarea_tmp" {pools ""} ->?

Posted: Thu Mar 31, 2011 12:41 am
by ray.wurlod
Full information about the parts of a Configuration file are to be had in the Parallel Job Developer's Guide