# Renaming the Array in the Commvault Software

If the array is renamed on the file server, then use this command to update the database with the new array name.

You can also use this command to change the array name in the Arrays page. This command does not change the IP address or the array name as used by applications.

Note

- When there are no snapshots associated with the array, Commvault recommends that you delete and create the array again with desired array name.

- If an array is associated with the virtualization client, do not delete the array entry even if there are no snapshots, to avoid possible failures with future V-Vol snap backup. These array entries are created with naming convention VSA-SNAP-<ClientID>-<ClientName> in the Arrays page. Deleting and recreating such an array entry does not re-establish association with the virtualization client.

## Before You Begin

Verify the following:

- No jobs are running. If jobs are running, suspend them.

- For NFS configurations, the junction path used by the application is valid.

## Procedure

1. Run a DR backup of the CommServe database.

2. On the command line of the CommServe computer, go to software_installation_directory/Base and type the following commands:

   1. To allow the tool to modify the database, type the pre-run command:

           SnapManagementTool.exe preRun -vm $[instance_name]

   2. To rename the array name, type the following command:

           SnapManagementTool arrayRename -vm $[instance_name] -oldarray $[old_array]-newarray $[new_array]

      Example:

           SnapManagementTool arrayRename -vm $[Instance001] -oldarray $[netapparray101] -newarray $[netapparray201]

   3. To remove the write permission from the tool, type the post-run command:

           SnapManagementTool.exe postRun -vm $[instance_name]

where:

- instance_name is the name of the Commvault instance (for example, instance00).

- old_array is the current IP address or array name of the NetApp storage array as entered in the Arrays page.

- new_array is the new name of the array added into the Arrays page.

×

Loading...