返回頂部

Cisco Prime Infrastructure 升級實戰 2.0 --2.1 --2.2

  Step 1,

  檢查現有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升級失敗:

  PI01/admin# copy disk:/defaultRepo/PI01-150122-0137.tar.gpg tftp://10.***/ --->確保server有足夠空間。 tftp會比較慢,FTP比較快

Cisco Prime Infrastructure 升級實戰 2.0 --2.1 --2.2

  Step 3:

  檢查新的升級文件 是否已經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的數據:

  PI01/admin# backup filename repositorydefaultRepo application

  2,復制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, 恢復2.1的database到PI 2.2的版本:

  恢復注意事項:(只能從1.4和2.1的版本恢復)

  =================================

  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

  ====================================

  到此,所有的升級都已經完成,經過我的經驗,所有的license都可以restore, 不需要重新申請license.

  另外,AAA的認證,只需要重新刷新下,不需要重新配置, Domain ID就可以登錄了。



400-0806-056
主站蜘蛛池模板: 狠狠色成人综合首页| 亚洲国产日韩成人综合天堂| 伊人色综合久久天天人手人婷| 狠狠色丁香婷婷综合| 最新狠狠色狠狠色综合| 亚洲狠狠成人综合网| 91精品国产综合久久久久久| 久久99国产综合精品| 国产天天综合永久精品日| 久久精品桃花综合| 国产欧美视频综合二区| 亚洲精品综合久久| 亚洲av一综合av一区| 国产精品亚洲综合专区片高清久久久 | 国产成人综合精品一区| 国产天堂一区二区综合| 欧美成电影综合网站色www| 亚洲综合亚洲综合网成人| 色综合网天天综合色中文男男| 伊人伊成久久人综合网777| 色综合色综合色综合| 丁香五月婷婷综合激情在线| 欧美日韩国产色综合一二三四| 婷婷亚洲综合五月天小说| 亚洲VA欧美va国产va综合| 亚洲va欧美va天堂v国产综合| 综合欧美视频一区二区三区| 综合欧美亚洲日本| 色噜噜狠狠色综合网| 人人狠狠综合久久88成人| 国产成人无码综合亚洲日韩| 国产香蕉尹人综合在线| 久久影视综合亚洲| 中文字幕亚洲综合小综合在线| 久久久久青草线蕉综合超碰 | 欧美亚洲综合色在| 欧美综合视频在线| 狠狠色丁香婷婷综合精品视频| 亚洲综合五月天| 亚洲综合视频在线| 青青草原综合久久大伊人精品|