The Device Configuration Wizard normally uses tpautoconf to discover devices. This wizard calls tpautoconf with a different set of options.
The get and the set options are useful in special situations. For example, use them to specify a different host as the Enterprise Media Manager (EMM) server. The EMM server name is automatically defined when NetBackup is installed.
For more information about how to manage the EMM server, refer to "Managing the EMM server" of the NetBackup Administrator's Guide, Volume I.
Use -report_disc, -replace_drive, and -replace_robot to reconfigure the devices in the EMM database to reflect a serial number change that a configured device replacement caused. After hardware replacement, the correction process requires that at least one system is available through the operating system. You may need to re-map, rediscover, and reboot the system.
After you configure the server or servers, use the -report_disc option to scan the current hardware and compare it with the configured hardware. A list of discrepancies appears and shows the replaced hardware and the new hardware.
Note: |
Not all servers have access to robotic hardware. Even though no access is expected, these robots are listed as missing. |
The final step to add replacement hardware is to configure the hardware on all servers by their operating systems. Then run the Device Configuration Wizard to configure the new path information.
Refer to "Changing your hardware configuration" in the NetBackup Administrator's Guide, Volume II.
Enables the device data to be queried from the EMM server to enable a "diff" to be run on these data records against those scanned. You can run this command on reconfigured servers to produce a list of new and missing hardware. This command scans for new hardware and produces a report that shows the new and the replaced hardware.
The EMM database is used to query or to update robot drives and robot records.
This command returns the name of the host where the Enterprise Media Manager database is stored:
# tpautoconf -get_gdbhost
This command sets the
Enterprise Media Manager Server to be the host server2
:
# tpautoconf -set_gdbhost server2
This example shows how the -report_disc command reports discrepancies between detected devices and the EMM database. Included is an example of how to use the -replace_drive drive_name -path drive_path command.
# tpautoconf -report_disc ======================= New Device (Tape) ======================= Inquiry = "QUANTUM DLT8000 0250" Serial Number = PXB08P3242 Drive Path = /dev/rmt/119cbn Found as TLD(6), Drive = 1 ===================== Missing Device (Drive) ===================== Drive Name = QUANTUMDLT800014 Drive Path = /dev/rmt/9cbn Inquiry = "QUANTUM DLT8000 0250" Serial Number = PXB08P1345 TLD(6) definition Drive = 1 Hosts configured for this device: Host = plum Host = avocado # tpautoconf -replace_drive QUANTUMDLT800014 -path /dev/rmt/119cbn Found a matching device in EMM DB, QUANTUMDLT800014 on host plum update on host plum completed Found a matching device in EMM DB, QUANTUMDLT800014 on host avocado update on host avocado completed