Procédez comme suit pour mettre à niveau le premier contrôleur (contrôleur A) d'un appareil en cluster.
controller-a:> maintenance system reboot This will reboot the appliance. Are you sure? (Y/N) y
Dans l'exemple ci-après, l'état du contrôleur A est AKCS_STRIPPED, ce qui correspond à l'état passif.
controller-a:> configuration cluster show state = AKCS_STRIPPED ... peer_state = AKCS_OWNER peer_description = Active
Pour obtenir des informations sur les états des clusters, reportez-vous à la section Reprise et rétablissement du cluster du manuel Guide d’administration des systèmes Oracle ZFS Storage Appliance, version 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
Dans le cadre de la mise à jour, le contrôleur A se réinitialise automatiquement.
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 ...
Le pool doit être en ligne et exempt d'erreurs.
controller-a:> configuration storage show Pools: POOL OWNER DATA PROFILE LOG PROFILE STATUS ERRORS -> pool25 brm7320-250 - - online 0 pool26 brm7320-260 - - online 0
Le contrôleur A est alors mis à niveau.
Mise à niveau du contrôleur B - CLI