HP-UX Containers (SRP) A.03.00 Administrator's Guide

2
5.2 Displaying subsystem properties ................................................................................................ 32
5.3 Disabling HP-UX Containers subsystems ...................................................................................... 33
6 Managing containers using the srp command .................................................................................... 34
6.1 Templates, services, and variables ............................................................................................. 34
6.2 Creating a container ................................................................................................................ 35
6.3 Starting and stopping a container .............................................................................................. 37
6.4 Displaying the status of a container ............................................................................................ 38
6.5 Updating container configuration ............................................................................................... 39
6.6 Non-interactive srp command invocation .................................................................................... 41
6.7 Displaying help text for input parameters .................................................................................... 41
6.8 Listing container configuration information .................................................................................. 42
6.9 Exporting and importing containers ............................................................................................ 42
6.9.1 Using the srp export command .......................................................................................... 43
6.9.2 Using the srp import command .......................................................................................... 44
6.9.3 Best practices for exporting and importing a container........................................................... 45
7 Using the srp_init command ............................................................................................................. 47
7.1 Changing the run level of a container ......................................................................................... 47
7.1.1 Log files ........................................................................................................................... 48
8 Using the srp_su command .............................................................................................................. 49
8.1 Allowing additional users to use the srp_su command .................................................................. 49
9 Using the srp_ps command .............................................................................................................. 51
10 Establishing a user session in a container ........................................................................................ 52
11 Container startup and shutdown ..................................................................................................... 53
12 Networking with containers ........................................................................................................... 55
12.1 Configuring the first network interface ...................................................................................... 55
12.2 Configuring an additional network interface .............................................................................. 56
12.3 Configuring additional routing entries....................................................................................... 58
12.4 Network configuration for the global view ................................................................................ 59
12.5 Address collisions with INADDR_ANY and IN6ADDR_ANY sockets in the global view ..................... 60
12.6 Cross-container network traffic and Force-to-Wire ...................................................................... 60
12.7 IP Routers and strong end system (ES) model ............................................................................. 61
12.7.1 Application gateway servers ............................................................................................. 61
13 Using Serviceguard with containers ................................................................................................ 62
13.1 Choosing a model.................................................................................................................. 62
13.2 Creating a container to use with Serviceguard........................................................................... 62
13.3 Adapting Serviceguard scripts for the classic model ................................................................... 63
13.4 Creating Serviceguard scripts for the container package model ................................................... 64
Part III: Container type specific management............................................................................ 66
14 Container types ............................................................................................................................ 67
14.1 System containers .................................................................................................................. 67
14.2 Workload containers .............................................................................................................. 67
14.3 Comparison of system and workload types ............................................................................... 67
14.4 Choosing a container type ...................................................................................................... 70
14.4.1When to use a system container ......................................................................................... 70
14.4.2 When to use a workload container .................................................................................... 70
15 System container .......................................................................................................................... 71
15.1 Managing file system ............................................................................................................. 71
15.1.1 Choosing a file system subtype ......................................................................................... 71
15.1.2 Mounting file system ........................................................................................................ 72
15.2 Users, groups and authentication ............................................................................................. 74
15.2.1 Displaying system container user, group, and process names from the global view ................. 74
15.3 Security features .................................................................................................................... 75
15.3.1 Extended security attributes ............................................................................................... 75