OSのUpdateについてはWeb上で行うこともできるが、UpadateファイルをUpdate中にDownloadするため、Web上では応答が見かけ上なくなる。よって安全をみてシリアル接続してコンソールから行う。
今回は現バージョン4.7.0から5.1.0にUpdateを行うが、一度にUpできないため4.7.0->4.7.1->5.1.0の順で行う。これは4.7.1のソフトの容量が小さいためリスクが少ないとの説明だった。
今回のバージョンUpはメジャーバージョンアップのため、統計情報(Webでモニタで見える部分)が引き継がれない。このデータはexportmailflowというコマンドでエクスポートできるが、新バージョンのOS上にはインポートできない。よってバックアップは取らないようにした。その他の設定やデータは新OSに引き継がれる。
シリアルコンソール上から
4.7.1にアップグレード
AsyncOS iron.mie-chukyo-u.ac.jp (cuaa0) login: admin Password: Last login: Tue May 22 09:52:15 from 10.99.99.100 Copyright (c) 2001-2006, IronPort Systems, Inc. AsyncOS 4.7 for IronPort C100 Welcome to the IronPort C100 Messaging Gateway(tm) Appliance iron.mie-chukyo-u.ac.jp> version <==現行バージョンの確認 Current Version =============== Model: C100 Version: 4.7.0-148 <==4.7.0を確認 Build Date: 2006-10-05 Install Date: 2007-03-16 06:54:54 Serial #: 0015C5FA82CA-9SSDGC1 BIOS: A01I RAID: 02 RAID Status: READY RAID Type: 1 iron.mie-chukyo-u.ac.jp> upgrade <==upgrade Upgrades available: 1. AsyncOS 4.7.1 build 011 upgrade For Email, 2007-03-23 2. AsyncOS 5.0.0 build 252 upgrade For Email, 2007-03-27 [2]> 1
Performing an upgrade will require a reboot of the system after the upgrade is applied. Do you wish to proceed with the upgrade? [Y]> IronPort Messaging Gateway Appliance(tm) Upgrade This upgrade will require a reboot of the system after it finishes installing. You may log in again after this is done. Type Return to continue... Finding partitions... done. Setting next boot partition to current partition as a precaution... done. Erasing new boot partition... done. Reinstalling AsyncOS... done. Installing application... done. Installing Brightmail Anti-Spam... done. Installing Sophos Anti-Virus... done. Installing CASE... done. Installing upgrade tools... done. Configuring AsyncOS disk partitions... done. Configuring AsyncOS user passwords... done. Configuring AsyncOS network interfaces... done. Configuring AsyncOS timezone... done. Removing factory diagnostic tools... done. Configuring application environment variables... done. Configuring application factory defaults... done. Configuring application... new: thirdparty.brightmail.use_dfa set to default. Configuring application... done. Saving changes... done. Exporting configuration settings... done. Processing configuration... done. Saving changes... done. Configuring application with upgrade tools... done. Copying SSH credentials... done. Deleting caches... done. Moving new directories across partitions... done. Removing old Mail Flow Monitoring Database files... done. Keeping hardware key... done. Syncing... done. Reinstalling boot blocks... done. Will now boot off new boot partition... done. Upgrade complete. It will be in effect after this mandatory reboot. Upgrade installation finished. Enter the number of seconds to wait before forcibly closing connections. [30]> System shutting down. Please wait while the queue is being closed.............................. Closing CLI connection. Rebooting the system... AsyncOS iron.mie-chukyo-u.ac.jp (cuaa0) login: adAsyncOS is booting ... AsyncOS disks are ready ... AsyncOS starting services ... AsyncOS iron.mie-chukyo-u.ac.jp (cuaa0) login: admin Password: Last login: Mon Jun 4 15:02:08 on cuaa0 Copyright (c) 2001-2007, IronPort Systems, Inc. AsyncOS 4.7 for IronPort C100 Welcome to the IronPort C100 Messaging Gateway(tm) Appliance iron.mie-chukyo-u.ac.jp> version Current Version =============== Model: C100 Version: 4.7.1-011 Build Date: 2007-03-23 Install Date: 2007-06-04 15:27:05 Serial #: 0015C5FA82CA-9SSDGC1 BIOS: A01I RAID: 02 RAID Status: READY RAID Type: 1