Step 1,
檢查現(xiàn)有PI版本:2.0.0.0.294
PI01/admin# sho version
Cisco Application Deployment Engine OS Release: 2.0
ADE-OS Build Version: 2.0.6.003-px-build
ADE-OS System Architecture: x86_64
Copyright (c) 2005-2010 by Cisco Systems, Inc.
All rights reserved.
Hostname: PI01
Version information of installed applications
---------------------------------------------
Cisco Prime Infrastructure
------------------------------------------
Version : 2.0.0.0.294
PI01/admin#
Step2:
備份你的PIdatabase: 確保你的disk space夠用。
1,檢查你的DefaultRepo folder是否有最新的備份。沒有的話,就重新備份一下。
PI01/admin# backup filename repository defaultRepo application
PI01/admin# dir disk:/defaultRepo/
Directory of disk:/defaultRepo/
2222222222Jan 01 2015 11:13:16 PI01-140194-0320.tar.gpg
3111111111 Jan 22 2015 09:46:53 PI01-150122-0237.tar.gpg -----> ****最新的databasebackup, 文件會很大(我備份花了將近10個小時****)
1738046399 Jan 30 2015 13:41:53 PI-Upgrade-2.1.0.0.87.tar.gz ----> ****新的2.1升級文件,等下會用到***
PI01/admin#
2, 將backup的文件copy到一個TFTP / TFP/ NFS server備用,in case升級失?。?/p>
PI01/admin# copy disk:/defaultRepo/PI01-150122-0137.tar.gpg tftp://10.***/ --->確保server有足夠空間。 tftp會比較慢,F(xiàn)TP比較快
Step 3:
檢查新的升級文件 是否已經(jīng)copy到PI2.0里面:
PI01/admin# show repository defaultRepo
2222210206 Jan 14 201511:13:16 PI01-140094-0320.tar.gpg
1111119795 Jan 28 2015 09:46:53 PI01-150122-0137.tar.gpg
1738046399 Jan 30 2015 13:41:53 PI-Upgrade-2.1.0.0.87.tar.gz ------> ****確認(rèn)文件大小和你下載一樣****
Step 4:暫停NCSservice--:
PI10/admin# ncs stop
Stopping Network Control System...
This may take a few minutes...
Network Control System successfully shutdown.
Plug and Play Gateway is being shut down..... Please wait!!!
Stop of Plug and Play Gateway Completed!!
SAM daemon process id does not exist
DA daemon process id does not exist
DA syslog daemon process id does not exist
Step 5: 升級過程:
PI10/admin# application upgrade PI-Upgrade-2.1.0.0.87.tar.gzdefaultRepo
Save the current ADE-OS running configuration? (yes/no)[yes] ?
Generating configuration...
Saved the ADE-OS running configuration to startupsuccessfully
Please ensure you have a backup of the system beforeproceeding.
Proceed with the application upgrade ? (yes/no) [yes] ?
DO NOT press ^C while the upgrade is in progress
Aborting upgrade with a ^C may leave the system in aunrecoverable 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 ofthis package ***
After reboot, please login again into the server to checkstatus
Stage 3 of 7:Executing pre-install ...
[WARNING] System will reboot after a successful installationof this package (after Stage 7).
After reboot, please login again into the server to checkstatus.
No action required at this time. Continuing with Stage 3.
**********這里需要10分鐘左右**************
-- complete.
Stage 4 of 7:Upgrading binaries ...
-- complete.
Prime InfrastructureApplication installation completed
************這里需要等30分鐘左右*************
Stage 5 of 7: Retrieving system version ...
-- complete.
Stage 6 of 7: Updating Database Schema ...
: This could take long time based on the existing data size.
Stage 1 of 5: Pre Migration Schema Upgrade ...
-- completed at: 2015-02-07 00:14:26.188, Time Taken : 0 hr, 2 min, 57 sec
Stage 2 of 5: Schema Upgrade ...
: This could take long time based on the existing data size.
-- completed at: 2015-02-07 00:20:31.298, Time Taken : 0 hr, 6 min, 5 sec
Stage 3 of 5: Post Migration Schema Upgrade ...
-- completed at: 2015-02-07 00:49:06.815, Time Taken : 0 hr, 28 min, 35 sec
Stage 4 of 5: Enabling DB Constraints ...
-- completed at: 2015-02-07 01:19:41.714, Time Taken : 0 hr, 30 min, 29 sec
Stage 5 of 5: Finishing Up ...
-- completed at: 2015-02-07 01:20:35.603, Time Taken : 0 hr, 0 min, 53 sec
-- complete.
Stage 7 of 7: Re-enabling Database Settings ...
-- complete.
Upgrade Finished. Server is restarting . Please wait ..
% This application Install or Upgrade requires reboot, rebooting now...
Broadcast message from root (pts/0) (Sat Feb 7 01:34:50 2015):
The system is going down for reboot NOW!
Application upgrade successful
Step 6: 升級完成后,查看新的firmware
PI01/admin# sho ver
Cisco Application Deployment Engine OS Release: 2.0
ADE-OS Build Version: 2.0.6.003-px-build
ADE-OS System Architecture: x86_64
Copyright (c) 2005-2010 by Cisco Systems, Inc.
All rights reserved.
Hostname: PI01
Version information of installed applications
---------------------------------------------
Cisco Prime Infrastructure
------------------------------------------
Version : 2.1.0.0.87
PI01/admin#
Step7, 下面是PI 2.1 升級2.2.
1,備份2.1的數(shù)據(jù):
PI01/admin# backup filename repositorydefaultRepo application
2,復(fù)制2.1的database 到TFTPserver做備用,
PI01/admin# copydisk:/defaultRepo/PI01-150207-0330.tar.gpg tftp://10.8.8.8/
3, 安裝新的Prime Infrastructure 2.2的版本:
PI02/admin# sho ver
Cisco Application Deployment Engine OS Release: 2.3
ADE-OS Build Version: 2.3.0.101-root
ADE-OS System Architecture: x86_64
Copyright (c) 2005-2010 by Cisco Systems, Inc.
All rights reserved.
Hostname: PI02
Version information of installed applications
---------------------------------------------
Cisco Prime Infrastructure
********************************************************
Version : 2.2.0
Build : 2.2.0.0.158
4, 恢復(fù)2.1的database到PI 2.2的版本:
恢復(fù)注意事項:(只能從1.4和2.1的版本恢復(fù))
=================================
Rrestoring From Backups
You cannot restore from backups using the Prime Infrastructureuser interface. You must use the Prime Infrastructure restore command.You can restore to the same host that you were using, or to a different host.
You cannot restore portions of a backup.
You can restore to Prime Infrastructure 2.2 from the followingbackup versions only:
· Prime Infrastructure 1.4
· Prime Infrastructure 2.1
====================================
PI02/admin# restore P201-150209-0330.tar.gpg repository defaultRepo application NCS
* NOTE *
If the system console is disconnected or got cleared on session timeout
run 'show restore log' to see the output of the last restore session.
Restore will restart the application services. Continue? (yes/no) [yes] ?
DO NOT press ^C while the restoration is in progress
Aborting restore with a ^C may leave the system in a unrecoverable state
Initiating restore. Please wait...
Restore Started at 02/10/15 03:57:03
Stage 1 of 9: Transferring backup file ...
-- completed at 02/10/15 04:41:38
Stage 2 of 9: Decrypting backup file ...
-- completed at 02/10/15 06:47:07
Stage 3 of 9: Unpacking backup file ...
-- completed at 02/10/15 06:48:21
Stopping strongSwan IPsec...
Stage 4 of 9: Decompressing backup ...
-- completed at 02/10/15 06:53:30
Stage 5 of 9: Restoring Support Files ...
-- completed at 02/10/15 06:54:09
Stage 6 of 9: Restoring Database Files ...
-- completed at 02/10/15 06:55:15
Stage 7 of 9: Recovering Database ...
-- completed at 02/10/15 14:56:10
Stage 8 of 9: Updating Database Schema ...
Stage 1 of 5: Pre Migration Schema Upgrade ...
-- completed at: 2015-02-10 19:51:57.565
, Time Taken : 4 hr, 44 min, 52 sec
Stage 2 of 5: Schema Upgrade ...
: This could take long time based on the existin
g data size.
-- completed at: 2015-02-10 20:18:50.979
, Time Taken : 0 hr, 26 min, 53 sec
Stage 3 of 5: Post Migration Schema Upgrade ...
-- completed at: 2015-02-10 21:56:06.708
, Time Taken : 1 hr, 37 min, 15 sec
Stage 4 of 5: Enabling DB Constraints ...
-- completed at: 2015-02-10 21:57:53.7,
Time Taken : 0 hr, 1 min, 17 sec
Stage 5 of 5: Finishing Up ...
-- completed at: 2015-02-10 21:59:03.972
, Time Taken : 0 hr, 1 min, 10 sec
-- completed at 02/10/15 22:08:09
Stage 9 of 9: Re-enabling Database Settings ...
-- completed at 02/10/15 22:08:09
Total Restore duration is: 18h:11m:06s
INFO: Restore completed successfully.
Starting PI Server... This may take some time
Starting Prime Infrastructure...
This may take a while (10 minutes or more) ...
Prime Infrastructure started successfully.
Finished at : Tue Feb 10 23:02:26 2015
====================================
到此,所有的升級都已經(jīng)完成,經(jīng)過我的經(jīng)驗,所有的license都可以restore, 不需要重新申請license.
另外,AAA的認(rèn)證,只需要重新刷新下,不需要重新配置, Domain ID就可以登錄了。
- 北京炫億時代專業(yè)服務(wù)器運(yùn)輸,機(jī)房搬遷包裝以及倉儲托
- 思科CISCO無線AP 啟動加載不了ios
- 【云爍俱樂部分享會】第十二期 某游戲開發(fā)公司內(nèi)部網(wǎng)
- 【云爍俱樂部分享會】第十一期 某政府網(wǎng)絡(luò)安全架構(gòu)方
- 【云爍俱樂部分享會】第九期 中小企業(yè)網(wǎng)絡(luò)搭建思路分
- 【云爍俱樂部分享會】第八期 某倉庫無線覆蓋項目分享
- 【云爍俱樂部分享會】第七期 工程師網(wǎng)絡(luò)設(shè)備實操理論
- 【云爍俱樂部分享會】第六期 工程師百度無線覆蓋項目
- 【云爍俱樂部分享會】第五期 工程師項目分享會
- 【云爍俱樂部分享會】第四期 工程師項目分享會
熱門文章
- 北京機(jī)房搬遷改造公司,系統(tǒng)集成有哪些公司?-2019-11-04
- 如何打造一個安全的網(wǎng)絡(luò)環(huán)境?政府要做到這四點(diǎn)-2019-11-04
- 北京辦公室網(wǎng)絡(luò)布線,綜合布線施工價格-2019-11-04
- 深信服產(chǎn)品專業(yè)上網(wǎng)行為管理,安全設(shè)備有保障-2019-11-04
- 兩年內(nèi)網(wǎng)絡(luò)安全市場規(guī)模將達(dá)千億級別?來看看詳細(xì)分析-2019-11-04
- 北京炫億時代專業(yè)機(jī)房設(shè)備除塵,機(jī)房網(wǎng)絡(luò)改造-2019-11-04
- 企業(yè)如何保障移動辦公的安全性?移動辦公存在的七大安-2019-11-01
- 北京深信服AC-1000-A400產(chǎn)品租賃購買,專業(yè)IT上網(wǎng)行為管理-2019-11-01
- 互聯(lián)網(wǎng)企業(yè)軟件開發(fā)如何才能沒有漏洞?專業(yè)工程師給出-2019-11-01
- 如何避免APP的“越權(quán)”行為?要靠制定相關(guān)法律法規(guī)-2019-11-01