[Contents] [Index] [Info] [Previous] [Next]

CHAPTER 7. Maintaining the Oracle Products

Information can tell us everything. It has all the answers. But they are answers to questions we have not asked, and which doubtless don't even arise.

Jean Baudrillard, French semiologist. Cool Memories, Chapter 5 (1987 tr. 1990).

This chapter describes the following product installation maintenance procedures:

Installing an Independent Tools Environment

In an independent tools installation, Oracle and/or user applications connect to an Oracle7 Server (on the same node or another node) using one of the SQL*Net communication protocols. Applications communicate with another process (called a server process) over SQL*Net, which submits requests to the Oracle7 Server on behalf of the application. This server process then returns the results to the application over the same SQL*Net connection.

Implement the following steps to install independent tools:

$ BACKUP/LOG <ddcn>:[SERVER]BOOT.BCK/SAVE_SET -
  ORA_INSTALL:/NEW_VERSION/BY_OWNER=PARENT

where:

<ddcn> is the name of your CD-ROM device.

$ ORACLEINS

Select all the Oracle products that you want to install. From the Server Bundle, YOU MUST SELECT NETCONFIG and UTIL.

For NETCONFIG, change the following entries:

Enable appropriate SQL*Net Change to "Y". protocol driver/adapter (for example, DECnet, TCP/IP)

The Oracle installer now loads and builds the selected products.

$ BACKUP/LOG <ddcn>:[<bundle>]BOOT.BCK/SAVE_SET -
  ORA_INSTALL:/NEW_VERSION/BY_OWNER=PARENT

where:

<ddcn> is the name of your CD-ROM device.

$ @ORA_INSTALL:ORACLEINS

Reconfiguring Products

Perform the following steps to change product configuration options or to relink products. Verify that your system has Oracle7 installed.

The following figure shows the menus in ORACLEINS that you use to reconfigure a product.

Figure 7-1 Installation Note: If you are reconfiguring NETCONFIG or the RDBMS, shut down the instance and deinstall the shareable images before reconfiguring. See the section, "Shutting Down Oracle7 via Server Manager, " page 6 - 14 for more information.

	$ ORA_INSTALL:ORA_INSUTL.COM

Removing Products

To remove products, issue the following command:

$ @ORA_INSTALL:ORA_DEINST <product name>

where:

<product name> is the mnemonic used in the ORA_UTIL:PRODUCTS.TXT file.

For example, if you want to completely get rid of SQL*Plus, issue the following command:

$ @ORA_INSTALL:ORA_DEINST SQL*PLUS

Adding or Upgrading Products

This section applies to all Oracle products except earlier versions of Oracle7 and SQL*Net. It has the following topics:

Preparing to Add or Upgrade

Before you add or upgrade a product, perform the following steps:

Note: If you do not change the Oracle SYSTEM password to MANAGER, your installation may fail. Oracle installation scripts often assume the password is MANAGER. Alternatively, you can check for hardcoded user names and passwords in the Oracle scripts and change them to your own user names and passwords.

After completing these preliminary steps, you are ready to load and configure your Oracle products. The following figure shows the ORACLEINS menu items you will use to add or upgrade a product.

Figure 7-2 Installation

Adding or Upgrading a Product Summary

Starting Up an Instance

If the database is running, go to the next section "Building or Upgrading Database Tables".

If you previously shut down the database (to upgrade the Oracle7 server or SQL*Net), you need to start it up again. From the Main Menu, select Option 2, "Instance Creation and Instance Startup Menu". This brings up a submenu, from which you should select Option 2, "Startup an Existing Instance". To restart your database, enter its instance ID when prompted to do so. Return to the Main Menu.

Building or Upgrading Database Tables

Before building database tables, you must have created the SCOTT account. This is created automatically when Building Database Tables for RDBMS.

From the Main Menu, select Option 3, "Build or Upgrade Database Tables Menu".

Press E to exit ORACLEINS and return to the DCL prompt. The upgrade procedure is now complete.

Restarting Parallel Mode (Optional)

In addition, if you used ORACLEINS to restart a database instance, note that it is operating in exclusive mode. To run the instance in parallel mode, you need to restart the database in parallel mode, via Server Manager. For more information about running parallel mode, see Oracle7 for OpenVMS Server and Tools Administrator's Guide.

Relinking the Oracle Code

The Oracle code must be relinked under the following conditions:

Step 1 Shutdown the Given Database(s)

First verify that you are pointed to the right database instance. At the DCL prompt:

$ SHOW LOGICAL ORA_SID
ORA_SID" = "V733" (LNM$JOB_TABLE)

Invoke SVRMGR and connect internal. Select from the view V$PROCESS. If no other processes are active and you are pointed to the right instance, shut down the given database.

Once the database is shut down, all Oracle background process will no longer exist. Type SHOW SYSTEM at the OS prompt to verify.

Step 2 Remove Images

$ @ORA_RDBMS:REMORACLE

Note: Generally no response is yielded other than the return of the system prompt.

Step 3 Invoke the Oracle Installation Utility

$ ORACLEINS

This yields the ORACLE Installation Startup Menu.

You are presented with a list of Oracle products that can be installed, upgraded, or reconfigured.

The current configuration options for NETCONFIG are yielded:

You are again presented with the list of products. Note, -rebuild appears next to NETCONFIG, for example:

You are returned to the Software Installation and Upgrade Menu and you are prompted to Enter a number or (E)XIT to return to the Main Menu.

Invoke ORA_UTIL:INSUTILITY.COM, if you install the given tools into memory. Invoke ORA_DB:STARTUP_EXCLUSIVE_<dbname>.COM or ORA_DB:STARTUP_PARALLEL_<dbname>.COM, whichever mode is applicable.

Note: If you have an automatic startup Oracle script, you may run it instead


[Contents] [Index] [Info] [Previous] [Next]