m2000 server reinstallation guide 20090409 b 1.1.doc

Upload: habib-bale

Post on 03-Jun-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    1/14

    M2000 Server Reinstallation Guide INTERNAL

    Product Name Confidential Level

    iManager M2000-II INTERNAL

    Product Version Total 11 pagesV200R006/R00

    M2000 Server Reinstallation Guide

    Prepared b !"ste# engineering gro$p !ate 200-0-20

    Revie"ed b L$ %i 001&6'2& !ate 200-(-21

    Revie"ed b !ate """"-##-dd

    Approved b L$ %i !ate 200-(-2&

    #ua"ei Tec$nolo%ies &o'( Ltd'

    All ri%$ts reserved

    20)*+,+2) #ua"ei &on-idential Pa%e ) o- )*

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    2/14

    M2000 Server Reinstallation Guide INTERNAL

    .pdate #istor

    !ate Version !escription Aut$or

    200-0-20 V0)( Initial dra-t /u ende

    200-0(-2& V1)0 .pdated Lu 1i

    200+*+)0 V)') update auto install !V! in-ormation Lu 1i 00)*3,24

    20)*+,+2) #ua"ei &on-idential Pa%e 2 o- )*

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    3/14

    M2000 Server Reinstallation Guide INTERNAL

    &ontents

    )') Application Scenarios'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*

    )'2 Restrictions''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*

    )'5 Preparations'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*

    )'* 6peration Principles''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''4

    )'4 Reinstallin% t$e Sin%le+Server Sstem'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''4

    )'4') Installin% t$e 6peratin% Sstem and Patc$es on t$e Server'''''''''''''''''''''''''''''''4

    )'4'2 Installin% and &on-i%urin% t$e VolumeMana%er''''''''''''''''''''''''''''''''''''''''''''''''3

    )'4'5 &on-i%urin% t$e !is7 Arra'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''',

    )'4'* Installin% and &on-i%urin% t$e Sbase'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''8

    )'4'4 Installin% t$e M2000 Server So-t"are''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

    )'3 Reinstallin% t$e Local #A Sstem''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

    )'3') Installin% t$e 6peratin% Sstem and Patc$es on t$e Active and Standb Nodes

    )'3'2 Installin% t$e Sun &luster on t$e Active and Standb Nodes''''''''''''''''''''''''''')0

    )'3'5 &on-i%urin% t$e Sun &luster on t$e Active and Standb Nodes''''''''''''''''''''''))

    )'3'* Installin% and &on-i%urin% t$e VolumeMana%er -or t$e Active and Standb

    Nodes ))

    )'3'4 &on-i%urin% t$e !is7 Arra'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''')2

    )'3'3 Installin% and &on-i%urin% t$e Sbase on t$e Active Node''''''''''''''''''''''''''''')5

    )'3', Installin% t$e Sbase on t$e Standb Node'''''''''''''''''''''''''''''''''''''''''''''''''''''')5

    )'3'8 Installin% t$e M2000 Server So-t"are'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''')*

    20)*+,+2) #ua"ei &on-idential Pa%e 5 o- )*

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    4/14

    M2000 Server Reinstallation Guide INTERNAL

    1)1 Appli*ation !*enarios

    9or certain reasons( t$e operatin% sstem and database so-t"are need to be reinstalled -or t$e on+

    site M2000 server' Nevert$eless( t$e reinstallation procedure is di--erent -rom t$at o- t$e initialinstallation' T$us( t$e reinstallation cannot be per-ormed accordin% to t$e M2000 Initialization

    Installation Guide' T$is %uide is applicable to t$e scenario "$ere t$e dis7 arra is in t$e normal

    state and t$e sin%le+server sstem or t$e local #A sstem needs to be reinstalled'

    1)2 Restri*tions

    T$is %uide is applicable to t$e scenarios "$ere ,5 G: or )*3 G: local $ard dis7s and arra $ard

    dis7s are used' T$ere are no special re;uirements -or t$e server tpe' T$e 5500( 3)50( or 3)*0 dis7

    arra can be used'

    T$e siInstall>!V!2?5>9or Solaris>6S>sun*v>V2')+-or 6SS

    04))*28* Auto>Install>!V!5?5>9or Solaris>APP>V2')+-or 6SS

    Note

    .or !$n&$ server platfor# it so$ld $se 011&22 011&2&

    .or !$n&v server platfor# it so$ld $se 011&2+ 011&2&

    !$n&$ platfor# !$n Netra 20/2&0 !$n .ire V0/V(0 !$n .ire &00/E&(00

    !$n&v platfor# !$n !E T220 !E M&000/M000

    Tere are onl" t3o 4V4s for old version 5$i* installation 4V4 3ito$t !$n&v 4V4 it still *an $se

    for !$n&$ servers)

    G.I terminal so-t"are@ ina/e or /mana%er

    &orrespondin% Plat-ormTools version

    20)*+,+2) #ua"ei &on-idential Pa%e * o- )*

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    5/14

    M2000 Server Reinstallation Guide INTERNAL

    3. Documentation and manual

    M2000 Software Initialization Installation Guide and M2000 Commissioning Guide o-

    relevant versions

    4. Get server information, backup 3PPs license

    IP address( user name( and pass"ord o- t$e server S&?RS&

    Record settin%s in server( includin% IP address( $ostname and Time one'

    :ac7 up t$e license o- t$e Sbase database

    &op t$e -iles under t$e ?opt?sbase?S1SAM+2>0?licenses director to ot$er computers'

    9or t$e servers BV80( E*00( and #A serversC e;uipped "it$ a dis7 arra( t$e license o- t$e

    ori%inal Volume Mana%er so-t"are needs to be saved' Run t$e -ollo"in% command be-ore t$e

    reinstallation@

    !v"licrep

    Record and save all t$e output in-ormation -or -uture use'Run t$e previous command

    respectivel on t$e active and standb nodes in t$e #A sstem'

    1)& 7peration ,rin*iple

    EDecution en%ineers must read t$is %uide care-ull' !urin% t$e eDecution procedure( t$e steps

    provided in t$is %uide s$ould be -ollo"ed eDactl and cannot be adusted' All t$e Solaris

    commands in t$is %uide can be copied and run directl' T$e eDecution procedures o- all t$e

    commands must be recorded as lo%s' Generall( t$e Telnet tools support t$is -unction' 9or

    eDample,c$oose #ile $ %o& Session-or t$e Secure&RT'

    I- ou $ave an problems durin% t$e eDecution procedure( contact M2000 tec$nical support

    en%ineers'

    1) Reinstalling te !ingle-!erver !"ste#

    Note@

    T$is c$apter is applicable to t$e reinstallation -or onl t$e sin%le+server sstem'

    )'4') Installin% t$e 6peratin% Sstem and Patc$es on t$e Server

    )' Po"er o-- t$e dis7 arra and disconnect all t$e cables o- t$e net"or7 card on t$e server'

    Po"er on t$e dis7 arra and connect t$e cables a-ter t$e installation is completed'

    2' Insert t$e correspondin% 6S ;uic7 installation dis7 BAuto>Install>!V!)?5 or

    Auto>Install>!V!)?5C into t$e !V!+R6M drive o- t$e server'

    5' &onnect a P& "it$ t$e server t$rou%$ t$e serial port cables or t$e IP address o- t$e S&'

    *' $en t$e sstem s"itc$es to t$e 6F state( run t$e -ollo"in% command@

    o7 boot cdrom ' install

    $en t$e sstem displas Install as t$e SE&6N! node o- Sun &luster !ual sstemH de-ault@nJ"(

    20)*+,+2) #ua"ei &on-idential Pa%e 4 o- )*

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    6/14

    M2000 Server Reinstallation Guide INTERNAL

    enter n'

    T$e sstem installation is completed automaticall about 54 minutes later' A-ter t$e server starts(

    t$e sstem prompts ou to select t$e 7eboard tpe' Select t$e de-ault (S)*n&lis+and press #2'

    T$en( tpe t$e pass"ord o- user rootto lo% in to t$e server' T$e server is mirrored a-ter t$e server

    starts' 1ou can use t$e metastatcommand -or c$ec7'

    4' Insert t$e APP ;uic7 installation dis7 BAuto>Install>!V!5?5C into t$e !V!+R6M drive o-

    t$e server'

    3' Initiali

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    7/14

    M2000 Server Reinstallation Guide INTERNAL

    T$e server "it$out a dis7 arra( suc$ as t$e Netra2*0 server( need not be installed "it$ t$e

    VolumeMana%er.

    )' Install t$e VolumeMana%er'

    !cd cdromcdrom-veritas

    ! .install.s+

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    T$is process ta7es about )4 minutes'

    2' Install t$e V/VM patc$'

    ! .installpatc+.s+

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    T$is process ta7es about -ive minutes' T$e server automaticall restarts once'

    5' &on-i%ure t$e V/VM'

    ! .confi&.s+

    $en t$e sstem displas Enter your license key:( enter t$e license o- t$e V/VM

    and t$e license bac7ed up in t$e preparations'

    )'4'5 &on-i%urin% t$e !is7 Arra

    )' Install t$e $ost mana%ement so-t"are o- t$e dis7 arra'

    9or t$e 5500 dis7 arra@

    !cd cdromcdrom-33--arra5Install t$e arra mana%ement so-t"are@

    ! .install33--arra5soft.s+

    9or t$e 3)*0 dis7 arra@

    cd cdromcdrom- 614-arra5

    !.install614-arra5+ostsw.s+

    9or t$e 3)50 dis7 arra( t$e $ost mana%ement so-t"are needs to be installed t$rou%$ t$e dis7

    delivered "it$ t$e arra' T$is so-t"are mi%$t not be installed currentl'

    2' .se t$e Plat-ormTools to create volumes'

    .pload t$e Plat-ormTools to t$e server( and t$en decompress t$e Plat-ormTools'Run t$e -ollo"in% commands to set t$e aut$ori

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    8/14

    M2000 Server Reinstallation Guide INTERNAL

    4Create volumes

    Set Sy8ase parameters

    'Create an )7C data8ase

    99eturn,5it

    Note@

    T$e steps )++&ustomiCorresponding server type>Set S5base parameters

    &$oose :nstallation>Sin&le s5stem>Corresponding server type>Create an AC database

    )++&ustomi

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    9/14

    M2000 Server Reinstallation Guide INTERNAL

    )'4'4 Installin% t$e M2000 Server So-t"are

    Re-er to Installin% t$e M2000 Server So-t"are in t$eM2000 Commissioning Guide (Sun, S10)'

    1)6 Reinstalling te Lo*al 8A !"ste#

    Note@

    T$is c$apter is applicable to t$e reinstallation o- onl t$e #A sstem'

    )'3') Installin% t$e 6peratin% Sstem and Patc$es on t$e Active and Standb

    Nodes

    Note@

    Per-orm t$e operations described in t$is c$apter on t$e active and standb nodes respectivel'

    )' Po"er o-- t$e dis7 arra and disconnect all t$e cables o- t$e net"or7 card on t$e server'

    Po"er on t$e dis7 arra and connect t$e cables a-ter t$e installation'

    2' Insert t$e correspondin% 6S ;uic7 installation dis7 BAuto>Install>!V!)?5 or

    Auto>Install>!V!)?5C into t$e !V!+R6M drive o- t$e server'

    5' &onnect a P& "it$ t$e server t$rou%$ t$e serial port cables or t$e IP address o- t$e S&'

    *' $en t$e sstem s"itc$es to t$e 6F state( run t$e -ollo"in% command@

    o7 boot cdrom ' install

    $en t$e sstem displas Install as the SECOND node of Sun Cluster Dual

    syste? [default:n]"and t$e standb node o- t$e Sun &luster #A is installed( enter 1 to

    continue' 6t$er"ise( enter n'T$e sstem installation is completed automaticall about 54 minutes

    later' A-ter t$e server starts( t$e sstem prompts ou to select t$e 7eboard tpe' Select t$e de-ault

    (S)*n&lis+and press #2' T$en( enter t$e pass"ord o- user rootto lo% in to t$e server' T$e server

    is mirrored a-ter t$e server starts' 1ou can use t$e metastatcommand -or c$ec7'

    Note@ 9or t$e #A sstem suc$ as t$e Netra 2*0( t$e etcvfstab-ile needs to be edited on t$e

    active node( and t$e line containin% t$e e"port+omeis commented o-- -or t$e reverse mountin%'

    T$is operation is not per-ormed -or ot$er tpes o- servers'

    !7*8Bvt1-- e"port 7*8

    !vi etcvfstab

    Add K in t$e -ront o- ?dev?md?ds7?d40 ?dev?md?rds7?d40 ?eDport?$ome u-s 2 es to

    comment out t$is line'

    !cd

    !umount e"port+ome

    Insert t$e APP ;uic7 installation dis7 BAuto>Install>!V!5?5C into t$e !V!+R6M drive o- t$e

    server'4' Initiali

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    10/14

    M2000 Server Reinstallation Guide INTERNAL

    !cd cdromcdrom-baseconfi&

    !.confi&basesettin&.s+

    Confgure deault system parameters:

    1. Single server system2. HA Node1

    3. HA Node2

    4. Netra 24 administration !onsole

    . HA Node1 #$at!%man&

    '. HA Node2 #$at!%man&

    (. )t%er systems #Not modiying t%e *+ address&

    ,. -uit

    +lease sele!t a option: 2 or 3 *nter 2 for t+e active node and enter 3 for t+e

    standb5 node.

    Are you sure /0NY

    T$is process ta7es about -ive minutes' T$e server automaticall restarts once'

    Modi- t$e basic con-i%uration'

    &$an%e t$e IP address recorded in t$e etc+osts-ile to t$e actual IP address' A-ter t$e etc+osts

    -ile is con-i%ured( enterw/0to save t$e -ile and eDit'

    !7*8Bvt1--

    !e"port 7*8

    !vi etc+ost

    Set t$e de-ault %ate"a( modi- t$e etcdefaultrouter -ile( and add t$e IP address o- t$e de-ault

    %ate"a to t$e -ile' T$en( enter w/0to save t$e -ile and eDit'

    !vi etcdefaultrouter

    Set t$e subnet mas7( open t$e etcnetmasks-ile( and add t$e IP address o- t$e subnet mas7 to t$e

    -ile' T$en( enter w/0to save t$e -ile and eDit'

    !vi etcnetmasks

    A-ter t$e con-i%uration is completed( restart t$e operatin% sstem to ma7e t$e con-i%uration ta7e

    e--ect'

    )'3'2 Installin% t$e Sun &luster on t$e Active and Standb Nodes

    Note@

    Per-orm t$e operations described in t$is c$apter on t$e active and standb nodes respectivel'

    )' Install t$e Sun &luster'

    !cd cdromcdrom-suncluster

    K.installsuncluster.s+

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    T$is process ta7es about -ive minutes'

    2' Install t$e Sbase A%ent pac7a%e'

    !.installs5baseS(a&ent.s+

    20)*+,+2) #ua"ei &on-idential Pa%e )0 o- )*

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    11/14

    M2000 Server Reinstallation Guide INTERNAL

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    5' Install t$e patc$ pac7a%e o- t$e Sun &luster'

    K.installsunclusterpatc+.s+

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    T$is process ta7es about -our minutes' T$e server automaticall restarts'

    )'3'5 &on-i%urin% t$e Sun &luster on t$e Active and Standb Nodes

    )' &on-i%ure t$e Sun &luster on t$e active node -irst'

    !.confi&suncluster.s+

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    T$e active node automaticall restarts'

    2' &on-i%ure t$e Sun &luster on t$e standb node a-ter t$e active node starts'

    !.confi&suncluster.s+

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    T$e standb node automaticall restarts'

    5' &on-i%ure t$e ;urom device onl on t$e active node'

    !cd cdromcdrom-suncluster

    ! .confi&/uromdevice.s+

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    )'3'* Installin% and &on-i%urin% t$e VolumeMana%er -or t$e Active and Standb

    Nodes

    Note@

    Per-orm t$e operations in t$is c$apter on t$e active and standb nodes respectivel'

    )' Install t$e V/VM'

    !cd cdromcdrom-veritas

    ! .install.s+

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    T$is process ta7es about -i-teen minutes'

    2' Install t$e V/VM patc$es@

    ! .installpatc+.s+

    $en t$e sstem displas Are you sure ?[Y/N]( enter '

    T$is process ta7es about -ive minutes' T$e server automaticall restarts once'

    5' &on-i%ure t$e V/VM@

    ! .confi&.s+$en t$e sstem displas Enter your license key:( enter t$e license o- t$e V/VM

    20)*+,+2) #ua"ei &on-idential Pa%e )) o- )*

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    12/14

    M2000 Server Reinstallation Guide INTERNAL

    and t$e license bac7ed up in t$e preparations'

    )'3'4 &on-i%urin% t$e !is7 Arra

    )' Install t$e $ost mana%ement so-t"are o- t$e dis7 arra on bot$ t$e active and standb nodes'

    9or t$e 5500 dis7 arra@

    !cd cdromcdrom-33--arra5

    Install t$e arra mana%ement so-t"are@

    ! .install33--arra5soft.s+

    9or t$e 3)*0 dis7 arra@

    !cd cdromcdrom- 614-arra5

    !.install614-arra5+ostsw.s+

    9or t$e 3)50 dis7 arra( t$e $ost mana%ement so-t"are needs to be installed t$rou%$ t$e dis7

    delivered "it$ t$e arra' T$is so-t"are mi%$t not be installed currentl'

    2' .se t$e Plat-ormTools to create volumes onl on t$e active node'

    .pload t$e Plat-ormTools to t$e server( and t$en decompress t$e plat-orm tools'

    Run t$e -ollo"in% commands to set t$e aut$ori

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    13/14

    M2000 Server Reinstallation Guide INTERNAL

    1ou need to per-orm t$is operation onl on t$e active node'

    )' Install t$e Sbase'

    Kcd cdromcdrom-s5base

    K .installs5base.s+ opts5base

    2' Install t$e license o- t$e Sbase'

    .pload t$e S5base %icense-ile bac7ed up in t$e preparations to t$e server( cop it to t$e

    opts5baseSS;)2-licensesdirector( and c$an%e t$e o"ner'

    !c+own dbuser Dual s5stem > ode1 > Corresponding server type > Set S5base

    parameters

    &$oose :nstallation> Dual s5stem> ode1> Corresponding server type> Create an AC

    database

    1Customie t%e Solaris

    25n!apsulate lo!al dis6s

    37irror lo!al dis6s

    4Create volumes

    Set Sy8ase parameters

    'Create an )7C data8ase

    99eturn

    ,5it

    )'3', Installin% t$e Sbase on t$e Standb Node

    )' Run t$e -ollo"in% commands to stop t$e Sbase service on t$e active node@

    !su ) dbuser

    )bas+)3.--E is/l )SS? )(sa )Pemsems

    1$ s+utdown S??;CF(P

    2$ &o

    1$ s+utdown

    20)*+,+2) #ua"ei &on-idential Pa%e )5 o- )*

  • 8/12/2019 M2000 Server Reinstallation Guide 20090409 B 1.1.Doc

    14/14

    M2000 Server Reinstallation Guide INTERNAL

    2$ &o

    2' Lo% in to t$e active node as user root( and run t$e -ollo"in% commands to tar t$e -iles

    installed "it$ t$e Sbase on t$e active node@

    ! cd opt

    ! tar cvf s5base.tar s5base

    5' Per-orm t$e -ollo"in% operations to upload t$e opts5base.tar-ile pac7a%e o- t$e active

    node to t$e optdirector o- t$e standb node@

    1) Run t$e -ollo"in% command on t$e active node to transport t$e -ile to t$e standb node

    t$rou%$ t$e 9TP@

    ! ftp IP address of the active adaptor for the public network on the

    standby node

    2) Enter t$e pass"ord o- user rooton t$e standb node to lo% in to t$e standb node'

    3) Run t$e -ollo"in% command to access t$e optdirector o- t$e standb node'

    ftp$ cd opt

    4) Set t$e binar mode -or transportin% a -ile'

    ftp$ bin

    5) Transport t$e opts5base.tar-ile pac7a%e'

    ftp$ put opts5base.tar

    6) EDit -rom 9TP'

    ftp$ /uit

    *' Lo% in to t$e standb node as user root( and run t$e -ollo"in% commands to install t$e

    Sbase on t$e standb node@

    ! cd opt

    ! tar "vf s5base.tar

    ! c+own )8 dbuser