# Renaming the SVM Name in the Commvault

If the storage virtual machine (SVM) name is renamed on the file server, then use this command to update the database with the new svm name.

## Before You Begin

Verify that no jobs are running and suspend the running jobs, if any.

## 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 svmRename -vm $[instance_name]  -array $[array_name] -oldsvm $[old_svm]-newsvm $[new_svm]

      Example:

           SnapManagementTool svmRename -vm $[Instance001] -array $[netapparray101] -oldsvm $[netappsvm101.test.net] -newsvm $[netappsvm101]

   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).

- array_name is the name of the NetApp storage array, as entered in the Arrays page.

- old_svm is the current svm name of the NetApp storage array.

- new_svm is the new svm name of the NetApp storage array.

×

Loading...