Oracle Parallel Server Getting Started Release 8.0.6 for Windows NT A69942-01 |
|
This chapter describes how to install and set up Oracle Parallel Server Manager (OPSM). Specific topics discussed are:
You can control the activity of parallel servers and parallel server instances using the OPSM. OPSM is a comprehensive and integrated system management solution for the Oracle Parallel Server. OPSM allows you to manage multi-instance databases running in heterogeneous environments through an open client-server architecture.
In addition to managing parallel databases, OPSM allows you to schedule jobs, perform event management, monitor performance, and obtain statistics to tune parallel databases.
Oracle Enterprise Manager provides database administrators (DBAs) with a powerful set of tools to manage, monitor, and administer even the most complex network of databases from a single workstation, called the Enterprise Manager Console.
This console requires the following components:
OPSM uses the OPSCTL utility (installed on each node) to manage instances. This utility is run directly from the command line on a node, or called by the Oracle Enterprise Manager Console. OPSCTL gathers information about all the instances in a cluster from the TNSNAMES.ORA files. When OPSCTL is called by the Oracle Enterprise Manager Console, only one node's Intelligent Agent is used to communicate to OPSCTL. OPSCTL on that node then communicates to the other nodes through Net8.
Figure 6-1, "OPSCTL Architecture" shows how OPSCTL operates between the agent and the nodes.
The following requirements must be met in order to use OPSM from the Oracle Enterprise Manager Console:
The requirements for each node are:
Node Requirements | For additional information, see: |
---|---|
Ensure Oracle8 Enterprise Edition, Oracle Parallel Server Option, Oracle Parallel Server Manager Server, and Oracle Intelligent Agent are installed on each node in the cluster. |
"Step 1: Install Oracle8 Enterprise Edition and Oracle Parallel Server on Nodes" in Chapter 4, "Installing Oracle Parallel Server" |
The INIT_COM.ORA and INITSID.ORA initialization files must located in ORACLE_HOME\DATABASE. |
"Step 1: Copy Initialization Files" in Chapter 5, "Configuring Oracle Parallel Server" |
Use OPSCONF to create a TNSNAMES.ORA file for each node. Each instance must have a service name specified for it, which is used in defining the database links for the instances. |
"Step 6: Configure the Network" in Chapter 5, "Configuring Oracle Parallel Server" |
The SIDs of the instances in the parallel server must be different. |
|
In order to use the optional Oracle Performance Manager component, run OPS_8MON.SQL script. |
The requirements for the Oracle Enterprise Manager Console are:
Oracle Enterprise Manager Console Requirements | For additional information, see: |
---|---|
Install your Enterprise Manager version 1.6 software (with or without Oracle Diagnostics Pack option) on a Windows NT, Windows 95 or Windows 98 computer. Oracle Diagnostics Pack, which contains the Oracle Performance Manager application, is sold separately. |
|
If the Oracle Enterprise Manager Console is on separate machine than the repository database, ensure that the Net8 Client is installed and properly configured on the Console. |
"Step 1: Install Oracle Enterprise Manager". and "Step 2d: Create Configuration Files". |
Configure and connect to the repository database, including performing auto-discovery of your nodes. |
|
To use the optional Oracle Performance Manager component, specify the user preferences for your Oracle Parallel Server nodes and your Oracle Parallel Server databases. |
Chapter 2, "Oracle Parallel Server Management Operations," of the Oracle Parallel Server Management User's Guide. |
Set up your Oracle Enterprise Manager Console environment in either of two ways.
You can install Oracle Enterprise Manager on a Windows NT, Windows 95 or Windows 98 machine.
Installing Oracle Enterprise Manager includes:
The repository database is an Oracle8 Enterprise Edition database installed on the console if it is a Windows NT machine, or on another Windows NT machine where the Windows NT, Windows 95 or Windows 98 console can connect.
To install the repository database:
Install Oracle8 Enterprise Edition on a Windows NT Server by following the instructions in Oracle8 Enterprise Edition for Windows NT Installation CD-ROM Insert CD-ROM insert.
Oracle Enterprise Manager version 1.5 is installed on a console workstation, a Windows NT, Windows 95 or Windows 98 client which connects to the Oracle8 repository database. To install the Oracle Enterprise Manager:
See the Oracle8 Enterprise Edition for Windows NT Installation CD-ROM Insert CD-ROM insert for complete installation instructions.
Additional Information:
See the Oracle8 Enterprise Edition for Windows NT Installation CD-ROM Insert CD-ROM insert for complete installation instructions.
Additional Information:
This table describes the tasks that must be performed to configure the two Oracle Enterprise Manager Console environments illustrated above. Each task is then described fully below:
Note: These instructions assume Oracle Enterprise Manager is already installed on a console workstation. See the installation CD-ROM insert to install Oracle Enterprise Manager and see "Step 1b: Install Oracle Enterprise Manager on Console Workstation" to install OPSM Client. |
Start OracleServiceSID, OracleHOME_NAMETNSListener80, OracleAgent and OraclePGMSService services are running on each node:
The Services window appears.
If all the services are already running, close the window and go to "Step 2b: Create a Repository User Account". If a service is not running, to Step 3 in this procedure.
Prior to starting a OracleServiceSID service, the OraclePGMSService service must be running. If you used the CRTSRV script in "Step 4: Create Services", OraclePGMSService automatically starts when the OracleServiceSID service is started.
If you chose to create your services with another method, you can still have OraclePGMSService start up automatically with a OracleServiceSID service by entering the following at the command for each node:
Note:
C:\> OPSREG80 ADD
SID
C:\> NET START SERVICE
The SNMP_RW.ORA and SNMP_RO.ORA files located in ORANT\NET80\ADMIN are automatically generated when the Intelligent Agent is started. These files contain the listening address of the agent, the names of Net8 listener and Oracle database services it knows about, plus tracing parameters. Do not update these read-only files
.
Additonal Information: See Appendix A, "Configuration Files," of the Oracle Enterprise Manager Configuration Guide, for a description of SNMP_RO.ORA and SNMP_RW.ORA parameters. |
You need to have a user account with DBA (database administrator) privileges set up on the Oracle8 repository database. Oracle Enterprise Manager places its repository in the default tablespace of the user account to which you are connected when creating the repository. Oracle Corporation recommends creating a new user account, creating a new tablespace, and the customizing the newly-created user to use the new tablespace as its default tablespace.
C:\> SVRMGR30 SVRMGR> CONNECT SYSTEM/MANAGER
SVRMGR> CREATE TABLESPACE REPOSIT_TABLESPACE DATAFILE 'PATH\DATAFILE' SIZE XM;
where X is the tablespace size in megabytes; 20 MB is a good starting point.
SVRMGR> CREATE USER USERNAME IDENTIFIED BY PASSWORD 2> DEFAULT TABLESPACE REPOSIT_TABLESPACE;
SVRMGR> GRANT DBA TO USERNAME IDENTIFIED BY PASSWORD;
SVRMGR> EXIT
Exiting Server Manager closes the database connection.
After a repository user account is created, an NT user account with the same user name as the repository user account must be created on the the individual Oracle Parallel Server nodes. To create a user account on each node of the cluster:
The User Manager window re-appears.
If Oracle Enterprise Manager is installed on a Windows NT, Windows 95 or Windows 98 client console separate from the machine on which the repository database is installed, you must configure the client machine so it can connect to the Oracle8 repository database. Use the Oracle Net8 Easy Config to configure your network.
Before you can use Oracle Enterprise Manager Console, you need a repository on the console workstation where Oracle Enterprise Manager Console will run. The repository is a set of base tables in a database that contains status and environment information for your managed databases. A separate repository must be created for each user wanting to use Oracle Enterprise Manager Console.
The Oracle Enterprise Manager Console machine must also discover network services, such as databases, listeners, and nodes, to populate the Navigator tree. In addition to discovery, the Oracle Enterprise Manager Console must also be able to manage these services for the Job Scheduling and Event Management systems. This can be achieved with the Discovery Wizard.
When the agent starts up and is explicitly requested by the Oracle Enterprise Manager Console with the Navigator Discovery feature, the agent passes information from the Oracle Enterprise Manager Console to populate the Navigator tree.
The Oracle Repository Manager window appears, prompting you to build the repository:
Services are discovered when you see the dialog box below with a status of Discovered:
See the Oracle Parallel Server Management User's Guide for further information about managing Oracle Parallel Servers and parallel server instances from Oracle Enterprise Manager Console.
Additional Information:
The Oracle Enterprise Manager's Oracle Performance Manager allows you to choose from a variety of tabular and graphic performance statistics for parallel servers. The statistics represent the aggregate performance for all instances running on a parallel server. The statistics are displayed in individual charts and include information on data block pings, lock activity, file I/O, and session and user information.
To configure Oracle Performance Manager:
C:\> CD ORACLE_HOME\OPS C:\ORACLE_HOME\OPS> SVRMGR30 SVRMGR> @OPS_8MON.SQL
Oracle Enterprise Manager Oracle Performance Manager can be invoked against any instance of the parallel server. Oracle Performance Manager will execute a PL/SQL procedure on this instance to query for performance data from all instances of the parallel server via database links, aggregating the results into a set of database tables, which are then displayed in graphical form by Oracle Performance Manager.
To start Oracle Performance Manager:
The Repository Login Information dialog box appears:
The Oracle Performance Manager application appears.
The list of available charts appears.
The charts display in the right-hand window.
Additional Information: See the Oracle Parallel Server Management User's Guide for further information about managing Oracle Parallel Servers and parallel server instances from Oracle Enterprise Manager Console. |
|
![]() Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|