Question

Migration 1 SQL Server for new SQL server by commvault


Userlevel 1
Badge +6

Hello,

the cliente need to migrate MS SQL Server database for the new server by Continuous Data Replicator.

Someone already made this procedure and can help me?

I install SQL Server in 2 servers and add to Commcell.

Current version of Commvault: 11 SP 13+

**Do i need to upgrade Commvault before migrating?

Current version of SQL: 2012

And the cliente is asking to me what the best version will migrate? 2019 standard or enterprise?

 


45 replies

Userlevel 2
Badge +4

Fernando, you are mentioning CDR (ContinousData Replicator) but then you refer to SQL agent.

1)  Do I need an SQL license for the new MS SQL server?

If you mean a Microsoft license, yes you need one.

If you need a CommVault SQL agent license, yes you need as you have already used 3 Application Class 1 licenses of a total of 3. The good thing is that you can install in restore mode the SQL agent on the new server, once restored is completed, you can release license from the old SQL server and then activate the license on the new server and enable its scheduling.

​​​​2)​​​ If you don’t have enough licenses for our SQL agent, you can do dumps to disk in your maintenance plans and use FS or VSA agent to collect them. You can use this for performing the migration. There are more than 1 way to achieve an outcome in life. (it sounds a bit philosophical). I am afraid using CDR is not the right approach, not even when there is unlimited CDR licenses in this CommCell.

3) Updating from v11 SP13 to a more recent and supported version of CommVault it is good start.

 

 

Userlevel 6
Badge +14

@Fernando Souza , I won’t be able to, but if you open a support case (and mention this thread) the Frontline can assign this to one of our SQL experts who can assist you.

@Mike Struening

Could you help me? Could you access my labs to discovery these problems?

 

 

WAIT WHAT

 

 

Badge

Hello,

the cliente need to migrate MS SQL Server database for the new server by Continuous Data Replicator.

Someone already made this procedure and can help me?

I install SQL Server in 2 servers and add to Commcell.

Current version of Commvault: 11 SP 13+

**Do i need to upgrade Commvault before migrating?

Current version of SQL: 2012

And the cliente is asking to me what the best version will migrate? 2019 standard or enterprise?

 

  What is the end goal here? A migration usually consists of a backup/restore and not a replication yet you mention both. Continuous Data Replicator can only replicate flat file system files, to replicate SQL files from one active SQL instance to another, SQL Live Sync would need to be used. Note for SQL Live Sync is that it you can only use it for Full Recovery model SQL databases. The SQL Live Sync documentation should help you through any issues: https://documentation.commvault.com/commvault/v11_sp13/article?p=92005.htm

Userlevel 1
Badge +6

Hello @Ledoesp

The customer wants MS SQL Server 2012 to migrate from a new server by CDR Commvault.

Questions:
1) Do I need an SQL license to add the MS SQL server (new)?
(I think no)
2) Are you recommending using an area to do the out of place and restore by MS SQL, without needing to use commvault?
3) the client will update the version before and then migrate the MS SQL database by commvault.

Userlevel 1
Badge +6

Hello @Mike Struening

I need to know if i need license for commvault when i add new SQL Server to migrate.

Userlevel 6
Badge +14

Possibly, but not likely….what is your licensing type?  Do you have Capacity Licensing set up?

This might be a conversation for your Account Rep (in case you DO need additional licensing though you can review the full licensing guidehere: https://documentation.commvault.com/commvault/v11_sp20/article?p=18120.htm

I would expect if you have capacity licensing and room to space, then you should be just fine.

Userlevel 1
Badge +6

Hello @Mike Struening 

I don´t think i need to acquire new licenses, but can you help me? *If i need new licenses.

The license:
 

 

 

 

 

Userlevel 1
Badge +6

Hello @Ledoesp 

i made a test, the DBA create a SQL database for a one server and i replicate by CDR

Server: publico01

Server: publico02 (Replication Server)

The Database was create in c:\SQL2014

and i replicated in another server c:\public01\...\SQL2014

One question: The CDR just copy the file systems or can create a database in MS SQL and other things more?
 

Userlevel 6
Badge +14

Thanks @Fernando Souza !!

I reread your posts and it sounds like you already added both SQL servers needed….is that right?

You have 3 Application class 1 licenses and all 3 are in use (I’m assuming these are physical servers, not vms) so I think you’re ok.

If you STILL need to install this SQL server, and have 3 other servers installed using the 3 availablethen you are out of licenses (only your account rep can get you more).

You also have Commvault Complete for Virtual Machines (for 10 vms) and don’t seem to be using any right now, so that’s an option, potentially.

Userlevel 6
Badge +14

@Fernando Souza are you replicating the flat files?

why not set up a Live Sync and do it all within SQL?

https://documentation.commvault.com/commvault/v11/article?p=92004.htm

I think this is what you are asking at the end there :nerd:

Userlevel 1
Badge +6

Hello @Mike Struening 

I uninstalled and installed the Commvault agent, because I was not looking at the SQL Database.and the link sent says it must have at least 1 sql live sync backup done.

Then i installed the agent again:
 

So, dind´t find the SQL Database:
 

Can you help me?

Userlevel 1
Badge +6

I think need to update:
 

What do you think?

Userlevel 6
Badge +14

Can you confirm that there is at least one full backup to seed the sync?

From that doc:

Before You Begin

  1. Install the SQL Agent on the destination host. For more information, see Getting Started with the SQL Server Agent.
  2. Add a SQL instance in the CommCell Console for the destination instance. For more information, see Instances for the SQL Server Agent.
  3. Make sure that you have a backup for the database that you want to use for the Live Sync operation.

If you do, then we may need to get a support case created.

Userlevel 1
Badge +6

@Mike Struening 

I´m updating this Commvault, is a lab. 

when finish the update i will config this and send a message here.

 

Userlevel 1
Badge +6

hello @Mike Struening 

i update the commcell and try to configure again.

 

 

Userlevel 1
Badge +6

Hello @Mike Struening 

Don´t find the Database in the SQL Live Sync Options:
 

Do you know what is the problem?

Userlevel 6
Badge +14

@Fernando Souza , not sure if you saw my other reply:

Can you confirm that there is at least one full backup to seed the sync?

From that doc:

Before You Begin

  1. Install the SQL Agent on the destination host. For more information, see Getting Started with the SQL Server Agent.
  2. Add a SQL instance in the CommCell Console for the destination instance. For more information, see Instances for the SQL Server Agent.
  3. Make sure that you have a backup for the database that you want to use for the Live Sync operation.

If you do, then we may need to get a support case created.

Userlevel 1
Badge +6

@Mike Struening 

Don´t have a backup full, 

i can not add the SQL Database in the backup, don´t find the database in the server.

i installed the sql agent, but not find.

i updated the CommCell and i remove and re-add but not find the SQL instance.

 

Userlevel 6
Badge +14

Run a full backup for the source SQL client first.

Next, go back to the Live sync setup and you should see the database listed.

This is the database that will be synched to the other destination client.

Once that’s set up, you should be golden.

Userlevel 1
Badge +6

I install this agents.
**I uninstall e reinstall the server in the CommCell

 

Userlevel 6
Badge +14

Thanks!

Kick off a Full SQL iDA backup and once it completes, check the Live sync tab and let me know if the database shows up.

Userlevel 1
Badge +6

@Mike Struening 

I start the full backup, wait for finish:
 

 

Userlevel 1
Badge +6

I think it´s ok:
 

And now?

Userlevel 1
Badge +6

 

Reply