HP-UX Secure Resource Partitions (SRP) A.02.02 Administrator's Guide
77
apache
cmpt
ipfilter
provision
custom
cmpt
ipfilter
provision
oracledb
cmpt
ipfilter
sshd
cmpt
ipfilter
provision
Default: The default service set is configured via srp_sys –setup.
instance
Unique string identifier used to identify an instance of a template usage
for templates that can be applied multiple times. This is valid for the
custom template only and is ignored for all other templates.
Valid Input: A text string with alphanumeric, dash (-) , or underscore (_)
characters. The maximum length is 20 characters.
Default: None.
variable=value
A valid variable for the specified service when used with the specified
template and the value for the variable. To list the valid variable names
for a service used with a given template, you can use the srp -h -v
template template_name -service service_name command.
For example, the network service for the base template supports the
variable ip_address. The user can set the value for this variable in the
command line as follows:
srp -add mySRP ip_address=192.0.2.1 iface=lan1:1
The srp utility will skip the prompt for the ip_address variable in the
interactive dialog and use the specified value.
This feature is often used with the -batch option, as described in
Using
srp in Batch Mode
.
15.2 Deleting Configuration Data
Use the following command to delete template or service data from an SRP compartment:
srp -d[elete] srp_name [-t template[,template]...] [-s
service[,service]...] [i[d] instance]
Where:
srp_name
Specifies the name of an existing SRP compartment.
template
Specifies the template names.
Valid Input: base, apache, tomcat, custom, oracledb, sshd.
Default: All templates configured for the SRP compartment.