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

2
4 Reporting Process Status for an SRP Compartment .............................................................................. 25
5 Using SRP Manager ........................................................................................................................ 26
5.1 Configuring and Managing SRPs with SRP Manager .................................................................... 26
6 Getting Started with SRP .................................................................................................................. 29
6.1 Sample SRP Lifecycle ................................................................................................................ 29
6.1.2 Run Environment for the SRP Session .................................................................................... 29
Step 1: Setting Up SRP ................................................................................................................... 30
Step 2: Displaying Input Parameters for the base Template ................................................................ 30
Step 3: Creating an SRP Compartment ............................................................................................. 30
Step 4: Listing the Configuration Data .............................................................................................. 31
Step 5: Adding the sshd Template .................................................................................................... 32
Step 6: Listing the Configuration Data for the sshd Template .............................................................. 32
Step 7: Starting the SRP Compartment .............................................................................................. 33
Step 8: Listing SRP status information ................................................................................................ 34
Step 9: Replacing SRP Configuration Data ........................................................................................ 34
Step 10: Stopping the SRP Compartment .......................................................................................... 35
Step 11: Deleting the SRP Compartment ........................................................................................... 35
7 Using the SRP Environment ............................................................................................................... 36
7.1 Establising a User Session in the SRP .......................................................................................... 36
7.2 Managing SRP Startup and Shutdown Actions ............................................................................. 36
7.3 Deploying Applications in an SRP Environment ............................................................................ 37
7.3.1 Single Instance Applications ............................................................................................... 37
7.3.2 Multi-Instance Applications ................................................................................................. 37
7.3.3 Deploying Applications with the Application Templates......................................................... 38
7.3.4 Ensuring access to application files located outside the SRP home directory .............................. 38
7.3.5 Best Practices for Application Deployment with SRP ............................................................... 38
8 Using the base Template ................................................................................................................ 40
8.1 Creating a SRP Compartment .................................................................................................... 40
8.1.1 The cmpt Service ............................................................................................................... 41
8.1.2 The admin Service ............................................................................................................ 42
8.1.3 The prm Service ................................................................................................................ 42
8.1.4 The network Service ........................................................................................................... 44
8.1.5 The init Service.................................................................................................................. 46
8.1.6 The login Service ............................................................................................................... 46
8.1.7 The ipfilter Service ............................................................................................................. 47
8.1.8 The ipsec Service .............................................................................................................. 48
8.1.9 Completing the Configuration ............................................................................................. 50
8.2 Replacing or Deleting Base SRP Data ......................................................................................... 50
9 Using the apache Template .............................................................................................................. 52
9.1 Adding the apache Template to an SRP Compartment .................................................................. 52
9.1.1 The cmpt Service .............................................................................................................. 52
9.1.2 The ipfilter Service ............................................................................................................. 53
9.1.3 The provision Service .................................................................................................... 54
9.2 Replacing or Deleting Apache SRP Data ..................................................................................... 56
10 Using the tomcat Template ........................................................................................................... 57
10.1 Adding the tomcat Template to an SRP Compartment ................................................................. 57
10.1.1 The cmpt Service ............................................................................................................. 57
10.1.2 The ipfilter Service ........................................................................................................... 58
10.1.3 The provision Service ....................................................................................................... 59
10.2 Replacing or Deleting Tomcat SRP Data .................................................................................... 61
11 Using the custom Template ............................................................................................................. 62
11.1 Adding the custom Template to an SRP Compartment ............................................................... 62
11.1.1 The cmpt Service ............................................................................................................ 63
11.1.2 The ipfilter Service ........................................................................................................... 63
11.1.3 The provision Service ....................................................................................................... 64