Page 1 of 1

How to find the no of nodes in Configuration file

Posted: Wed Apr 19, 2006 12:20 am
by Madhu1981
Hi,

I have a configuration file like

/* 1_Node_stage01 - Default Configuration file


This Configuration file has 1 processing nodes
on DataStage Server etlux201,(stage01_node1)
and 4 DB2 Servers (bdwux201 thru bdwux204).
Server etlux202, is required for proper execution
during DataStage Server Failover.
*/
{
node "stage01_node1"
{
fastname "etlux201"
pools ""
resource disk "/worknode1/datasets" {pools ""}
resource disk "/worknode2/datasets" {pools ""}
resource disk "/worknode3/datasets" {pools ""}
resource disk "/worknode4/datasets" {pools ""}
resource disk "/worknode5/datasets" {pools ""}
resource disk "/worknode6/datasets" {pools ""}
resource disk "/worknode7/datasets" {pools ""}
resource disk "/worknode8/datasets" {pools ""}
resource scratchdisk "/worknode1/scratch" {pools ""}
resource scratchdisk "/worknode2/scratch" {pools ""}
resource scratchdisk "/worknode3/scratch" {pools ""}
resource scratchdisk "/worknode4/scratch" {pools ""}
resource scratchdisk "/worknode5/scratch" {pools ""}
resource scratchdisk "/worknode6/scratch" {pools ""}
resource scratchdisk "/worknode7/scratch" {pools ""}
resource scratchdisk "/worknode8/scratch" {pools ""}
}
node "stage02_node1"
{
fastname "etlux202"
pools "Failover"
resource disk "/worknode9/datasets/" {pools ""}
resource scratchdisk "/worknode9/scratch" {pools ""}
}
node "bdwux201"
{
fastname "bdwux201_udb1.target.com"
pools "DB2"
resource disk "/worknode/datasets" {pools ""}
resource scratchdisk "/worknode/scratch" {pools ""}
}
node "bdwux202"
{
fastname "bdwux202_udb2.target.com"
pools "DB2"
resource disk "/worknode/datasets" {pools ""}
resource scratchdisk "/worknode/scratch" {pools ""}
}
node "bdwux203"
{
fastname "bdwux203_udb1.target.com"
pools "DB2"
resource disk "/worknode/datasets" {pools ""}
resource scratchdisk "/worknode/scratch" {pools ""}
}
node "bdwux204"
{
fastname "bdwux204_udb2.target.com"
pools "DB2"
resource disk "/worknode/datasets" {pools ""}
resource scratchdisk "/worknode/scratch" {pools ""}
}
}


Could you please tell me, how many nodes exist in the above configuration file.
Kindly Help me

Posted: Wed Apr 19, 2006 1:32 am
by ray.wurlod
Basically it's the number of node definitions. Your configuration file has six, so the documentation at its head is incorrect.
stage01_node1
stage02_node1
bdwux201
bdwux202
bdwux203
bdwux204

The first two are on machines etlux201 and etlux202 respectively, the remaining four are on machines bdwux201_udb2.target.com through bdwux204_udb2.target.com

The last four are in a node group called DB2 so presumably are used by the DB2 UDB stage(s) to interact with DB2.

Node stage02_node1 seems substantially under-configured for disk and scratch disk compared to node stage01_node1. The fact that it is not in the default node pool suggests - suggests, mind you - that the Failover node pool is not much used.

Can I ask why you posted this question here rather than ask one of your very experienced colleagues at Target?