Dopra Linux OS Upgrade Guide

download Dopra Linux OS Upgrade Guide

of 34

Transcript of Dopra Linux OS Upgrade Guide

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    1/34

    Dopra Linux

    OS Upgrade Guide

    Issue 01

    Date 2015-06-09

    HUAW I ! "H#OLOGI S "O$% L!D$

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    2/34

    "op&rig't ( Hua)ei !e*'no+ogies "o$% Ltd$ 2015$ A++ rig'ts reser,ed$No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd.

    !rade ar.s and /er issions

    and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.

    All other trademarks and trade names mentioned in this document are the property of their respectiveholders.

    #oti*eThe purchased products, services and features are stipulated by the contract made between Huawei andthe customer. All or part of the products, services and features described in this document may not bewithin the purchase scope or the usage scope. nless otherwise specified in the contract, all statements,information, and recommendations in this document are provided !A" #"! without warranties, guaranteesor representations of any kind, either e$press or implied.

    The information in this document is sub%ect to change without notice. &very effort has been made in thepreparation of this document to ensure accuracy of the contents, but all statements, information, andrecommendations in this document do not constitute a warranty of any kind, e$press or implied.

    Huawei Technologies Co., Ltd.

    Address' Huawei #ndustrial (ase

    (antian, Longgang

    "hen)hen *+ +-

    /eople0s 1epublic of China

    2ebsite' http'33www.huawei.com

    &mail' support4huawei.com

    Issue 01 (2015-06-09) Huawei Proprietary and Confidential Copyright Huawei !e"hnologies Co#$

    %td#

    i

    http://www.huawei.com/mailto:[email protected]://www.huawei.com/mailto:[email protected]

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    3/34

    &opra %inu' *pgrade +uide , out !his &o"u.ent

    About This Document

    Organization!his do"u.ent des"ri es how to upgrade &opra %inu' to /200 00 C PC # ead thisdo"u.ent efore the upgrade# !his do"u.ent is organi3ed as follows4

    Chapter Description

    1 efore ou tart &es"ri es the appli"ation s"ope of this do"u.ent#

    2Preparing for the*pgrade

    &es"ri es preparations for the upgrade#

    ( ptional) a"7ing *per8i"e &ata

    &es"ri es how to a"7 up ser8i"e data#

    Perfor.ing the *pgrade &es"ri es how to perfor. the upgrade#

    5/erifying the *pgrade &es"ri es how to 8erify the upgrade#

    6( ptional) &es"ri es how to restore ser8i"e data when an e'"eptiono""urs#

    : olling a"7 to theour"e /ersion

    &es"ri es how to perfor. the 8ersion roll a"7 if the upgradefails#

    ;

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    4/34

    &opra %inu' *pgrade +uide Contents

    Contents

    About This Document....................................................................... ii

    1 Before You Start...........................................................................11#1 ,ppli"ation "enario###################################################################################################

    1#2 /ersion e>uire.ents####################################################################################################1# ?sti.ated *pgrade !i.e##################################################################################################

    1# I.pa"t on the yste. &uring the *pgrade###################################################################################

    1#5 *pgrade Pre"autions###################################################################################################

    1#6 *pgrade ,rrange.ent####################################################################################################

    2 Preparing for the Upgra e.............................................................!2#1 taining *ser Passwords###############################################################################################

    2#2 =uerying the /ersion#################################################################################################

    2# taining *pgrade oftware and &o"u.ents################################################################################

    2# Pre-upgrade Che"7###################################################################################################2# #1 Che"7 root %ogin ,uthority###########################################################################################

    2# #2 Che"7ing # a7

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    5/34

    &opra %inu' *pgrade +uide Contents

    :# /erifying /ersion oll a"7################################################################################################

    :# #1 =uerying the /ersion###############################################################################################

    0 A s........................................................................................... 22

    ;#1 How &o I *se

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    6/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartupuired#

    Table 1.1 /ersion re>uire.ents

    3ar 4are T+pe Source *ersion Target *ersion

    ,*a /100 001C0 /200 00 C PC

    /100 001C0 #1

    /100 001C0 PC0 0

    /200 00 C02 PC0;0

    /200 00 C02 PC090

    /200 00 C0;

    /200 00 C0; PC0;0

    /200 00 C0; PC100

    /200 00 C0; PC120

    Issue 01 (2015-06-09) Huawei Proprietary and Confidential Copyright Huawei !e"hnologies Co#$

    %td#

    1

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    7/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    8/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartupuen"e when oth of the. are eingupgraded$ the auto.ati" ser8i"e startup fun"tion will e lost# In this "ase$ you need torestore the fun"tion y referring to the instru"tions pro8ided in se"tion 6#1E( ptional)How &o I estore the ,uto.ati" ,* er8i"e tartup

    efore the upgrade$ run the df -h "o..and to "he"7 the usage of the dis7s on whi"hea"h dire"tory is .ounted# If the usage of any dis7 is greater than 95F$ "onta"t Huaweite"hni"al support to assess ris7s#

    1., Upgra e ArrangementIf there is a large nu. er of ,*s on the li8e networ7$ it is re"o..ended that .ultiple

    personnel perfor. the upgrade or the upgrade e perfor.ed y at"h#

    Issue 01 (2015-06-09) Huawei Proprietary and Confidential Copyright Huawei !e"hnologies Co#$

    %td#

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    9/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartupuery the "urrent 8ersion# nly the sour"e 8ersions listed

    in 1#2#1#1#1 tep 11!a le 1#1 "an e upgraded#

    # cat /etc/DL-Release

    Infor.ation si.ilar to the following is displayed$ where VXXXRXXXCXX is the 8ersion# !he infor.ation ne't to VXXXRXXXCXX is the suffi' I& of an #

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    10/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    11/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    12/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartupuired &opra %inu' upgrade pa"7age#

    Prere uisitesou ha8e o tained the re>uired software pa"7age#

    ou ha8e installed the penP+P digital signature 8erifi"ation tool#

    Proce ure

    !o upload the upgrade pa"7age$ perfor. the following steps4Step 1 If se"urity hardening has een perfor.ed$ log in to the ,* oard as user lgnusr and then

    swit"h to user root # therwise$ log in to the ,* oard as user root #

    Step 2 un the following "o..and to "reate the upgrade dire"tory4

    # mkdir -p /mbsc/osupgrade

    Step " *se

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    13/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    14/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    15/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup?data?e,ssau dire"tory on a PC or a laptop asuser root #

    If the ? C ser8i"es ha8e een installed$ perfor. the following operation4

    N *se

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    16/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    17/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    18/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartupuery the 8ersion$ perfor. the following steps4

    Step 1 %og in to the upgraded ser8er as user lgnusr #

    !he default password is osnor,al@123 #

    Step 2 un the following "o..and to >uery the 8ersion4

    # cat /etc/DL-Release

    hen the following infor.ation is displayed$ the 8ersion is "orre"t4

    SAUa board: V200R00%CXXSPCXXX.20XXXXXXXXXXXXXXXXXXXXSAUc board: V200R00%CXXSPCXXX.Jasper-OMU-VXXXRXXXCXX

    SAUa board: R$OS-V200R00%CXXSPCXXX.20XXXXXXXXXXXXXXXXXXXX

    Step " ,fter the syste. restarts for 10 .inutes$ "he"7 whether ,* ser8i"es are properly started ased on the instru"tions in se"tion ;# EHow &o I Che"7 ,* Pro"essesA E

    Step ! If ,* ser8i"es are not started$ restore the ser8i"es y following the instru"tions pro8ided inse"tion 6#1E( ptional) How &o I estore the ,uto.ati" ,* er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    19/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    20/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    21/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    22/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    23/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    24/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    25/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartupuery the 8ersion4

    # cat /etc/DL-Release

    Issue 01 (2015-06-09) Huawei Proprietary and Confidential Copyright Huawei !e"hnologies Co#$

    %td#

    20

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    26/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartupueried in se"tion 2#2E=uerying the /ersion $Ethe 8ersion roll a"7 is "orre"t#

    Step " ,fter the syste. restarts for 10 .inutes$ "he"7 whether ,* ser8i"es are properly started yfollowing the instru"tions pro8ided in se"tion ;# EHow &o I Che"7 ,* Pro"essesA E

    Step ! If ,* ser8i"es are not started$ restore the ser8i"es y following the instru"tions pro8ided inse"tion 6#1E( ptional) How &o I estore the ,uto.ati" ,* er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    27/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartupPrere uisitesou ha8e o tained the IP address of the target ,* oard#

    Co..uni"ation etween the PC and the target ,* oard is proper#

    ou ha8e o tained A)leB)lla. )" fro. http4@@support#huawei#"o. and ha8e de"o.pressed

    it to your PC#ou "an "li"7 &oft'are Center to na8igate to the software sear"h area and use the

    pa"7age na.e as a 7eyword to >ui"7ly lo"ate the tool pa"7age#

    ou ha8e o tained the user passwords for the ,* oard#

    Proce ure

    Step 1 &ou le-"li"7 f)le )lla.e e to start the tool#

    Step 2 Cli"7 in the upper left area of the A)leB)lla window#

    Step " In the lower left area of the displayed &)te $anager dialog o'$ "li"7 *e' &)te #

    Step ! n the eneral ta page$ set site para.eters a""ording to 1!a le 1#1 #

    Table 1.1 Para.eters in the ite Danager dialog o'

    Parameter

    Description

    Host ?nter the IP address of the target ,* oard#

    Port 22

    Port 22 is the default port used for

    er8er type

    Issue 01 (2015-06-09) Huawei Proprietary and Confidential Copyright Huawei !e"hnologies Co#$

    %td#

    22

    http://support.huawei.com/http://support.huawei.com/http://support.huawei.com/

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    28/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    29/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    30/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    31/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartupuery the status of the ,* oard .anage.ent pro"ess4

    # /etc/rc.d/saud status

    ,n ,* oard .anage.ent pro"ess .ay e in either of the following states4

    runn)ng 4 indi"ates that a pro"ess is running properly#

    unused 4 indi"ates that a pro"ess has stopped#

    ----6nd

    0.) >hat Do 6 Do >hen the OS Cannot BeStarte After 6t 6s Upgra e <

    Prere uisites!he has een upgraded su""essfully#

    !he reboot "o..and has een e'e"uted#

    S+mptom

    !he is not started after the reboot "o..and is e'e"uted#

    Proce ure

    estart the oard y pressing the Reset utton#

    0., 3o4 Do 6 C$ean the 9in& ?o e >arning ofthe 5@terna$ 5thernet A apter<

    !his se"tion des"ri es how to "lean the lin7 .ode warning of the e'ternal ?thernet adapter#

    Prere uisites

    ou ha8e o tained Nastar Product Documentation #

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    32/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    33/34

    &opra %inu' *pgrade +uide

    6 ( ptional) estoring the ,uto.ati" er8i"e tartup

  • 8/17/2019 Dopra Linux OS Upgrade Guide

    34/34

    &opra %inu' *pgrade +uide , *pgrade e"ord

    A Upgra e -ecorite na.e *pgrade date

    our"e 8ersion !arget 8ersion

    *pgrade personnel