Understanding Configuration file ?

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
jaksani
Participant
Posts: 48
Joined: Tue Mar 01, 2011 12:26 am
Location: Hyderabad

Understanding Configuration file ?

Post 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 ""}
}
}
Thanks & Regards,
Venkat Jaksani
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Seems to be inappropriately named. Is that the complete file? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes it is. The second "}" character is the clue. So, yes, it is badly named - it defines only one node.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jaksani
Participant
Posts: 48
Joined: Tue Mar 01, 2011 12:26 am
Location: Hyderabad

Post 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.
Thanks & Regards,
Venkat Jaksani
jaksani
Participant
Posts: 48
Joined: Tue Mar 01, 2011 12:26 am
Location: Hyderabad

Post 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 ""} ->?
Thanks & Regards,
Venkat Jaksani
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Full information about the parts of a Configuration file are to be had in the Parallel Job Developer's Guide
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