2.3 Installing and Configuring the Module

To install the module you must:

  • Install the Knowledge Scripts by running the module installer .msi on all AppManager repositories that store data for this module.

  • Install the Help files by running the module installer .msi on all AppManager Control Center and Operator Console computers you will use with this module.

  • Ensure that the UNIX agent is installed on the computer you want to monitor.

You can access the AM70-OracleUNIX-8.0.x.x.msi module installer from the AM70_OracleUNIX_8.0.x.x self-extracting installation package on the AppManager Module Upgrades & Trials page.

The module installer now installs Knowledge Scripts for each module directly into the QDB instead of to the \AppManager\qdb\kp folder as in previous releases of AppManager.

To install the module:

  1. Ensure you have the UNIX agent installed on the managed computer using an account with access to the Oracle home directory. For information about how to install the agent, see the AppManager for UNIX and Linux Servers Management Guide.

  2. (Conditional) If you are using UNIX agent 7.5, ensure you specified that you would be monitoring Oracle with the AppManager component during the agent installation.

  3. (Conditional) If you are using UNIX agent 7.5, configure the agent for Oracle monitoring by one of the following actions:

    • In UNIX Agent Manager, click AM Options > Configure Module > Oracle.

    • In the UNIX agent directory ../netiq/bin/, run the netiq_oracle_configuration script.

  4. Install the Knowledge Scripts into the QDB by running the module installer on the QDB computer:

    1. Select Install Knowledge Scripts to install the repository components.

    2. Specify the SQL Server name of the server hosting the QDB, as well as the case-sensitive QDB name.

  5. (Conditional) If you use Control Center 7.x, run the module installer for each QDB attached to Control Center.

  6. (Conditional) If you use Control Center 8.x, run the module installer only for the primary QDB. Control Center automatically replicates this module to secondary QDBs.

  7. Run the module installer on all console computers to install the Help and console extensions.

  8. (Conditional) If you have not discovered Oracle RDBMS resources, run the Discovery_OracleUNIX Knowledge Script on all agent computers that you want to monitor. For more information, see Discovering Oracle Resources.

  9. Upgrade any running Knowledge Script jobs. For more information, see Upgrading Knowledge Script Jobs.

After the installation has completed, the OracleUNIX_Install.log file, located in the \NetIQ\Temp\NetIQ_Debug\<ServerName> folder on the QDB computer, lists any problems that occurred.

2.3.1 Configuring Logging Parameters

Prior to running Knowledge Scripts, run the $PSHOME/netiq/bin/wcAppManConfig script to restrict the size of Oracle module and Oracle RAC module log files to the specified size.

Run the $PSHOME/netiq/bin/wcAppManConfig script to specify the required value for the following logs size in MBs.

  • Oracle Module back-end log max size. The default value is 8MB.

  • Oracle Module Knowledge Scripts log max size. The default value is 2MB.

At any point, you can view two Managed Object (MO) logs for any job. For example,.OraLog_[JobID] OraLog_[JobID]_1.log. The OraLog_[JobID] job contains the current logs.

Also, at any point, you can view two Knowledge Script log files for any job. For example, [OracleUNIX KS Name]_[JobID] [OracleUNIX KS Name]_[JobID]_1.log. The [OracleUNIX KS Name]_[JobID] job contains the latest logs.

NOTE: You also can change the maximum size setting for the MO and KS logs through UNIX Agent Manager (UAM).

2.3.2 Silently Installing the Knowledge Scripts

To silently install the module on an AppManager repository, you can use Windows authentication or SQL authentication.

Windows authentication:

AM70-OracleUNIX-8.0.x.x,AppManagerForOracle_UNIX_Reviewmsi /qn MO_B_QDBINSTALL=1 MO_B_SQLSVR_WINAUTH=1 MO_SQLSVR_NAME=[SQLServerName] MO_QDBNAME=[AMRepositoryName]

SQL authentication:

AM70-OracleUNIX-8.0.x.x.msi /qn MO_B_QDBINSTALL=1 MO_B_SQLSVR_WINAUTH=0 MO_SQLSVR_USER=[SQL login] MO_SQLSVR_PWD=[SQLLoginPassword] MO_SQLSVR_NAME=[SQLServerName] MO_QDBNAME=[AMRepositoryName]