chlocation
Use the chlocation command to change the location associated with the specified storage systems.
Syntax
Parameters
- -help | -h | -?
- Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
- -location location
- Specifies the location to associate with the specified storage systems. The location can be up to 32 alphanumeric characters.
- device_id... | -
- Specifies the ID of one or more storage systems whose location
is to be changed, separated by a space.
Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin). The dash is supported only in single-shot mode.
Tip: Use the lsdevice command to list the valid storage system IDs.
Description
Important: You must have Administrator privileges to
run this command.
To list the locations that have already been associated with storage systems, use the lslocation command.
Example: Changing the location of multiple storage systems
The following command changes the location of multiple storage systems to Tucson.
csmcli> chlocation -location Tucson ESS:BOX:2105.18596 DS8000:BOX:2107.NK791
The following output is returned:
IWNH1222I The site location for storage system ESS:BOX:2105.18596 was successfully changed to Tucson. IWNH1222I The site location for storage system DS8000:BOX:2107.NK791 was successfully changed to Tucson.