8.3.2. 管理 CLI を使用した管理対象ドメインでのアプリケーションのデプロイ
手順8.3 タスク
deploy
コマンドの実行管理 CLI で、アプリケーションデプロイメントへのパスとともにdeploy
コマンドを入力します。すべてのサーバーグループをデプロイするために--all-server-groups
パラメーターを含めます。[domain@localhost:9999 /]
deploy ~/path/to/test-application.war --all-server-groups
'test-application.war' deployed successfully.- または、
--server-groups
パラメーターを使用して、デプロイメントに固有なサーバーグループを定義します。[domain@localhost:9999 /]
deploy ~/path/to/test-application.war --server-groups server_group_1, server_group_2
'test-application.war' deployed successfully.
結果
指定されたアプリケーションが、管理対象ドメインのサーバーグループにデプロイされます。