HP-UX Secure Resource Partitions (SRP) A.02.02 Administrator's Guide
66
12 Using the oracledb Template
This chapter describes how to use the oracledb template to configure an SRP compartment to share
a single set of Oracle executables with other SRPs. You do not need to use this template if you are
installinga separate instance of the Oracle executables in the SRP.
You can also use the oracledb template to delete or modify the oracledb template data for a
compartment.
12.1 Adding the oracledb Template to an SRP Compartment
To use the oracledb template, you must create a base SRP compartment first, then add the
oracledb template to the compartment. For example:
srp -add mySRP # create a base SRP compartment
srp -add mySRP -template oracledb
The syntax for adding the oracledb template to an SRP compartment is as follows:
srp -a[dd] srp_name -t[emplate] oracledb [-s[ervice]
service[,service]...]
Where:
srp_name
Specifies the name of an existing SRP compartment.
service
Specifies the name of the service to configure. The following services are valid with
the oracledb template:
• cmpt
• ipfilter
If you do not specify any services in the command line, srp prompts you for the
services you want to apply and displays a list of the default services that are valid
with the oracledb template. If you are using the factory-configured default
services, the only valid default service is cmpt,provision.
The input data for these services and the data configured are described in the
sections that follow. If SRP uses input data for multiple services, the srp utility
prompts you for the data once and reuses the value.
12.1.1 The cmpt Service
The cmpt service for the oracledb template configures Security Containment file system rules to
allow the compartment to access the specified Oracle directories.
12.1.1.1 Input Data
SRP prompts for the following data. You can also specify a variable name and value in the command
line, as described in 15.1 Creating an SRP Compartment or Adding Data to an SRP.
Oracle
executable
path
The root directory for Oracle executables. The cmpt service adds rules to allow the
compartment read access to this directory. Because this parameter is configured per
compartment, you can select different versions of the Oracle Database server product
on the system.