Using Serviceguard Node Capacities and Package Weights, April 2009

12
The following table shows portions of the configuration files for the cluster and packages pkg1, pkg2
and pkg3.
Table 7: Configuration for Use Case 3 example
Cluster configuration
file:
Node capacity
definition
CLUSTER_NAME cluster_3
...
#
# node1 has capacity value of 650 for “memory”
# and capacity value of 20 for “processor
#
NODE_NAME node1
...
CAPACITY_NAME memory
CAPACITY_VALUE 650
CAPACITY_NAME processor
CAPACITY_VALUE 20
#
# node2 has capacity value of 600 for “memory”
# and capacity value of 10 for “processor”
#
NODE_NAME node2
...
CAPACITY_NAME memory
CAPACITY_VALUE 600
CAPACITY_NAME processor
CAPACITY_VALUE 10
Package
configuration file for
pkg1:
Weight definition
package_name pkg1
...
weight_name memory
weight_value 400
weight_name processor
weight_value 6
Package configuration
file for pkg2:
Weight definition
package_name pkg2
...
weight_name memory
weight_value 200
weight_name processor
weight_value 6
Package configuration
file for pkg3:
Weight definition
package_name pkg3
...
weight_name memory
weight_value 100
weight_name processor
weight_value 2