Oracle9iAS Discoverer Configuration Guide Version 9.0.2 Part Number A95458-02 |
|
This chapter explains how to manage the Discoverer CORBA components. For example, when you install Oracle9iAS Discoverer on a new machine in a multiple machine environment you might want to manually register or unregister CORBA components. This section contains the following topics:
The Discoverer Session and Discoverer Preferences components are installed on one or more application servers. For more information about the Discoverer Session component and the Discoverer Preferences component, see Section 1.7.2, "About the Discoverer CORBA components".
To manage the Discoverer CORBA components, you typically do the following:
How you confirm that the OAD is running and responding depends on the operating system on which you are running the Discoverer Server, as follows:
If you are not sure whether the OAD is running on UNIX:
> oadutil list
If the OAD process is not running or the OSAGENT is not running, the following message is displayed:
Unable to bind to OAD
If the OAD process is not running, do the following to start OAD:
> stopall.sh > startall.sh
To find out the location of the files, see Section A.2, "List of Discoverer file locations".
If you are not sure whether the OAD is running on Windows:
The Processes list should contain two java.exe processes (one for OC4J and one for OAD). Therefore, if both java.exe processes are running you can assume that the OAD is running. If you think that the OAD is running but not responding, stop and start the Discoverer service (see If the OAD is running but not responding below).
Note: The Processes list might contain more than two java processes.
If the OAD is not running, do the following to start OAD:
If the OAD is running but not responding, do the following:
To view the registered components:
> oadutil list -VBJprop vbroker.agent.port=<port number>
Note: To find out the port number:
Tip: The command contains -VBJprop vbroker.agent.port=<port number>.
> osfind -VBJprop vbroker.agent.port=<port number>
A list of the components running on the network is displayed.
How you register and unregister the Discoverer Session component with the OAD depends on the operating system on which you are running the Discoverer Server, as follows:
When you use the command line to register the Discoverer Session component, you run scripts contained in files. The names of the files will depend on the operating system on which you are running the Discoverer Server, as follows:
Operating system | Session registration script |
---|---|
UNIX |
registersession.sh |
Windows |
registersession.bat |
To register the Discoverer Session component using the command line:
At the command prompt, navigate to the directory containing the Session component registration script (for more information about the location of configuration files, see Section A.2, "List of Discoverer file locations").
When you use the command line to unregister the Discoverer Session component, you run scripts contained in files. The names of the files will depend on the operating system on which you are running the Discoverer Server, as follows:
Operating system | Session unregistration script |
---|---|
UNIX |
unregistersession.sh |
Windows |
unregistersession.bat |
To unregister the Session component using the command line:
If you are running the Discoverer Server on Windows, you can register and unregister the Discoverer Session component with the OAD using options on the Windows Start menu.
On the machine where you want to register or unregister the Discoverer Session component:
A number of register and unregister options are available.
A confirmation screen appears.
How you start and stop the Discoverer Preferences component depends on the operating system on which you are running the Discoverer Server, as follows:
To stop the Discoverer Preferences component on UNIX:
> stoppreference.sh
For more information about the location of configuration files, see Section A.2, "List of Discoverer file locations".
To start the Preferences component on UNIX:
> startpreference.sh
For more information about the location of configuration files, see Section A.2, "List of Discoverer file locations".
To stop the Discoverer Preferences component on Windows:
regedit
and press [Enter].
To start the Preferences component on Windows:
regedit
and press [Enter].
|
Copyright © 2002 Oracle Corporation. All Rights Reserved. |
|