• No se han encontrado resultados

5.2 Instalación del controlador

5.2.2 Conexión Ethernet

Chapter 3 - Page 5

Practice 3-2: Installing the Oracle Audit Vault Collection Agent

Practice 3-2: Installing the Oracle Audit Vault Collection Agent

Overview

Overview

In this practice you install the Oracle Audit Vault collection agent.

Assumptions

Assumptions

Practice 3-1 was completed successfully.

Tasks

Tasks

1. Change to the$HOME/av_installmedia/avagent/linux_x32 directory.

$ cd $HOME/av_installmedia/avagent/linux_x32 [linux_x32]$

2. Invoke the Oracle Universal Installer.

[linux_x32]$ ./runInstaller

3. On the Agent Details page, specify the following information:

Field Value

Field Value

Audit Vault Agent Name

avagent1

Audit Vault Agent Home

/u01/app/oracle/oracle/product/10.2.3/av_agent_1

Agent User Name avagentuser

Agent User Password

avagentpass

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-2: Installing the Oracle Audit Vault Collection Agent

Chapter 3 - Page 6

Click Next.

4. The Product-Specific Prerequisite Checks page is displayed. After the checks complete, click Next.

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-2: Installing the Oracle Audit Vault Collection Agent

Chapter 3 - Page 7

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-2: Installing the Oracle Audit Vault Collection Agent

Chapter 3 - Page 8

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-2: Installing the Oracle Audit Vault Collection Agent

Chapter 3 - Page 9

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-2: Installing the Oracle Audit Vault Collection Agent

Chapter 3 - Page 10

8. The “Execute Configuration scripts” page appears. Open another terminal window and log in as theroot user. Execute theroot.sh script as directed. Close this terminal window.

$ su -

Password: ******

# cd /u01/app/oracle/oracle/product/10.2.3/av_agent_1 # ./root.sh

Running Oracle 10g root.sh script...

The following environment variables are set as: ORACLE_OWNER= oracle

ORACLE_HOME=

/u01/app/oracle/oracle/product/10.2.3/av_agent_1 Enter the full pathname of the local bin directory: [/usr/local/bin]:

The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-2: Installing the Oracle Audit Vault Collection Agent

Chapter 3 - Page 11

The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)

[n]:

The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)

[n]:

Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script.

Now product-specific root actions will be performed. # exit

$ exit

9. Return to the “Execute Configuration scripts” page and click OK.

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-2: Installing the Oracle Audit Vault Collection Agent

Chapter 3 - Page 12

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 13

Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Overview

Overview

In this practice you install Oracle Audit Vault Patch Set 2 on the Audit Vault Collection Agent.

Assumptions

Assumptions

Practice 3-2 was completed successfully.

Tasks

Tasks

1. Open a new terminal window and set the following environment variables for the Audit Vault Collection Agent. You can use the$HOME/labs/setava_vars.sh script to set the environment variables or manually set them. You may keep this terminal window open to use in later practices.

Variable Value Variable Value ORACLE_HOME /u01/app/oracle/oracle/product/10.2.3/av_agent_1 LD_LIBRARY_PATH $ORACLE_HOME/lib PATH $PATH:$ORACLE_HOME/bin $ cd labs $ . ./setava_vars.sh $ echo $ORACLE_HOME /u01/app/oracle/oracle/product/10.2.3/av_agent_1 $ echo $LD_LIBRARY_PATH /u01/app/oracle/oracle/product/10.2.3/av_agent_1/lib $ echo $PATH /u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/u sr/local/bin:/bin:/usr/bin:/usr/NX/bin:/usr/X11R6/bin:/usr/NX/bi n:/usr/NX/bin:/u01/app/oracle/oracle/product/10.2.3/av_agent_1/b in $

2. Unset the following environment variables:ORACLE_SID,TNS_ADMIN, andTWO_TASK $ unset ORACLE_SID $ echo $ORACLE_SID $ unset TNS_ADMIN $ echo $TNS_ADMIN $ unset TWO_TASK $ echo $TWO_TASK $

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 14

3. Verify that all environment variables are set correctly by invoking the AVCTL utility. If the environment variables are not set correctly, you will not be able to invoke AVCTL.

$ avctl -help

--- AVCTL Usage

--- Oracle Audit Vault Control commands - Agent OC4J:

avctl start_oc4j [-loglevel error|warning|info|debug] avctl stop_oc4j

avctl show_oc4j_status avctl -help

$

4. Stop the Oracle Audit Vault Collection Agent by executing the AVCTLstop_oc4j

command.

$ avctl stop_oc4j AVCTL started

Stopping OC4J...

OC4J stopped successfully. $

5. Unset theNLS_LANG andORACLE_HOME environment variables.

$ unset NLS_LANG $ echo $NLS_LANG $ unset ORACLE_HOME $ echo $ORACLE_HOME $

6. Change to the$HOME/av_installmedia/avpatch/Disk1 directory and invoke the

Oracle Universal Installer.

$ cd $HOME/av_installmedia/avpatch/Disk1 [Disk1]$ ./runInstaller

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 15

8. The Inventory page is displayed. Note the second OraAV10g Oracle Home. This is the Audit Vault Collection Agent home. Click Close to return to the Welcome page.

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 16

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 17

10. On the Specify Home Details page, click the arrow at the end of Name field to access the list. Select the name that you identified in an earlier step as the Audit Vault Collection agent home.

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 18

11. On the Specify Home Details page, the path is now set correctly for the Audit Vault Collection Agent. Click Next.

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 19

12. The Product-Specific Prerequisite Checks page is displayed. After the checks complete, click Next.

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 20

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 21

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 22

15. The Configuration Assistants page is displayed. After the configuration assistants complete, the End of Installation page is displayed. Click Exit to exit the Oracle Universal Installer.

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 23

16. Click Yes to confirm that you want to exit.

17. Reset theORACLE_HOME environment variable. Use the AVCTLshow_agent_status

command to verify that the Audit Vault Collection Agent is running.

Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Practice 3-3: Installing Oracle Audit Vault Patch Set 2

Chapter 3 - Page 24 $ echo $ORACLE_HOME /u01/app/oracle/oracle/product/10.2.3/av_agent_1 $ export ORACLE_HOME $ avctl show_agent_status --- Agent is running --- $

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.

Documento similar