In this section: |
You can run multiple copies (instances) of WebFOCUS on the same machine if necessary. To do this, install WebFOCUS multiple times making sure to change default locations, program folders, and ports.
This section provides an overview. Detailed information varies depending on your web server and application server.
No special steps are required to install and configure the first instance of WebFOCUS. If WebFOCUS is already installed and you just wish to add a second instance, you can keep the existing instance as is. However, if no WebFOCUS instances have been installed yet, you may wish to use non-default locations and names for all instances.
When installing a second WebFOCUS instance, keep the following in mind:
If a WebFOCUS Reporting Servers is already installed, select No if prompted to replace the existing installation. If multiple WebFOCUS Reporting Servers are installed, select the New Installation/Configuration option to not upgrade any of them.
Note: It is possible to use the same WebFOCUS Reporting Server with two instances of WebFOCUS Client.
C:\wfTest\ibi
C:\wfDev\ibi
WebFOCUS 80 Server - Test
WebFOCUS 80 Server - Dev
WebFOCUS 80 - Test
WebFOCUS 80 - Dev
ReportCaster 80 - Test
ReportCaster 80 - Dev
Change the default ports for the WebFOCUS Reporting Server and ReportCaster Distribution Server, so that each instance uses a different set of ports.
Install WebFOCUS components keeping these points in mind. Refer to Installing the WebFOCUS Reporting Server and Installing the WebFOCUS Client.
Each instance of WebFOCUS requires a separate web server, website, or application server instance. You can set up each web server or application server instance to either listen on a separate port or use a virtual hostname. You have different options depending on whether you use Apache Tomcat with or without Microsoft IIS.
When using Tomcat as both the web server and application server, you run two separate instances of Tomcat and set them up to listen on different ports. For example, you could access one WebFOCUS instance at:
http://hostname:8080/ibi_apps/WFServlet
and the other WebFOCUS instance at:
http://hostname:9080/ibi_apps/WFServlet
To create a second Tomcat 7.0 instance, you can copy the Tomcat directory structure, set unique ports, and create a new service using the tomcat7.exe //IS//Tomcat7Test option. You must then edit the registry values for the new service so they are similar to those for the default service, but specify the new instance paths.
Microsoft IIS can be used as the web server, while Tomcat can be used as the application server. This can involve IIS listening on separate ports or using the HTTP host header (virtual hostname) feature.
When using virtual hostnames, you configure the DNS server so that multiple hostnames resolve to the same machine. When IIS receives a request for a webpage or other resource, IIS can determine which hostname was used when the request was made by looking at the HTTP host header. IIS then uses the hostname to determine which website was requested.
For example, if you are using virtual hostnames, you could access one instance of WebFOCUS at:
http://www.wfDevhost.com/ibi_apps/WFServlet
and the other WebFOCUS instance at:
http://www.wfTesthost.com/ibi_apps/WFServlet
Although different hostnames are used, they both resolve to the same machine and are received by the same IIS web server.
For Tomcat with IIS, you run two separate instances of Tomcat and set them up to listen on different ports. You then create two IIS websites and ensure that each IIS website sends servlet requests to a different Tomcat instance. You can configure the two IIS websites to either use different ports or virtual hostnames.
To create a second Tomcat 7.0 instance, copy the Tomcat directory structure, set unique ports, and create a new service using the tomcat7.exe //IS//Tomcat7Test option. You must then edit the registry values for the new service so they are similar to those for the default service, but specify the new instance paths. This will be explained in a forthcoming technical memo.
WebFOCUS |