このコンテンツは選択した言語では利用できません。

17.2. Start the Application Server Instances


Procedure 17.1. Configure and Start the Servers in standalone mode

  1. Prepare an instance of JBoss EAP for copying:
    1. Unzip jboss-datagrid-${version}-eap-modules-library.zip.
    2. Copy the modules to the server modules directory:
      • For Linux:
        cp -a jboss-datagrid-${version}-eap-modules-library/modules EAP_HOME
        Copy to Clipboard Toggle word wrap
        For Windows:
         xcopy /e/i/f jboss-datagrid-${version}-eap-modules-library/modules EAP_HOME\modules
        Copy to Clipboard Toggle word wrap
    3. Add a user to each server for EJB access:
      • For Linux: EAP_HOME/bin/add-user.sh -a -u quickuser -p quick-123
      • For Windows: EAP_HOME\bin\add-user.bat -a -u quickuser -p quick-123
  2. Copy the prepared JBoss EAP server to 4 different directories labeled EAP_HOME[1-4].
  3. Open a command line for each of the 4 nodes and navigate to the root of the JBoss EAP server directory.
  4. Start all four of the JBoss EAP servers using the following commands:
    • For Linux:
      EAP_HOME1/bin/standalone.sh -Djboss.node.name=node1
      EAP_HOME2/bin/standalone.sh -Djboss.node.name=node2 -Djboss.socket.binding.port-offset=100
      EAP_HOME3/bin/standalone.sh -Djboss.node.name=node3 -Djboss.socket.binding.port-offset=200 -c standalone-ha.xml
      EAP_HOME4/bin/standalone.sh -Djboss.node.name=node4 -Djboss.socket.binding.port-offset=300 -c standalone-ha.xml
      Copy to Clipboard Toggle word wrap
    • For Windows:
      EAP_HOME1\bin\standalone.bat -Djboss.node.name=node1
      EAP_HOME2\bin\standalone.bat -Djboss.node.name=node2 -Djboss.socket.binding.port-offset=100
      EAP_HOME3\bin\standalone.bat -Djboss.node.name=node3 -Djboss.socket.binding.port-offset=200 -c standalone-ha.xml
      EAP_HOME4\bin\standalone.bat -Djboss.node.name=node4 -Djboss.socket.binding.port-offset=300 -c standalone-ha.xml
      Copy to Clipboard Toggle word wrap
  5. Add the configuration for node2 (AppOne) to use EJB server-to-server invocation:
    • For Linux:
      EAP_HOME2/bin/jboss-cli.sh -c --controller=localhost:10099 --file=QUICKSTART_HOME/install-appOne-standalone.cli
      Copy to Clipboard Toggle word wrap
      For Windows:
      EAP_HOME2\bin\jboss-cli.bat -c --controller=localhost:10099 --file=QUICKSTART_HOME/install-appOne-standalone.cli
      Copy to Clipboard Toggle word wrap

Procedure 17.2. Configure and Start the Servers in domain mode

  1. Copy a fresh JBoss EAP installation to EAP_HOME:
    1. Unzip jboss-datagrid-${version}-eap-modules-library.zip.
    2. Copy the modules to the server modules directory:
      • For Linux:
        cp -a jboss-datagrid-${version}-eap-modules-library/modules EAP_HOME
        Copy to Clipboard Toggle word wrap
      • For Windows:
        xcopy /e/i/f jboss-datagrid-${version}-eap-modules-library/modules EAP_HOME\modules
        Copy to Clipboard Toggle word wrap
  2. Open a command line and navigate to the root of JBoss EAP.
  3. Add a user:
    • For Linux:
      EAP_HOME/bin/add-user.sh -a -u quickuser -p quick-123
      Copy to Clipboard Toggle word wrap
    • For Windows:
      EAP_HOME\bin\add-user.bat -a -u quickuser -p quick-123
      Copy to Clipboard Toggle word wrap
  4. The following shows the command to start the domain:
    • For Linux:
      EAP_HOME/bin/domain.sh
      Copy to Clipboard Toggle word wrap
    • For Windows:
      EAP_HOME\bin\domain.bat
      Copy to Clipboard Toggle word wrap
  5. Apply the configuration for the quickstart, the domain will contain 4 nodes:
    • For Linux:
      EAP_HOME/bin/jboss-cli.sh -c --file=QUICKSTART_HOME/install-domain.cli
      Copy to Clipboard Toggle word wrap
    • For Windows:
      EAP_HOME\bin\jboss-cli.bat -c --file=QUICKSTART_HOME/install-domain.cli
      Copy to Clipboard Toggle word wrap
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat