Version 3.1-en Solaris 10 Container Guide - 3.1 Effective: 30/11/2009
5.2. Network............................................................................................................................................81
5.2.1. Change network configuration for shared IP instances........................................................81
5.2.2. Set default router for shared IP instance..............................................................................81
5.2.3. Network interfaces for exclusive IP instances......................................................................81
5.2.4. Change network configuration from shared IP instance to exclusive IP instance................82
5.2.5. IP filter between shared IP zones on a system....................................................................82
5.2.6. IP filter between exclusive IP zones on a system................................................................83
5.2.7. Zones, networks and routing................................................................................................83
5.2.7.1. Global and local zone with shared network...................................................................................................83
5.2.7.2. Zones in separate network segments using the shared IP instance.............................................................84
5.2.7.3. Zones in separate network segments using exclusive IP instances.............................................................85
5.2.7.4. Zones in separate networks using the shared IP instance............................................................................86
5.2.7.5. Zones in separate networks using exclusive IP instances............................................................................87
5.2.7.6. Zones connected to independent customer networks using the shared IP instance.....................................88
5.2.7.7. Zones connected to independent customer networks using exclusive IP instances.....................................90
5.2.7.8. Connection of zones via external routers using the shared IP instance........................................................91
5.2.7.9. Connection of zones through an external load balancing router using exclusive IP instances......................93
5.3. Lifecycle management......................................................................................................................95
5.3.1. Booting a zone.....................................................................................................................95
5.3.2. Boot arguments in zones......................................................................................................95
5.3.3. Software installation per mount............................................................................................96
5.3.4. Software installation with provisioning system.....................................................................97
5.3.5. Zone migration among systems...........................................................................................97
5.3.6. Zone migration within a system............................................................................................98
5.3.7. Duplicating zones with zoneadm clone.................................................................................99
5.3.8. Duplicating zones with zoneadm detach/attach and zfs clone...........................................101
5.3.9. Moving a zone between a sun4u and a sun4v system.......................................................102
5.3.10. Shutting down a zone.......................................................................................................104
5.3.11. Using live upgrade to patch a system with local zones....................................................104
5.4. Management and monitoring..........................................................................................................106
5.4.1. DTrace in a local zone........................................................................................................106
5.4.2. Zone accounting.................................................................................................................106
5.4.3. Zone audit..........................................................................................................................106
5.5. Resource management..................................................................................................................107
5.5.1. Limiting the /tmp-size within a zone....................................................................................107
5.5.2. Limiting the CPU usage of a zone (CPU capping)..............................................................107
5.5.3. Resource pools with processor sets...................................................................................107
5.5.4. Fair share scheduler...........................................................................................................108
5.5.5. Static CPU resource management between zones............................................................108
5.5.6. Dynamic CPU resource management between zones.......................................................108
5.5.7. Static CPU resource management in a zone.....................................................................108
5.5.8. Dynamic CPU resource management in a zone.................................................................108
5.5.9. Dynamic resource pools for zones.....................................................................................109
5.5.10. Limiting the physical main memory consumption of a project..........................................110
5.5.11. Implementing memory resource management for zones.................................................110
Supplement...............................................................................................................................................112
A. Solaris Container in OpenSolaris........................................................................................................112
A.1. OpenSolaris – general.................................................................................................................112
A.1. ipkg-Branded zones.....................................................................................................................112
A.1. Cookbook: Configuring an ipkg zone...........................................................................................113
A.2. Cookbook: Installing an ipkg zone................................................................................................113
B. References..........................................................................................................................................114
V