NIM Resource Resetting

NIM resource de-allocation and resource resting operation done through “NIMESIS” daemon. After completion of installation, NIM client sends current state information to NIM master by using “NIMCLIENT” which calls NIM masters “NIMESIS”. NIMESIS takes care de-allocation all install resources from client object.
NIM resource de-allocation hierarchy:-
1. Removing files from tftp directory, client.info file, and boot image link removal and removing entry from /etc/bootptab.
2. Unexporting NFS resources from client, removing entries from /etc/exports and exporting remaining entries from /etc/exports.
3. Updating NIM database about NIM client object information which consists about: machine state (running or not running) , command result ( success or failure ) and client state ( ready for operation or not running )

STEP 1:- Details about LOCAL-RESTORE machine,

1
STEP 2:- Resetting LOCAL-RESTORE machine,

2
STEP 3:- Post reset you could able to see result in “Cstate_result” the operation turned to reset. You could see this from lsnim command,

3
STEP 4:- Now NIM resources can be de-allocated, smitty menu is smit nim_mac_res which will navigate,

4

STEP 5:- Smit nim_mac_res
Manage Network Install Resource Allocation
Deallocate Network Install Resources
Select enter after selecting “Deallocate Network Install Resources”,

5
STEP 6:- Once you enter select your desired machine name , in our scenario select “LOCAL-RESTORE” then enter to proceed,

6
STEP 7:- After selecting machine you have to allocate NIM resources for de-allocation operation,

7
STEP 8:- The said machine has, LOCAL-RESTORE-MKSYSB (mksysb), AIX61TL06SP01 (lpp_source) and AIX61TL06SP01_spot (spot). To select the resources use F7 option,

8
STEP 9:- After selecting resources press enter to complete the operation, which will show you the status about de-allocation,

9
STEP 10:- Post de-allocation we needs to remove the resources, by using smit nim_rmres,

10
STEP 11:- Select your appropriate mksysb image LOCAL-RESTORE-MKSYSB and press enter,

11
STEP 12:- After entering below given screen will be displayed,

12
STEP 13:- After you enter which will seek your conformation to proceed,

13
STEP 14:- Fine the result for resource removal,

14
STEP 15:- After mksysb resource removal , remove NIM client machine as well , through nim_rmmac ,

15
STEP 16:- Navigate and select your machine which you desired to remove. After selecting LOCAL-RESTORE press enter to proceed,

16
STEP 17:- Once machine name selected, there is an option to remove NIM machine through forcefully,

17
STEP 18:- After you enter which will seek your conformation to proceed,

18
STEP 19:- Once you enter machine entry will be removed from /etc/niminfo file,

19
STEP 20:- Now you can issue lsnim and machine name to ensure wheatear NIM resetting operation is succeed or not , you could there is no details about machine name which you removed,

20
STEP 21:- Without fail remove LOCAL-RESTORE entry from /etc/hosts file.

Leave a Comment