HP-UX Secure Resource Partitions (SRP) A.02.01 Administrator's Guide

52
7.1.3.3. Completing the Configuration
After you apply the apache cmpt service and the default apache provisioning script, you can start
the SRP compartment, and have a fully-functional HP-UX Apache-based Web Server in the
compartment. You can further customize the Web Server as needed by editing the compartment-
specific Apache configuration files
(/var/hpsrp/compartment_name/etc/rc.config.d/hpws22_apacheconf and the
compartment-specific apachectl file, located in the bin subdirectory below the data_path).
7.2 Replacing or Deleting Apache SRP Data
Use the following command to replace apache template data from an SRP compartment:
srp -r[eplace] compartment_name -t apache [-s service[,service]...]
The srp -replace command deletes the specified data, then prompts you for replacement data. For
example, the following command deletes all the IPFilter data for the apache template, then prompts
you for replacement data:
srp -replace mySRP -t apache -s ipfilter
Use the following command to delete apache template data from an SRP compartment:
srp -d[elete] compartment_name -t apache [-s service[,service]...]
CAUTION: If you do not specify the -template and/or -service arguments, srp deletes all
templates and/or services for the compartment. For example, the command srp -delete mySRP
deletes the entire mySRP SRP compartment.
For more information, see
13.2 Deleting Configuration Data and 13.3 Replacing Configuration Data.