Reset a NIM client state and deallocate all resources

Sometimes if things get stuck it might be necessary on the NIM master server to reset the NIM client status and deallocate all resources from it. Here is how:

# nim -Fo reset client_name

-F Force
-o Operation

# nim -o deallocate -a subclass=all  client_name

-a attribute

# lsnim -l client_name
power2:
   class          = machines
   type           = standalone
   connect        = shell
   platform       = chrp
   netboot_kernel = 64
   if1            = EN_0 power2 0
   net_settings1  = auto auto
   cable_type1    = tp
   Cstate         = ready for a NIM operation
   prev_state     = BOS installation has been enabled
   Mstate         = not running
   Cstate_result  = reset

That’s it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: