Program guide > (deprecated) Partitioning facility > Manage the partitioning facility environment > Management script wpfadmin and usage


Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.


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:

Usage:

./wpfadmin balance

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 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


Parent topic:

Management script wpfadmin and usage


Related concepts

Management script wpfadmin and usage


+

Search Tips   |   Advanced Search