熱門服務(wù)中心 English

返回頂部

Cisco Prime Infrastructure 升級實(shí)戰(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, 文件會(huì)很大(我備份花了將近10個(gè)小時(shí)****)

  1738046399 Jan 30 2015 13:41:53 PI-Upgrade-2.1.0.0.87.tar.gz ----> ****新的2.1升級文件,等下會(huì)用到***

  PI01/admin#

  2, 將backup的文件copy到一個(gè)TFTP / TFP/ NFS server備用,in case升級失敗:

  PI01/admin# copy disk:/defaultRepo/PI01-150122-0137.tar.gpg tftp://10.***/ --->確保server有足夠空間。 tftp會(huì)比較慢,F(xiàn)TP比較快

Cisco Prime Infrastructure 升級實(shí)戰(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 ------> ****確認(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ù)注意事項(xiàng):(只能從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)驗(yàn),所有的license都可以restore, 不需要重新申請license.

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



400-0806-056
主站蜘蛛池模板: 伊人色综合久久天天人手人婷| 青青草原综合久久大伊人| 久久午夜综合久久| 亚洲第一综合色| 激情综合亚洲色婷婷五月| 久久综合久久久| 2020国产精品亚洲综合网| 久久国产综合精品五月天| 伊色综合久久之综合久久| 色狠狠成人综合色| 色拍自拍亚洲综合图区| 香蕉99久久国产综合精品宅男自| 亚洲第一综合色| 综合五月激情五月开心婷婷| 亚洲国产综合91精品麻豆| 一本久久a久久精品综合夜夜 | 人妻 日韩 欧美 综合 制服| 香蕉蕉亚亚洲aav综合| 青青草原综合久久大伊人| 91欧美一区二区三区综合在线| 色综合天天综合网国产国产人| 亚洲人成网站999久久久综合| 色综合天天综合婷婷伊人| 精品综合久久久久久97超人| 亚洲综合无码AV一区二区| 欧美亚洲综合另类成人| 亚洲综合伊人久久综合| 狠狠综合久久综合88亚洲| 99久久伊人精品综合观看| 色婷婷综合久久久中文字幕| 亚洲国产精品成人AV无码久久综合影院| 国产综合精品蜜芽| 久久久久亚洲AV综合波多野结衣| 亚洲国产成人久久综合一区77| 亚洲国产日韩成人综合天堂| 99久久国产综合精品五月天喷水| 伊人久久大香线焦综合四虎| heyzo专区无码综合| 国产精品亚洲综合一区| 国产综合色香蕉精品五月婷| 综合无码一区二区三区|