Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
14.2. Configure server instance as a worker node
Task: Configure Server Instance as a Worker Node
Complete this task to correctly configure your JBoss Enterprise Application Platform instance as a worker node for use with Microsoft Internet Information Services (IIS).
Create a server profile for each worker node
Make a copy of the server profile you want to configure as a worker node, and rename it -worker-01for example.Give each instance a unique name
Edit the following line in thePROFILE\deploy\jbossweb.sar\server.xmlfile of each new worker instance:<Engine name="jboss.web" defaultHost="localhost">
<Engine name="jboss.web" defaultHost="localhost">Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add a uniquejvmRoutevalue, as shown. This value is the identifier for this node in the cluster.<Engine name="jboss.web" defaultHost="localhost" jvmRoute="worker-01">
<Engine name="jboss.web" defaultHost="localhost" jvmRoute="worker-01">Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enable session handling
Uncomment the following line in thePROFILE\deployers\jbossweb.deployer\META-INF\war-deployers-jboss-beans.xmlfile of each worker node:<property name="useJK">false</property>
<property name="useJK">false</property>Copy to Clipboard Copied! Toggle word wrap Toggle overflow This property controls whether special session handling is used to coordinate with mod_jk and other connector variants. Set this property totruein both worker nodes:<property name="useJK">true</property>
<property name="useJK">true</property>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Start worker nodes
Start each worker node in a separate command line interface. Ensure that each node is bound to a different IP address with the--hostswitch and that the profile is specified with the-cswitch.JBOSS_EAP_DIST\bin\run.bat --host=127.0.0.1 -c worker-01
JBOSS_EAP_DIST\bin\run.bat --host=127.0.0.1 -c worker-01Copy to Clipboard Copied! Toggle word wrap Toggle overflow