Dell OS10-Enterpriseをアップデートした件

##参考
https://www.dell.com/support/kbdoc/ja-jp/000103012/dell-emc-%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3%83%BC%E3%82%AD%E3%83%B3%E3%82%B0-os10-a-on-a-on-a-os10
## S5296F-ON　ステータス確認
### show version
```console:console
OS10# show version
Dell EMC Networking OS10-Enterprise
Copyright (c) 1999-2019 by Dell Inc. All Rights Reserved.
OS Version: 10.4.3.6
Build Version: 10.4.3.6.244
Build Time: 2019-08-19T17:26:44-0700
System Type: S5296F-ON
Architecture: x86_64
Up Time: 01:29:58
OS10#
```

### show system
```console:console
OS10# show system

Node Id              : 1
MAC                  : 1c:72:1d:c9:e3:60
Number of MACs       : 384
Up Time              : 01:37:51

-- Unit 1 --
Status                     : up
System Identifier          : 1
Down Reason                : user-triggered
Digital Optical Monitoring : disable
System Location LED        : off
Required Type              : S5296F
Current Type               : S5296F
Hardware Revision          : A06
Software Version           : 10.4.3.6
Physical Ports             : 96x25GbE, 8x100GbE
BIOS                          : 3.40.0.9-9
FPGA                          : 2.3
BMC                           : 1.01
System CPLD                   : 0.6
Slave CPLD 1                  : 1.0
Slave CPLD 2                  : 1.0
Slave CPLD 3                  : 1.0
Slave CPLD 4                  : 1.0

-- Power Supplies --
PSU-ID  Status      Type    AirFlow   Fan  Speed(rpm)  Status
----------------------------------------------------------------
1       up          AC      NORMAL    1    9120        up

2       up          AC      NORMAL    1    9000        up


-- Fan Status --
FanTray  Status      AirFlow   Fan  Speed(rpm)  Status
----------------------------------------------------------------
1        up          NORMAL    1    4200        up

2        up          NORMAL    1    4200        up

3        up          NORMAL    1    4200        up

4        up          NORMAL    1    4200        up

```

### show inventory
```console:console
OS10# show inventory
Product               : S5296F-ON
Description           : S5296F-ON 96x25GbE SFP28, 8x100GbE QSFP28 Interface Module
Software version      : 10.4.3.6
Product Base          :
Product Serial Number :
Product Part Number   :

Unit Type                     Part Number  Rev  Piece Part ID             Svc Tag  Exprs Svc Code
-------------------------------------------------------------------------------------------------
* 1  S5296F-ON                0T53Y8       A06  TH-0T53Y8-CET00-06R-00BN  421QY03  883 099 843 5
  1  S5296F-ON-PWR-1-AC       0XNMHJ       A00  CN-0XNMHJ-DED00-01D-0095
  1  S5296F-ON-PWR-2-AC       0XNMHJ       A00  CN-0XNMHJ-DED00-01D-008J
  1  S5296F-ON-FANTRAY-1      00KJKX       A01  TH-00KJKX-CET00-06R-002V
  1  S5296F-ON-FANTRAY-2      00KJKX       A01  TH-00KJKX-CET00-06Q-00JZ
  1  S5296F-ON-FANTRAY-3      00KJKX       A01  TH-00KJKX-CET00-06R-007L
  1  S5296F-ON-FANTRAY-4      00KJKX       A01  TH-00KJKX-CET00-06R-0031
```
## バージョンアップ　準備編
DLLより、OS10_Enterprise_10.5.2.3.tarファイルをダウンロード。その後、解凍しバリデーションチェック。
問題無ければPKGS_OS10-Enterprise-10.5.2.3.316stretch-installer-x86_64.binをtftpサーバーに置く。

### 現在のブート設定の確認
```console:console
OS10# show boot detail
Current system image information detail:
==========================================
Type:                     Node-id 1
Boot Type:                Flash Boot
Active Partition:         A
Active SW Version:        10.4.3.6
Active SW Build Version:  10.4.3.6.244
Active Kernel Version:    Linux 4.9.168
Active Build Date/Time:   2019-08-19T10:26:44Z
Standby Partition:        B
Standby SW Version:       10.4.3.6
Standby SW Build Version: 10.4.3.6.244
Standby Build Date/Time:  2019-08-19T10:26:44Z
Next-Boot:                active[A]
```
現在は10.4.3.6であることがわかる。

