まずはpkg publisherで確認すると、openindiana.orgのURIがhttp://pkg.openindiana.org/dev/になっています。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/release | |
OpenIndiana Development oi_148 X86 | |
Copyright 2010 Oracle and/or its affiliates. All rights reserved. | |
Use is subject to license terms. | |
Assembled 29 November 2010 | |
$ zfs list | |
NAME USED AVAIL REFER MOUNTPOINT | |
rpool 2.79G 3.09G 46K /rpool | |
rpool/ROOT 2.01G 3.09G 31K legacy | |
rpool/ROOT/solaris 2.01G 3.09G 2.00G / | |
rpool/dump 256M 3.09G 256M - | |
rpool/export 99.5K 3.09G 32K /export | |
rpool/export/home 67.5K 3.09G 32K /export/home | |
rpool/export/home/yoichi 35.5K 3.09G 35.5K /export/home/yoichi | |
rpool/swap 544M 3.42G 200M - | |
$ beadm list | |
BE Active Mountpoint Space Policy Created | |
-- ------ ---------- ----- ------ ------- | |
solaris NR / 2.01G static 2011-07-30 17:21 | |
$ pkg publisher | |
PUBLISHER TYPE STATUS URI | |
openindiana.org (preferred) origin online http://pkg.openindiana.org/dev/ | |
opensolaris.org origin online http://pkg.openindiana.org/legacy/ |
これを、pkg set-publisherでdevのところをdev-ilにして、pkg image-updateします。
すると、package/pkgが古いと言われるので、指示通り更新します。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo pkg set-publisher -O http://pkg.openindiana.org/dev-il/ openindiana.org | |
$ sudo pkg publisher | |
PUBLISHER TYPE STATUS URI | |
openindiana.org (preferred) origin online http://pkg.openindiana.org/dev-il/ | |
opensolaris.org origin online http://pkg.openindiana.org/legacy/ | |
$ sudo pkg image-update | |
WARNING: pkg(5) appears to be out of date, and should be updated before | |
running image-update. Please update pkg(5) using 'pfexec pkg install | |
pkg:/package/pkg' and then retry the image-update. | |
$ sudo pkg install pkg:/package/pkg | |
Packages to update: 1 | |
Create boot environment: No | |
DOWNLOAD PKGS FILES XFER (MB) | |
Completed 1/1 125/125 0.7/0.7 | |
PHASE ACTIONS | |
Update Phase 240/240 | |
PHASE ITEMS | |
Package State Update Phase 2/2 | |
Package Cache Update Phase 1/1 | |
Image State Update Phase 2/2 |
package/pkgを更新すると、pkg image-updateできるようになります。
終わったら、再起動します。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo pkg image-update | |
Packages to remove: 71 | |
Packages to install: 111 | |
Packages to update: 416 | |
Create boot environment: Yes | |
DOWNLOAD PKGS FILES XFER (MB) | |
Completed 598/598 18219/18219 287.1/287.1 | |
PHASE ACTIONS | |
Removal Phase 13234/13234 | |
Install Phase 12501/12501 | |
Update Phase 22180/22180 | |
PHASE ITEMS | |
Package State Update Phase 1014/1014 | |
Package Cache Update Phase 487/487 | |
Image State Update Phase 2/2 | |
A clone of solaris exists and has been updated and activated. | |
On the next boot the Boot Environment solaris-1 will be mounted on '/'. | |
Reboot when ready to switch to this updated BE. | |
--------------------------------------------------------------------------- | |
NOTE: Please review release notes posted at: | |
http://docs.sun.com/doc/821-1479 | |
--------------------------------------------------------------------------- | |
$ sudo init 6 |
アップグレードされました。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/release | |
OpenIndiana Development oi_151 X86 (powered by illumos) | |
Copyright 2011 Oracle and/or its affiliates. All rights reserved. | |
Use is subject to license terms. | |
Assembled 28 April 2011 | |
$ sudo zfs list | |
NAME USED AVAIL REFER MOUNTPOINT | |
rpool 4.41G 1.47G 46K /rpool | |
rpool/ROOT 3.62G 1.47G 31K legacy | |
rpool/ROOT/solaris 9.69M 1.47G 2.45G / | |
rpool/ROOT/solaris-1 3.61G 1.47G 1.98G / | |
rpool/dump 256M 1.47G 256M - | |
rpool/export 99K 1.47G 32K /export | |
rpool/export/home 67K 1.47G 32K /export/home | |
rpool/export/home/yoichi 35K 1.47G 35K /export/home/yoichi | |
rpool/swap 544M 1.80G 200M - | |
$ sudo beadm list | |
BE Active Mountpoint Space Policy Created | |
solaris - - 9.69M static 2011-07-30 17:21 | |
solaris-1 NR / 3.72G static 2011-08-28 03:32 |
ケンアンダーバーメリーです。
返信削除ネットワークの疎通テストの失敗の問題は、
結局ハイパーバイザーだったんですかね?
Xenも運用で使用されているのでしたら、
試されるとすっきりしそうですよね。
原因は全然わかっていません。
返信削除物理ethにつながるブリッジならOKで、KVM内部のみブリッジだとNGというだけです。しかもどうも物理ethにつながっていても、ARPが切れてつながらなくなることがあるようです。
Xenは今は使っていないのですよね。Solaris的には相性がいいのだと思いますけれども...