Important Update: Cohesity Products Documentation


All Cohesity product documentation are now managed via the Cohesity Docs Portal: https://docs.cohesity.com/HomePage/Content/home.htm. Some documentation available here may not reflect the latest information or may no longer be accessible.

NetBackup™ for KVM Administrator's Guide

Last Published:
Product(s): NetBackup (11.1)
  1. Introduction
    1.  
      About NetBackup for KVM
  2. Installation and configuration overview
    1. Planning the installation for NetBackup for KVM
      1.  
        Verifying the operating system and platform compatibility
      2.  
        NetBackup server and client requirements
    2.  
      NetBackup configuration overview
  3. Managing KVM hosts
    1.  
      Add KVM hosts
    2. About KVM discovery
      1.  
        Change the autodiscovery frequency of KVM assets
      2.  
        Discover KVM host assets manually
    3.  
      Browse KVM assets
    4.  
      Validate a KVM host
    5.  
      Remove a KVM host
    6.  
      Change resource limits for KVM resource types
  4. Configuring RBAC roles for KVM administrators
    1.  
      RBAC roles for the KVM administrator
    2.  
      Assigning permissions at specific KVM object levels
  5. Protecting KVM virtual machines
    1. About configuring a backup policy for KVM
      1.  
        Limitations for KVM backups
    2.  
      About automatic virtual machine selection
    3.  
      Add a policy for KVM
    4.  
      About policy attributes
    5.  
      Schedule properties
    6.  
      Add KVM hosts to a policy
    7. Configure a query to select KVM virtual machines for backup
      1.  
        Query builder reference for KVM virtual machines
      2.  
        Use Advanced mode to create a query for virtual machine selection
      3.  
        Example queries to select VMs for backup
      4.  
        Test a VM query
      5.  
        About the Reuse VM selection query results option
    8. Backup options on the KVM attributes tab
      1.  
        Optimizations options (KVM)
      2.  
        Primary VM identifier options (KVM)
      3.  
        NetBackup character restrictions for the Primary VM identifier
      4.  
        Existing snapshot handling options (KVM)
      5.  
        KVM - Advanced attributes
    9.  
      View the protection status of KVM virtual machines
    10.  
      Perform a manual backup
  6. Recovering KVM virtual machines
    1.  
      Considerations and limitations for KVM recovery
    2.  
      About the pre-recovery check
    3.  
      Recover a KVM virtual machine
  7. Troubleshooting KVM backups and recovery
    1.  
      NetBackup logging for KVM
    2.  
      Configuring VxMS logging
    3.  
      Troubleshooting a KVM discovery or a validate operation

Configuring VxMS logging

The following procedures describe how to configure VxMS logging for NetBackup.

VxMS logging on a Linux backup host

To configure VxMS logging on a Linux backup host

  1. Create the VxMS log directory:

    /usr/openv/netbackup/logs/vxms

    Note: For logging to occur, the VxMS directory must exist.

    Note: If you have run the NetBackup mklogdir command, the VxMS log directory already exists.

  2. Add the following to the /usr/openv/netbackup/bp.conf file:

    VXMS_VERBOSE=<numeric value of 0 or greater>

    See Table: VxMS logging levels for the available logging levels.

  3. To change the log location, enter the following in the bp.conf file:

    vxmslogdir=path to new log location

    Note: If the VxMS log location is changed, the Logging Assistant does not collect the logs.

VxMS logging on a Windows backup host

To configure VxMS logging on a Windows backup host

  1. Create the VxMS log directory:

    install_path\NetBackup\logs\vxms

    Note: For logging to occur, the VxMS folder must exist.

    Note: If you have run the NetBackup mklogdir.bat command, the VxMS log directory already exists.

  2. In the Windows registry, create the DWORD registry entry VXMS_VERBOSE in the following location:

    HKEY_LOCAL_MACHINE > SOFTWARE > Veritas > NetBackup > CurrentVersion > Config

  3. To configure the logging level, set the numeric value of VXMS_VERBOSE to 0 or greater. Larger numbers result in more verbose logs.

    See Table: VxMS logging levels for the available logging levels.

  4. To change the log location:
    • Open regedit and go to the following location:

      HKEY_LOCAL_MACHINE > SOFTWARE > Veritas > NetBackup > CurrentVersion

    • Create the registry entry vxmslogdir with a string value (REG_SZ). For the string value, specify the full path to an existing folder.

    Note: You can use NTFS compression on VxMS log folders to compress the log size. The new logs are written in compressed form only.

    Note: If the VxMS log location is changed, the Logging Assistant does not collect the logs.

VxMS logging levels

Table: VxMS logging levels lists the VxMS logging levels.

Note:

Logging levels higher than 5 cannot be set in the Logging Assistant.

Note:

Logging levels higher than 5 should be used in very unusual cases only. At that level, the log files and metadata dumps may place significant demands on disk space and host performance.

Table: VxMS logging levels

Level

Description

0

No logging.

1

Error logging.

2

Level 1 + warning messages.

3

Level 2 + informative messages.

4

Same as level 3.

5

Highly verbose (includes level 1) + auxiliary evidence files (.mmf, .dump, VDDK logs, .xml, .rvpmem).

You can set the logging level for the VDDK messages.

6

VIX (VMware virtual machine metadata) dumps only.

7

VHD (Hyper-V virtual machine metadata) dumps only.

> 7

Full verbose + level 5 + level 6 + level 7.