www.mass.dk

Sharing what I know...

  • Increase font size
  • Default font size
  • Decrease font size
Welcome to the Frontpage

Do you know bptestbpcd ?

PDF

Do you know the bptestcd command in NBU 6.5.x ?. It's one of the tool you really start to like when working in a firewalled environment using clustered Netbackup master servers.

It's straight forward to use:

./bptestbpcd -client webdkba049  <-- YES
1 1 1
10.224.18.1:49448 -> 10.224.45.59:13724
10.224.18.1:38787 -> 10.224.45.59:13724
10.224.18.1:44786 -> 10.224.45.59:13724

# ./bptestbpcd -client cfg  <-- BUHHHH
<16>bptestbpcd main: Function ConnectToBPCD(cfg) failed: 23
socket read failed

As always the default connect option for NBU 6.5 is VNTED 13724. If you combine bpclntcmd with tcpdump you have a very sharp tool for verifying connectivity.

 

Last Updated on Tuesday, 20 October 2009 15:41
 

Alternate file location using install_client_files

Print PDF
I bet we all have tried this, you need to install a Netbackup client just to discover that there is no place in /tmp. What now ??. Well, there is hope. With a little script hack it possible to let the "install_client_files" script install files in another directory than /tmp.
  • Identify client you want to push
  • Go to /usr/openv/netbackup/client/{HW}/{OS}/  for a SUSE2.6 that would be /usr/openv/netbackup/client/Linux/Linux/SuSE2.6
  • Edit file install_client
  • Find variable DEST_DIR=/tmp/bp.${pid} on line 891 (as of 6.5.4), and change the destination folder e.g. DEST_DIR=/var/bp.${pid}
  • Save file.
  • Push agent
  • Revert change back
Last Updated on Monday, 05 October 2009 11:05
 

Netbackup client hang on HP-UX 11.31

Print PDF
There is a defect in bpbkar that causes the process to hang when is tries to open /dev/ttyp[0-9]. The reason is VxFS 5.0 “extended attributes”. Bpbkar first checks file system type and version, if VxFS 5.0 is detected, then a flag is set and “extended attributes” will be verified for each file. HP-UX treats /dev/ttyp as CHR so when bpbkar check the extended attributes, another call is made and here the “open” command hangs.
Symptoms:
The backup will exit with status code 13 -  File read fail and the and the detailed view will have a message saying : socket read failed : errno = 62 - Timer expired.
Error message  - Errno = 62 -  Timer Expired
Identify:
You can verify the hang by:
touch /usr/openv/netbackup/bpbkar_to_tr
mkdir /usr/openv/netbackup/log/bpbkar
Add VERBOSE to /usr/openv/netbackup/bp.conf
then run the following command :
/usr/openv/netbackup/bin/bpbkar -nocont /dev > /dev/null
Inspect /usr/openv/netbackup/logs/bpbkar/{date}.log The last line shoud be /dev/ttyp{somthing}.
Workaround:
Add IGNORE_XATTR = YES to bp.conf or contact Symantec support and refer to Etrack 1668477 for a fix.
Formal resolution:
The formal resolution is scheduled for NBU 6.5.5
Credits:
A big "thank you" goes to Carlos Carreo from Symantec Support.

Update: There is a Technote of the of the same issue : Backup fails with status 13 when bpbkar hangs processing /dev files on VxFS 5.0
Last Updated on Thursday, 10 June 2010 09:46
 


Page 3 of 5