Oracle® ZFS Storage Appliance 客户服务手册

退出打印视图

更新时间: 2016 年 7 月
 
 

升级控制器 A (CLI)

使用以下过程升级群集设备的第一个控制器,即:控制器 A。

  1. 转到 maintenance system reboot 并输入 y 以重新引导设备。
    controller-a:> maintenance system reboot
    This will reboot the appliance. Are you sure? (Y/N) y
  2. 重新引导完成后,重新登录 CLI 并输入 configuration cluster show,确认控制器 A 处于被动状态。

    在以下示例中,控制器 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 中的 群集的接管和故障恢复

  3. 转到 maintenance system updates 并输入 show 以查看可用更新。
    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
  4. 输入 select 和要安装的更新的名称。
    controller-a:maintenance system updates> select ak-nas@2013.06.05.3.0,1-1.14
  5. (u53ef选) 输入 check,然后输入 y 执行运行状况检查。
    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
  6. 输入 upgrade,然后输入 y 开始更新过程。

    注 -  通过在 CLI 中按 Ctrl-C,您可以随时取消更新。

    作为更新的一部分,将自动重新引导控制器 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
  7. 完全重新引导控制器 A 后,重新登录并转到 maintenance system updates firmwareUpdatesDetails,确认所有固件更新均已完成。
    controller-a:> maintenance system updates firmwareUpdatesDetails
    Pending
    No Pending Updates
    
    Failed
    No Failed Updates
    
    In Progress
    No Updates in Progress
  8. 转到 maintenance hardware show,确认所有磁盘处于联机状态。
    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
    ...
  9. 转到 configuration storage show,确认不存在池错误。

    该池应处于联机状态且没有错误。

    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