Skip to main content
SnapManager Oracle

Troubleshooting storage system renaming issue

Contributors

You might face issues when renaming a storage system or after you have successfully renamed the storage system.

When you try to rename the storage system, the operation might fail with the following error message: SMO-05085 No storage controller "fas3020-rtp07New" is found to be associated with the profile

You must enter the IP address or name of the storage system that is listed when you run the smo storage list command.

After you rename the storage system, SnapManager operations might fail if SnapManager fails to recognize the storage system. You must perform some additional steps in the DataFabric Manager server host and the SnapManager server host to resolve this issue.

Perform the following steps in the DataFabric Manager server host:

  1. Delete the IP address and host of the earlier storage system in the host file located at /etc/hosts in the DataFabric Manager server host.

  2. Add the new IP address and host of the new storage system in the host file located at /etc/hosts in the DataFabric Manager server host.

  3. Change the storage host name by entering the following command: dfm host rename -a old_host_namenew_host_name

  4. Set the new IP address in the host by entering the following command: dfm host set old_host_name_or_objId hostPrimaryAddress = new_storage_controller_ip_address

    Note You must perform this step only if you have specified the IP address as the new storage system name.
  5. Update the new storage system name in the DataFabric Manager server host by entering the following command: dfm host diag old_storage_name

    You can verify that the earlier storage controller name is replaced with new storage controller name by entering the following command: dfm host discover new_storage_name

Perform the following steps as a root user in the SnapManager server host.

Note When you enter the new storage controller name, ensure that you use the system alias name and not the fully qualified domain name (FQDN).
  1. Delete the earlier storage system name by entering the following command: snapdrive config delete old_storage_name

    Note If you do not delete the earlier storage system name, then all the SnapManager operations fail.
  2. Delete the IP address and host of the earlier storage system in the host file located at etc/hosts in the target database host.

  3. Add the new IP address and host of the new storage system in the host file located at /etc/hosts in the target database host.

  4. Add the new storage system name by entering the following command: snapdrive config set root new_storage_name

  5. Map the earlier and later storage system names by entering the following command: snapdrive config migrate set old_storage_namenew_storage_name

  6. Delete the management path of the earlier storage system by entering the following command:snapdrive config delete -mgmtpath old_storage_name

  7. Add the management path for the new storage system by entering the following command: snapdrive config set -mgmtpath new_storage_name

  8. Update the dataset for both data files and archive log files with the new storage system name by entering the following command: snapdrive dataset changehostname -dndataset_name-oldnameold_storage_name-newnamenew_storage_name

  9. Update the profile for the new storage system name by entering the following command: smo storage rename -profileprofile_name-oldnameold_storage_name-newnamenew_storage_name

  10. Verify the storage system associated with the profile by entering the following command: smo storage list -profileprofile_name