Video Screencast Help

bpclient "HOST INFO" parse

Created: 17 May 2013 • Updated: 17 May 2013 | 5 comments
Stumpr2's picture
This issue has been solved. See solution.

bpclient output from Linux running NBU 7.5.0.4

My problem:

I have thousands of clients spread across 5 NBU environments that have been installed by numerous people over several years. My problem is that I need to ensure that the bpclient database information is correctly defined. I was hoping to use the "HOST INFO" fields to parse out for the information I need so I can place it in a CSV for spreadsheet analysis.

bpclient -client klaatu -l
Client Name: klaatu
 CURRENT HOST
    klaatu 0
 HOST INFO
    2 0 0 0 0 2 1 1 0 0 3 0 0 *NULL* 0
 

I don't know if the "HOST INFO" fields above are in the same sequence order as the ouput listed below:

bpclient -client klaatu -L
Client Name: klaatu
 Current Host:
 Hostname: *NULL*
 Dynamic Address: yes
 Free Browse: Allow
 List Restore: Not Specified
 Max Jobs This Client: Not Specified
 WOFB Enabled: yes
 WOFB FIM: VSS
 WOFB Usage: Individual Drive Snapshot
 WOFB Error Control: Abort on Error
 Client Direct: Deduplication on the media server or
  Move data via media server
 Client Direct Restore: Move data via media server
 OST Proxy: Off
 OST Proxy Server: Unspecified
Connect options: 2 2 3
 Offline: No
 

I could script using the English variables but if I can parse out the variables information from "HOST INFO"  it would be much easier to script and also analyze in a spreadsheet

 

Operating Systems:
Discussion Filed Under:

Comments 5 CommentsJump to latest comment

Mark_Solutions's picture

When you run help against the bpclient command you get a set of options

I am guessing this is the order that it outputs them so your - lt would probably be OK taking these as headings for you spread sheet and knowing, from the list below what they mean:

dynamic_address <0=no, 1=yes>
free_browse <0=allow, 1=deny, 2=use>
list_restore <0=not specified, 1=allow both,2=allow list only, 3=deny both>
max_jobs <1-99>
current_hostname <host_name>
[[-online] | [-offline [[-ut] -onlineat <time>]]]
WOFB_enabled <0=WOFB disabled, 1=WOFB_enabled>
WOFB_FIM <0=VSP, 1=VSS>
WOFB_usage <0=Individual Drive Snapshot, 1=Global Drive Snapshot>
WOFB_error <0=Abort Backup on Error, 1=Disable & Continue>
connect_options 0|1|2 0|1|2 0|1|2|3
granular_proxy <granular_proxy_host>
client_direct <0=Deduplicate on the media server or Move data via media server,
1=Prefer to use client-side deduplication or Prefer to move data direct to storage,
2=Always use client-side deduplication or Always move data direct to storage

I have checked this by changing streams allowed and this falls as the 5th column, use media server de-dupe falls as the 12th column

Guess you need to change a client one setting at a time to identify each settings place in the output, takings its meaning from the above

Hope this helps

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Stumpr2's picture

what about the:

connect_options 0|1|2 0|1|2 0|1|2|3

I assume that one entity would have 3 columns in "HOST INFO"?

VERITAS ain't it the truth?

Mark_Solutions's picture

OK - quick check:

bpcd connect back is the 6th entry - 2 default, 0 random, 1 vnetd

ports - the first entry 2 default, 0 reserved, 1 non reserved

daemon connect port - the 11th entry 3 default, 0 automatic, 1 vnetd only, 2 daemon port only

You just need to choose a client in the list and change one setting and click apply while you have your cmd window open running the same command - easy to stop which value changed and to what

Hope this helps

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Stumpr2's picture

Almost there

I was not able to determine the 13th and the 15th column

I attached the header row of my spreadsheet.

 

 

 

connect_options ports
0 = reserved port
1 = non-reserved ports
2 = use default ports
dynamic_address
0 = client name
1 = use DHCP
free_browse
0 = allow
1 = deny
2 = use
list_restore
0 = default
1 = allow list and restore
2 = allow list only
3 = deny list and restore
max_jobs
allowed to run
concurrently
connect_options
bpcd connect back
0 = random
1 = VNETD port
2 = use default
WOFB_enabled
0 = disables open file
1 = enables open file
WOFB_FIM
0 = use VSP
1 = use VSS
WOFB_usage
0 = individual snap
1 = global snap
WOFB_error
0 = abort on error
1 = disable snap and continue
connect_options
daemon connect port
0 = automatic
1 = VNETD
2 = legacy
3 = use default
client_direct
0 = never use
1 = prefer to use
2 = always use
13 UNKNOWN 14 15 UNKNOWN
AttachmentSize
bpclient.xlsx 9.23 KB

VERITAS ain't it the truth?

SOLUTION
CRZ's picture

Hi Bob,

The final three fields are:

13 ost_proxy (-ost_proxy) (numbers corresponding to: [ 0=Off | 1=On | other?=Unspecified ])
14 ost_proxy_server (-ost_proxy_server) (string - probably a hostname?)
15 ost_client_direct_restore (-client_direct_restore) (numbers corresponding to: [ 0=Move data via media server | 1=Prefer to move data direct to storage | 2=Always move data direct to storage | other?=Unspecified ])

You probably don't need it, but I wouldn't have been able to sleep if I hadn't looked it up, either.  wink


bit.ly/76LBN | APPLBN | 75LBN