キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
738
閲覧回数
5
いいね!
0
コメント
Akiyoshi Kawaguchi
Cisco Employee
Cisco Employee

本ドキュメントでは、MDS のアップグレードとダウングレード方法について説明致します。
内容は NX-OS 9.X に基づいて作成しています。

 

1. アップグレード・ダウングレードの制限事項の確認

MDS は FC トラフィックを停止させずにアップグレード・ダウングレードすることが可能ですが、目的のバージョンへアップグレード・ダウングレードするには、一度別のバージョンへ変更する必要がある場合があります。
バージョン変更を無停止で行いたい場合は、対象バージョンの Release Note の "Open Systems Nondisruptive Upgrade Paths"、"Open Systems Nondisruptive Downgrade Paths" で、アップグレードパスを確認してください。

Cisco MDS 9000 NX-OS and SAN-OS Software Release Notes

その他にも、一般的な制限事項・注意事項もありますので、Release Note の "General Upgrading Guidelines"、"General Downgrading Guidelines" も確認しておきます。

 

2. ソフトウェアのダウンロード

Cisco.com から変更したいバージョンのソフトウェア(kickstart, system イメージ)をダウンロードします。

MDS 9000 Software Download

ダウンロードしたソフトウェアを copy コマンドで MDS の bootflash へ格納します。この時、FTP や SCP が使用できるファイルサーバが必要になります。

 

# copy scp: bootflash:
Enter source filename: m9100-s5ek9-mz.9.2.2.bin
Enter hostname for the scp server: 10.x.x.x
Enter username: root
root's password:
m9100-s5ek9-mz.9.2.2.bin                      100%  114MB   5.4MB/s   00:21
Copy complete, now saving to disk (please wait)...

# copy scp: bootflash:
Enter source filename: m9100-s5ek9-kickstart-mz.9.2.2.bin
<略>

# dir
   31724032    Jul 15 07:41:20 2022  m9100-s5ek9-kickstart-mz.9.2.2.bin
  119551092    Jul 15 07:36:20 2022  m9100-s5ek9-mz.9.2.2.bin

 

 

3. コンフィグの保存

copy running-config startup-config でコンフィグを保存します。

# copy running-config startup-config

念のため、bootflash や外部サーバにも保存しておきます。

# copy running-config bootflash:<コンフィグファイル名>

 

# copy running-config startup-config
[########################################] 100%
Copy complete.

# copy running-config bootflash:backup_config0715.txt
Copy complete, now saving to disk (please wait)...

 

 

4. アップグレード・ダウングレードの実行

install all コマンドでアップグレード・ダウングレードを実施します。

# install all kickstart <kickstartイメージ> system <systemイメージ>

バージョン変更時の整合性チェックが行われ、FCトラフィック無停止でバージョン変更可能かどうかが表示されます。その後、そのままバージョン変更を実行するかどうかの最終確認が行われ、y を選択するとアップグレード・ダウングレード処理が開始されます。

 

# install all kickstart m9100-s5ek9-kickstart-mz.9.2.2.bin system m9100-s5ek9-mz.9.2.2.bin
Installer will perform compatibility check first. Please wait.

<略>

Compatibility check is done:
Module  bootable          Impact  Install-type  Reason
------  --------  --------------  ------------  ------
     1       yes  non-disruptive         reset         <---- non-disruptive = FCトラフィック無停止

Other miscellaneous information for installation:
Module  info
------  ----------------------------------
     1  FC ports 1-48 are hitless

Images will be upgraded according to following table:
Module       Image                  Running-Version(pri:alt)           New-Version  Upg-Required
------  ----------  ----------------------------------------  --------------------  ------------
     1      system                                    9.2(1)                9.2(2)           yes
     1   kickstart                                    9.2(1)                9.2(2)           yes
     1        bios       v2.1.18(04/06/20):v2.1.18(04/06/20)     v2.1.18(04/06/20)            no

Do you want to continue with the installation (y/n)?  [n] y     <---- "y" で処理継続
Install is in progress, please wait.
<略>
Reloading the kernel to proceed with the upgrade.
All telnet and ssh connections will now be temporarily terminated.

 

 

5. アップグレード・ダウングレード結果確認

show version でバージョンが変わっているかを確認します。

 

# show version
<略>
Software
  BIOS:      version 2.1.18
  loader:    version N/A
  kickstart: version 9.2(2)
  system:    version 9.2(2)
  BIOS compile time:       04/06/20
  kickstart image file is: bootflash:///m9100-s5ek9-kickstart-mz.9.2.2.bin
  kickstart compile time:  1/1/2022 12:00:00 [01/20/2022 17:09:23]
  system image file is:    bootflash:///m9100-s5ek9-mz.9.2.2.bin
  system compile time:     1/1/2022 12:00:00 [01/20/2022 18:42:09]
<略>

 


show install all status でアップグレード・ダウングレードの実行結果を確認できます。

 

# show install all status
<略>
Successfully started the installer:<Fri Jul 15 08:29:48>

<Fri Jul 15 08:29:50>
 Status for linecard upgrade.
 -- SUCCESS <Fri Jul 15 08:29:51>

<Fri Jul 15 08:29:51>
 Performing supervisor state verification.
 -- SUCCESS <Fri Jul 15 08:30:04>

<Fri Jul 15 08:30:04>
 Supervisor non-disruptive upgrade successful.

<Fri Jul 15 08:30:05> Install has been successful.

 

 

6. その他

show install all impact コマンドでも、FCトラフィック無停止でバージョン変更可能かどうか確認可能です。

 

例:9.2.2 から 6.2(13a)へバージョンダウンする際の影響確認

# show install all impact kickstart m9100-s5ek9-kickstart-mz.6.2.13a.bin system m9100-s5ek9-mz.6.2.13a.bin
Installer will perform impact only check. Please wait.
<略>
Compatibility check is done:
Module  bootable          Impact  Install-type  Reason
------  --------  --------------  ------------  ------
     1       yes      disruptive         reset  Incompatible image           <---- disruptive = トラフィック停止

Other miscellaneous information for installation:
Module  info
------  ----------------------------------
     1  FC ports 1-48 are hitless

Images will be upgraded according to following table:
Module       Image                  Running-Version(pri:alt)           New-Version  Upg-Required
------  ----------  ----------------------------------------  --------------------  ------------
     1      system                                    9.2(2)              6.2(13a)           yes
     1   kickstart                                    9.2(2)              6.2(13a)           yes
     1        bios       v2.1.18(04/06/20):v2.1.18(04/06/20)     v2.1.17(01/08/14)            no

 

 

参考ドキュメント:

 

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします