{PFM運用}16.2.1 ヘルスチェック機能の設定

※デフォルトで有効

※ヘルスチェック機能では,ステータス管理機能を利用します

  • 物理ホスト

--ヘルスチェック状態確認
/opt/jp1pc/tools/jpctool service list -id "*" -host "*"

サービスIDは「0A1ホスト名」,「0S1ホスト名」

--有効化

/opt/jp1pc/tools/jpcspm stop -key jp1pc

/opt/jp1pc/tools/jpcconf hc enable

/opt/jp1pc/tools/jpcconf hc display

/opt/jp1pc/tools/jpcspm start -key jp1pc

--無効化

/opt/jp1pc/tools/jpcspm stop -key jp1pc

/opt/jp1pc/tools/jpcconf hc disable

/opt/jp1pc/tools/jpcconf hc display

/opt/jp1pc/tools/jpcspm start -key jp1pc

 

 

  • 論理ホスト

--ヘルスチェック状態確認
/opt/jp1pc/tools/jpctool service list -id "*" -host "*"

サービスIDは「0A1ホスト名」,「0S1ホスト名」

--有効化

/opt/jp1pc/tools/jpcspm stop -key RMPlatform -lhost mmm190 -inst inst1
/opt/jp1pc/tools/jpcspm stop -key AH -lhost mmm190
/opt/jp1pc/tools/jpcspm stop -key Manager -lhost mmm190
/opt/jp1pc/tools/jpcspm stop -key StatSvr

/opt/jp1pc/tools/jpcconf hc enable

/opt/jp1pc/tools/jpcconf hc display

/opt/jp1pc/tools/jpcspm start -key Manager -lhost mmm190
/opt/jp1pc/tools/jpcspm start -key AH -lhost mmm190
/opt/jp1pc/tools/jpcspm start -key RMPlatform -lhost mmm190 -inst inst1

--無効化

/opt/jp1pcwebcon/tools/jpcwstop
/opt/jp1pc/tools/jpcspm stop -key RMPlatform -lhost mmm190 -inst inst1
/opt/jp1pc/tools/jpcspm stop -key AH -lhost mmm190
/opt/jp1pc/tools/jpcspm stop -key Manager -lhost mmm190
/opt/jp1pc/tools/jpcspm stop -key StatSvr

/opt/jp1pc/tools/jpcconf hc disable

/opt/jp1pc/tools/jpcconf hc display

/opt/jp1pc/tools/jpcspm start -key Manager -lhost mmm190
/opt/jp1pc/tools/jpcspm start -key AH -lhost mmm190
/opt/jp1pc/tools/jpcspm start -key RMPlatform -lhost mmm190 -inst inst1
/opt/jp1pcwebcon/tools/jpcwstart