Defining a script resource
You can use the following command-line syntax and attributes for defining a script resource.
The command line syntax for defining a script resource
is:
nim -o define -t script -a Attribute=Value ... ScriptNameThe following attributes are required for the script resource:
| Item | Description |
|---|---|
| -a location=Value | Specifies the full path name of the script resource file. |
| -a server=Value | Specifies the name of the machine where the script resource file resides. |
The following attributes are optional for the script 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. |
| -a source=Value | Specifies an existing script resource to be replicated when defining a new resource. The file pointed to by the source resource will be copied to the new location. |
| -a nfs_versValue | Specifies the NFS protocol version required for NFS access. |
| -a nfs_secValue | Specifies the security method required for NFS access. |