beautypg.com

Sun Microsystems SOLARIS 10 User Manual

Page 3

background image

Version 3.1-en

Solaris 10 Container Guide - 3.1

Effective: 30/11/2009

4.1.5.1.

Software installation by the global zone – usage in all zones

.......................................................................36

4.1.5.2.

Software installation by the global zone – usage in a local zone

...................................................................36

4.1.5.3.

Software installation by the global zone – usage in the global zone

..............................................................37

4.1.5.4.

Installation by the local zone – usage in the local zone

.................................................................................37

4.1.6.

Storage concepts

.................................................................................................................38

4.1.6.1.

Storage for the root file system of the local zones

........................................................................................38

4.1.6.2.

Data storage

.................................................................................................................................................38

4.1.6.3.

Program/application storage

.........................................................................................................................38

4.1.6.4.

Root disk layout

............................................................................................................................................39

4.1.6.5.

ZFS within a zone

.........................................................................................................................................39

4.1.6.6.

Options for using ZFS in local zones

............................................................................................................40

4.1.6.7.

NFS and local zones

.....................................................................................................................................40

4.1.6.8.

Volume manager in local zones

....................................................................................................................40

4.1.7.

Network concepts

.................................................................................................................41

4.1.7.1.

Introduction into networks and zones

...........................................................................................................41

4.1.7.2.

Network address management for zones

.....................................................................................................41

4.1.7.3.

Shared IP instance and routing between zones

............................................................................................41

4.1.7.4.

Exclusive IP instance

....................................................................................................................................42

4.1.7.5.

Firewalls between zones (IP filter)

................................................................................................................42

4.1.7.6.

Zones and limitations in the network

.............................................................................................................43

4.1.8.

Additional devices in zones

..................................................................................................44

4.1.8.1.

Configuration of devices

...............................................................................................................................44

4.1.8.2.

Static configuration of devices

......................................................................................................................44

4.1.8.3.

Dynamic configuration of devices

.................................................................................................................44

4.1.9.

Separate name services in zones

........................................................................................45

4.1.9.1.

hosts database

.............................................................................................................................................45

4.1.9.2.

User database (passwd, shadow, user_attr)

................................................................................................45

4.1.9.3.

Services

........................................................................................................................................................45

4.1.9.4.

Projects

.........................................................................................................................................................45

4.2.

Paradigms

........................................................................................................................................46

4.2.1.

Delegation of admin privileges to the application department

..............................................46

4.2.2.

Applications in local zones only

............................................................................................46

4.2.3.

One application per zone

......................................................................................................47

4.2.4.

Clustered containers

............................................................................................................47

4.2.5.

Solaris Container Cluster

......................................................................................................49

4.3.

Configuration and administration

......................................................................................................50

4.3.1.

Manual configuration of zones with zonecfg

.........................................................................50

4.3.2.

Manual installation of zones with zoneadm

..........................................................................50

4.3.3.

Manual uninstallation of zones with zoneadm

......................................................................50

4.3.4.

Manual removal of a configured zone with zonecfg

..............................................................50

4.3.5.

Duplication of an installed zone

............................................................................................50

4.3.6.

Standardized creation of zones

............................................................................................50

4.3.7.

Automatic configuration of zones by script

...........................................................................51

4.3.8.

Automated provisioning of services

......................................................................................51

4.3.9.

Installation and administration of a branded zone

................................................................51

4.4.

Lifecycle management

......................................................................................................................52

4.4.1.

Patching a system with local zones

......................................................................................52

4.4.2.

Patching with live upgrade

....................................................................................................52

4.4.3.

Patching with upgrade server

...............................................................................................53

4.4.4.

Patching with zoneadm attach -u

.........................................................................................53

4.4.5.

Moving zones between architectures (sun4u/sun4v)

............................................................53

4.4.6.

Re-installation and service provisioning instead of patching

................................................54

4.4.7.

Backup and recovery of zones

.............................................................................................54

4.4.8.

Backup of zones with ZFS

...................................................................................................55

4.4.9.

Migration of a zone to another system

.................................................................................55

4.4.10.

Moving a zone within a system

...........................................................................................55

III