Netbackup 8.X java console does start

Problem:
Upon launching the Netbackup 8.X java console (jnbSA) the following error message is displayed:

java.lang.UnsatisfiedLinkError: /usr/openv/java/jre/lib/amd64/libawt_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

Resolution:
3 X.Org X11 libXext runtime library are missing.

On a Red Hat 7 system run following commands:
yum install libXext.x86_64
yum install libXrender.x86_64
yum install libXtst.x86_64

How to verify connectivity from Netbackup media server to a HPE StoreOnce using Catalyst

Obtain a list of defined storage server

# nbdevquery -listdp -stype hp-StoreOnceCatalyst

Last column in the output is the defined Storage Server. Then run this command from the Netbackup media server :

bpstsinfo -serverinfo -storage_server {storage server name}   -stype hp-StoreOnceCatalyst

Output from command should look like this, any other message indicate connectivity issue:

Server Info:
Server Name: hp-StoreOnceCatalyst: {storage server name}
Supported Stream Formats:
[
]
Server Flags: (STS_SRV_IMAGELIST | STS_SRV_CRED | STS_SRV_EVSYNC | STS_SRV_IMAGE_COPY)
Maximum Connections: 0
Current Connections: 1
Supported Interfaces:
[
]
Supported Credentials:
[
]

If diskpool is in up state, and the command above works, but backup fails with status 2074, check the OST credentials configured with tpconfig. The Cayalyst debug log in /usr/openv/hpe/ost/logs will contain lines with “OSCLT_ERR_PERMISSION_DENIED”.

Netbackup TIR data

 

Netbackup initial store TIR (True Image Restore) data in the catalog, but not longer than “Keep true Image restoration (TIR) information” setting in the master server properties. After that period of time TIR data is pruned from the catalog.

If Netbackup need older TIR data than the prune setting, e.g. for a bare metal restore (BMR), TIR data is restored from media. This can be seen as an additional restore job during BMR.

NBU_TIR_example 2

Once thing to note is that both client and master server is the same host.

NBU_TIR_example

Netbackup Bare Metal Restore with Ovirt Tools.

Netbackup Bare Metal Restore has a issue with KVM Ovirt tools version 62.73.104.11700 (latest version as time for writing).

During backup, the control job will fail with status code 1:

Error bpbrm (pid=3319) BMRERR: Received BMR error: Failed to import Config file. (27)
Error bpbrm (pid=3319) BMRERR: Received BMR error: Insert for BMR configuration information failed. (13)
Error bpbrm (pid=3319) BMRERR: Received BMR error: Failed sending the discovery. (21)
Error bpbrm (pid=3319) BMRERR: Received BMR error: BMR information discovery failed. (35)

On systems where Ovirt Tools has been upgraded, a BMR restore will result in the message : “The restore has stopped due to the following error: Unable to make Registry modification required to boot the system”.

The message appear after all data disk has been restored, just before the system needs rebooting.

NBU Bare metal restore error message

To fix the issue, revert to Ovirt tools 62.72.104.10200 – this version is as time of writing the latest stable version.

Netbackup Java GUI certificate

From Netbackup 7.7.x certificates are issues to all connecting Java admin consoles. That is not a bad thing as this tighten up security, however if the systems domain name changes internally e.g. from srv to srv.acme.com the stored certificate doesn’t match and you will get a logon error.

To clear these stored certificates simply delete directory

C:\Users\{USERS}\AppData\Roaming\Veritas\VXSS

Creating Symantec Recovery disk image (srt) fails using Netbackup Bare Metal Restore option.

Problem: During creation of Netbackup Bare Metal Restore Shared Resource Tree, the step creating the “Creating Symantec Recovery disk image” fails

BMR - creating symantec recovery point disk image

C:\Windows\Logs\DISM\dism.log contains the following lines:

2015-06-25 10:13:11, Error                 DISM   DISM Package Manager: PID=18712 TID=6388 Failed while processing command add-package. – CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070005)

2015-06-25 10:13:11, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Program Files/Veritas/NetBackup/BareMetal/server/data/baseSrd/EN-x86/mount/Users/default/ntuser.dat, the client may still need it open. [HRESULT = 0x80070005 – E_ACCESSDENIED]

Background for the issues can be found McAfee KB76867

Cause: McAfee is interfering with the dism commad which Netbackup uses.

Resoloution: Temporary disable the followint services

  • McAfee Framework Services
  • McAfee MCSheild
  • MacAfee Task manager

Or Install VirusScan Enterprise 8.8 Patch 5.

MSDP convert in 7.6.1

The convert process in Netbackup 7.6.1 is chatty and log thease messages in /var/log/messages:

