Using the NIM allocate operation
Use the allocate operation to make resources available to NIM clients for subsequent operations.
The command line syntax for the allocate operation
is as follows:
nim -o allocate -a ResourceType=ResourceName ... TargetName|TargetNames
The target of an allocate operation may be a NIM client or group of NIM clients.
The following attribute can be specified for the allocate operation:
Item | Description |
---|---|
-a ResourceType=ResourceName (required) | Specifies the resource to allocate to the client, for example, lpp_source=42_images. |
When a resource is allocated to a client, an entry is added to the /etc/exports file on the resource server to NFS export the resource to the client. The allocation count for the resource is also incremented. When the allocation count is greater than 0, the resource cannot be modified. During NIM operations, a client mounts and uses the resources that have been allocated to it.