### イメージダウンロード
```console:console
OS10# image download tftp://192.168.1.252/S5296F-ON/PKGS_OS10-Enterprise-10.5.2.
3.316stretch-installer-x86_64.bin
Download started.
Use 'show image status' for updates
```

### イメージ取得状況の確認
```
OS10# show image status
Image Upgrade State:     idle
==================================================
File Transfer State:     idle
--------------------------------------------------
  State Detail:          Completed: No error
  Task Start:            2021-06-09T13:06:07Z
  Task End:              2021-06-09T13:09:22Z
  Transfer Progress:     100 %
  Transfer Bytes:        780436385 bytes
  File Size:             780436385 bytes
  Transfer Rate:         4020 kbps

Installation State:      idle
--------------------------------------------------
  State Detail:          No install information available
  Task Start:            0000-00-00T00:00:00Z
  Task End:              0000-00-00T00:00:00Z
OS10#
```
Transfer Progress:が100%になっていればOK.


### binファイルの存在チェック
```console:console
OS10# dir image

Directory contents for folder: image
Date (modified)        Size (bytes)  Name
---------------------  ------------  ------------------------------------------
2021-06-09T13:09:22Z   780436385     PKGS_OS10-Enterprise-10.5.2.3.316stretch-installer-x86_64.bin
```

## バージョンアップ　実行編
### インストール開始
```console:console
OS10# image install image://PKGS_OS10-Enterprise-10.5.2.3.316stretch-installer-x
86_64.bin
Install started.
Use 'show image status' for updates
OS10#
```
5分程度かかる。しばし待たれよ。

### インストール完了
```console:console
OS10# show image status
Image Upgrade State:     idle
==================================================
File Transfer State:     idle
--------------------------------------------------
  State Detail:          Completed: No error
  Task Start:            2021-06-09T13:06:07Z
  Task End:              2021-06-09T13:09:22Z
  Transfer Progress:     100 %
  Transfer Bytes:        780436385 bytes
  File Size:             780436385 bytes
  Transfer Rate:         4020 kbps

Installation State:      idle
--------------------------------------------------
  State Detail:          Completed: Success
  Task Start:            2021-06-09T13:13:28Z
  Task End:              2021-06-09T13:22:59Z
OS10#
```


### ブートステータス確認
```console:console
OS10# show boot detail
Current system image information detail:
==========================================
Type:                     Node-id 1
Boot Type:                Flash Boot
Active Partition:         A
Active SW Version:        10.4.3.6
Active SW Build Version:  10.4.3.6.244
Active Kernel Version:    Linux 4.9.168
Active Build Date/Time:   2019-08-19T10:26:44Z
Standby Partition:        B
Standby SW Version:       10.5.2.3
Standby SW Build Version: 10.5.2.3.316
Standby Build Date/Time:  2021-02-26T20:03:25Z
Next-Boot:                standby[B]
OS10#
```
Standby SW Versionが新たな10.5.2.3に変わっている。
この時点ですでにNext-Bootの値がstandby[B]になっているが、念のため以下を実施。

```console:console
OS10# boot system standby
OS10# show boot
Current system image information:
===================================
Type      Boot Type      Active                   Standby                 Next-Boot
-----------------------------------------------------------------------------------
Node-id 1 Flash Boot     [A] 10.4.3.6            [B] 10.5.2.3            [B] standby
OS10#
```

### 再起動してイメージ切り替え
```console:console
OS10# reload

System configuration has been modified. Save? [yes/no]:no

Continuing without saving system configuration

Proceed to reboot the system? [confirm yes/no]:yes
```

##正常性確認
### ほげほけ
```console:console
OS10# show version
Dell EMC Networking OS10 Enterprise
Copyright (c) 1999-2021 by Dell Inc. All Rights Reserved.
OS Version: 10.5.2.3
Build Version: 10.5.2.3.316
Build Time: 2021-02-26T20:03:25+0000
System Type: S5296F-ON
Architecture: x86_64
Up Time: 00:02:02
OS10#
OS10#
OS10#
OS10# show boot
Current system image information:
===================================
Type      Boot Type      Active                   Standby                 Next-Boot
-----------------------------------------------------------------------------------
Node-id 1 Flash Boot     [A] 10.5.2.3            [B] 10.4.3.6            [A] active

```
無事切り替わっているので大丈夫そうです。