Need help in configuring WAS plug-in to route the requests for separate WAS servers
Hello,
I try configure CLM environment using WebSphere Application Server (WAS), IBM HTTP Server (IHS) and the WAS web server plugins for IHS.I installed every application JTS/CCM/QM/RM at separate WAS server and one IHS instance installed at separate server too. I configured WAS IHS Plug-in for every application also. But when i verified to access application ccm, i getting error SRVE0255E. There is access to other applications and working fine, but slowly. Example plugin-cfg.xml(part CCM): <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_SBT-OPIR-005Node01_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"> <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="SBT-OPIR-005Node01_server1" ServerIOTimeout="0" WaitForContinue="false"> <Transport Hostname="ccm.ca.sbrf.ru" Port="9080" Protocol="http"/> <Transport Hostname="ccm.ca.sbrf.ru" Port="9443" Protocol="https"> <Property Name="keyring" Value="C:\IBM\HTTPServer\bin/ihskeys.kdb"/> <Property Name="stashfile" Value="C:\IBM\HTTPServer\bin/ihskeys.sth"/> </Transport> </Server> </ServerCluster> <UriGroup Name="default_host_server1_SBT-OPIR-005Node01_Cluster_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/jazz/*"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/hello"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/hitcount"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsp"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsv"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="*.jsw"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/j_security_check"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/ibm_security_logout"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/servlet/*"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/ivt/*"/> </UriGroup> I tried to configure CLM environment using IHS and mod_proxy also, and all work fine and quickly. But this method don't supported by IBM. Thanks for advice! |
2 answers
You need for each machine or WAS profile your own <ServerCluster <UriGroup> and <Route> section. That's all. Example:
<?xml version="1.0" encoding="ISO-8859-1"?><!--HTTP server plugin config file for the webserver MYMACHINE01Node01Cell.MYMACHINE01Node01.webserver1 generated on 2012.12.16 at 01:05:23 PM CET-->
|
I have the same configuration of plugin-cfg.xml. But in my case qm and ccm have the same URI:
<ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_SBT-OPIR-005Node01_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"> <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="SBT-OPIR-005Node01_server1" ServerIOTimeout="0" WaitForContinue="false"> <Transport Hostname="ccm.ca.sbrf.ru" Port="9080" Protocol="http"/> <Transport Hostname="ccm.ca.sbrf.ru" Port="9443" Protocol="https"> <Property Name="keyring" Value="C:\IBM\HTTPServer\bin/ihskeys.kdb"/> <Property Name="stashfile" Value="C:\IBM\HTTPServer\bin/ihskeys.sth"/> </Transport> </Server> </ServerCluster> <UriGroup Name="default_host_server1_SBT-OPIR-005Node01_Cluster_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/jazz/*"/> </UriGroup> <Route ServerCluster="server1_SBT-OPIR-005Node01_Cluster" UriGroup="default_host_server1_SBT-OPIR-005Node01_Cluster_URIs" VirtualHostGroup="default_host"/> <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_SBT-OPIR-008Node01_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"> <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="SBT-OPIR-008Node01_server1" ServerIOTimeout="0" WaitForContinue="false"> <Transport Hostname="jts.ca.sbrf.ru" Port="9080" Protocol="http"/> <Transport Hostname="jts.ca.sbrf.ru" Port="9443" Protocol="https"> <Property Name="keyring" Value="C:\IBM\HTTPServer\bin/ihskeys.kdb"/> <Property Name="stashfile" Value="C:\IBM\HTTPServer\bin/ihskeys.sth"/> </Transport> </Server> </ServerCluster> <UriGroup Name="default_host_server1_SBT-OPIR-008Node01_Cluster_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/jts/*"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/admin/*"/> </UriGroup> <Route ServerCluster="server1_SBT-OPIR-008Node01_Cluster" UriGroup="default_host_server1_SBT-OPIR-008Node01_Cluster_URIs" VirtualHostGroup="default_host"/> <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_SBT-OPIR-007Node01_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"> <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="SBT-OPIR-007Node01_server1" ServerIOTimeout="0" WaitForContinue="false"> <Transport Hostname="qm.ca.sbrf.ru" Port="9080" Protocol="http"/> <Transport Hostname="qm.ca.sbrf.ru" Port="9445" Protocol="https"> <Property Name="keyring" Value="C:\IBM\HTTPServer\bin/ihskeys.kdb"/> <Property Name="stashfile" Value="C:\IBM\HTTPServer\bin/ihskeys.sth"/> </Transport> </Server> </ServerCluster> <UriGroup Name="default_host_server1_SBT-OPIR-007Node01_Cluster_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/jazz/*"/> </UriGroup> <Route ServerCluster="server1_SBT-OPIR-007Node01_Cluster" UriGroup="default_host_server1_SBT-OPIR-007Node01_Cluster_URIs" VirtualHostGroup="default_host"/> <ServerCluster CloneSeparatorChange="false" GetDWLMTable="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_SBT-OPIR-006Node01_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"> <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="SBT-OPIR-006Node01_server1" ServerIOTimeout="0" WaitForContinue="false"> <Transport Hostname="rm.ca.sbrf.ru" Port="9080" Protocol="http"/> <Transport Hostname="rm.ca.sbrf.ru" Port="9444" Protocol="https"> <Property Name="keyring" Value="C:\IBM\HTTPServer\bin/ihskeys.kdb"/> <Property Name="stashfile" Value="C:\IBM\HTTPServer\bin/ihskeys.sth"/> </Transport> </Server> </ServerCluster> <UriGroup Name="default_host_server1_SBT-OPIR-006Node01_Cluster_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/converter/*"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/rdm/*"/> </UriGroup> <Route ServerCluster="server1_SBT-OPIR-006Node01_Cluster" UriGroup="default_host_server1_SBT-OPIR-006Node01_Cluster_URIs" VirtualHostGroup="default_host"/> <RequestMetrics armEnabled="false" newBehavior="false" rmEnabled="false" traceLevel="HOPS"> <filters enable="false" type="URI"> <filterValues enable="false" value="/servlet/snoop"/> <filterValues enable="false" value="/webapp/examples/HitCount"/> </filters> <filters enable="false" type="SOURCE_IP"> <filterValues enable="false" value="255.255.255.255"/> <filterValues enable="false" value="254.254.254.254"/> </filters> </RequestMetrics> How i can configure web-plugin for applications with the same uri? |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.