Preface The complete OHS installation process includes the installation of weblogic (used to display the OHS graphical configuration interface), OHS, and WebCache components, after the installation is complete, start weblogic to visually configure and control OHS parameters and operations on the em console, making it easier to manage. To ensure the stability of the OHS server and avoid interference from other factors, the preceding weblog is not required.
Preface The complete OHS installation process includes the installation of weblogic (used to display the OHS graphical configuration interface), OHS, and WebCache components, after the installation is complete, start weblogic to visually configure and control OHS parameters and operations on the em console, making it easier to manage. To ensure the stability of the OHS server and avoid interference from other factors, the preceding weblog is not required.
Preface
The complete OHS installation process includes the installation of weblogic (used to display the OHS graphical configuration interface), OHS, and WebCache components, after the installation is complete, start weblogic to visually configure and control OHS parameters and operations on the em console, making it easier to manage.
To ensure the stability of the OHS server and avoid interference from other factors, you can use the simple installation mode described in this document when you do not need the above weblogic graphic management interface.
1. Install OHS
Similar to the BIEE installation process, before installing OHS, you must first ensure that the server has installed the Development Kit plug-in, especially the CPP installation package, in advance. Second, create an oracle or biee account, allocate the account to the oinstall user group, and install the X-manager graphical interface tool on the client.
Decompress the webtier package, enter the WebTier installation directory, and enter the "Disk1" folder.
Use the export DISPLAY = IP Address: 0.0 command to output the screen to the machine with x-manager installed.
Run the runInstaller file:./runInstaller
The graphic interface is displayed as follows. Select the installation path and click "OK".
If the operating system permission does not meet the requirements, the following window is displayed: copy the selected script path, log on to the system as the root account, and run the script, click "OK"
Click "Next"
Select "Skip Software Updates" and click "Next"
This step is very important: as long as you select only the installation mode, Do not Configure, "Install Software-Do not Configure"
Click "Next" to check the system environment
Click "Next" and select the installation path.
Unenter the oracle support Account and click "Next"
Click "Next" to prepare for Installation
Click "Installer" to start installation. The installation is complete. Close the window.
2. Configure OHS
Cd/d01/biee/Oracle/Middleware/Oracle_WT1/bin
Run the config. sh command to display the webTier graphical configuration interface:
Click "Next"
In this case, you only need to check the Oracle HTTP Server and click "Next"
Click "Next"
Click "Next"
Cancel the Oracle Support Account and click "Next"
Click "Configure" to start Configuration:
The configuration is complete. Click "Finish" to close the installation window.
3. Verify and configure OHS
After the installation process is complete, the ohs1 service is enabled by default. The default port of the ohs1 server is 7777. You can directly access http: // [IP]: 7777. If the installation is successful, the output page is as follows:
The following operations are required:
View OHS service status:
> $ ORACLE_INSTANCE/bin/opmnctl status
The result is similar:
2. Start the OHS Service
A: Start all OHS services:
> $ ORACLE_INSTANCE/bin/opmnctl startproc process-type = OHS
B: Start the specified OHS service:
> $ ORACLE_INSTANCE/bin/opmnctl startproc ias-component = component_name
3. Stop the OHS Service
A: Stop all OHS services:
> $ ORACLE_INSTANCE/bin/opmnctl stopproc process-type = OHS
B: Stop the specified OHS service:
> $ ORACLE_INSTANCE/bin/opmnctl stopproc ias-component = component_name
4. Restart the OHS service.
A: restart all OHS services:
> $ ORACLE_INSTANCE/bin/opmnctl restartproc process-type = OHS
B: restart the specified OHS service:
> $ ORACLE_INSTANCE/bin/opmnctl restartproc ias-component = component_name
5. Create a New OHS Service
If you need a new distribution port, you need to create a new OHS service. Take creating an OHS service named biee as an example. The specific command is as follows:
> $ ORACLE_INSTANCE/bin/opmnctl createcomponent-componentType OHS-componentName biee
Note: during the above creation process, a service named biee is automatically created, and all listener ports and other information are automatically created (for example, 7778). If you need to create a port with requirements, add the following parameters:
-ListenPort: Specifies the listening port of the OHS service.
-SslPort: listening port of SSL
Take the following command to create an OHS service named biee with listening port 9704 as an example:
> $ ORACLE_INSTANCE/bin/opmnctl createcomponent-componentType OHS-componentName biee-listenPort 9704
After the creation, you need to manually start the new OHS service:
> $ ORACLE_INSTANCE/bin/opmnctl stopproc ias-component = biee
6. Modify the OHS service listening port
Modify the httpd. conf file corresponding to the OHS Service (location: Oracle_WT1 \ instances \ instance1 \ config \ OHS \ (Service name ))
Modify:
# OHS Listen Port
Listen 9704.
Red
Note: If the modification takes effect, restart the OHS service.
7. Configure OHS Distribution
Modify the mod_wl_ohs.conf file corresponding to the OHS Service (the location is the same as that of httpd. conf)
The newly created OHS Service does not have any configuration information. After opening the above file, the content is as follows:
# NOTE: This is a template to configure mod_weblogic.
LoadModule weblogic_module "$ {ORACLE_HOME}/ohs/modules/mod_wl_ohs.so"
# This empty block is needed to save mod_wl related configuration from EM to this file when changes are made at the Base Virtual Host Level
# WebLogicHost
# WebLogicPort
# Debug ON
# WLLogFile/tmp/weblogic. log
# MatchExpression *. jsp
#
# SetHandler weblogic-handler
# PathTrim/weblogic
# ErrorPage http:/WEBLOGIC_HOME: WEBLOGIC_PORT/
#
In this case, you need to add the IP address, port, and context root of the target server to be distributed to the file. The specific example is as follows:
# NOTE: This is a template to configure mod_weblogic.
LoadModule weblogic_module "$ {ORACLE_HOME}/ohs/modules/mod_wl_ohs.so"
# This empty block is needed to save mod_wl related configuration from EM to this file when changes are made at the Base Virtual Host Level
# WebLogicHost
# WebLogicPort
# Debug ON
# WLLogFile/tmp/weblogic. log
# MatchExpression *. jsp
# "/Analytics" after location indicates the name of the context root to be distributed.
# Default statement
SetHandler weblogic-handler
# Configure the log file output address, which does not need to be written
WLLogFile/d01/biee
# We recommend that you disable Debug when running the environment.
Debug OFF
# The IP address of the cluster to be distributed and the corresponding port number
WebLogicCluster 10.114.3.22: 9704, 10.114.3.23: 9704
# The IP address of the cluster to be distributed and the corresponding port number
WebLogicCluster 10.114.3.22: 9704, 10.114.3.23: 9704
# Default statement
DynamicServerList Off
#
# SetHandler weblogic-handler
# PathTrim/weblogic
# ErrorPage http:/WEBLOGIC_HOME: WEBLOGIC_PORT/
#
After the configuration is complete, restart the OHS service.
Ditavi