Oracle HTTP Server Administration Guide Release 2 (9.0.2) Part Number A92173-02 |
|
This chapter describes the Oracle HTTP Server, highlighting the differences between the Oracle distribution and the open source Apache product on which it is based. It also explains how to start the server, access the Oracle HTTP Server main page, and stop and restart the server.
This chapter contains the following topics:
The Oracle HTTP Server provides a robust, reliable web server (that is based on the Apache HTTP Server version 1.3.22), pre-configured to:
Oracle provides technical support for the following HTTP Server features and conditions:
The table below identifies the modules shipped with the Oracle HTTP Server. Note that the list differs from the Apache open source distribution (given the inclusion of Oracle modules), and that not all modules are supported by Oracle.
Oracle HTTP Server is managed by Distributed Configuration Management (DCM). There are two ways to access DCM: through the Oracle Enterprise Manager graphical user interface, and the command-line utility dcmctl, located in ORACLE_HOME/dcm/bin (UNIX) or ORACLE_HOME\dcm\bin (Windows).
You must always use DCM to start, stop and restart the Oracle HTTP Server. Otherwise, the configuration management infrastructure cannot detect or communicate with the Oracle HTTP Server processes, and problems may occur. Do not use the apachectl
utility to manage the Oracle HTTP Server.
To determine the state of the Oracle HTTP Server, use the getstate
command with the verbose option:
dcmctl getstate -v
The processes are listed with their current state (Up, Down, etc.)
The dcmctl
commands are listed in Table 1-2.
To start, stop, and restart HTTP Server processes in clustered environments, the command must include cluster and/or instance options to specify the target OHS processes. For example:
dcmctl start -cl myCluster -i myInstance -ct ohs
See Also:
Oracle9i Application Server Administrator's Guide for more information about clustered environments and DCM. |
To start the Oracle HTTP Server, use the start
command:
ORACLE_HOME
/dcm/bin>dcmctl start -ct ohs
(UNIX)
ORACLE_HOME
\dcm\bin>dcmctl start -ct ohs
(Windows)
To stop the Oracle HTTP Server, use the stop
command:
ORACLE_HOME
/dcm/bin>dcmctl stop -ct ohs
(UNIX)
ORACLE_HOME
\dcm\bin>dcmctl stop -ct ohs
(Windows)
This command sends a TERM signal to the parent process, causing it to terminate all of the child processes (which could take several seconds). After all of the children are terminated, the parent exits. Any client requests in progress are terminated, and no other requests are served until the server is started again.
Restarting the Oracle HTTP Server performs a graceful restart, which is invisible to clients. In a graceful restart, a USR1 signal is sent. When the process receives this signal, it tells the children to exit after processing the current request. (Children that are not servicing requests exit immediately.)
The parent re-reads the configuration files and re-opens the log files, replacing the children with new children in accordance with the settings it finds when re-reading the configuration files. It always observes the process creation settings (MaxClients
, MaxSpareServers
, MinSpareServers
) specified, and takes the current server load into account.
To restart the Oracle HTTP Server, use the restart
command:
ORACLE_HOME
/dcm/bin>dcmctl restart -ct ohs
(UNIX)
ORACLE_HOME
\dcm\bin>dcmctl restart -ct ohs
(Windows)
|
Copyright © 2002 Oracle Corporation. All Rights Reserved. |
|