Index Index for
Section 8
Index Alphabetical
listing for C
Bottom of page Bottom of
page

caa_balance(8)

NAME

caa_balance - Finds the optimal member for an application resource and relocates the resource to that member if it is not currently placed there.

SYNOPSIS

/usr/sbin/caa_balance -all [-q] /usr/sbin/caa_balance resource_name [...] [-q] /usr/sbin/caa_balance -s source_member [-q]

OPTIONS

-all Attempts to find the optimal member for all application resources on a cluster, one at a time. -s source_member Attempts optimal placement of all applications currently running on a particular member. -q Supress output from the command.

DESCRIPTION

This command evaluates the status of one or more application resources and relocates applications to their optimal member. The optimal member is found by evaluating the placement policy in the cluster at the time of execution. For more information on the placement policy, see caa(4). This command validates that an application is running on a cluster member that is preferred by the resource placement policy if it is currently running on that member.

EXAMPLES

1. The following example evaluates each application resource in a cluster for optimal placement on the cluster according to the cluster state and the resource profile and relocates applications to distribute applications more optimally among cluster members. /usr/sbin/caa_balance -all Resource a is already well placed a is placed optimally. No relocation is needed. Resource b is already well placed b is placed optimally. No relocation is needed. 2. The following example will evaluate the plaement of the application resource testapp and relocate it if necessary: /usr/sbin/caa_balance testapp Resource testapp is already well placed testapp is placed optimally. No relocation is needed.

EXIT VALUES

The following exit values are returned: 0 Successful completion non-zero A failure has occurred.

SEE ALSO

Commands: caa_profile(8), caa_register(8), caa_relocate(8), caa_start(8), caa_stat(1), caa_unregister(8) Daemon: caad(8) File: caa(4) TruCluster Server Cluster Administration

Index Index for
Section 8
Index Alphabetical
listing for C
Top of page Top of
page