The databases server configuration guides you through creating a backup plan and adding a Azure Database for PostgreSQL.
Before You Begin
If you are an MSP and you want your tenant administrators to configure the Azure instances using the Commvault Cloud infrastructure, see Managed Service Provider Configuration for Azure.
Navigate to Service Catalog
-
From the Command Center navigation pane, go to Explore > Service catalog.
-
On the Welcome page, in the Databases tile, click Configure.
-
Configure Database Server page, select Database running in the cloud (PaaS).
-
Select Microsoft Azure, and then click Next.
-
On the Configure Azure Database page, select PostgreSQL, and then click Next.
The Configure Microsoft Azure Subscription page appears.
Configure Microsoft Azure Subscription
-
You can select the following two Microsoft Azure subscriptions:
-
Express configuration using OAuth: Uses the hosted infrastructure provided by Commvault Cloud for backups.
-
Custom configuration: You can choose to use either the hosted infrastructure provided by Commvault Cloud or your own configured access nodes for backups.
-
Custom Configuration
-
Select Custom configuration, then click Next.
The Configure Azure Database - PostgreSQL page appears.
Configure Permissions
-
Select Use hosted infrastructure.
-
Select one of the following application based authentications - Use an existing application or Deploy a new application
Note
For Express configuration, Use an existing application and Deploy a new application are disabled.
-
If you select Use an existing application, proceed as follows:
-
From the Credential list, select an existing credential or add a new credential. To add a new credential, proceed as follows:
Steps to add a new application credential
-
Click the + icon beside the Credentials list.
The Add Credential dialog box appears.
-
From the Credential Vault list, select a credential vault to store credentials for different types of accounts.
-
In the Credential name box, enter the credential name.
-
In the Application ID box, enter the application ID associated with the tenant.
-
In the Tenant ID box, enter the tenant ID associated with the Azure account.
-
In the Application secret, enter the application password.
-
From the Environment list, select the Azure environment type.
-
Move the Show endpoints toggle to right to show the different endpoints.
-
In the Description box, enter the description for Azure subscription.
-
-
Select Assign required roles to the selected application if you want to Log on to the Azure portal as the subscription owner and execute the commands in the Cloud Shell.
-
-
If you select Deploy a new application, proceed as follows:
-
In the Application name box, select the name of the application to be created in Azure.
-
In the Subscription ID box, enter the subscription id.
-
From the Credential list, either select an existing credential or add a new credential.
-
-
-
Click Next.
The Configure access nodes page appears.
-
From the Region list, select a region. The infrastructure in the same region will be used.
-
Click Next.
The Plan page appears.
-
Select Use your access nodes for backups.
-
Select one of the following authentication methods - Application or Managed identity.
-
When you select Application, you can select the following application based authentications - Use an existing application or Deploy a new application
-
If you select Use an existing application, proceed as follows:
-
From the Credential list, select an existing credential or add a new credential. To add a new credential, proceed as follows:
Steps to add a new application credential
-
Click the + icon beside the Credentials list.
The Add Credential dialog box appears.
-
From the Credential Vault list, select a credential vault to store credentials for different types of accounts.
-
In the Credential name box, enter the credential name.
-
In the Application ID box, enter the application ID associated with the tenant.
-
In the Tenant ID box, enter the tenant ID associated with the Azure account.
-
In the Application secret, enter the application password.
-
From the Environment list, select the Azure environment type.
-
Move the Show endpoints toggle to right to show the different endpoints.
-
In the Description box, enter the description for Azure subscription.
-
-
Select Assign required roles to the selected application if you want to Log on to the Azure portal as the subscription owner and execute the commands in the Cloud Shell.
-
-
If you select Deploy a new application, proceed as follows:
-
In the Application name box, select the name of the application to be created in Azure.
-
In the Subscription ID box, enter the subscription id.
-
From the Credential list, either select an existing credential or add a new credential.
-
-
-
When you select Managed identity, from the Subscription ID, select a subscription ID where managed identity will be used.
-
Click Next.
The Configure access nodes page appears.
-
From the Access nodes list, select an access node for backup.
-
Click Next.
The Plan page appears.
Plan
-
Select an existing backup plan or create a new backup plan.
-
Click the add button
.The Add plan dialog box appears.
-
In the Plan name box, enter a descriptive name for the backup plan.
-
Select an existing Storage or Add a new storage.
-
Select Configure backups and perform schedule and retention settings.
-
Define the frequency and retention period of your backup.
-
Under Add extended retention, define the following:
-
From the Backups to retain list, select the kind of backup you want to retain.
-
From the Retention period list, select the days for which you want to retain the backup.
-
-
-
Click Save.
-
-
Click Next.
-
The Cloud Account page appears.
Cloud Account
The cloud account is used to access the databases for discovery, backups, and other operations.
Note
-
The cloud account for a cloud database instance cannot be modified after the instance is created. Deleting a cloud account or hypervisor permanently deconfigures all associated cloud database instances. Deleting a server from (Manage > Infrastructure > Servers) permanently removes all associated cloud database instances. Before deleting a cloud account, hypervisor, or server, ensure that you understand the impact on dependent resources and retain any required backup data.
-
You can configure managed identities for Azure resources only while using the Use your access nodes for backups > Managed identity.
-
Select an existing cloud account or create a new cloud account.
Steps to add new cloud account
-
Beside the Cloud account list, click +.
The Add cloud account dialog box appears.
-
In the Name box, type the name for the account.
-
Enter the information about the subscription:
-
For the traditional authentication method of deployment, enter the following information:
- Subscription ID: Enter the subscription ID for the Azure account.
-
For the managed identity authentication method of deployment, configure the following settings:
-
Connect using managed identities for Azure resources: Move the toggle key to the right.
-
Subscription ID: Enter the subscription ID for the Azure account.
-
-
-
Click SAVE.
-
-
Click Next.
The Backup Content page appears.
Backup Content
Select the databases in the instance to backup.
-
If you proceed with Rule based discovery, do the following:
-
Click Add.
The Add rule group dialog box appears.
-
To specify the type of Match rule, select all or any. The rules for the match are as follows:
-
all: All rules that you configure for the rule group must be satisfied for a database instance to be discovered.
-
any: Any rule that you define that is satisfied will result in the matching database being discovered.
-
-
From the list of rule types, select the type of rule to create, and then specify the rule:
-
Instance name: Select instances based on their names. For example, to select instances that have a name that includes "east", enter Instance name | Contains | east.
-
Tag name: Select instances based on the names of tags that are assigned to them. Enter the tag name in the regiontag_name format. For example, to select instances in the eastern US Region that are for a department, enter Tag name | Equals | us-east-1department.
-
Tag value: Select instances based on the values of tags that are assigned to them. Enter the tag value in the regiontag_nametag_value format. For example, to select instances in the eastern US Region for the human resources department, enter Tag value | Equals | us-east-1departmentHR.
-
-
Click Save.
-
Click Preview to see the instances that you selected for the group.
-
From the Credential list, select a saved credential or add a new credential.
Steps to add a new credential
-
From the Credential Vault list, select a credential vault to store credentials for different types of accounts.
-
In the Credential name box, enter a name for the credential.
-
Move the Use Azure AD Authentication toggle key to right, and enter the following details:
- In the Username box, enter the user name to access the Azure Database for MySQL application.
Note
If you do not move the Use Azure AD Authentication toggle to right, you need to enter the password name detail.
-
The SSL certificate toggle key is unselected by default. By moving the toggle key to right, you can perform the following actions:
-
In the SSL CA file field, provide the SSL CA file path on the proxy computer.
-
In the SSL Cert file field, provide the SSL certificate file path on the proxy computer.
-
In the SSL Key file field, provide the SSL key file path on the proxy computer.
-
-
In the Description box, enter the details of the credential.
-
Click Save.
-
-
-
If you proceed without rule based discovery, do the following:
-
Instance name: Select instances based on their names.
-
Under the Connection details section,
-
from the Credential list, either select a saved credential or add a new credential.
-
In the Maintenance DB box, type the name of the system database that is used as the maintenance database.
-
In the Endpoint box, type the name of the endpoint to connect to the database instance.
-
-
-
Click Next.
The Summary page appears.
Summary
-
Review the summary.
-
Click Finish.