使用以下过程升级群集设备的第一个控制器,即:控制器 A。
controller-a:> maintenance system reboot This will reboot the appliance. Are you sure? (Y/N) y
在以下示例中,控制器 A 的状态为 AKCS_STRIPPED,这是被动状态。
controller-a:> configuration cluster show state = AKCS_STRIPPED ... peer_state = AKCS_OWNER peer_description = Active
有关群集状态的信息,请参见Oracle ZFS Storage Appliance 管理指南,发行版 OS8.6.0 中的 群集的接管和故障恢复。
controller-a:> maintenance system updates controller-a:maintenance system updates> show Updates: UPDATE DATE STATUS ak-nas@2013.06.05.1.1,1-1.2 2013-12-6 23:37:50 previous ak-nas@2013.06.05.2.0,1-1.9 2014-5-28 15:20:06 current ak-nas@2013.06.05.3.0,1-1.14 2014-12-19 14:31:49 waiting
controller-a:maintenance system updates> select ak-nas@2013.06.05.3.0,1-1.14
controller-a:maintenance system updates ak-nas@2013.06.05.3.0,1-1.14> check You have requested to run checks associated with waiting upgrade media. This will execute the same set of checks as will be performed as part of any upgrade attempt to this media, and will highlight conditions that would prevent successful upgrade. No actual upgrade will be attempted, and the checks performed are of static system state and non-invasive. Do you wish to continue? Are you sure? (Y/N) y
作为更新的一部分,将自动重新引导控制器 A。
controller-a:maintenance system updates ak-nas@2013.06.05.3.0,1-1.14> upgrade This procedure will consume several minutes and requires a system reboot upon successful update, but can be aborted with [Control-C] at any time prior to reboot. A health check will validate system readiness before an update is attempted, and may also be executed independently using the check command. Are you sure? (Y/N) y
controller-a:> maintenance system updates firmwareUpdatesDetails Pending No Pending Updates Failed No Failed Updates In Progress No Updates in Progress
controller-a:> maintenance hardware show Chassis: NAME STATE MANUFACTURER MODEL SERIAL RPM ... disk-000 HDD 0 ok SEAGATE ST330057SSUN300G 001117G1G929 6SJ1G929 15000 disk-001 HDD 1 ok SEAGATE ST330057SSUN300G 001117G1GA8Y 6SJ1GA8Y 15000 disk-002 HDD 2 ok SEAGATE ST330057SSUN300G 001117G1KDPZ 6SJ1KDPZ 15000 ...
该池应处于联机状态且没有错误。
controller-a:> configuration storage show Pools: POOL OWNER DATA PROFILE LOG PROFILE STATUS ERRORS -> pool25 brm7320-250 - - online 0 pool26 brm7320-260 - - online 0
控制器 A 现已升级。
升级控制器 B-CLI