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

 

はじめに

Prime Infrastructure をバージョンアップして、メンテナンスリリースを適用する方法を、PI 3.6 から PI 3.10.4 へのアップグレードを例にして紹介します。
ハードウェアアプライアンスをご利用中の場合は、 CIMC のバージョンが PI のバージョンと互換性があるかを確認して、互換がない場合、更新していただくようにお願いします。

Prime Infrastructure と CIMC の Compatibility について
https://community.cisco.com/t5/-/-/ta-p/4389134
  

1.アップグレードパスの確認

まず初めに、バージョンアップ先のドキュメントを確認して、現バージョンから直接アップグレード可能かどうかを確認します。

 

今回の場合、まずは最終目標の PI 3.10.4 のリリースノートを確認し、適用の前提条件を確認します。

リリースノートは、メンテナンスリリースのダウンロードサイトで、対象のファイル上にマウスを移動させると別ウィンドウが表示されるので、その中の「Release Notes」をクリックすることで確認できます。

PI3.10.4_releasenote.png

 

 

リリースノートに以下のような記載が確認できるため、PI3.10.4 へは PI3.10.2 もしくは PI3.10.3 から可能であることが分かります。

https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-10-4/release_notes/Cisco_Prime_infrastructure_3_10_4_Release_Notes/bk_cisco_prime_infrastructure_3_10_4_release_notes.html 

 

 

You can install Prime Infrastructure 3.10.4 on top of Cisco Prime Infrastructure 3.10.2 System Patch or Cisco
Prime Infrastructure 3.10.3 from Software Download page.

 

 

PI3.10.2 のリリースノートに以下のような記載が確認できるため、PI3.10.2へはPI3.10から可能であることが分かります。

https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-10-2/release_notes/bk_cisco_prime_infrastructure_3_10_2_release_notes.html 

 

 

You can upgrade to Cisco Prime Infrastructure 3.10.2 from Cisco Prime Infrastructure 3.10 or Cisco Prime Infrastructure 3.10 Update 01 or Cisco Prime Infrastructure 3.10.1. Cisco Prime Infrastructure PI-Upgrade-3.10.x_to_3.10.2-0.0.90.tar.gz is approximately 2.2GB. The downloading time depends on the available network connection in the enterprise environment. Ensure that you have adequate bandwidth and are not running into high latency issues.

 

 


次に PI3.10 へバージョンアップするための条件を、 PI 3.10 のドキュメントで確認します。

リリースノートに以下のような記載が確認できるため、PI 3.10 はクリーンインストールを行った後に、PI3.7以降のバックアップファイルをリストアする事でアップグレードが可能であることが分かります。

https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-10/release/notes/cisco_prime_infrastructure_3_10_release_notes.html

 

 

Upgrade to Prime Infrastructure 3.10 from Prime Infrastructure 3.7.x, 3.8.x, or 3.9.x is not supported. You must take a backup of the Prime Infrastructure 3.7.x, 3.8.x, or 3.9.x server, deploy a fresh Prime Infrastructure 3.10 server, and restore that back up into the Prime Infrastructure 3.10 server.

 

 

PI 3.10 にするためには、事前に PI 3.7.x, PI3.8.x, PI3.9.x にする必要があります。

※今回の例では、 PI3.7 をアップグレードパスとします。

次に PI 3.7 へバージョンアップするための条件を、PI 3.7 のドキュメント(Quick Start Guide)で確認します。
このドキュメントには以下のように記載されているため、PI 3.7 へバージョンアップするには、PI 3.4.x, PI 3.5.x, PI3.6.x である必要があることが分かり、PI 3.6 からバージョンアップすることが可能です。

https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-7/quickstart/guide/bk_Cisco_Prime_Infrastructure_3_7_0_Quick_Start_Guide.pdf 

How to Perform an Inline Upgrade
Inline upgrade is simpler than system migration, and requires no new hardware. Prime Infrastructure 3.7
supports inline upgrade from Prime Infrastructure 3.1.x, 3.2.x, 3.3.x, 3.4.x, 3.5.x, and 3.6.x.
Prime Infrastructure supports only the upgrading of secondary server from 3.5.x and 3.6.x to 3.7 and not for
the versions below 3.5. To pair HA with primary server in Prime Infrastructure version 3.7, you must either
install a new secondary server from the Prime Infrastructure 3.7 OVA image or upgrade from 3.5.x and 3.6.x
to 3.7 using the 3.5.x_3.6.x_to_3.7 upgrade bundle file and integrate it with the primary server for high
availability. For details, see Install Prime Infrastructure on a Virtual Machine, on page 11.
The following steps explain how to upgrade from primaryPrime Infrastructure 3.1.x, 3.2.x, 3.3.x, 3.4.x, 3.5.x,
and 3.6.x to Prime Infrastructure 3.7.

 

