バージョン上げた話
初回のOSインストール時と同様にWebサーバーにcumulusosのバイナリを配置させておきます。
ここでは192.168.1.1サーバーのルートディレクトリ
それで以下コマンドでバイナリ指定して上げるだけです。
cl-img-install http://****/**.bin
root@cumulus:~# sudo cl-img-install http://192.168.1.1/CumulusLinux-2.5.0-powerpc.bin
Defaulting to image slot 2 for install.
Success: download complete.
Dumping image info from CumulusLinux-2.5.0-powerpc.bin ...
Verifying image checksum ... OK.
Preparing image archive ... OK.
Control File Contents
=====================
Description: Cumulus Linux
OS-Release: 2.5.0-199c587-201501081931-build
Architecture: powerpc
Date: Thu, 08 Jan 2015 19:52:55 -0800
Installer-Version: 1.2
Platforms: accton_as4600_54t, accton_as6701_32x, accton_5652, accton_as5610_52x, dni_6448, dni_7448, dni_c7448n, cel_kennisis, cel_redstone, cel_smallstone, cumulus_p2020, quanta_lb9, quanta_ly2, quanta_ly2r, quanta_ly6_p2020
Homepage: http://www.cumulusnetworks.com/
Data Archive Contents
=====================
-rw-r--r-- build/Development 92311552 2015-01-09 03:52:54 sysroot.squash.xz
-rw-r--r-- build/Development 44 2015-01-09 03:52:54 sysroot.squash.xz.sha1
-rw-r--r-- build/Development 1824 2015-01-09 03:52:54 uboot_env.tar.xz
-rw-r--r-- build/Development 44 2015-01-09 03:52:54 uboot_env.tar.xz.sha1
-rw-r--r-- build/Development 4162168 2015-01-09 03:52:54 uImage-powerpc.itb
-rw-r--r-- build/Development 44 2015-01-09 03:52:54 uImage-powerpc.itb.sha1
Current image slot setup:
active => slot 1 (primary): 2.0.2-a8ec422-201404161914-final
slot 2 (alt ): 2.0.2-a8ec422-201404161914-final
About to update image slot 2 using:
http://192.168.1.1/CumulusLinux-2.5.0-powerpc.bin
Are you sure (y/N)? y
Verifying image checksum ... OK.
Preparing image archive ... OK.
Validating sha1 for uImage-powerpc.itb... done.
Validating sha1 for sysroot.squash.xz... done.
Installing OS-Release 2.5.0-199c587-201501081931-build into image slot 2 ...
Copying sysroot into /dev/mmcblk0p6... done.
Verifying sysroot copy... OK.
Erasing 128 Kibyte @ 800000 - 100% complete.
Success: http://172.19.171.234/CumulusLinux-2.5.0-powerpc.bin loaded into image slot 2.
root@cumulus:~# cl
cl-acltool cl-img-pkg cl-ra cl-vrr
cl-bgp cl-img-select cl-rctl clear
cl-brctl cl-license cl-resource-query clear_console
cl-ecmpcalc cl-netstat cl-route-check
cl-img-clear-overlay cl-ospf cl-sfputil
cl-img-install cl-ospf6 cl-support
root@cumulus:~# cl-
cl-acltool cl-img-install cl-ospf cl-route-check
cl-bgp cl-img-pkg cl-ospf6 cl-sfputil
cl-brctl cl-img-select cl-ra cl-support
cl-ecmpcalc cl-license cl-rctl cl-vrr
cl-img-clear-overlay cl-netstat cl-resource-query
cl-img-select打ってみたら、カレントのイメージ確認できますね。
すると2.5.0となってないですね。
root@cumulus:~# cl-img-select
active => slot 1 (primary): 2.0.2-a8ec422-201404161914-final
slot 2 (alt ): 2.5.0-199c587-201501081931-build
root@cumulus:~#
コマンドはcl-img-selectだろう、あとはスロットの2を指せればいいだろうと思い
以下打ちました。2.5.0側のイメージがprimaryに変わってますね。あとはリブートすればよさげ
root@cumulus:~# cl-img-select 2
Success: Primary image slot set to 2.
active => slot 1 (alt ): 2.0.2-a8ec422-201404161914-final
slot 2 (primary): 2.5.0-199c587-201501081931-build
Reboot required to take effect.
リブート後
繋がらなくなる・・
明日出勤してからコンソール繋いで確認だな。
ん~、/etc/network/interfaceのファイルはどうした?それともブート中に止まったかな;;
翌日・・・
コンソール接続し起動しておりバージョンも問題ないけど、やはりネットワーク設定がデフォルトに・・
ん~、ファームだけ上がってくれたんだと思ったがこの辺は調べないとな;