How to add User-Agent header when uploading BLOB to Azure cloud containers

How to add User-Agent header when uploading BLOB to Azure cloud containers

Article: 100046110
Last Published: 2019-08-14
Ratings: 0 0
Product(s): NetBackup

Problem

The User-Agent request header contains a string that allows peers to identify the application type, software vendor and software version of the requesting software application. The User-Agent header is added in the REST call while uploading a BLOB to Azure cloud container during backup or duplication operation. This header was not transmitted when using NetBackup version 8.0.

 

Error Message

The bptm process debug log snippet shows the User-Agent header utilized at the time of a writing or duplicating a backup to Azure storage. These messages are only observed when the cloud storage server is created on a NetBackup 8.1 or later system, or a NetBackup 8.0 system where the engineering fix (ET3980529) has been applied prior to the cloud storage server creation.
 

15:07:33.731 [20071] <2> 5:bptm:20071:xxxxxxxx: AzureJob => Send header, 0000000423 bytes (0x000001a7) 0000: PUT /xxxxxxxx/xxxxxxxx_1563269826_ 0040: C1_F1/META_IMAGE_PROPERTIES HTTP/1.1 0066: Host: my-az-stor-acct-01.blob.core.windows.net 0090: Accept: */* 009d: x-ms-blob-type:BlockBlob 00b7: x-ms-version:2015-02-21 00d0: Content-Length:3312 00e5: x-ms-date:Tue, 16 Jul 2019 09:37:33 GMT 010e: Authorization:SharedKey xxxxxxxx:xxxxxxxx 014e:xxxxxxxx: User-Agent:APN/1.0 Veritas/1.0 NetBackup/8.0 018f: Expect: 100-continue 01a5:

 

Solution

Veritas customers are requested to reference ET3980529 and contact the Technical Support team to obtain the binary package. See the Related Articles section for additional instructions on how to use the EEB (Emergency Engineering Binary) installer.

 

Note: After applying the Engineering binary, the User-Agent header will take effect only for all newly created Azure cloud storage server instances.
 

Customers are requested to contact the Technical Support team to modify the CloudInstance.xml file if their Azure cloud storage server was created at NetBackup version 8.0, and they have have since upgraded to a later release.

 

The CloudInstance.xml file is located at one of the the following paths based on the NetBackup version. For version 8.2 and later, the path is:

Windows - C:\Program Files\Veritas\NetBackup\var\global\wmc\cloud\
Linux - /usr/openv/var/global/wmc/cloud

 

For NetBackup versions 8.1 or prior, the CloudInstance.xml is located in the folder:

Windows - C:\Program Files\Veritas\NetBackup\db\cloud
Linux - /usr/openv/netbackup/db/cloud

 

 

 

References

Etrack : 3980529

Was this content helpful?