Configuring Backups for Apache CloudStack VMs

You can configure backups for Apache CloudStack VMs. The configuration wizard guides you through the configuration process, which includes creating any new entities that are needed, such as a backup plan, a hypervisor, and a VM group.

Start the Configuration Wizard

  1. From the Command Center navigation pane, go to Protect > Virtual machines.

    The Overview page appears.

  2. In the upper-right area of the page, click Add hypervisor.

    The Configure Hypervisor page appears.

  3. Click Apache CloudStack.

  4. Click Next.

    The Configure Apache CloudStack Hypervisor page appears.

Add Hypervisor

  1. In Apache CloudStack IP, enter the IP address of your Apache CloudStack management node.

  2. In Hypervisor name, enter a descriptive name for the hypervisor.

  3. In Apache CloudStack Domain, enter the Apache CloudStack domain name defined in the CloudStack environment for the account used to configure backups.

  4. For Credential, select existing credentials or create new credentials.

    1. Click the add button add/plus button - gray - no border.

      The Add credential dialog box appears.

    2. For Credential Vault, the Built-In value is selected by default.

    3. In Credential name, enter a descriptive name for the credentials.

    4. In User account, enter the name of the user account that has permissions to do the following:

      • Access the Apache CloudStack cluster and resources such as Nodes, VMs, and Storage

      • Obtain the account credentials or get access to saved credentials

      • Perform discovery, backup, and restore operations

    5. In Password, enter the password for the user account.

    6. In Description, enter a description of the credentials.

    7. Click Save.

  5. From the Access nodes list, select one or more access nodes for the hypervisor.

    1. Click the add button add/plus button - gray - no border.

      The Add a new Access node dialog box appears.

    2. Click LINUX (64-bit) to download the package.

    3. Commvault supports Apache CloudStack environments that use KVM hypervisors. Install the access node package on the Linux KVM host where the virtual machines reside.

      To install the access node package, do the following:

      1. Extract the downloaded installer.

      2. Use either the system console or SSH to navigate to the installer directory.

      3. Run the following command:

        sudo ./cvpkgadd
      4. Select the Virtual Server package.

      5. Follow the on-screen prompts to complete the installation.

    4. After the access node is configured with the CommServe server, refresh the page and select the access node from the Access nodes list.

      Note

      The access node must be installed on the same KVM host where the virtual machines reside. Virtual machines are automatically associated with the correct access node.

  6. Click Next.

    The Add VM Group page of the configuration wizard appears.

Add VM Group

A VM group is a set of VMs that you want to back up with the same settings. By default, the VM group includes all unprotected instances. You can modify the VM group content by using rules that auto-discover VMs and by selecting specific VMs, storage, and clusters.

  1. In Name, enter a descriptive name for the VM group.

  2. To create rules that auto-discover and select VMs to back up, do the following:

    1. Click Add, and then select Rule.

      The Add rule dialog box appears.

    2. From the list, select the type of rule to create, and then specify the rule:

      • Account: Select VMs that belong to a specific Apache CloudStack account.

      • Browse: Select specific VMs. (Selecting this option changes the Add rule dialog box to the Add content dialog box.)

      • Datacenter: Select VMs that reside in a specific Apache CloudStack datacenter.

      • Host: Select VMs that are running on a specific host within the Apache CloudStack environment.

      • Infrastructure: Select VMs based on infrastructure-level objects, such as clusters or hosts, within the Apache CloudStack environment.

      • Power state: Select VMs based on a power status of On, Off, or Other. (Other includes statuses such as Suspended).

      • Project: Select VMs that belong to a specific Apache CloudStack project.

      • Virtual machine name or pattern: Select VMs based on their names. For example, to select VMs that have a name that includes "east", enter Virtual machine name or pattern | Contains | east.

    3. Click Save.

  3. To select VMs in other ways, do the following:

    1. Click Add, and then select Content.

      The Add content dialog box appears.

    2. From the Browse and select VMs list, select the following options to add to the VM group:

      • Accounts: Select all virtual machines that belong to one or more specified Apache CloudStack accounts.

      • Projects: Select VMs that belong to a specific Apache CloudStack project.

      • Infrastructure: Select VMs based on infrastructure-level objects, such as clusters or hosts, within the Apache CloudStack environment.

      • VMs: Select one or more individual virtual machines from the Apache CloudStack environment.

      • Tags: Select virtual machines that are associated with specific Apache CloudStack resource tags. Only VMs that match the specified tag criteria are included.

        Note

        Tag-based content browsing is not supported if VM tags or tag values contain a forward slash (/), backward slash (\), or colon (:).

    3. Click Save.

  4. To see a list of the VMs that are selected for backup based on your current selections, click Preview.

    The Preview page appears.

  5. Click Cancel.

  6. Click Next.

    The Summary page of the configuration wizard appears.

Plan

A backup plan specifies the storage to back up the data to and other settings such as recovery point objective (RPO) settings.

  1. Select an existing backup plan or create a new backup plan.

    1. Click the add button add/plus button - gray - no border.

      The Create backup plan dialog box appears.

    2. In the Plan name box, enter a descriptive name for the backup plan.

    3. For Storage, select the storage pool where you want to store backups.

    4. For the backup plan settings, select pre-defined settings or create custom settings:

      • To select pre-defined settings, under Retention rules, select one of the following:

        • Select Standard retention to retain the incremental backups for 1 month.

        • Select Extended retention for optimized storage where the incremental backups of primary and secondary copies are retained for 1 month, and extended retention for monthly and yearly full backups.

          Note

          The Extended retention option is available only when the secondary copy backup is selected.

      • To create custom settings, select Custom plan, and then specify the following:

        • For Retention, specify the amount of time to retain the backup jobs.

        • For Backups run every, specify how often to run backups.

    5. Click Done.

  2. Click Next.

    The Add VM Group page of the configuration wizard appears.

Summary

  1. Review the summary.

  2. Click Finish.

×

Loading...