balance は、活動状態の一連のサーバーに区画をバランスよく配分するパラメーターです。-id オプションを指定すると、その指定された ID に関して PMI 統計が収集されている区画のみが配分されます。
--o <区画数 > 配分する区画の数です。 --o
を指定しないと、デフォルトでは 50 個の区画が配分されます。
--a <アプリケーション名 > 所定のアプリケーションの区画を配分します。
--class <分類名 > 所定の分類の区画を配分します。
--id <PMI ID > 所定の PMI ID の区画を配分します。
使用法: ./wpfadmin balance
[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例 2: balance コマンドの例をもう 1 つ紹介します。この例では、class2 分類を持つ区画のみを配分しています。
[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
管理スクリプト (wpfadmin) と使用法