OpenSolaris や Nevada などで、Solaris 10 を non-global zone で動作させることを目的とする Solaris 10 Containers の prebuild package と source code がリリースされました。(まだ、正式版ではありませぬ)
OpenSolaris Project: s10brand
http://opensolaris.org/os/project/s10brand/
http://www.opensolaris.org/jive/thread.jspa?threadID=107683&tstart=0
インストール方法などはなく、ちょいと不親切ですが、基本は Solaris 8/9 Containers と同じようなインストール方法となります。
また、今のところ network には exclusive-IP は使えず shared のみとなります(´・ω・`)
VirtualBox 3.0.2 を使って、Solaris 10 5/09 を entire install したものを flarcreate で固め、non-global zone に流し込んでみたところ、挙動がおかしな部分はありますが、Nevada b118 + onnv b120 相当の環境下にある non-global zone で Solaris 10 5/09 が動き出しました。
non-global zone の構成(zonecfg)はこのあたりを。
create -t で指定するのは SUNWsolaris10 になります。
Solaris 9 Containers 1.0 Collection - Japanese
/> Solaris のシステム管理: Solaris 9 Containers
/> 4. solaris9 ゾーンの構成
http://docs.sun.com/app/docs/doc/820-5208/gfixg?l=ja&a=view
インストール方法は、このあたりを参考に。
Solaris 9 Containers 1.0 Collection - Japanese初回の zoneadm install 実行時、-u (sys-unconfig を実行する)ではなく、-p をつける。
/> Solaris のシステム管理: Solaris 9 Containers
/> 5. solaris9 ゾーンのインストール
http://docs.sun.com/app/docs/doc/820-5208/gfjzf?l=ja&a=view
# zoneadm -z s10u7brand install -p -a /export/opensolaris_build/s10u7_brand_entire.flarinstall できたら、boot させ zlogin -C で login する。
Log File: /var/tmp/s10u7brand.install_log.htaGfx
Installing: This may take several minutes...
Postprocessing: This may take a while...
Postprocess: Updating the zone software with required patches...
Postprocess: Zone software update complete
Postprocess: Updating the image to run within a zone
Result: Installation completed successfully.
Log File: /rpool/zones/s10u7brand/root/var/log/s10u7brand.install11764.log
そして、sys-unconfig を叩く。
叩く。。。sys-unconfig 効かないなぁ。。。
効かないみたいです(´・ω・`)
ちなみに、SPARC と x86 の binary が公開されています。
