Configuring APTARE centralized data collection for Tape Library & Drive Inventory, Error "Not authorized to connect to vmd"

Article: 100048584
Last Published: 2020-10-12
Ratings: 0 0
Product(s): NetBackup & Alta Data Protection

Problem

If Tape Library & Drive Inventory probe fails with the following error, it is likely that these steps have not been completed.

Error Message

Not authorized to connect to vmd.

A Caller Requesting services from vmd is either not authenticated or not authorized, or a problem is encountered when two systems attempt to authenticate one another.

Cause

There was a change in NetBackup 8.1 where vmd commands are only allowed from a host in the domain regardless of trust configuration.

Solution

These steps assume that you already have trust appropriately configured and other probes are successful.

Example Environment

  • nbmaster1 – APTARE Data Collector and NetBackup Master Server.
  • nbmaster2 – NetBackup Master Server where Tape Library & Drive Inventory needs to be gathered (The remote master server).

1. On the “remote” master server (nbmaster2) run nbemmcmd -addhost command.

  • nbemmcmd -addhost -machinename nbmaster1 -machinetype media -masterserver nbmaster2 -netbackupversion 8.2 -operatingsystem windows

Refer to NetBackup Commands Reference Guide for option choices; hostnames, version, operating system should be updated accordingly.

2. If command completes successfully, run nbemmcmd -listhosts command on the remote master server and confirm that the Aptare Data Collector is listed as media.

  • nbemmcmd -listhosts
    NBEMMCMD, Version: 8.2
    The following hosts were found:
    server            nbmaster2
    master            nbmaster2
    ndmp              nbmaster2
    remote_master     nbmaster1
    media             nbmaster1
    Command completed successfully.

This adds the nbmaster1 (APTARE Data Collector) to the nbmaster2 domain. So nbmaster2 will authorize VMD commands initiated from nbmaster1 (APTARE Data Collector) to be ran.

Was this content helpful?