HP-UX Secure Resource Partitions (SRP) A.02.00 Administrator's Guide
11 Managing SRP Data
This chapter describes how to add, update, delete, list, and manage SRP data. For complete
syntax information, see srp(1m). This chapter addresses the following topics:
• “Creating an SRP Compartment or Adding Data to a Compartment” (page 67)
• “Deleting Configuration Data” (page 69)
• “Replacing Configuration Data” (page 69)
• “Displaying Help Text and Input Parameters” (page 70)
• “Listing Information About SRP Compartments” (page 71)
• “Listing SRP Configuration Data” (page 71)
• “Using srp in Batch Mode” (page 72)
• “Backing Up and Recovering Configuration Data” (page 72)
Creating an SRP Compartment or Adding Data to a Compartment
The srp -add command creates an SRP base compartment, or adds service data for a template
to a compartment. To add service data for an application template (any template other than the
base template), the compartment must already exist. If you do not specify a template, srp uses
the base template. If you do not specify services, srp prompts you with a list of default services
valid for the template.
Use the following command to add a template or service to an SRP compartment:
srp -a[dd] compartment_name [-t[emplate] template[,template]...]
[-s[ervice] service[,service]...] [-i[d] instance] [variable=value]...
Where:
compartment_name Specifies the compartment name. If you are using the base template
and this compartment does not already exist, srp creates the
compartment for you. If you are using an application template, this
must be the name of an existing SRP compartment.
template Specifies the template name. If you specify multiple templates, srp
processes each template in the order specified.
Valid Input: base, apache, custom, oracledb, sshd.
Default: base.
service
Specifies the name of the service to configure.
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 template being processed. Table 11-1
lists the services valid for each template.
Creating an SRP Compartment or Adding Data to a Compartment 67