Using the nim_script resource
The nim_script resource is an internally-managed NIM resource used to indicate that a script should be run by NIM as part of a NIM operation.
The nim_script resource is automatically allocated to support some NIM operations, and it is automatically deallocated when the operations complete.
Depending on the operation, NIM will use the following rules to determine which NIM server to place the nim_script resource on:
- For a bos_inst operation, the nim_script resource will be placed on the SPOT server.
- For cust operation with an lpp_source, the nim_script resource will be placed on the lpp_source server.
- For a cust operation without an lpp_source, the nim_script resource will be placed on the script server.
- Otherwise, the nim_script resource will be placed on the NIM master.