従って、アップグレードパスは以下のようになることが確認できました。

PI 3.6 → PI 3.7 → PI 3.10 → PI3.10.2 → PI3.10.4 

 

2.バージョンアップの事前準備や手順を確認

アップグレードパスが確認できたら、次はインストール前の準備事項と、インストール手順を確認します。バージョンが異なっていると、バージョンアップ方法も異なっていることがありますので、バージョン毎に必ずドキュメントを確認するようにしてください。

 

PI 3.6 から PI 3.7 のバージョンアップについては、PI 3.7 のドキュメント(Quick Start Guide)を確認します。

https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-7/quickstart/guide/bk_Cisco_Prime_Infrastructure_3_7_0_Quick_Start_Guide.pdf

「How to Upgrading From Previous Releases of Prime Infrastructure」と「Performing an Inline Upgrade」の内容をよく確認します。

default repositoryは、ドキュメント通りにdefaultRepoを使用することが推奨されております。

 

PI 3.7 から PI 3.10 のバージョンアップについては、PI 3.10 のドキュメント(Quick Start Guide)を確認します。

https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/infrastructure/3-10/quick_start/guide/cisco_prime_infrastructure_3_10_quick_start_guide.html

「How to Upgrading From Previous Releases of Prime Infrastructure」と「Performing an Inline Upgrade」の内容をよく確認します。
PI3.10 はインラインアップグレードは不可能となり、フレッシュインストールを行う必要があります。

 

3.バージョンアップの実行

確認したとおりの手順でバージョンアップを実施します。

  

  まとめ

  • メジャー・マイナーバージョン、メンテナンスリリース、パッチ、デバイスパック、それぞれでインストール方法が異なっているため、必ずドキュメントをご参照ください。
  • バージョンが異なっていると、インストール手順が異なっていることもあります。必ず各バージョンでインストール手順を確認してください。
  • インストール手順だけでなく、そのドキュメント全体を一通りご確認ください。前提条件や事前準備など、インストールに関係することが記載されていることもあるためです。

 

参考情報

Prime Infrastructure 3.8 へのアップグレードについて
https://community.cisco.com/t5/-/-/ta-p/4072916 

Prime Infrastructure と CIMC の Compatibility について
https://community.cisco.com/t5/-/-/ta-p/4389134

 

コメント
terengg4nu
Level 1
Level 1

can try use

pi310/admin# shell

Enter shell access password :

Starting bash shell ...

ade # pwd

/root

ade # cd /localdisk/defaultRepo

ade # ls

PI-Upgrade-3.10.x_to_3.10.2-0.0.90.tar.gz

pi310-230528-0330__VER3.10.0.1003.27_BKSZ18G_CPU16_MEM4G_RAM23G_SWAP15G_APP_CK3107936205.tar.gpg

pi310-230529-0330__VER3.10.0.1003.27_BKSZ18G_CPU16_MEM4G_RAM23G_SWAP15G_APP_CK4002878360.tar.gpg

ade # sudo su -

Last login: Mon May 29 20:01:02 +08 2023 on pts/0

[root@pi310 ~]#

[root@pi310 ~]# ls

anaconda-ks.cfg  ks-post.log            original-ks.cfg  test.log

bin              ks-post-toinstall.log  ova.ks.cfg

[root@pi310 ~]# cd /localdisk/defaultRepo

[root@pi310 defaultRepo]# ls

pi310-230528_ 0330__VER3.10.0.1003.27_BKSZ18G_CPU16_MEM4G_RAM23G_SWAP15G_APP_CK3107936205.tar.gpg

pi310-230529-0330__VER3.10.0.1003.27_BKSZ18G_CPU16_MEM4G_RAM23G_SWAP15G_APP_CK4002878360.tar.gpg

PI-Upgrade-3.10.x_to_3.10.2-0.0.90.tar.gz

[root@pi310 defaultRepo]# rm pi310-230528-0330__VER3.10.0.1003.27_BKSZ18G_CPU16_MEM4G_RAM23G_SWAP15G_APP_CK3107936205.tar.gpg

rm: remove regular file ‘pi310-230528-0330__VER3.10.0.1003.27_BKSZ18G_CPU16_MEM4G_RAM23G_SWAP15G_APP_CK3107936205.tar.gpg’? yes

[root@pi310 defaultRepo]# ls

pi310-230529-0330__VER3.10.0.1003.27_BKSZ18G_CPU16_MEM4G_RAM23G_SWAP15G_APP_CK4002878360.tar.gpg

