Skip Headers

Oracle9iAS Discoverer Configuration Guide
Version 9.0.2

Part Number A95458-02
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

4
Maintaining Oracle9iAS Discoverer

4.1 Maintaining Oracle9iAS Discoverer

This chapter explains how to maintain Oracle9iAS Discoverer, and includes the following topics:

4.2 Starting and stopping the Discoverer Windows service

If you are running Discoverer on Windows, a Windows service is created for Discoverer. To maintain Discoverer on Windows, you need to know how to start and stop the Discoverer Windows service as described in the following sections:

4.2.1 What is the Discoverer Windows service?

The Discoverer Windows service is the Oracle9iAS Discoverer process that Windows starts automatically when the machine is started. Other typical Windows services start networking and remote access procedures, server operations, and telephony processes.

When you install Discoverer, the Discoverer Windows service is created as an automatic service called 'Oracle<Oracle_Install_Name>Discoverer902'.

For example, if your Oracle Installation directory is called OraHome1, the Discoverer Windows service is 'OracleOraHome1Discoverer902'.

The Discoverer Windows service automatically starts the Discoverer CORBA components whenever the Windows machine is started. Using the Discoverer Windows service, you can also stop all of these components by simply stopping the service from running.

A key benefit of having the Discoverer CORBA components started as a single Windows service is that you do not need to remain logged onto a machine for the service (and therefore the CORBA components) to stay running. If you launched each component individually, you would need to stay logged onto the machine(s) as the administrator. Logging off would automatically stop the components.

You can view the status of the Oracle Discoverer Windows service on the Services dialog.


Text description of servicea.gif follows.
Text description of the illustration servicea.gif

The Status column indicates whether the service is started and running. If the service has not been started, the Status column is blank.

The Startup column indicates how the service is started, either manually or automatically.

4.2.2 When does the Discoverer Windows service start?

When you install Discoverer, the Discoverer Windows service's Startup property is set to Automatic. In other words, the service starts automatically whenever the machine is started. However, once the service has started automatically you can subsequently stop it and restart it manually.

If you do not want the Discoverer Windows service to start automatically when the computer is started, set the service's Startup property to Manual. For example, you might do this if your network requires special services that have to start and stop in a particular sequence.

4.2.3 How to start the Discoverer Windows service manually

If the Startup property of the Discoverer Windows is set to 'Manual', this service will not start automatically when the machine is started. Therefore, you might want to start this service manually.

To start the Discoverer Windows service manually:

  1. From the Windows Start menu, choose Settings | Control Panel and double-click on the Services icon to display the Services dialog box.

    The Services dialog box contains Oracle9iASDiscoverer.


    Text description of services.gif follows.
    Text description of the illustration services.gif

  1. Select the Oracle<Oracle_Install_Name>Discoverer902 service.

  2. Click Start to start the service.

  3. Click close to close the Services dialog box.

Notes:

4.2.4 How to stop the Discoverer Windows service manually

If the Discoverer Windows service is running, you stop the service to stop Discoverer running. For example, you might want to restart the machine in a controlled way.

To stop the Discoverer Windows service manually:

  1. From the Windows Start menu, choose Settings | Control Panel and double-click on the Services icon to display the Services dialog box.

    The Services dialog box contains Oracle9iASDiscoverer.


    Text description of serviceb.gif follows.
    Text description of the illustration serviceb.gif

  1. Select the Oracle<Oracle_Install_Name>Discoverer902 service.

  2. Click Stop to stop the service.

  3. Click close to close the Services dialog box.

4.2.5 How to change the Discoverer Windows service to manual startup

To change the Discoverer Windows service to manual startup:

  1. From the Windows Start menu, choose Settings | Control Panel and double-click on the Services icon.

    The Services dialog box appears.

  2. Select the Oracle<Oracle_Install_Name>Discoverer902 service.

  3. Click Startup to display the Service dialog box.

  4. In the Startup Type section of the Service dialog box, select Manual.

  5. Click OK to close the Service dialog box.

  6. Click Close to close the Services dialog box.

4.2.6 How to see Discoverer Windows service errors

If errors occur during the startup of the Discoverer Windows service, these errors are written to a log file.

To view the log file:

  1. Choose Start | Programs | Administrative Tools (Common) | Event Viewer.

4.3 Shutting down the Discoverer system

This section explains why you might want to shut down Discoverer and when you might do this.

4.3.1 When to shut down the Discoverer system

There will probably be occasions when you need to take a server machine off line (e.g. to perform maintenance or to change hardware settings). This prevents users from starting sessions on that server while you work. You can shut down Discoverer in two ways:

Note: You do not need to shut down the Discoverer system to edit the Discoverer user preferences. However, if the machine you want to shut down for maintenance is the machine that runs the Preferences component, you will need to shut down the Discoverer system. Shutting down the machine running the Preferences component affects the entire Discoverer system because the Preferences component is used when creating a session.

4.3.2 How to shut down individual servers (Windows only)

If you are running Discoverer on Windows, you can shut down individual Discoverer servers in two ways:

4.3.2.1 How to shut down individual servers gradually (Windows only)

If you are running Discoverer on Windows, you can shut down an individual Discoverer server gradually.

Shutting down a server gradually enables you to prevent new sessions from starting but allow current users to complete their sessions.

  1. On the machine you want to shut down, stop the Oracle Discoverer Windows service (for more information, see Section 4.2.4, "How to stop the Discoverer Windows service manually")

    Stopping the Oracle Discoverer Windows service stops the Discoverer CORBA components, which prevents any new sessions from being started on this machine. Sessions in progress are not affected by shutting down the Oracle Discoverer Windows service. Thus, users will not be interrupted while working.

    After all the current users have disconnected from their sessions, you can perform your maintenance tasks. If you want to register or unregister components, the Oracle Discoverer Windows service must first be restarted.

    To check that all users have disconnected, open the Windows NT Task Manager and make sure that no instances of the Session executable (dis51ws.exe) are running.

4.3.2.2 How to shut down individual servers immediately (Windows only)

If you are running Discoverer on Windows, you can shut down an individual Discoverer server immediately.

An immediate shut down stops new user sessions from starting and stops the current sessions. To do this, you stop the Oracle Discoverer Windows service on the machine (to prevent new sessions from being started) and then you stop the sessions currently running.

  1. On the machine you want to shut down, stop the Oracle Discoverer Windows service (for more information, see Section 4.2.4, "How to stop the Discoverer Windows service manually")

  2. Press Ctrl + Alt + Del to open the Windows NT Security dialog and click Task Manager.

  3. Select the Processes tab.

  4. Choose dis51ws.exe.

  5. Click End Task.

  6. Repeat steps 4 and 5 for each session (dis51ws.exe) running in the Task Manager.

4.3.3 How to shut down the entire Discoverer system (Windows and UNIX)

To shut down the entire Discoverer system, you shut down individual machines in a specific order.

You can shut down the entire Discoverer system in two ways:

4.3.3.1 How to shut down the Discoverer system gradually

Regardless of whether you are running Discoverer on Windows or on UNIX, you can shut down the Discoverer system gradually.

Shutting down the Discoverer system gradually enables you to prevent new sessions from starting but allow current users to complete their sessions.

To shut down the Discoverer system gradually, you stop the CORBA components in turn.

On Windows:

  1. On each machine, stop the Oracle Discoverer Windows service (for more information see Section 4.2.4, "How to stop the Discoverer Windows service manually").

    Stopping the Oracle Discoverer Windows service stops the Discoverer CORBA components, which prevents any new sessions from being started on this machine. Sessions in progress are not affected by shutting down the Oracle Discoverer Windows service. Thus, users will not be interrupted while working.

    You now shut down the Preferences component.

    Note: Do not shut down the Preferences component until all sessions are stopped. Shutting down the Preferences component while sessions are active can cause problems with active sessions.

  2. Press Ctrl + Alt + Del to open the Windows NT Security dialog and click Task Manager.

  3. Choose dis51pr.exe and click End Task to shut down the Preferences component.

