HP-UX Containers (SRP) A.03.01 Administrator's Guide
2
4.8 Container Manager – stopping a container ................................................................................. 27
5 Configuring HP-UX Containers using the srp_sys command .................................................................. 29
5.1 Configuring the system for HP-UX Containers ............................................................................... 29
5.2 Displaying subsystem properties ................................................................................................ 34
5.3 Disabling HP-UX Containers subsystems ...................................................................................... 35
6 Managing containers using the srp command .................................................................................... 36
6.1 Templates, services, and variables ............................................................................................. 36
6.2 Creating a container ................................................................................................................ 37
6.3 Starting and stopping a container .............................................................................................. 39
6.4 Displaying the status of a container ............................................................................................ 40
6.5 Updating container configuration ............................................................................................... 41
6.6 Non-interactive srp command invocation .................................................................................... 43
6.7 Displaying help text for input parameters .................................................................................... 43
6.8 Listing container configuration information .................................................................................. 44
6.9 Copying containers by exporting and importing .......................................................................... 44
6.9.1 Using the srp –export command .......................................................................................... 46
6.9.2 Using the srp –import command .......................................................................................... 47
6.9.3 Best practices for exporting and importing a container........................................................... 48
7 Using the srp_init command ............................................................................................................. 50
7.1 Changing the run level of a container ......................................................................................... 50
7.1.1 Log files ........................................................................................................................... 51
8 Using the srp_su command .............................................................................................................. 52
8.1 Allowing additional users to use the srp_su command .................................................................. 52
9 Using the srp_ps command .............................................................................................................. 53
10 Establishing a user session in a container ........................................................................................ 54
11 Container startup and shutdown ..................................................................................................... 55
12 Networking with containers ........................................................................................................... 57
12.1 Configuring the first network interface ...................................................................................... 57
12.2 Configuring an additional network interface .............................................................................. 58
12.3 Configuring additional routing entries....................................................................................... 60
12.4 Network configuration for the global view ................................................................................ 61
12.5 Address collisions with INADDR_ANY and IN6ADDR_ANY sockets in the global view ..................... 62
12.6 Cross-container network traffic and Force-to-Wire ...................................................................... 62
12.7 IP Routers and strong end system (ES) model ............................................................................. 63
12.7.1 Application gateway servers ............................................................................................. 63
13 Using Serviceguard with containers ................................................................................................ 64
13.1 Choosing a model.................................................................................................................. 64
13.2 Creating a container to use with Serviceguard........................................................................... 64
13.3 Adapting Serviceguard scripts for the classic model ................................................................... 65
13.4 Creating Serviceguard scripts for the container package model ................................................... 66
Part III: Container type specific management............................................................................ 68
14 Container types ............................................................................................................................ 69
14.1 System containers .................................................................................................................. 69
14.2 Workload containers .............................................................................................................. 69
14.3 Comparison of system and workload types ............................................................................... 69
14.4 Choosing a container type ...................................................................................................... 72
14.4.1When to use a system container ......................................................................................... 72
14.4.2 When to use a workload container .................................................................................... 72
15 System container .......................................................................................................................... 73
15.1 Managing file system ............................................................................................................. 73
15.1.1 Choosing a file system subtype ......................................................................................... 73
15.1.2 Mounting file system ........................................................................................................ 74
15.2 Users, groups and authentication ............................................................................................. 76