- July 1, 2008 5:28 PM
Zoneの設定ログ
# zoneadm list -vc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
# zonecfg -z Zone-1
Zone-1: そのような構成済みゾーンはありません
'create' を使用して、新しいゾーンの構成を開始してください。
zonecfg:Zone-1> create
zonecfg:Zone-1> set zonepath=/zone/zone-1
zonecfg:Zone-1> set autoboot=true
zonecfg:Zone-1> add net
zonecfg:Zone-1:net> set address=xxxxx/21
zonecfg:Zone-1:net> set physical=e1000g0
zonecfg:Zone-1:net> end
zonecfg:Zone-1> info
zonename: Zone-1
zonepath: /zone/zone-1
brand: native
autoboot: true
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
net:
address: xxxxx
physical: e1000g0
zonecfg:Zone-1> export
create -b
set zonepath=/zone/zone-1
set autoboot=true
set ip-type=shared
add inherit-pkg-dir
set dir=/lib
end
add inherit-pkg-dir
set dir=/platform
end
add inherit-pkg-dir
set dir=/sbin
end
add inherit-pkg-dir
set dir=/usr
end
add net
set address=xxxxx
set physical=e1000g0
end
zonecfg:Zone-1> verify
zonecfg:Zone-1> commit
zonecfg:Zone-1> exit
# zoneadm list -vc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- Zone-1 configured /zone/zone-1 native shared
# zoneadm -z Zone-1 install
/zone/zone-1 は "グループ読み取り可能" であってはいけません。
/zone/zone-1 は "グループ実行可能" であってはいけません。
/zone/zone-1 は "その他のユーザ読み取り可能" であってはいけません。
/zone/zone-1 は "その他のユーザ実行可能" であってはいけません。
上記のエラーのため、ゾーンパス /zone/zone-1 を検証できませんでした。
zoneadm: ゾーン Zone-1 の検証に失敗しました
ひとまず、chmod -R 700 /zone/zone-1する。
# zoneadm -z Zone-1 install
Preparing to install zone
Creating list of files to copy from the global zone.
Copying <7616> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1247> packages on the zone.
Initialized <1247> packages on zone.
Zone
The file contains a log of the zone installation.
# zoneadm list -vc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- Zone-1 installed /zone/zone-1 native shared
- Newer: Zoneの設定
- Older: MySQL ClusterではBITカラム利用に注意