You can enable and disable Enterprise Manager, restart various as compoment, and modify them in various configuration files.
It monitors and manages data through the following processes:
1. Dynamic Monitoring Service (DMS) It collects the running status of each component, such as response time and serviced request.
The DMs is supported for both Linux and OHS, so you can monitor the data.
2. Oracle Process Manager and Notification Server (OPMN) It is his credit to enable and disable various components through em.
3. Distributed configuration management (DCM) You can use em to publish a program or modify various configuration files to synchronize to various components.
This OPMN and DCM are the key processes of As, and their functions are also complicated. They belong to advanced courses. After a while, if you need them, I 'd like to explain them in depth.
It is convenient and easy to manage through em, so the focus is on the management of command line.
It is managed through command line, mainly through opmnctl and dcmctl.
Before 10gas, dcmctl can basically implement all functions.
In 10gas, all processes are managed through opmnctl, and other functions are managed through dcmctl.
The status of processes installed on the server is displayed. We can see two processes related to the webcache component.
The status of webcacheadmin and webcache is down, and other processes are alive.
2. Start the process There are three methods to start the service,
Start all processes
Opmnctl startall (and OPMN is not started. It will also be started in this mode)
Note that in this mode, DCM-daemon and logloader cannot be started. You must start them separately by starting the component.
Start a component. For example, webcache has two related processes: webcacheadmin, And the webcache startup method is as follows:
Opmnctl verbose status
We can see that all the webcache-related processes are available.
The OHS startup method is as follows:
Opmnctl startproc IAS-Component = http_server
The following method is used to start the Solaris service:
Opmnctl startproc IAS-Component = productname
The following describes how to start DCM-daemon:
Opmnctl startproc IAS-Component = DCM-daemon
The method for starting logloader is as follows:
Opmnctl startproc IAS-Component = logloader
Start a separate process
For example, webcache has two separate processes.
Webcacheadmin and webcache
Opmnctl status
The command to start other processes is as follows:
Opmnctl startproc process-type = home
Opmnctl startproc process-type = webcache
Opmnctl startproc process-type = http_server
Note that DCM-daemon and logloaderd cannot pass
This method can only be started in component mode.
Start the program, and close the program.
There are also three ways to disable 1. Close all
Opmnctl stopall
Opmnctl status
Opmnctl stopall
Opmnctl: Stopping OPMN and all managed processes...
[Ias10g @ finproduction Home] $ opmnctl status
Unable to connect to OPMN.
OPMN may not be up.
We can see that all processes are closed, including the OPMN process.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.