Mksysb Restoratio With Nim

download Mksysb Restoratio With Nim

of 37

Transcript of Mksysb Restoratio With Nim

  • 8/17/2019 Mksysb Restoratio With Nim

    1/37

    MKSYSB RESTORATION THROUGH NIM SERVER

    Network installation manager ( NIM ) is the commonly used installation methodology in AIX operating

    system . This is one of the best way of installation for any type of clients. If network aailable we can

    simply install the !perating "ystem and the NIM works in master slae methodology.

    #ere we go with prere$uisites and considering that you hae NIM master setup aailable with you. I mean

    we are going to look at the NIM restoration steps only

    %elow gien table will take you through NIM client resource allocation and de&allocation.

    'ssential re$uirements to restore the partition&

    . NIM *+I'NT MA*#IN'

    ,. M-""% Image

    /. "0!T

    1. +00

    2. 34MM I0

    *onditions To %e *hecked %efore 5estoration&

    #ence6 the NIM works on master slae methodology so that destination (whereer you are going to be

    restore the partition) should not be higher than NIM master serer een if client partition !" leel is e$ual

    to NIM master also would be fine. The below gien details will gie some lights on it

  • 8/17/2019 Mksysb Restoratio With Nim

    2/37

    ,. "0!T 7 +00 3etails

    "0!T 7 +00 is the most important key resources to restore or recoer any AIX partition6 if creating "0!T

    through take mksysb there is no need of +00 resource to restore8recoer partition. !therwise if we hae

    "0!T for the same !" leel of the machine which we are going to restore we must hae +00 to

    restore8recoer.

    "T'0 &

    NIM works based on network put one dummy I0 and host entry in to NIM master serice 8etc8hosts file. I

    would re$uest you that before do any changes in any of the configuration files taking backup is mandate6

    in case any issues we can simply roll back the change.

  • 8/17/2019 Mksysb Restoratio With Nim

    3/37

    "T'0,&

    Ne9t we hae to create the NIM client machine in to NIM master to understand the destination details.

    *reate through nim:mkmac command.

    "T'0 /

    'nter the machine name and press enter t continue6

    "T'0 1

    "elect the type of network6 which is primary network to install

    "T'0 2 3efine the machine details6 which includes machine type 6 -ernel ( used for network boot ) and

    cable type.

    In our case we choose 6

    Machine Type ; "tandalone

    -ernel to use for Network %oot ; M0

    *able Type ; T0

  • 8/17/2019 Mksysb Restoratio With Nim

    4/37

    "T'0

  • 8/17/2019 Mksysb Restoratio With Nim

    5/37

    "T'0 @ *5'ATIN NIM 5'"!45*'"

    . M-""%

    ,. "0!T

    /. +00 (if re$uired)

    1. Image.data (if re$uired)

    "T'0 B *reating mksysb resource for the client which you are going to restore.

    Note & Normally we used to mount NC" to take mksysb of any AIX partitions 6 if not you hae to moe or

    copy your mksysb file in to NIM master serer to create NIM mksysb resource.

    "T'0 *hoose mksysb option and press enter to continue.

  • 8/17/2019 Mksysb Restoratio With Nim

    6/37

    "T'0 , Cor defining the re&storable mksysb image needs to proide the mksysb name 7 location where

    the actual mksysb file located.

  • 8/17/2019 Mksysb Restoratio With Nim

    7/37

    "T'0 / Through the gien input Mksysb resource has been created successfully. 0ress '"*DB to

    come out

    "T'0 1 As I said 6 we are going to create "0!T through M-""% 6 in this case NIM master 7 client !"

    leel on the same leel.

    "T'0 2 *hose the "0!T ("hared 0roduct !bEect Tree) press enter key.

  • 8/17/2019 Mksysb Restoratio With Nim

    8/37

    "T'0

  • 8/17/2019 Mksysb Restoratio With Nim

    9/37

    "T'0 = This step normally take some time 6 it depends upon siFe of the mksysb.

    "T'0 ? Gith gien inputs "0!T has been created successfully. 0ress '"*DB

    "T'0 @ >erify the "0!T which is created newly by using lsnim command.

  • 8/17/2019 Mksysb Restoratio With Nim

    10/37

    "T'0 ,B Now all the NIM resource are ready we hae allocated resource to the client machine torestore6 the essential resources are

    . M-""%

    ,. "0!T

    /. +00 (if re$uired)

    "0'T , 5un the smitty fast path Hsmit nim:mac:res (or) Hsmitty nim

    "T'0 ,, "elect the Network Install 5esource

    "T'0 ,/ "elect your machine (client partition which we created on beging) then press enter 

  • 8/17/2019 Mksysb Restoratio With Nim

    11/37

    N!T' & !nce you enter the ne9t step will naigate for resource selection

    "T'0 ,1 "elect ('"*D=) the Mksysb and "pot then press enter key

    "T'0 ,2 The re$uired resources "0!T and Mksysb has been successfully allocated to NIM machine 6

    and press '"*DB key to come out

    "T'0 ,erify the client machine details through lsnim command

  • 8/17/2019 Mksysb Restoratio With Nim

    12/37

    "T'0 ,= 3efine the NIM operation

    "T'0 ,? "elect the machine name and press enter key to continue

    "T'0 ,@ 3efine the operation which is the methodology to install the client machine. "elect bos:inst

    option as gien below.

  • 8/17/2019 Mksysb Restoratio With Nim

    13/37

    "T'0 /B 3efine the NIM operations to restore the partition.

    "T'0 / After gien the necessary inputs6 press 'nter key to confirm the operation.

  • 8/17/2019 Mksysb Restoratio With Nim

    14/37

    "T'0 /, Now 6 NIM operation has been defined successfully 6 to come out press 'scDB key.

    "T'0 // !nce your NIM operation success there will be entry in 8etc8bootptab file 6 >erify the NIM

    operation status in 8etc8bootptab file.

    "T'0 /1 8etc8bootptab file contains the information about NIM client machine name 6 client I0 6 NIM

    master I0 and subnet mask . The file output looks as gien below.

    "T'0 /2 >erify the NIM machine6 now the *state is ready

  • 8/17/2019 Mksysb Restoratio With Nim

    15/37

    "T'0 /+AN is actiate for the client machine whereer we are going to

    restore 6 Now we are going to use irtual adapter to restore the partition *reate the >irtual 'thernet and

    define the >+AN in client profile.

    "T'0 /= +ogin the #M* and actiate the +0A56

    "T'0 /? Actiate the +0A5 in "M" mode to interrupt the boot list

  • 8/17/2019 Mksysb Restoratio With Nim

    16/37

    "T'0 /@ "elect the "etup 5emote I0+ option for setting the I0 address.

    "T'0 1B "elect the >irtual 'thernet Adapter 6 if you hae multiple adapters you hae to select the right

    adapter whereer the cable connected and actiated in to proper >+AN.

  • 8/17/2019 Mksysb Restoratio With Nim

    17/37

    "T'0 1 "elect I0>1 option for setting the I0 address.

  • 8/17/2019 Mksysb Restoratio With Nim

    18/37

    "T'0 1, "elect %!!T0 protocol for Network installation.

  • 8/17/2019 Mksysb Restoratio With Nim

    19/37

  • 8/17/2019 Mksysb Restoratio With Nim

    20/37

    "T'0 11 "et the *lient6 "erer6 3efault ateway I0 address.

  • 8/17/2019 Mksysb Restoratio With Nim

    21/37

    "T'0 12 >erify the 0ing Test between NIM "erer and NIM *lient.

  • 8/17/2019 Mksysb Restoratio With Nim

    22/37

    "T'0 1

  • 8/17/2019 Mksysb Restoratio With Nim

    23/37

    "T'0 1= 0ing test completed successfully.

  • 8/17/2019 Mksysb Restoratio With Nim

    24/37

    "T'0 1? 0ress '"* -ey return to main menu to select %oot option.

  • 8/17/2019 Mksysb Restoratio With Nim

    25/37

    "T'0 1@ "elect Install %oot 3eice !ption.

  • 8/17/2019 Mksysb Restoratio With Nim

    26/37

    "T'0 2B "elect Network %ooting !ption.

  • 8/17/2019 Mksysb Restoratio With Nim

    27/37

    "T'0 2 "elect %!!T0 0rotocol for NIM installation.

  • 8/17/2019 Mksysb Restoratio With Nim

    28/37

    "T'0 2, "elect +AN adapter 

  • 8/17/2019 Mksysb Restoratio With Nim

    29/37

    "T'0 2/ "elect Normal Mode %oot !ption.

  • 8/17/2019 Mksysb Restoratio With Nim

    30/37

  • 8/17/2019 Mksysb Restoratio With Nim

    31/37

    "T'0 22 Network 0acket will be start receiing from NIM serer.

  • 8/17/2019 Mksysb Restoratio With Nim

    32/37

    "T'0 2

  • 8/17/2019 Mksysb Restoratio With Nim

    33/37

    "T'0 2= 0ress and continue the Installation.

  • 8/17/2019 Mksysb Restoratio With Nim

    34/37

    "T'0 2? ou could see the installation progress

  • 8/17/2019 Mksysb Restoratio With Nim

    35/37

    "T'0 2@ Now the Installations completed enter 4sername and 0assword to login your "erer.

  • 8/17/2019 Mksysb Restoratio With Nim

    36/37

    "T'0

  • 8/17/2019 Mksysb Restoratio With Nim

    37/37

     

    s