7.17.3 BESユニットをオンライン化するためのバッチファイル例
正規BESユニットだけでBESユニットをオンライン化するバッチファイルの作成例を次に示します。
系1でのC:\HATkEx\HAmon\etc\BES1_ONLINE.batの作成例を次に示します。
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell -Command "Start-ClusterGroup BES1 -Cluster node1 -Wait 0"
系2でのC:\HATkEx\HAmon\etc\BES2_ONLINE.batの作成例を次に示します。
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell -Command "Start-ClusterGroup BES2 -Cluster node2 -Wait 0"