0% found this document useful (0 votes)
27 views

Code 178

The document describes an error message "Failed to set DR record for policy" that occurs when configuring a disaster recovery tape in NetBackup 6.0. The error indicates that the tape is assigned to the wrong volume pool - it must be in the NetBackup pool rather than the CatalogBackup pool. The solution is to use the available_media command to check the pool assignment and either move the tape to the NetBackup pool using vmchange or change it in the NetBackup Administration Console.

Uploaded by

subhrajitm47
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Code 178

The document describes an error message "Failed to set DR record for policy" that occurs when configuring a disaster recovery tape in NetBackup 6.0. The error indicates that the tape is assigned to the wrong volume pool - it must be in the NetBackup pool rather than the CatalogBackup pool. The solution is to use the available_media command to check the pool assignment and either move the tape to the NetBackup pool using vmchange or change it in the NetBackup Administration Console.

Uploaded by

subhrajitm47
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Problem

STATUS CODE 178: Getting "Failed to set DR record for policy " when setting DR tape in NetBackup 6.0 Hot Catalog backup policy.

Error
<16> deleteCatdrinfo: Failed to set DR record for policy "NBU-catalog-policy" (178) <2> bpplcatdrinfo: media id is not in NetBackup volume pool <2> bpplcatdrinfo: EXIT status = 178

Solution
Overview: An error Failed to set DR record for policy "NBU-catalog-policy" (178) can occur when attempting to configure a Disaster Recovery (DR) tape in a NetBackup 6.0 Hot Catalog backup policy. Status code 178 indicates that the tape is in the wrong volume pool. With NetBackup 6.0, a new CatalogBackup pool is created by default to store tapes used for Hot catalog backups. However the tape used for the Disaster Recovery file must belong in the NetBackup pool. Troubleshooting: Use the available_media command to determine what volume pool the tape resides in. In the following example, trying to use tape A00002 will generate status code 178 since it is in the CatalogBackup pool. Tapes A00003 or A00004 could be configured as the DR tape since they are assigned to the NetBackup pool.
# /usr/openv/netbackup/bin/goodies/available_media media media robot robot robot side/ ret size status ID type type # slot face level Kbytes --------------------------------------------------------CatalogBackup pool A00001 DLT2 TLD 1 4 1 144722 ACTIVE A00002 DLT2 TLD 1 3 AVAILABLE NetBackup pool A00003 DLT2 TLD A00004 DLT2 TLD

1 1

7 5

AVAILABLE AVAILABLE

Log Files: On the master server, the admin log (/usr/openv/netbackup/logs/admin/log.<date>) would show the cause of the status code 178 when trying to configure the Disaster Recovery tape in the Hot Catalog backup policy.
<2> db_end_sts: no DONE from db_getreply(): media id is not in NetBackup volume pool <2> db_CLASS: db_end_sts() failed: media id is not in NetBackup volume pool

<16> deleteCatdrinfo: Failed to set DR record for policy "NBU-catalog-policy" (178) <2> bpplcatdrinfo: media id is not in NetBackup volume pool <2> bpplcatdrinfo: EXIT status = 178

Resolution: Use a tape that is already assigned to the NetBackup volume pool. Otherwise, move the desired Diaster Recovery tape in the NetBackup pool. This can be done from the command line by running:
# cd /usr/openv/volmgr/bin # ./vmchange -p 1 -m <mediaID> Enter the desired <mediaID> to use as

the DR tape. This will move the tape to the NetBackup

pool (pool number 1). Or from the Administration Console by doing the following: Go to the Media and Device Management > Media section. Right click on the tape and select Change. Click the New Pool radio button and then select the NetBackup from the pull down list. Click OK to save the changes.

You might also like