Sun-microsystems SOLARIS 10 Uživatelský manuál Strana 106

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 121
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 105
Version 3.1-en Solaris 10 Container Guide - 3.1 5. Cookbooks Effective: 30/11/2009
5.3.7. Duplicating zones with zoneadm clone
[ug] Zone installation can be accelerated with zon e adm . .. clone . In this example, a zone
named test is already configured and installed.
global# zoneadm list -vc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- test installed /container/test native shared
This zone serves no as the basis for another zone installation. The configuration of the zone test is
as follows:
global# zonecfg -z test info
zonename: test
zonepath: /container/test
brand: native
autoboot: false
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
inherit-pkg-dir:
dir: /opt
To copy the configuration, it is selected with zone cfg . .. ex p ort and the new zone is created
from it directly. Only the zonepath still needs to be adjusted; this is done with the single-line variant
of zonecfg .
global# zonecfg -z test export | zonecfg -z test1
test1: No such zone configured
Use 'create' to begin configuring a new zone.
global# zonecfg -z test1 set zonepath=/container/test1
99
Zobrazit stránku 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 120 121

Komentáře k této Příručce

Žádné komentáře