DLP 14.6 Oracle12c Enterprise
DLP 14.6 Oracle12c Enterprise
Version 14.6
Symantec Data Loss Prevention Oracle 12c
Enterprise Edition Implementation Guide
Documentation version: 14.6
Legal Notice
Copyright © 2016 Symantec Corporation. All rights reserved.
Symantec, the Symantec Logo and the Checkmark Logo are trademarks or registered
trademarks of Symantec Corporation or its affiliates in the U.S. and other countries. Other
names may be trademarks of their respective owners.
This Symantec product may contain third party software for which Symantec is required to
provide attribution to the third party (“Third Party Programs”). Some of the Third Party Programs
are available under open source or free software licenses. The License Agreement
accompanying the Software does not alter any rights or obligations you may have under those
open source or free software licenses. Please see the Third Party Legal Notice Appendix to
this Documentation or TPIP ReadMe File accompanying this Symantec product for more
information on the Third Party Programs.
The product described in this document is distributed under licenses restricting its use, copying,
distribution, and decompilation/reverse engineering. No part of this document may be
reproduced in any form by any means without prior written authorization of Symantec
Corporation and its licensors, if any.
The Licensed Software and Documentation are deemed to be commercial computer software
as defined in FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19
"Commercial Computer Software - Restricted Rights" and DFARS 227.7202, et seq.
"Commercial Computer Software and Commercial Computer Software Documentation," as
applicable, and any successor regulations, whether delivered by Symantec as on premises
or hosted services. Any use, modification, reproduction release, performance, display or
disclosure of the Licensed Software and Documentation by the U.S. Government shall be
solely in accordance with the terms of this Agreement.
Symantec Corporation
350 Ellis Street
Mountain View, CA 94043
http://www.symantec.com
Contents
■ Upgrading from Oracle 11g and Symantec Data Loss Prevention 14.x
You can also install and configure the Oracle 12c database manually for use with
Symantec Data Loss Prevention 14.6.
See “Configuring your Oracle 12c Enterprise database manually” on page 7.
You can also upgrade manually from Symantec Data Loss Prevention 14.x and
Oracle 11g to Symantec Data Loss Prevention 14.6 and Oracle 12c.
See “Upgrading from Oracle 11g and Symantec Data Loss Prevention 14.x”
on page 9.
Tablespace information
The default tablespace for the DLP user (protect) is USERS. Refer to the Symantec
Data Loss Prevention System Requirements and Compatibility Guide version 14.6
(http://www.symantec.com/docs/DOC8236) for the database sizing information.
Typically, the USERS tablespace size should be 15% of the database size.
The lob_tablespace tablespace: the name is not configurable. Refer to the
Symantec Data Loss Prevention System Requirements and Compatibility Guide
version 14.6 for database sizing information. Typically, the lob_tablespace size
should be 80% of the database size.
■ Create operator
■ Create materialized view
■ Unlimited tablespace
■ Select on dba_tablespaces
■ Select on dba_data_files
■ Select on dba_temp_files
■ Select on dba_extents
■ Select on v_$session
■ Select on v_$database
■ Select on v_$instance all on dbms_monitor
■ Select on v_$parameter
■ Select on dba_segments
■ Select on v_$sqlarea
■ Select on v_$session_longops
■ SELECT ON v_$sql
■ SELECT ON v_$sql_plan
■ SELECT ON v_$sql_plan_statistics_all
■ EXECUTE ON dbms_session
■ Execute on dbms_lock
Note: The procedure described here provides high-level details. Before you begin
the upgrade process, ensure that you have available the Oracle upgrade
documentation and the Symantec Data Loss Prevention 14.6 Upgrade Guide
appropriate for your operating system. The Symantec Data Loss Prevention 14.5
Upgrade Guide is available at http://www.symantec.com/docs/DOC9258.
Configuring Oracle 12c Enterprise for use with Symantec Data Loss Prevention 10
Upgrading from Oracle 11g and Symantec Data Loss Prevention 14.x
■ Creating the Oracle user account for Symantec Data Loss Prevention
2 Create the Symantec Data See “Creating the Symantec Data Loss Prevention
Loss Prevention database. database on Windows” on page 14.
4 Configure the local net See “Configuring the local net service name”
service name. on page 17.
5 Create the Symantec Data See “Creating the Oracle user account for
Loss Prevention database Symantec Data Loss Prevention” on page 18.
user.
The installation wizard appears with pre-selected values drawn from the
installation response file. You can confirm these values and click through the
panels without needing to enter information where noted.
5 On the Configure Security Updates panel, I wish to receive security updates
via My Oracle Support is selected. Click Next.
6 On the Select Installation Options panel, Install database software only is
selected. Click Next.
7 On the Grid Installation Options panel, Single instance database installation
is selected. Click Next.
8 On the Select Product Languages panel, click Next to accept English as the
default language.
9 On the Select Database Edition panel, Enterprise Edition is selected. Click
Next.
10 On the Oracle Home User panel, enter a user name and password for the
Oracle Home User. The default name for the Oracle Home User is protect.
Note: The Oracle Home User is the Windows user account that runs Windows
services for %ORACLE_HOME. It is not the Symantec Data Loss Prevention Oracle
user account.
set ORACLE_HOME=c:\oracle\product\12.1.0.2\db_1
If you installed Oracle 12c into a different location, substitute the correct
directory in this command.
2 Navigate to the C:\temp\Oracle\tools folder where you extracted the
12.1.0.2_64_bit_Installation_Tools.zip file.
%ORACLE_HOME%\bin\dbca
-progressOnly
-responseFile C:\temp\Oracle\tools\responsefiles\Oracle_12.1.0.2_DBCA_WIN.rsp
SQLNET.AUTHENTICATION_SERVICES=(none)
Installing Oracle 12c Enterprise on Windows 16
Creating the TNS Listener on Windows
2 Start the Oracle Net Configuration Assistant by selecting Start > All Programs
> Oracle 12.1.0.2 > Configuration and Migration Tools > Net Configuration
Assistant.
3 On the Welcome panel, select Listener configuration and click Next.
4 On the Listener Configuration, Listener panel, select Add and click Next.
5 On the Listener Configuration, Listener Name panel, enter a listener name
and the password for your Oracle Home User, then click Next.
Note: Use the default listener name, LISTENER, unless you must use a different
name.
19 Run the following commands to connect to the database using SQL Plus:
sqlplus /nolog
Services Summary...
Service "protect" has 1 instance(s).
Instance "protect", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
7 On the Net Service Name Configuration, Test panel, select No, do not test
and click Next.
Do not test the service configuration, because the listener has not yet started.
8 On the Net Service Name Configuration, Net Service Name panel, select
accept the default name of "protect" and click Next.
9 On the Net Service Name Configuration, Another Net Service Name? panel,
select No and click Next.
10 On the Net Service Name Configuration Done panel, select Next.
11 Click Finish to exit the Oracle Net Configuration Assistant.
sqlplus /nolog
SQL> @oracle_create_user.sql
4 At the Please enter the password for sys user prompt, enter the password
for the SYS user.
5 At the Please enter sid prompt, enter protect.
sqlplus /nolog
4 Make sure that the output from the query contains the following information,
which identifies the software components as version 12.1.0.2.
BANNER
--------------------------------------------------------------------------
5 Exit SQL*Plus:
SQL> exit
Chapter 3
Installing Oracle 12c
Enterprise on Linux
This chapter includes the following topics:
■ Creating the Oracle user account for Symantec Data Loss Prevention
3 Create the Symantec Data See “Creating the Symantec Data Loss Prevention
Loss Prevention database. database on Linux” on page 27.
5 Configure the local net See “Configuring the local net service name”
service name. on page 30.
6 Create the Symantec Data See “Creating the Oracle user account for
Loss Prevention database Symantec Data Loss Prevention” on page 32.
user.
cd /tmp/oracle_install
./scripts/oracle_prepare.sh
cd /tmp/oracle_install/scripts
./oracle_verify.py
The verification script displays settings (such as RAM, swap space, shared
memory, /tmp disc space) that do not meet the requirements for Oracle. Adjust
any settings to the required values.
If you have mismatched values between kernel parameters and resource limits,
run the oracle_config_kernel_parameters.py script in the
/tmp/oracle_install/scripts directory. This script will set the kernel
parameters to the required settings.
5 Restart the server so that the updated kernel parameters take effect.
6 Verify that there is enough space under /var. For a small to medium enterprise,
/var should have at least 15 GB. For a large enterprise, /var should have at
least 30 GB. For a very large enterprise, /var should have at least 45 GB of
free space. As your organization’s traffic expands, these figures should increase,
and you must allocate more free space.
7 Verify that the /opt and /boot file systems have the required free space for
your Symantec Data Loss Prevention installation. See the Symantec Data Loss
Prevention System Requirements and Compatibility Guide for more information.
Installing Oracle 12c Enterprise on Linux 24
Installing Oracle 12c Enterprise on Linux
export DISPLAY=ip_address:display_number
As you run the GUI tools later, you might get a response similar to the following:
su -l root
xhost +SI:localuser:oracle
5 Put the contents of the database directory from the ZIP file you extracted to
/home/oracle into a directory titled database. You should now have a directory
named /home/oracle/database.
6 Change directory to:
cd /home/oracle/database/stage/cvu/cv/admin
cp cvu_config backup_cvu_config
10 Provide read and write access to the /opt directory for the Oracle user.
11 In the Oracle user terminal execute this command (line break added for
legibility):
/home/oracle/database/runInstaller -noconfig
-responseFile /home/oracle/oracle_install/responsefiles/Oracle_12.1.0.2_Installation_Linux.rsp
20 If this is the first Oracle installation on the server computer, the installer
application displays the Create Inventory panel. The inventory path is entered
as /opt/oracle/oraInventory and the group name is entered as oinstall.
Click Next.
The installer may display a warning message recommending that you place
the central inventory location outside of the Oracle base directory. You can
safely ignore this message for Symantec Data Loss Prevention database
installations.
21 On the Privileged Operating System Groups panel, click Next to grant the
Database Administrator and Database Operator privileges to the default DBA
group.
The installer application performs a prerequisite check and displays the results.
22 On the Summary panel, click Install to begin the installation.
The installer application installs the Oracle 12c software on your computer.
23 The installer displays the Execute Configuration scripts window, which
instructs you to execute two scripts as the root user. From the root xterm
window, run the following two scripts:
/opt/oracle/oraInventory/orainstRoot.sh
/opt/oracle/product/12.1.0.2/db_1/root.sh
export ORACLE_HOME=/opt/oracle/product/12.1.0.2/db_1
export ORACLE_SID=protect
If you installed Oracle 12c into a different location, substitute the correct
directory in this command.
You may want to add these commands to your user profile configuration so
that the ORACLE_HOME and ORACLE_SID environment variables are defined
each time you log on. See your Linux documentation for details about setting
environment variables.
2 Navigate to /tmp/oracle_install where you extracted the
12.1.0.2_64_bit_Installation_Tools.tar.gz file.
4 At the command prompt, execute the following command (line break added
for legibility):
$ORACLE_HOME/bin/dbca -progressOnly
-responseFile /home/oracle/oracle_install/responsefiles/Oracle_12.1.0.2_DBCA_Linux.rsp
8 Click OK.
Note: To use the commands referenced in this procedure, ensure that your working
directory is $ORACLE_HOME/bin. If SQL*Plus does not work while following this
procedure, set your $PATH variable to point to $ORACLE_HOME/bin.
$ORACLE_HOME/bin/netca
Note: Use the default listener name, LISTENER, unless you must use a different
name.
Note: If you see a message informing you that the listener has started but there
are no services, run the following sequence of commands: lsnrctl stop,
shutdown, startup, lsnrctl start.
Services Summary...
Service "protect" has 1 instance(s).
Instance "protect", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
$ORACLE_HOME/bin/netca
2 On the Welcome panel, select Local Net Service Name configuration and
click Next.
3 On the Net Service Name Configuration panel, select Add and click Next.
4 On the Net Service Name Configuration, Service Name panel, enter "protect"
in the Service Name field and click Next.
5 On the Net Service Name Configuration, Select Protocols panel, select
TCP and click Next.
6 On the Net Service Name Configuration, TCP/IP Protocol panel:
■ Enter the IP address of the Oracle server computer in the Host name field.
■ Select Use the standard port number of 1521 (the default value).
Installing Oracle 12c Enterprise on Linux 31
Verifying tnsnames.ora contents
■ Click Next.
7 On the Net Service Name Configuration, Test panel, select No, do not test
and click Next.
Do not test the service configuration, because the listener has not yet started.
8 On the Net Service Name Configuration, Net Service Name panel, select
accept the default name of "protect" and click Next.
9 On the Net Service Name Configuration, Another Net Service Name? panel,
select No and click Next.
10 On the Net Service Name Configuration Done panel, select Next.
11 Click Finish to exit the Oracle Net Configuration Assistant.
PROTECT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = port_number))
)
(CONNECT_DATA =
(SERVICE_NAME = protect)
)
)
If these lines do not exist, add them to the file, replacing ip_address and
port_number with the correct values for your system.
Note: Do not copy and paste information to the tnsnames.ora file, as it can
introduce hidden characters that cannot be parsed.
$ORACLE_HOME/bin/sqlplus /nolog
4 Make sure that the output from the query contains the following information,
which identifies the software components as version 12.1.0.2. The output
should read:
BANNER
--------------------------------------------------------------------------
5 Exit SQL*Plus:
SQL> exit
sqlplus /nolog
SQL> @oracle_create_user.sql
5 At the Please enter the password for sys user prompt, enter the password
for the SYS user.
6 At the Please enter sid prompt, enter protect.
8 At the Please enter a password for the new username prompt, enter a new
password.
Follow these guidelines to create acceptable passwords:
■ Passwords cannot contain more than 30 characters.
■ Passwords cannot contain double quotation marks, commas, or
backslashes.
■ Avoid using the & character.
■ Passwords are case-sensitive by default. You can change the case
sensitivity through an Oracle configuration setting.
■ If your password uses special characters other than _, #, or $, or if your
password begins with a number, you must enclose the password in double
quotes when you configure it.
Store the password in a secure location for future use. You will need this
password to install Symantec Data Loss Prevention. If you need to change the
password after you install Symantec Data Loss Prevention, see the Symantec
Data Loss Prevention Administration Guide for instructions.
Installing Oracle 12c Enterprise on Linux 34
Configuring automatic startup and shutdown of the database
cd /tmp/oracle_install
./scripts/oracle_post.sh
4 Verify that the script completed successfully by checking if the very last line of
the output is:
You may see errors before the last line (for example, cannot access
/var/log/dbora). You can ignore these errors.