Home
Map multiple profiles to a single IBM HTTP Server
Overview
You can map multiple profiles to one IBM HTTP Server by defining a Web server for each profile, mapping each profile separately, and then merging the resulting configuration files.
Complete this procedure if you installed each Lotus Connections feature to a separate profile, but want to use a single IBM HTTP Server with the product. Do not complete this procedure if you are planning to add the multiple profiles to a node in a network deployment. In that case, you can define a Web server for the node and map the node to the IBM HTTP Server.
Map multiple profiles to a single IBM HTTP Server
- Map features to the IBM HTTP Server to map only one of the profiles.
- Copy the plugin-cfg.xml file, and then name the copy to associate the file with the profile you just mapped, for example:
plugin-cfg-Activities.xml
- Repeat Steps 1 and 2 for each profile.
- Merge the multiple copies of the plugin-cfg.xml file into a single file, name it plugin-cfg.xml and replace the file in the IBM HTTP Server with the edited version you just created.
To merge the files, capture the following values:
- Add the <VirtualHost> elements from each feature profile configuration file into the <VirtualHostGroup Name="default_host"> element block in the merged file. For example, the following set of virtual host values represent the set for a single feature profile. Your port numbers will differ based on your configuration:
<VirtualHostGroup Name="default_host"> <VirtualHost Name="*:9084"/> <VirtualHost Name="*:80"/> <VirtualHost Name="*:9447"/> <VirtualHost Name="*:5069"/> <VirtualHost Name="*:5068"/> <VirtualHost Name="*:443"/> </VirtualHostGroup>
- Copy the <ServerCluster> element from the configuration file for each feature profile into the merged file. For example:
<ServerCluster CloneSeparatorChange="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_Node05_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"> <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="my_server1" ServerIOTimeout="0" WaitForContinue="false"> <Transport Hostname="example.example.com" Port="9084" #Port number is based on your configuration, so may differ Protocol="http"/> <Transport Hostname="example.example.com" Port="9447" #Port number is based on your configuration, so may differ Protocol="https"> <Property Name="keyring" Value="C:\IBM\HTTPServer\Plugins/config/webserver1/ plugin-key.kdb"/> <Property Name="stashfile" Value="C:\IBM\HTTPServer\Plugins/config/webserver1/ plugin-key.sth"/> </Transport> </Server> </ServerCluster>
- Copy the <UriGroup> element from the configuration file for each feature profile into the merged file. For example:
<UriGroup Name="default_host_server1_Node05_Cluster_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/profiles/*"/> #The URI will differ based on your configuration; this example is for Profiles <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/ibm_semanticTagServlet/*"/> #The URI will differ based on your configuration; this example is for profiles <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/profiles/nav/*"/> #The URI will differ based on your configuration; this example is for profiles </UriGroup>
- Copy the <Route> element from the configuration file for each feature profile into the merged file. For example:
<Route ServerCluster="server1_Node05_Cluster" UriGroup="default_host_server1_Node05_Cluster_URIs" VirtualHostGroup="default_host"/>
- Do not map any more profiles to the IBM HTTP Server, or you will overwrite the file you just edited.
Example
This example shows a merged plugin-cfg.xml file for two nodes. Activities is installed on one node and Blogs is installed on the other one.<?xml version="1.0" encoding="ISO-8859-1"?> <!--HTTP server plugin config file for the webserver example1Node01Cell.example1Node01.webserver1 --> <Config ASDisableNagle="false" AcceptAllContent="false" AppServerPortPreference="HostHeader" ChunkedResponse="false" FIPSEnable="false" IISDisableNagle="false" IISPluginPriority="High" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" VHostMatchingCompat="false"> <Log LogLevel="Error" Name="e:\IBM\HTTPServer\Plugins\logs\webserver1\http_plugin.log"/> <Property Name="ESIEnable" Value="true"/> <Property Name="ESIMaxCacheSize" Value="1024"/> <Property Name="ESIInvalidationMonitor" Value="false"/> <VirtualHostGroup Name="default_host"> <VirtualHost Name="*:9080"/> <VirtualHost Name="*:80"/> <VirtualHost Name="*:9443"/> <VirtualHost Name="*:5060"/> <VirtualHost Name="*:5061"/> <VirtualHost Name="*:443"/> <VirtualHost Name="*:9081"/> <VirtualHost Name="*:9444"/> <VirtualHost Name="*:5063"/> <VirtualHost Name="*:5062"/> </VirtualHostGroup> <ServerCluster CloneSeparatorChange="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_example1Node02_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"> <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="example1Node02_server1" ServerIOTimeout="0" WaitForContinue="false"> <Transport Hostname="example1.sales.example.com" Port="9081" Protocol="http"/> <Transport Hostname="example1.sales.example.com" Port="9444" Protocol="https"> <Property Name="keyring" Value="e:\IBM\HTTPServer\Plugins\key.kdb"/> <Property Name="stashfile" Value="e:\IBM\HTTPServer\Plugins\key.sth"/> </Transport> </Server> </ServerCluster> <ServerCluster CloneSeparatorChange="false" IgnoreAffinityRequests="true" LoadBalance="Round Robin" Name="server1_example1Node01_Cluster" PostBufferSize="64" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"> <Server ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="example1Node01_server1" ServerIOTimeout="0" WaitForContinue="false"> <Transport Hostname="example1.sales.example.com" Port="9080" Protocol="http"/> <Transport Hostname="example1.sales.example.com" Port="9443" Protocol="https"> <Property Name="keyring" Value="e:\IBM\HTTPServer\key.kdb"/> <Property Name="stashfile" Value="e:\IBM\HTTPServer\key.sth"/> </Transport> </Server> </ServerCluster> <UriGroup Name="default_host_server1_example1Node01_Cluster_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/snoop/*"/> <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="/activities/*"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/activities/nav/*"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/ivt/*"/> </UriGroup> <UriGroup Name="default_host_server1_example1Node02_Cluster_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/blogs/*"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/blogs/nav/*"/> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/snoop/*"/> <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> <Route ServerCluster="server1_example1Node01_Cluster" UriGroup="default_host_server1_example1Node01_Cluster_URIs" VirtualHostGroup="default_host"/> <Route ServerCluster="server1_example1Node02_Cluster" UriGroup="default_host_server1_example1Node02_Cluster_URIs" VirtualHostGroup="default_host"/> <RequestMetrics armEnabled="false" loggingEnabled="false" rmEnabled="false" traceLevel="HOPS"> <filters enable="false" type="URI"> <filterValues enable="false" value="/snoop"/> <filterValues enable="false" value="/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> <filters enable="false" type="JMS"> <filterValues enable="false" value="destination=aaa"/> </filters> <filters enable="false" type="WEB_SERVICES"> <filterValues enable="false" value="wsdlPort=aaa:op=bbb:nameSpace=ccc"/> </filters> </RequestMetrics> </Config>
Map features to IBM HTTP Server