熱門服務(wù)中心 English

返回頂部

Cisco Prime Infrastructure 升級實戰(zhàn) 2.0 --2.1 --2.2

  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比較快

Cisco Prime Infrastructure 升級實戰(zhàn) 2.0 --2.1 --2.2

  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 ------> ****確認文件大小和你下載一樣****

  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的認證,只需要重新刷新下,不需要重新配置, Domain ID就可以登錄了。



400-0806-056
主站蜘蛛池模板: 国产成人精品综合在线观看| 日本道色综合久久影院| 天天综合色天天综合色hd| 亚洲高清无码综合性爱视频| 人人狠狠综合久久亚洲高清| 色综合色天天久久婷婷基地| 色拍自拍亚洲综合图区| 亚洲精品综合一二三区在线| 精品久久综合1区2区3区激情| 久久乐国产综合亚洲精品| 欧美综合自拍亚洲综合网| 亚洲精品国产第一综合99久久| 国产美女亚洲精品久久久综合| 日日狠狠久久偷偷色综合96蜜桃| 狠狠久久综合| 精品国产综合成人亚洲区| 伊人色综合九久久天天蜜桃| 大香网伊人久久综合网2020| 久久综合狠狠综合久久| 中文字幕亚洲综合久久2| 精品久久人人做人人爽综合| 久久―日本道色综合久久| 五月六月综合欧美网站| 激情综合亚洲色婷婷五月APP| 色欲综合久久躁天天躁| 色综合视频一区二区三区| 久久综合亚洲欧美成人| 一日本道伊人久久综合影| 国产精品九九久久精品女同亚洲欧美日韩综合区| 亚洲综合网站色欲色欲| 精品无码综合一区| 伊人情人综合成人久久网小说| 亚洲综合无码精品一区二区三区| 国产综合久久久久| 亚洲综合精品香蕉久久网| 亚洲高清无码综合性爱视频| 99久久国产综合精品五月天喷水| 国产成人综合日韩精品无码不卡| 亚洲国产成人久久综合一区77| 国产精品 综合 第五页| 人人狠狠综合久久亚洲|