NetBackup™ Web UI RHV Administrator's Guide

Last Published:
Product(s): NetBackup (8.2)
  1. Introducing the NetBackup web user interface
    1.  
      About the NetBackup web user interface
    2.  
      Terminology
    3.  
      Sign in to the NetBackup web UI
  2. Managing RHV servers
    1.  
      Quick configuration checklist to protect Red Hat Virtualization virtual machines
    2. Configuring secure communication between the Red Hat Virtualization server and NetBackup host
      1.  
        ECA_TRUST_STORE_PATH for NetBackup servers and clients
      2.  
        ECA_CRL_PATH for NetBackup servers and clients
      3.  
        VIRTUALIZATION_HOSTS_SECURE_CONNECT_ENABLED for servers and clients
      4.  
        VIRTUALIZATION_CRL_CHECK for NetBackup servers and clients
    3.  
      About the ports that NetBackup uses to communicate with RHV
    4. Add or browse an RHV manager
      1.  
        Adding a backup host to the NetBackup master server
      2.  
        Remove an RHV manager
    5.  
      Create an intelligent VM group
    6.  
      Remove an intelligent VM group
    7.  
      Setting global limits on the use of RHV resources
  3. Protecting RHV virtual machines
    1.  
      Things to know before you protect RHV virtual machines
    2.  
      Protect RHV VMs or intelligent VM groups
    3.  
      Remove protection from VMs or intelligent VM groups
    4.  
      View the protection status of VMs or intelligent VM groups
  4. Recovering RHV virtual machines
    1.  
      Things to consider before you recover the RHV virtual machines
    2.  
      About the pre-recovery check
    3.  
      Recover an RHV virtual machine
    4.  
      About the supported virtual disk formats and disk provisioning during VM recovery
  5. Troubleshooting RHV VM protection and recovery
    1.  
      Troubleshooting tips for NetBackup for RHV
    2.  
      Error run into during the RHV virtual machines discovery phase
    3.  
      Error run into while backing up RHV virtual machines
    4.  
      Error run into while restoring RHV virtual machines
  6. API and command line options for RHV
    1. Using APIs and command line options to manage, protect, or recover RHV virtual machines
      1.  
        Additional information about the rename file
    2. Additional NetBackup options for RHV configuration
      1.  
        OVIRT_IMAGEIO_INACTIVITY_TIMEOUT option for NetBackup servers
      2.  
        RHV_CREATEDISK_TIMEOUT option for NetBackup servers
      3.  
        RHV_AUTODISCOVERY_INTERVAL option for NetBackup servers

Using APIs and command line options to manage, protect, or recover RHV virtual machines

This topic lists the APIs and command line options to protect or recover the Red Hat Virtualization virtual machines. Only the important variables and options are mentioned in this topic.

For detailed information on the APIs and command lines, use these references:

Add the RHV manager credentials

Table: Add the RHV manager credentials

API or command line options

Important variables and options

POST
/netbackup/config/servers/vmservers
  • serverName is the name of the RHV manager

  • vmType is RED_HAT_VIRTUALIZATION_MANAGER

tpconfig command

  • virtual_machine is the name of the RHV manager.

  • vm_type is 10. The number 10 stands for RHV Manager.

Validate the RHV manager credentials

Table: Validate the RHV manager credentials

API or command line options

Important variables and options

POST
/netbackup/config/servers/vmservers/
{serverName}/validate-credential
  • {serverName} is the name of the RHV manager.

  • validationHost is a whitelisted Windows or Linux backup host.

Create an RHV VM backup policy

Table: Create an RHV VM backup policy

API or command line options

Important variables and options

POST
/netbackup/config/policies/
  • policyType is Hypervisor

  • backuphost is a whitelisted Windows or Linux host.

  • snapshotMethodArgs can have the following values to back up a VM using VM UUID:

    application_consistent=1
    Virtual_machine_backup=1
    nameuse=2 (catalog uses VM UUID)
    file_system_optimization=1
    exclude_swap=1
  • In backupSelections > selections, use the filter option as "rhv:/?filter=Displayname Contains <name_filter>" to filter RHV VMs of a specific name.

    Apart from Displayname, you can use the other filter criteria mentioned for Intelligent VM groups.

