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

33
performed when the SRP is started or stopped, such as notifying management or auditing
systems, or mounting the SRP home directory (/var/hpsrp/srp_name).
NOTE: If you are using shared storage to mount the SRP home directory to facilitate
cloning of an SRP, consider using the SRP setup script to automatically mount and
unmount the SRP home directory. In addition to ensuring that the home directory is
available when the SRP is started, it will also help prevent the accidental deletion of
the home directory when deleting one of the SRP clones.
fstab: Each SRP has a file system mount table configuration file that replicates the system
file system mount table described in fstab(4M). This file
(/var/hp/hpsrp/srp_name/etc/fstab) may be accessed and edited from within the
SRP. The start script (/var/hpsrp/srp_name/sbin/init.d/srp_mount) performs
the mounting and unmounting of file systems when the SRP is started and stopped.
5.3 Deploying Applications in an SRP Environment
HP recommends that you execute most applications from within an SRP environment. The INIT
compartment should be reserved for the execution of system management activities. Note that third
party system management utilities should also be executed in the INIT compartment. If you chose to
deploy a system management utility within an SRP, you may find it necessary to customize the SRP
compartment access rules to provide any increased capabilities necessary for the utility to perform its
services.
This section describes the following topics:
5.3.1 Single Instance Applications
5.3.2 Multi-Instance Applications
5.3.3 Deploying Applications with the Application Templates
5.3.4 Ensuring access to application files located outside the SRP home directory
5.3.5 Best Practices for Application Deployment with SRP
5.3.1 Single Instance Applications
While nearly all applications can be executed within an SRP environment, some applications do not
support multiple instances of the same application executing on the same system concurrently. For
these applications, HP recommends that you do not run multiple instances of these applications, even
when the instances are located in separate SRPs, HP recommends that you install the application
under the /var/hpsrp/srp_name/ directory if supported by the vendor.
5.3.2 Multi-Instance Applications
There are two models to deploy multi-instance applications within an SRP environment:
Shared executable: In this model, the application is installed once per system in a shared
location. The application may require a set of files to be replicated and configured per
instance. HP recommends that you locate per instance files under the
/var/hpsrp/<srp_name/ directory when supported by the vendor.
Per-SRP installation: For applications that support multiple installations per system, you can
install the application for each SRP in which it will be executed. HP recommends that you
install the application under the /var/hpsrp/srp_name/ directory if supported by the
vendor.