spad[14271]: ERR [140433449379616]: -1: /usr/openv/pdde/pdcr/bin/stconv –fixformatfile
convert[15198]: ERR: -1: Failed to load storage format version from /msdp/data/.format
convert[28069]: ERR: -1: Failed to load storage format version from /msdp/data/.format
convert[30023]: ERR: -1: Failed to load storage format version from /msdp/data/.format
convert[30933]: ERR: -1: Failed to load storage format version from /msdp/data/.format
convert[30980]: ERR: -1: Failed to load storage format version from /msdp/data/.format
convert[30989]: ERR: -1: Failed to load storage format version from /msdp/data/.format
convert[31002]: ERR: -1: Failed to load storage format version from /msdp/data/.format
spad[16322]: ERR [139805757482784]: -1: /usr/openv/pdde/pdcr/bin/stconv –fixformatfile
spoold[16418]: ERR [139758022735648]: -1: /usr/openv/pdde/pdcr/bin/stconv –fixformatfile

The messages are information only and are not errors even throut they look serious. The log for the conversion process can be found in /{MSDP_PATH}/log/convert

If the conversion is successful, you will find the following messages in the log file found in /{MSDP_PATH}/log/convert/

[INF] *** Congratulations! The conversion has finished successfully!

bplist – a handy tool for the Netbackup admin

The bplist is a handy tool for the Netbackup admin to list files and folders , however it’s pretty picky with it’s arguments. The cause is bplist assumptions.

  • If no path is specified current path is presumed
  • if no start time is specified , bplist searches 12 hours back.
  • if no type (-t) is specified standard is assumed (type 0).

Always  remember to :

Specify a path, / is a good start

Specify a start time unless you know the backup is younger than 12 hour.

Always specify the -R option.

Specify a type (-t) unless you are listing UNIX type backup.

For Windows hosts.

List files from a Windows client use:

# bplist -B -C  host.acme.com  -l -R -t 13 -s 06/05/2010 /

YES, the / as path actual work. You can substitute the / with a drive letter, but you must use drive letter in upper case.

# bplist -B -C  host.acme.com  -t 13 -l -R  -s 06/07/2010 /C/

# bplist -B -C  host.acme.com  -t 13 -l -R  -s 06/07/2010 /c/ WRONG !!

For Unix host

Since UNIX system uses type 0 (Standard) you can omit the -t option.

# bplist -B -C  host.acme.com  -l -R  -s 06/05/2010 /

Listing a Oracle backup, Oracle is type 4

# bplist -B -C ora.acme.com -R -l -t 4 -s 01/01/2015 /

For NDMP host

bplist will also work with NDMP backup’s

# bplist -B -C nasdkba001.acme.com -l -R -t 19 /

 Netbackup types:

As a service, a list of the Netbackup types (Source: Symantec Tech note TECH27299). Use the Netbackup types jointly with bplist -t option.

0	Standard
1	Proxy	NetBackup internal setting
2	Non-Standard	NetBackup internal setting
3	Apollo-wbak	NetBackup DataCenter only
4	Oracle
5	Any policy type
6	Informix-On-BAR
7	Sybase
8	MS-Sharepoint	NetBackup Server /Enterprise Server only
9	MS-Windows	Not active, use MS-Windows-NT (13) for Windows 2000/NT/XP/2003 clients.
10	NetWare
11	DataTools-SQL-BackTrack
12	Auspex-FastBackup
13	MS-Windows-NT
14	OS/2
15	MS-SQL-Server
16	MS-Exchange-Server
17	SAP	NetBackup Server /Enterprise Server only
18	DB2	NetBackup Server /Enterprise Server only
19	NDMP
20	FlashBackup	NetBackup Server /Enterprise Server only
21	Split-Mirror	NetBackup Server /Enterprise Server only
22	AFS	NetBackup Server /Enterprise Server only
23	DFS	Not an active policy type.
24	DataStore
25	Lotus-Notes
26	NCR-Teradata	No longer supported, contact NCR to see if they provide an extension.
27	OpenVMS
28	MPE/iX
29	FlashBackup-Windows	NetBackup Server /Enterprise Server only
30	Vault
31	BE-MS-SQL-Server
32	BE-MS-Exchange-Server
33	Macintosh	Not active, use Standard (0) for Macintosh OSX clients.
34	Disk Staging	NetBackup Server /Enterprise Server only
35	NBU-Catalog	NetBackup 6.0 only

After BMR restore login display “Desktop refer to a location that is unavaiable”

Description:

After Netbackup BMR restore has been completed and firt login is attempted the follwing message is begin displayed :BMR_destop_error

Restore using the classic “system overwrite” method does not show the error message.

Cause:
Exclude list contained the follwing files:

NTUSER.DAT*
UsrClass.dat*

Remove the files on the exclude list. A new backup is required to have a “working” BMR backup.