On UNIX:

Note: You can also use OEM to start and stop Discoverer on Unix (for more information, see Section 4.4, "How to stop standalone Oracle9iAS Discoverer components in Unix")

  1. At the command prompt, navigate to the directory containing the stopoad.sh and stoposagent.sh files.

    For more information about the location of configuration files, see Section A.2, "List of Discoverer file locations").

  2. Type the following at the command prompt to stop the OAD:

    > stopoad.sh
    
    
  3. Type the following at the command prompt to stop the SmartAgent:

    > stoposagent.sh
    
    
  4. Type the following at the command prompt to stop the Discoverer Preference component:

    > stoppreference.sh
    
    
  5. Type the following at the command prompt to list the numeric identifier of every dis51pr Discoverer process that is currently running:

    > ps -A|grep dis51pr
    
    

    For example, the output might be:

    18064 pts/3 0:01 dis51pr
    18072 pts/4 0:08 dis51pr
    
    
  6. Type the following at the command prompt to stop the first dis51pr process:

    > kill -9 <process id>
    
    

    where <process id> is the numeric identifier of the first dis51pr process.

    For example, you might type the following:

    > kill -9 18064
    
    
  7. Repeat the previous step until you have stopped all the dis51pr processes.

    When all of the current users have completed their sessions, the Discoverer server is shut down.

    To make sure that no Discoverer sessions are active, type the following at the command prompt to list the numeric identifier of every dis5ws Discoverer process that is currently running:

    > ps -A|grep dis5ws
    
    

    To stop any Discoverer dis5ws processes that are still active, type the following at the command prompt:

    > kill -9 <process id>
    
    

    where <process id> is the numeric identifier of the dis5ws process.

4.3.3.2 How to shut down the Discoverer system immediately

An immediate shut down stops new user sessions from starting and stops the current sessions. To perform an immediate shut down, you:

On Windows:

  1. On each machine, stop the Oracle Discoverer Windows service (for more information about the location of configuration files, see Section A.2, "List of Discoverer file locations").

  2. On each machine:

    1. Press Ctrl + Alt + Del to open the Windows NT Security dialog and click Task Manager.

    2. Choose dis51ws.exe.

    3. Click End Task to stop the Session component.

    4. Choose dis51pr.exe.

    5. Click End Task to stop the Preferences component.

    6. Repeat the above steps for each Session component (dis51ws.exe) and Preferences component (dis51pr.exe) running in the Task Manager.

On UNIX:

  1. Type the following at the command prompt to stop OAD, OSAGENT, and the Discoverer Preference component:

    > stopall.sh
    
    

Note: You can also use OEM to start and stop Discoverer on Unix (for more information, see Section 4.4, "How to stop standalone Oracle9iAS Discoverer components in Unix")

4.4 How to stop standalone Oracle9iAS Discoverer components in Unix

Using Oracle Enterprise Manager, you stop Oracle9iAS Discoverer running on a standalone machine in a component farm from any machine in the component farm. For example, you might want to perform maintenance tasks on a machine and need to stop Oracle9iAS Discoverer.

To stop standalone Oracle9iAS Discoverer components:

  1. Start Oracle Enterprise Manager on any machine in the cluster (for more information about starting Oracle Enterprise Manager, see Section 2.4, "How to start Oracle Enterprise Manager").

  2. In the Name column under Standalone Instances, select the Oracle9iAS Discoverer that you want to stop to display the System Components page for that machine.

  3. In the Select column, select the radio button next to OC4J_BI_Forms.

    Note: Alternatively, select the OC4J_BI_Forms link to display the OC4J_BI_Forms page and click Start.

  4. Do one of the following:

    • Click Stop to stop the component.

    • Click Start to start the component.

    Note: If you want to stop and start the component, you can also use the Restart button.


Go to previous page Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index