admincmd command

  • In bpplclients -add <discoveryhost> Hypervisor Hypervisor, the hypervisor discovery host is a whitelisted Windows or Linux host.

  • In bpplinfo, the policy type (-pt) is Hypervisor.

  • In bpplinclude, use the filter option as "rhv:/?filter=Displayname Contains <name_filter>" to filter RHV VMs of a specific name.

  • In bpplinfo

    • Value of use_virtual_machine is 5 for RHV VMs.

    • Value of snapshot_method is Hypervisor_snap.

    For optimized backup, you can use:

    file_system_optimization=1
    exclude_swap=1
    

After you create the policy, other commands like creating the schedule for the policy or triggering the policy backup remain the same. For more information about the commands, refer to the NetBackup Commands Reference Guide.

Restore the RHV VM at the original location

Table: Restore the RHV VM at the original location

API or command line options

Important variables and options

POST
/netbackup/recovery/workloads/rhv/
scenarios/full-vm/recover
  • client is the VM identifier of the protected VM. The VM identifier is the VM UUID.

  • recoveryHost is a whitelisted Windows or Linux host.

  • Set the following values:

    defaultVmDiskProvisioning
    powerOnAfterRecovery
    overwriteExistingVm
    removeNetworkInterfaces
    retainVmGuid
    removeTagAssociations

bprestore command

  • vmproxy is a whitelisted Windows or Linux backup host.

  • vmserver is the name of the RHV manager.

  • vmhypervisor specifies restore from the Hypervisor policy type

  • Use the following values to modify the VM configuration:

    • vmst to remove the VM tags.

    • vmpoweron to start the VM after the VM restore.

    • vmsn to remove the VMs network interfaces.

    • vmid to retain the original VM UUID of the VM. Alternatively, use the -K option to retain the existing VM with the same UUID and not overwrite it.

    • thickdisk to configure the restored virtual disks in the thick format. The virtual disk space is allocated when the disk is created.

    • thindisk to configure the restored virtual disks in the thin format. The populated blocks are restored but the vacant blocks are not initialized or committed.

Restore the RHV VM to an alternate location

Table: Restore the RHV VM to an alternate location

API or command line options

Important variables and options

POST
/netbackup/recovery/workloads/rhv/
scenarios/full-vm/recover
  • client is the VM name of the protected VM. The VM name can either be the display name (displayName) or the UUID.

  • rhvServer is the name of the alternate RHV manager.

  • recoveryHost is a whitelisted Windows or Linux host.

  • vmhypervisor specifies restore from the Hypervisor policy type

  • Set the following values:

    defaultVmDiskProvisioning
    powerOnAfterRecovery
    overwriteExistingVm
    removeNetworkInterfaces
    retainVmGuid
    removeTagAssociations

bprestore command

  • vmproxy is a whitelisted Windows or Linux backup host.

  • vmserver is the name of the RHV manager.

  • Use the following values to modify the VM configuration:

    • vmst to remove the VM tags.

    • vmpoweron to start the VM after the VM restore.

    • vmsn to remove the VMs network interfaces.

    • vmid to retain the original VM UUID of the VM. Alternatively, use the -K option to retain the existing VM with the same UUID and not overwrite it.

  • The -R option defines the path of the rename file. Use the rename file to recover the VM to an alternate location or change the VM configuration.

    Sample rename file:

    change vmname to new_vm_name
    change /storage_domain_1/disk1_UUID 
    to /storage_domain_2/
    change /storage_domain_1/disk2_UUID 
    to /storage_domain_2/
    change cluster to new_cluster_name
    

Note:

For a Windows NetBackup host, you must add an empty line at the end of the rename file entries.

See Additional information about the rename file.