Changing values of '.apt' in Configuration file
Posted: Wed Apr 09, 2008 11:12 pm
All our jobs are running on single node.
Below are the contains of our default.apt file.
$APT_CONFIG_FILE=/tools/Ascential/DataStage/Configurations/default.apt
When i searched in the above path i have found out following files:
If i change the path of configuration file ($APT_CONFIG_FILE) to any other '.apt' file name will my job will run on more nodes?
If yes then which of the following .apt files i have to use to run our same jobs on four node.
or
Below are the contains of our default.apt file.
$APT_CONFIG_FILE=/tools/Ascential/DataStage/Configurations/default.apt
Code: Select all
dsadmin@etl01> more default.apt
{
node "node1"
{
fastname "etl01"
pools ""
resource disk "/data/dw/pxresource" {pools ""}
resource scratchdisk "/data/dw/pxscratch" {pools ""}
}
}
Code: Select all
/tools/Ascential/DataStage/Configurations
dsadmin@etl01> ls -ltr
total 20
-rwxrwxr-x 1 dsadm dstage 3367 Jul 21 2005 tnode8.apt
-rwxrwxr-x 1 dsadm dstage 1668 Jul 21 2005 tnode4.apt
-rwxrwxr-x 1 dsadm dstage 862 Jul 21 2005 node4.apt
-rwxrwxr-x 1 dsadm dstage 397 Jul 21 2005 node2.apt
-rwxrwxr-x 1 dsadm dstage 166 Jul 21 2005 node1.apt
-rwxrwxr-x 1 dsadm dstage 166 Jul 21 2005 default.apt
If yes then which of the following .apt files i have to use to run our same jobs on four node.
Code: Select all
dsadmin@etl01> more tnode4.apt
{
node "node1"
{
fastname "etl01"
pools ""
resource disk "/data/dw/pxresource/N1" {pools ""}
resource disk "/data/dw/pxresource/N2" {pools ""}
resource disk "/data/dw/pxresource/N3" {pools ""}
resource disk "/data/dw/pxresource/N4" {pools ""}
resource scratchdisk "/data/dw/pxscratch" {pools ""}
}
node "node2"
{
fastname "etl01"
pools ""
resource disk "/data/dw/pxresource/N2" {pools ""}
resource disk "/data/dw/pxresource/N3" {pools ""}
resource disk "/data/dw/pxresource/N4" {pools ""}
resource disk "/data/dw/pxresource/N1" {pools ""}
resource scratchdisk "/data/dw/pxscratch" {pools ""}
}
node "node3"
{
fastname "etl01"
pools ""
resource disk "/data/dw/pxresource/N3" {pools ""}
resource disk "/data/dw/pxresource/N4" {pools ""}
resource disk "/data/dw/pxresource/N1" {pools ""}
resource disk "/data/dw/pxresource/N2" {pools ""}
resource scratchdisk "/data/dw/pxscratch" {pools ""}
}
node "node4"
{
fastname "etl01"
pools ""
resource disk "/data/dw/pxresource/N4" {pools ""}
resource disk "/data/dw/pxresource/N1" {pools ""}
resource disk "/data/dw/pxresource/N2" {pools ""}
resource disk "/data/dw/pxresource/N3" {pools ""}
resource scratchdisk "/data/dw/pxscratch" {pools ""}
}
}
Code: Select all
dsadmin@etl01> more node4.apt
{
node "node1"
{
fastname "etl01"
pools ""
resource disk "/data/dw/pxresource" {pools ""}
resource scratchdisk "/data/dw/pxscratch" {pools ""}
}
node "node2"
{
fastname "etl01"
pools ""
resource disk "/data/dw/pxresource" {pools ""}
resource scratchdisk "/data/dw/pxscratch" {pools ""}
}
node "node3"
{
fastname "etl01"
pools ""
resource disk "/data/dw/pxresource" {pools ""}
resource scratchdisk "/data/dw/pxscratch" {pools ""}
}
node "node4"
{
fastname "etl01"
pools ""
resource disk "/data/dw/pxresource" {pools ""}
resource scratchdisk "/data/dw/pxscratch" {pools ""}
}
}