はじめに
本記事では、Windows 11 PC で SSM On-Prem の アップグレードを実施する手順について説明します。
投稿時に確認している製品バージョンは、 SSM On-Prem Release 8-202304 です。
SSM On-Prem Release 8-202304 へのアップグレードを例にして説明します。
※ SSM On-Prem のバージョンが古い場合 ( 例えば On-Prem 8-202006 の場合 )、FATAL ERROR: Received unexpected end-of-file from serverとエラーが出て本手順で対応できません。
アップグレード手順
1)ダウンロードサイトから、以下の zip ファイルをローカル PC にダウンロードします。
SSM_On-Prem_8-202304_Upgrade.zip : Smart Software Manager On-Prem Release 8 Upgrade Patch
https://software.cisco.com/download/home/286285506/type/286326948/release/8-202304?i=!pp
2)この zip ファイルを解凍し、以下の 2 つのパッチがあることを確認します。
SSM_On-Prem_8-202304_upgrade.sh
SSM_On-Prem_8-202304_upgrade.sh.sha256
3)この2つのパッチを SSM On-Prem の /home/admin 配下へ PSCP でコピーします。
※事前に Windows 11 PC に 64-bit x86: pscp.exe をインストールします。
ダウンロードリンク:https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
pscp SSM_On-Prem_8-202304_upgrade.sh admin@<ip-address>:~
pscp SSM_On-Prem_8-202304_upgrade.sh.sha256 admin@<ip-address>:~
実行例:
C:\Users\yuzjin\Downloads>pscp SSM_On-Prem_8-202304_upgrade.sh admin@10.71.x.x:~
admin@10.71.x.x's password:
SSM_On-Prem_8-202304_upgr | 2056072 kB | 4087.6 kB/s | ETA: 00:00:00 | 100%
C:\Users\yuzjin\Downloads>pscp SSM_On-Prem_8-202304_upgrade.sh.sha256 admin@10.71.x.x:~
admin@10.71.x.x's password:
SSM_On-Prem_8-202304_upgr | 0 kB | 0.5 kB/s | ETA: 00:00:00 | 100%
※ SCP コマンドでコピーを試みると、以下のエラーが表示されコピーできない場合があります。
4)SSH で SSM On-Prem へログインし、2 つのパッチがアップロードされていることを確認します。
ssh -c aes128-ctr -m hmac-sha2-256 -oHostKeyAlgorithms=ecdsa-sha2-nistp521 admin@<ip-address>
実行例:
C:\Users\yuzjin\Downloads>ssh -c aes128-ctr -m hmac-sha2-256 -oHostKeyAlgorithms=ecdsa-sha2-nistp521 admin@10.71.x.x
#######################################################################
# Authorized access only! #
# #
# Disconnect IMMEDIATELY if you are not an authorized user!!! #
# All actions Will be monitored and recorded #
#######################################################################
admin@10.71.x.x's password:
[admin@op ~]$
[admin@op ~]$ pwd
/home/admin
[admin@op ~]$ ls -l
total 2056084
-rw-r--r--. 1 admin admin 512 Oct 10 04:55 ~
-rw-r--r--. 1 admin admin 2105417996 Jul 14 11:54 SSM_On-Prem_8-202304_upgrade.sh
-rw-r--r--. 1 admin admin 512 Jul 14 11:54 SSM_On-Prem_8-202304_upgrade.sh.sha256
※ ssh -l admin <ip-address> コマンドで接続すると、以下のエラーが表示されログインできない場合があります。
5)上記4)に続き、以下の onprem-console コマンドでオンプレミスコンソールに入ります。
onprem-console
実行例:
[admin@op ~]$ onprem-console
SSM On-Prem Console
>>
6)つぎに、以下の copy コマンドで2つパッチを /home/admin から /var/files/patches へコピーします。
copy admin@localhost:SSM_On-Prem_8-202304_upgrade.sh patches:
copy admin@localhost:SSM_On-Prem_8-202304_upgrade.sh.sha256 patches:
実行例:
>> copy admin@localhost:SSM_On-Prem_8-202304_upgrade.sh patches:
Copying admin@localhost:SSM_On-Prem_8-202304_upgrade.sh to /var/files/patches ...
[sudo] password for admin:
Last login: Tue Oct 10 07:01:01 UTC 2023 on cron
Operating in CiscoSSL FIPS mode
FIPS mode initialized
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
#######################################################################
# Authorized access only! #
# #
# Disconnect IMMEDIATELY if you are not an authorized user!!! #
# All actions Will be monitored and recorded #
#######################################################################
admin@localhost's password:
SSM_On-Prem_8-202304_upgrade.sh 100% 2008MB 110.4MB/s 00:18
>> copy admin@localhost:SSM_On-Prem_8-202304_upgrade.sh.sha256 patches:
Copying admin@localhost:SSM_On-Prem_8-202304_upgrade.sh.sha256 to /var/files/patches ...
Last login: Tue Oct 10 07:24:58 UTC 2023 on pts/0
Operating in CiscoSSL FIPS mode
FIPS mode initialized
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
#######################################################################
# Authorized access only! #
# #
# Disconnect IMMEDIATELY if you are not an authorized user!!! #
# All actions Will be monitored and recorded #
#######################################################################
admin@localhost's password:
SSM_On-Prem_8-202304_upgrade.sh.sha256 100% 512 159.6KB/s 00:00
7)そして、以下の upgrade コマンドでアップグレードを実施します。
upgrade patches:SSM_On-Prem_8-202304_upgrade.sh
実行例:
>> upgrade patches:SSM_On-Prem_8-202304_upgrade.sh
Upgrading system from patch file ... /var/files/patches/SSM_On-Prem_8-202304_upgrade.sh
Last login: Fri Jul 14 11:18:41 UTC 2023 on pts/0
Verified OK
Creating directory /var/tmp/ssms_patch-8-202304
Verifying archive integrity... 100% All good.
Uncompressing SSM On-Prem 6.X.X to 8-202304 Upgrade Patch 100%
snip)
SSM Update completed!
8)完了後に自動的に再起動しなかった場合は、reboot コマンドにより再起動を行ってください。
9)SSM On-Prem の Web UI の管理画面にログインし、Version 8-202304 の表示になっていることを確認します。
参照情報
Cisco Smart Software Manager On-Prem 8 Installation Guide Version 8 Release 202304
https://www.cisco.com/web/software/286326948/165432/SSM_On-Prem_8_Installation_Guide.pdf
※ Window 10 PC によるアップグレード手順について、以下のドキュメントをご参照ください。
サテライト 6.x から On-Prem Release 7-201910 へのアップグレード手順
https://community.cisco.com/t5/-/-/ta-p/3991880
Release 7-201907 から Release 7-201910 へのアップデート手順
https://community.cisco.com/t5/-/-/ta-p/3994566