Tuesday, March 31, 2015

How to perform the mksysb restore from nim?

How to perform the mksysb restore from nim?

Pre-check:

Ø Get the latest mksysb image of your client onto the NIM server.
Ø Ensure you have the location details of the root disk; disk onto which you have to restore mksysb. Select the correct root disk, donot select the data disk, this shall destroy the data on the data disk.
Ø Confirm the client is defined, if not define the client 


Installation Instructions:

1.Define your client in the NIM Master   -> #smitty nim_mkmac

2. Get the mksysb image of your client to the NIM Master

3. Creation of Resource using the Mksysb of your Client   --> #Smitty nim_mkres

4. Smitty nim_task_inst.-->   Install the Base Operating System on Standalone Clients

5. Select your client

6. Choose the Mksysb as Installation type

7. Choose the resource which is created by your mksysb image

8. Choose the Spot which is higher than your Client

9. Change "Initiate reboot and installation now?" to "no"

10. The following steps are optional if the hardware is similar . The steps are required if new hardware drivers will be needed. If you aren't sure, do the steps.

                 a. choose the 61TL01_lpp_source
                 b. set "ACCEPT new license agreements" to "yes"
                 c. set "ACCEPT new license agreements" in the "installp Flags" section to "yes"

11. Reboot your Client and Get into SMS mode, start your restoration

12. Press 1 to get into the SMS menu,

13.In the SMS menu the first screen , we have 3 options

14.Select the option 3, Utilities,

15.Select option “Remote Initial Program Load Setup” , 

16.Enter the IP parameters,

17.Specify the Client IP ( IP of the server on which the mksysb image will be restored ), Server IP ( IP of the NIM Server ), Check if the subnet mask is correct. Specify, gateway if needed. Perform a ping test

18. Come back to the menu, by pressing X,

19. Select the option Multiboot,

20. Select Boot Device, and select the Ethernet card

             Exit from SMS menu by pressing X, the server (a.k.a NIM client) would try to connect to the NIM server, once the packet count starts it means that the NIM client is connected and receiving the packets from the NIM master.

We get the boot screen now, Press 1

Accept the language as English, Press 1 now,

Select 0,

You may change the settings by selecting the right number,

Once selected it comes back to the main menu,

The installation would start now


This progress can also be monitored on the NIM Master,  lsnim –l <  clinet hostname>
Once done, the system should reboot automatically



Verification / Post-check:
Ø Make sure the server is accessible from the network (ssh and telnet should work)
Ø All the Volume groups should be varied On
Ø Confirm all the file systems are mounted
Ø Check all the logins are working fine
Ø Make sure all the required services are running
Ø Get the confirmation from the application team that everything working fine.



Backout:
There is no backout for ‘mksysb restore’; it is itself a backout. Perhaps the mksysb restore of the previous image could be a backout in this case.