WebSphere eXtreme Scale (formerly Data Grid), Version 6.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


balance

The balance parameter balances partitions across the set of active servers. If you specify the -id option, only the partitions for which PMI statistics are gathered relative to the ID specified will be balanced.

Available options:
  • --o <number of partitions> The number of partitions to balance. If the --o is not specified, it will default to 50 partitions
  • --a <application name> Balance partitions of the given application.
  • --class <classification name> Balance partitions for the given classification.
  • --id <PMI id> Balance partitions for the given PMI id.
Usage:
./wpfadmin balance
Note: Each partition that is selected to be moved will receive an outage when the -id parameter is executed, the programmer needs to have implemented partitionLoadEvent and partitionUnloadEvent as described in the programming section. In addition, if a startup issue or another case where policies could establish proper location to avoid the use of this command, see the management section describing the key based sample and the policy sections.

Example

Example 1:
[root@wpfsample3 bin]# ./wpfadmin balance
WASX7209I: Connected to process "Deployment Manager" on node wpfsample3Manager using 
SOAP connector;  The type of process is: DeploymentManager
WPFC0054I: Partition PK000030 has moved from Server wpfsample3Network\wpfsample2\s7 to 
Server wpfsample3Network\wpfsample2\s4
WPFC0054I: Partition PK000029 has moved from Server wpfsample3Network\wpfsample2\s6 to 
Server wpfsample3Network\wpfsample2\s4
WPFC0054I: Partition PK000028 has moved from Server wpfsample3Network\wpfsample2\s5 to 
Server wpfsample3Network\wpfsample2\s4
WPFC0054I: Partition PK000027 has moved from Server wpfsample3Network\wpfsample2\s4 to 
Server wpfsample3Network\wpfsample2\s5
WPFC0054I: Partition PK000026 has moved from Server wpfsample3Network\wpfsample3\s9 to 
Server wpfsample3Network\wpfsample2\s5
WPFC0054I: Partition PK000025 has moved from Server wpfsample3Network\wpfsample3\s3 to 
Server wpfsample3Network\wpfsample2\s5
WPFC0054I: Partition PK000024 has moved from Server wpfsample3Network\wpfsample3\s2 to 
Server wpfsample3Network\wpfsample2\s6
WPFC0054I: Partition PK000023 has moved from Server wpfsample3Network\wpfsample3\s1 to 
Server wpfsample3Network\wpfsample2\s6
WPFC0054I: Partition PK000022 has moved from Server wpfsample3Network\wpfsample2\s8 to 
Server wpfsample3Network\wpfsample2\s6
WPFC0054I: Partition PK000021 has moved from Server wpfsample3Network\wpfsample2\s7 to 
Server wpfsample3Network\wpfsample2\s7
WPFC0054I: Partition PK000020 has moved from Server wpfsample3Network\wpfsample2\s6 to 
Server wpfsample3Network\wpfsample2\s7
WPFC0054I: Partition PK000019 has moved from Server wpfsample3Network\wpfsample2\s5 to 
Server wpfsample3Network\wpfsample2\s7
WPFC0054I: Partition PK000018 has moved from Server wpfsample3Network\wpfsample2\s4 to 
Server wpfsample3Network\wpfsample2\s8
WPFC0054I: Partition PK000017 has moved from Server wpfsample3Network\wpfsample3\s9 to 
Server wpfsample3Network\wpfsample2\s8
WPFC0054I: Partition PK000016 has moved from Server wpfsample3Network\wpfsample3\s3 to 
Server wpfsample3Network\wpfsample2\s8
WPFC0054I: Partition PK000015 has moved from Server wpfsample3Network\wpfsample3\s2 to 
Server wpfsample3Network\wpfsample3\s1
WPFC0054I: Partition PK000014 has moved from Server wpfsample3Network\wpfsample3\s1 to 
Server wpfsample3Network\wpfsample3\s1
WPFC0054I: Partition PK000013 has moved from Server wpfsample3Network\wpfsample2\s8 to 
Server wpfsample3Network\wpfsample3\s1
WPFC0054I: Partition PK000012 has moved from Server wpfsample3Network\wpfsample2\s7 to 
Server wpfsample3Network\wpfsample3\s2
WPFC0054I: Partition PK000011 has moved from Server wpfsample3Network\wpfsample2\s6 to 
Server wpfsample3Network\wpfsample3\s2
WPFC0054I: Partition PK000010 has moved from Server wpfsample3Network\wpfsample2\s5 to 
Server wpfsample3Network\wpfsample3\s2
WPFC0054I: Partition PK000009 has moved from Server wpfsample3Network\wpfsample2\s4 to 
Server wpfsample3Network\wpfsample3\s3
WPFC0054I: Partition PK000008 has moved from Server wpfsample3Network\wpfsample3\s9 to 
Server wpfsample3Network\wpfsample3\s3
WPFC0054I: Partition PK000007 has moved from Server wpfsample3Network\wpfsample3\s3 to 
Server wpfsample3Network\wpfsample3\s3
WPFC0054I: Partition PK000006 has moved from Server wpfsample3Network\wpfsample3\s2 to 
Server wpfsample3Network\wpfsample3\s9
WPFC0054I: Partition PK000005 has moved from Server wpfsample3Network\wpfsample3\s1 to 
Server wpfsample3Network\wpfsample3\s9
WPFC0054I: Partition PK000004 has moved from Server wpfsample3Network\wpfsample2\s8 to 
Server wpfsample3Network\wpfsample3\s9
WPFC0054I: Partition PK000003 has moved from Server wpfsample3Network\wpfsample2\s7 to 
Server wpfsample3Network\wpfsample2\s4
WPFC0054I: Partition PK000002 has moved from Server wpfsample3Network\wpfsample2\s6 to 
Server wpfsample3Network\wpfsample2\s5
WPFC0054I: Partition PK000001 has moved from Server wpfsample3Network\wpfsample2\s4 to 
Server wpfsample3Network\wpfsample2\s6
Example 2: Another example of the balance command, only balancing the partitions that have the class2 classification:
[root@wpfsample3 bin]# ./wpfadmin balance --class class2
WASX7209I: Connected to process "Deployment Manager" on node wpfsample3Manager using 
SOAP connector;  The type of process is: DeploymentManager
WPFC0065I: Classification set to class2
WPFC0054I: Partition PK000030 has moved from Server wpfsample3Network\wpfsample2\s4 
to Server wpfsample3Network\wpfsample2\s4
WPFC0054I: Partition PK000029 has moved from Server wpfsample3Network\wpfsample2\s4 to 
Server wpfsample3Network\wpfsample2\s4
WPFC0054I: Partition PK000028 has moved from Server wpfsample3Network\wpfsample2\s4 to 
Server wpfsample3Network\wpfsample2\s5
WPFC0054I: Partition PK000027 has moved from Server wpfsample3Network\wpfsample2\s5 to 
Server wpfsample3Network\wpfsample2\s5
WPFC0054I: Partition PK000026 has moved from Server wpfsample3Network\wpfsample2\s5 to 
Server wpfsample3Network\wpfsample2\s6
WPFC0054I: Partition PK000025 has moved from Server wpfsample3Network\wpfsample2\s5 to 
Server wpfsample3Network\wpfsample2\s6
WPFC0054I: Partition PK000024 has moved from Server wpfsample3Network\wpfsample2\s6 to 
Server wpfsample3Network\wpfsample2\s7
WPFC0054I: Partition PK000023 has moved from Server wpfsample3Network\wpfsample2\s6 to 
Server wpfsample3Network\wpfsample2\s7
WPFC0054I: Partition PK000022 has moved from Server wpfsample3Network\wpfsample2\s6 to 
Server wpfsample3Network\wpfsample2\s8
WPFC0054I: Partition PK000021 has moved from Server wpfsample3Network\wpfsample2\s7 to 
Server wpfsample3Network\wpfsample2\s8
WPFC0054I: Partition PK000020 has moved from Server wpfsample3Network\wpfsample2\s7 to 
Server wpfsample3Network\wpfsample3\s1
WPFC0054I: Partition PK000019 has moved from Server wpfsample3Network\wpfsample2\s7 to 
Server wpfsample3Network\wpfsample3\s1
WPFC0054I: Partition PK000018 has moved from Server wpfsample3Network\wpfsample2\s8 to 
Server wpfsample3Network\wpfsample3\s2
WPFC0054I: Partition PK000017 has moved from Server wpfsample3Network\wpfsample2\s8 to 
Server wpfsample3Network\wpfsample3\s2
WPFC0054I: Partition PK000016 has moved from Server wpfsample3Network\wpfsample2\s8 to 
Server wpfsample3Network\wpfsample3\s3
WPFC0054I: Partition PK000015 has moved from Server wpfsample3Network\wpfsample3\s1 to 
Server wpfsample3Network\wpfsample3\s3
WPFC0054I: Partition PK000014 has moved from Server wpfsample3Network\wpfsample3\s1 to 
Server wpfsample3Network\wpfsample3\s9
WPFC0054I: Partition PK000013 has moved from Server wpfsample3Network\wpfsample3\s1 to 
Server wpfsample3Network\wpfsample3\s9
WPFC0054I: Partition PK000012 has moved from Server wpfsample3Network\wpfsample3\s2 to 
Server wpfsample3Network\wpfsample2\s4
WPFC0054I: Partition PK000011 has moved from Server wpfsample3Network\wpfsample3\s2 to 
Server wpfsample3Network\wpfsample2\s5



Related concepts
Management script wpfadmin and usage
Reference topic    

Terms of Use | Feedback

Last updated: Oct 30, 2009 6:09:57 PM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1/index.jsp?topic=/com.ibm.websphere.dataint.doc/info/WPF51/rwpfbalance.html