To configure auto-scaling in an environment that has a single Azure account, you need to create and configure a few entities.
Create an Access Node to Manage Auto-Scaling
The Commvault software uses this access node to manage operations for the auto-scaling hypervisor.
If you already have an Azure access node that has the Virtual Server package, then you can use that access node for auto-scaling.
Before You Begin
Azure auto-scaling access nodes must meet the following requirements:
-
Commvault 11.21 or a more recent version
-
Located in the region where you want to configure auto-scaling
Procedure
-
From the navigation pane, go to Manage > Servers.
The Servers page appears.
-
Click Add server.
The Add server dialog box appears.
-
Leave Select this method to install software packages on your computer selected.
-
In Host name, enter the host name of the server.
-
In User name, Password, Confirm password, enter the credentials for the server.
-
For OS type, select the operating system of the server.
-
From the Select packages list, select Virtual Server, and then click OK.
-
From the Plan list, select the server plan to use for the server.
-
To specify the install location, in Installation location, enter the path.
-
To restart the server after the installation, move the Reboot if required toggle key to the right.
-
Click Install.
-
To confirm the access node is added, refresh the Servers page.
Create an Empty Auto-Scaling Server Group
The Commvault software uses this empty sever group to create and decommission access nodes.
Auto-scaled access nodes inherit network configuration and permissions from this server group.
-
From the navigation pane, go to Manage > Server groups.
The Server groups page appears.
-
In the upper-right corner of the page, click Add.
The Add server group dialog box appears.
-
In the Name box, enter a name for the server group.
-
Select Manual association.
Important
Do not select servers. The server group must be empty.
-
Click Save.
Create an Auto-Scaling Hypervisor
Create a hypervisor for the Azure account administrator. The Commvault software uses this hypervisor to manage auto-scaling.
Before You Begin
You can configure auto-scaling only for hypervisors that use traditional authentication with Azure Active Directory. If you have a hypervisor that uses managed identity authentication and you want to use it for auto-scaling, you can change the authentication method for the hypervisor to traditional.
Procedure
-
From the Command Center navigation pane, go to Protect > Virtualization.
The Virtual machines page appears.
-
On the Hypervisors tab, click Add hypervisor.
The Configure Hypervisor page appears.
-
Select Microsoft Azure, and then click Next.
The Configure Microsoft Azure Hypervisor page appears.
-
In the Hypervisor name box, enter a descriptive name for the hypervisor.
-
Do not enable the Connect using managed identities for Azure resources toggle key. Auto-scaling hypervisors must use traditional authentication with Azure Active Directory, not managed identity authentication.
-
In Subscription ID, enter the subscription ID for the Azure account.
-
For Credential, select or create a credential:
-
Select an existing credential.
-
To create a credential, click the add button .
The Add credential dialog box appears.
-
In Credential name, enter a descriptive name for the credential.
-
In Tenant ID, enter the tenant ID for the Azure account.
-
In Application ID, enter the application ID for the tenant.
-
In Application secret, enter the secret key value that is generated for the application.
For the process that includes generating this value, see Setting Up an Application and Tenant for Azure Resource Manager.
-
In Description, enter a description of the credential.
-
-
-
From the Access nodes list, select the access node that you created to manage auto-scaling.
-
Click Save.
Configure Auto-Scaling for the Hypervisor
Use the procedure in Specifying VM Provisioning Settings for Azure Access Nodes to configure auto-scaling for the node.
Create an Azure Hypervisor for Each Tenant Account
When you have multiple Azure accounts, create an Azure hypervisor for each tenant account . Azure allows the Azure tenant accounts to automatically authenticate with the Azure Account Administrator.
Before You Begin
You can configure auto-scaling only for hypervisors that use traditional authentication with Azure Active Directory. If you have a hypervisor that uses managed identity authentication and you want to use it for auto-scaling, you can change the authentication method for the hypervisor to traditional.
Procedure
-
From the Command Center navigation pane, go to Protect > Virtualization.
The Virtual machines page appears.
-
On the Hypervisors tab, click Add hypervisor.
The Configure Hypervisor page appears.
-
Select Microsoft Azure, and then click Next.
The Configure Microsoft Azure Hypervisor page appears.
-
In the Hypervisor name box, enter a descriptive name for the hypervisor.
Do not enable the Connect using managed identities for Azure resources toggle key. Auto-scaling hypervisors must use traditional authentication with Azure Active Directory, not managed identity authentication.
-
In Subscription ID, enter the subscription ID for the Azure account.
-
For Credential, select or create a credential:
-
Select an existing credential.
-
To create a credential, click the add button .
The Add credential dialog box appears.
-
In Credential name, enter a descriptive name for the credential.
-
In Tenant ID, enter the tenant ID for the Azure account.
-
In Application ID, enter the application ID for the tenant.
-
In Application secret, enter the secret key value that is generated for the application.
For the process that includes generating this value, see Setting Up an Application and Tenant for Azure Resource Manager.
-
In Description, enter a description of the credential.
-
-
-
From the Access nodes list, select the access node that you created to manage auto-scaling.
-
Click Save.
-
Associate the MSP VM Provisioning setting to multiple tenants as follows:
-
Create a VM Provisioning setting on the MSP hypervisor (this hypervisor's subscription will be used to deploy access nodes using Auto-Scale jobs)
-
In the Tenant's hypervisor, enable the Auto Scale toggle.
-
Enable the Associate existing VM provisioning settings for auto scaling toggle.
-
In the Destination hypervisor dropdown, select the MSP Hypervisor with the VM provisioning settings.
-
Click Save.
This will enable Auto Scaling on the tenant's hypervisor and use the MSP's Hypervisor's setting to create access nodes.
-