Defining a shared_root resource

Use the nim command to define a shared_root resource.

To define a shared_root resource, use the following command-line syntax:
nim -o define -t shared_root -a Attribute=Value ... SharedRootName
The following parameters are required for the shared_root resource:
Item Description
-a location=Value Specifies the full path name of the directory to use as a common / (root) directory among clients.
-a server=Value Specifies the name of the system where the shared_root resource is created.
-a spot=Value Specifies the name of the SPOT resource used to create the shared_root resource.
The following parameters are optional for the shared_root resource:
Item Description
-a comments=Value Describes the resource.
-a group=Value Specifies the name of a resource group to which this resource should be added.
-a verbose=Value Displays information for debugging. To show maximum detail, specify a value of 5.
The following example defines a shared_root named my_local_shroot based on the SPOT resource named my_local_spot. The shared_root directory /export/my_local_shroot will be located on the master because the -a server=master parameter is specified. This command must be run on the master, and my_local_spot must be located on the master. The SPOT resource and the shared_root resource must be located on the same machine.
# nim -o define -t shared_root            \
      -a server=master                    \
      -a location=/export/my_local_shroot \
      -a spot=my_local_spot               \
      my_local_shroot
The following example defines a shared_root resource named my_remote_shroot based on the SPOT resource my_remote_spot. The shared_root directory /export/my_remote_shroot will be located on NIM client named my_client because the -a server=my_client parameter is specified. The command must be run on the master, but the my_remote_spot resource must be located on the my_client NIM client.
# nim -o define -t shared_root             \
      -a server=my_client                  \
      -a location=/export/my_remote_shroot \
      -a spot=my_remote_spot               \
      my_remote_shroot