PI-Upgrade-3.10.x_to_3.10.2-0.0.90.tar.gz

[root@pi310 defaultRepo]# rm pi310-230529-0330__VER3.10.0.1003.27_BKSZ18G_CPU16_MEM4G_RAM23G_SWAP15G_APP_CK4002878360.tar.gpg

rm: remove regular file ‘pi310-230529-0330__VER3.10.0.1003.27_BKSZ18G_CPU16_MEM4G_RAM23G_SWAP15G_APP_CK4002878360.tar.gpg’? yes

[root@pi310 defaultRepo]#

[root@pi310 defaultRepo]#

[root@pi310 defaultRepo]#

[root@pi310 defaultRepo]#

[root@pi310 defaultRepo]#

[root@pi310 defaultRepo]# ls

PI-Upgrade-3.10.x_to_3.10.2-0.0.90.tar.gz

[root@pi310 defaultRepo]#

[root@pi310 defaultRepo]#

[root@pi310 defaultRepo]#

[root@pi310 defaultRepo]# dh 0k

-bash: dh: command not found

[root@pi310 defaultRepo]# dh -k

-bash: dh: command not found

[root@pi310 defaultRepo]# df -k

Filesystem                        1K-blocks     Used Available Use% Mounted on

devtmpfs                           12330404        0  12330404   0% /dev

tmpfs                              12343408  2572288   9771120  21% /dev/shm

tmpfs                              12343408    99280  12244128   1% /run

tmpfs                              12343408        0  12343408   0% /sys/fs/cgroup

/dev/mapper/smosvg-rootvol          3966144    44508   3716836   2% /

/dev/mapper/smosvg-usrvol           6924216  1722152   4843664  27% /usr

/dev/mapper/smosvg-recvol             95054     1569     88365   2% /recovery

/dev/mapper/smosvg-home               95054     2186     87748   3% /home

/dev/sda1                            487652   116673    345379  26% /boot

/dev/mapper/smosvg-altrootvol         95054     1569     88365   2% /altroot

/dev/mapper/smosvg-storeddatavol    9948012    22656   9413356   1% /storeddata

/dev/sda2                             95054     1603     88331   2% /storedconfig

/dev/mapper/smosvg-localdiskvol   184561716  2406780 174194028   2% /localdisk

/dev/mapper/smosvg-tmpvol           1983056     4008   1876648   1% /tmp

/dev/mapper/smosvg-varvol           3966144   156972   3604372   5% /var

/dev/mapper/smosvg-optvol        1002207944 66624516 892710940   7% /opt

tmpfs                               2468684        0   2468684   0% /run/user/1000

[root@pi310 defaultRepo]# pwd

/localdisk/defaultRepo

[root@pi310 defaultRepo]# ls -la

total 2345732

drwxrwxrwt. 2 prime gadmin       4096 May 29 20:01 .

drwxrwxr-x. 9 prime gadmin       4096 May 28 15:11 ..

-rw-rw-rw-. 1 prime gadmin 2399667100 May 28 14:54 PI-Upgrade-3.10.x_to_3.10.2-0.0.90.tar.gz

[root@pi310 defaultRepo]# exit

logout

ade #

ade #

ade # application upgrade PI-Upgrade-3.10.x_to_3.10.2-0.0.90.tar.gz defaultRepo

bash: application: command not found

ade # exit

exit

ade # exit

exit

pi310/admin#

pi310/admin#

pi310/admin# application upgrade PI-Upgrade-3.10.x_to_3.10.2-0.0.90.tar.gz defaultRepo

Save the current ADE-OS running configuration? (yes/no) [yes] ? yes

Generating configuration...

Saved the ADE-OS running configuration to startup successfully

 

Please ensure you have a backup of the system before proceeding.

Proceed with the application upgrade ? (yes/no) [yes] ? yes

 

DO NOT press ^C while the upgrade is in progress

Aborting upgrade with a ^C may leave the system in a unrecoverable state

 

Initiating Application Upgrade...

  Stage 1 of 7: Transferring file ...

  -- complete.

  Stage 2 of 7: Unpacking file ...

  -- complete.

 

*** System will reboot after a successful installation of this package ***

After reboot, please login again into the server to check status

 

  Stage 3 of 7: Executing pre-install ...

  -- complete.

  Stage 4 of 7: Upgrading binaries ...

  -- complete.

  Prime Application installation completed

Note: Forwarding request to 'systemctl disable ipmi.service'.

            Stage 5 of 7: Executing post-install ...

 

Upgrade Finished. Server is  restarting . Please wait ..

INFO: Mount point exists!

 

% This application Install or Upgrade requires reboot, rebooting now...

Getting Started

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

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