Based on your environment requirements, you may need to install the SQL Server before installing Commvault server packages. In this case, you must install the SQL Server manually. By default, Commvault installs the Microsoft SQL Server 2016 Standard Edition during the installation of the CommServe software or other server packages.
Before You Begin
-
Obtain the installation package for the appropriate version of Microsoft SQL Server:
-
Microsoft SQL Server 2016 Standard: Create an installation package by using the Download Manager. The installation package must include the Microsoft SQL Server and the necessary Commvault server packages, such as the CommServe or Workflow Engine. For instructions about creating the package, see Downloading Software for Windows Computers Using the Download Manager.
-
Microsoft SQL Server 2017, and 2019 Enterprise, Standard, and Express editions or higher: Contact Microsoft.
-
Microsoft SQL Server 2012 Enterprise Edition or higher: Contact Microsoft.
-
Microsoft SQL Management Studio 2016: Contact Microsoft.
-
-
The computer on which you want to install the SQL Server must have the following properties:
-
The latest Microsoft ODBC Driver for SQL Server must be installed.
-
The computer must have a static IP address.
-
Procedure
Installing the SQL Server and Creating the Commvault Instance
-
Log on to the client computer as an Administrator or as a member of the Administrator group on that computer.
-
From the installation package, run Setup.exe.
For example, if you created the package from the Download Manager, run the following program WinX64\ThirdParty\MSSQL\SQL_Standard_Edition\Setup.exe.
The SQL Server Installation Center wizard is displayed.
-
From the left-hand navigation area, click Installation. Then, on the right pane, click New SQL Server stand-alone installation or add features to an existing installation.
-
On the Product Key page, click Next. The product key is already provided.
-
On the License Terms page, select the I accept the license terms check box and then click Next.
-
On the Microsoft Update page, determine whether you want to enable the Microsoft Update feature and then click Next.
The Install Setup Files page is displayed, where the setup files are copied and then the installation automatically starts.
-
On the Setup Role page, click Next to proceed with the SQL Server Feature Installation.
-
On the Feature Selection page, from the features to install, select Database Engine Services, and then click Next.
-
On the Instance Configuration page, click Named Instance, type Commvault, and then click Next.
-
On the Server Configuration page, complete the following steps:
-
Perform one of the following:
-
Preferred method: For each SQL Server service, in the Account Name and Password fields, enter the username and password of the domain administrator account that you used to log on to the computer.
Or, for enhanced security, enter the username and password of the local administrator domain user account.
Note
The user account that you specify for the SQL Server service must have permissions on the drive or parent folder where you plan to install the CommServe software.
Note: After the installation is complete, make sure that the user account that you specify for the SQL Server service has permissions on the drive or parent folder (including Software_Installation_Directory\CommVault\ContentStore\Reports\MetricsUpload\Upload) where you plan to install the CommServe Server and the Private Metrics Server.
-
In the Services Accounts tab, click the Account Name cell that corresponds to the SQL Server Database Engine service, and then click the drop-down arrow to specify the local system account. The account name for the service should display NT AUTHORITY\SYSTEM.
Keep the default account names for the SQL Server Agent and SQL Server Browser services.
-
-
Click the Collation tab, and make sure the collation of the TEMPDB is set to SQL_Latin1_General_CP1_CI_AS.
-
Click Next.
-
-
On the Database Engine Configuration page, complete the following steps in the Server Configuration tab:
-
Click Mixed Mode (SQL Server authentication and Windows authentication).
-
Enter and confirm the password for 'sa' SQL user in the Enter Password and Confirm password boxes.
-
Click the Add Current User button.
In the Data Directories and FILESTREAM tabs, accept the default values and then click Next.
-
-
On the Feature Configuration Rules page, check whether the rules ran successfully and then click Next.
-
On the Ready to Install page, verify the features to be installed and then click Install.
The Installation Progress page is displayed indicating the installation process.
-
On the Complete page, click Close.
The SQL Server is successfully installed.
Postinstallation Tasks
The following sections describe the tasks that you must perform to complete the Microsoft SQL Server installation:
-
Apply latest SQL Server updates
Install the latest cumulative updates and service packs provided by Microsoft. As a best practice, keep the SQL Server software up-to-date.
-
Install the Microsoft SQL Server Management Studio (SSMS) software
Go to the Microsoft website to download SSMS. Install the SSMS software on the computer where the SQL Server software is installed.
-
Tune the SQL Server memory usage
The maximum memory used by the SQL Server should be 50% of the physical memory available in the computer.
Use the following steps to tune the SQL Server memory usage for Commvault:
-
On the CommServe computer, open the Microsoft SQL Server Management Studio.
-
Right-click the server instance, and then click Properties.
-
From the Server Properties dialog box, on the left pane, select the Memory page.
-
In the Maximum server memory (in MB) box, specify 50% of the physical memory available in the computer.
-
Click OK.
-
-
Install the server package
You can now install the CommServe software or the appropriate server package on the computer where you installed the SQL Server software.