I have several cloud libraries, where the storage and DDB are controlled by an on-premises MA. I would like to switch several of them to a different on-premises MA. But cannot seem to find anything here on it the docs on how to switch MAs for an existing cloud library.
Happy to have helped, though I think credit goes to you!
Would be nice to declare one as default as I can in the storage policy copy, but I believe I’ve solved my problem here. Thanks for the assist regardless. Nice to get a quick response when posting things here.
In mount paths, if I delete the share to the original MA, and refresh. It changes the displayed name to the first one in the share list.
One difference I do note, between that one that displays properly, and the others I have moved. Is that for the ones still showing the old MA. I still have that MA configured as “shared”. In the one that displays properly, I had removed the share for the old MA.
Ok, unmarked. I’ll get some MM folks to chime in. We may have to open a support case, though we can try solving from here first
yes. Please.
Ran a test. Shut down the original media agent. All libraries currently still supposed to be on there went off-line. but none of the moved ones did. Ran an incremental backup, and then started an aux copy that succeeded. I presume that as long as one of the data paths are valid, everything should work. i still strange that when I looked at the “streams” while the auxcopy was in progress. It still seems to think it is talking to the original MA.
Not sure I have a problem, or just a display issue.
After doing the following
In the mount path, share the new MA
Set the new data path default
move the DDB
If I go the Library, it still shows the “mount path” as being on the original MA. The original test I did seemed to update this to reflect the new default data path MA. But others I have done the same with do not.
Thanks. That was the missing piece. Trying to be careful not to loose anything. Pretty straightforward now that I know the pieces.
Share the library
Move the DDB
Set the new data path.
Migrate Cloud Library
If you have a cloud library, then share the new MediaAgent with the cloud library.
- From the CommCell Browser, expand Storage Resources > Libraries > cloud_library.
- Right-click mount_path and then click Properties.
- On the Sharing tab, select the device and then click Share.
- In the Sharing Mount Path dialog box, select the MediaAgent, and then click OK.
The new MediaAgent is now shared with the Cloud Library.
Set the New MediaAgent as a Data Path
Once the library (disk/cloud/tape) is migrated successfully, you must make the new MediaAgent the default data path for all the Storage Policies that were associated with the old MediaAgent.
- From the CommCell Browser, expand Policies > Storage Policies > storage_policy.
- Right-click the appropriate storage policy copy, and then click Properties.
- Click the Data Path tab, and then click Add.
- In the Copy Data Path Candidates dialog box, select the new MediaAgent, and then click OK.
- Select the new MediaAgent, and then click Set Default.
- Click OK.
You shouldn’t lose anything. The job is still on the library and Commvault still knows which chunk files, etc. the job/files need.
You should be able to do a small test by setting up a MagLib and DDB on MA1, running a small backup, then moving the library and DDB to MA2, and running a restore.
Set up a test system to try this out. Shared the library, moved the DDB. What I have left is a storage policy that still points to the original MA. I know I can create a different policy and select the new MA. But I’m wondering what that does to previous backups. If I retire the original MA, do I loose access to them? Retention is set to 120 days, and I could probably keep it around for that. But am concerned. And would the next backup automatically convert to a full? Thought it would. But did not do so in my test.
Hi
https://documentation.commvault.com/commvault/v11/article?p=11069.htm
you can skip the move library part here.
- If you have an UNC or NFS mounted path, or Cloud or HP StoreOnce libraries, then share the new MediaAgent with the corresponding path in library.
For more information, see Advanced - Share a Mount Path.
That’s part one. What I also want to do ultimately is to retire the origin MA. So I’m assuming there is something else I need to do so that the second MA takes the place of the origin one completely, and I don’t have to move the backups to a different library. (The cloud library is a secondary copy).
Hey
Are you looking to move the location the DDB is stored?
Moving the DDB is pretty straight forward (and documented here):
https://documentation.commvault.com/11.24/expert/12576_moving_deduplication_database.html
Let me know if this is what you’re looking for
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.