Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

bpsetconfig

Updated: 26 May 2010 | 18 comments
reggiej's picture
0 0 Votes
Login to vote

I am trying to use bpsetconfig and always get a message that says "unimplemented feature". Any idea what causes this?
Servver version 6.5.3.4

We are a new shop for Netbackup and are converting from TSM.

/usr/openv/netbackup/bin/admincmd/bpsetconfig -i vzdtsm02_domain -h vzdtsm02.xxx.xx.xx-c vzdtsm02

unimplemented feature

discussion Filed Under:

Comments

Marianne van den Berg's picture
24
Nov
2009
0 Votes 0
Login to vote

bpsetconfig does not have -i 

bpsetconfig does not have -i  or -c options.
Have a look at the Commands for UNIX and Linux manual for command usage and examples.
bpsetconfig is used from cmd to add/update bp.conf entries.
What is it that you need to do?

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links

Andy Welburn's picture
25
Nov
2009
0 Votes 0
Login to vote

& yet the following T/N has them both!

DOCUMENTATION: A method for centrally managing exclude and include list for UNIX and Linux clients under NetBackup 6.5.3.

e.g.

bpsetconfig -i <filename> -h <client> [-c <policy> [-s <schedule>]]
 

Writes the file <filename> to /usr/openv/netbackup/include_list  on the client <client> (the additional qualifiers <policy> and <schedule> allow the files include_list.<policy> and include_list.<policy>.<schedule> to be written to the client).

***EDIT***

So from the OP:

bpsetconfig -i vzdtsm02_domain -h vzdtsm02.xxx.xx.xx -c vzdtsm02

trying to create include list of /usr/openv/netbackup/include_list.vzdtsm02 on client vzdtsm02.xxx.xx.xx using the file vzdtsm02_domain  ??

As a matter of interest, what version of NB  (6.5.3.4 incorrect ;) )

Regards Andy

"It's not too late to panic ..."

Andy Welburn's picture
25
Nov
2009
0 Votes 0
Login to vote

Having another look at your OP

is that an exact copy of what you tried?

The only reason I ask is that there is no space between your hostname & the -c. If that is the case then that could be why you are getting the 'unimplemented feature' error??

***EDIT***

Not that I can get it to work anyway!

In testing with (what I believe is) correct syntax I get "client hostname could not be found", so go figure!

Regards Andy

"It's not too late to panic ..."

Marianne van den Berg's picture
25
Nov
2009
0 Votes 0
Login to vote

Thanks for this Andy - I

Thanks for this Andy - I obviously missed these new options that were introduced with 6.5.3!!
(The commands manual understandably do not list the new options.)
We never stop learning.........

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links

Andy Welburn's picture
25
Nov
2009
0 Votes 0
Login to vote

man pages also aren't updated

which seems a shame.

Altho' the "usage" appears correct :

# bpsetconfig -H
NetBackup 6.5 -- Update Configuration

Usage:  bpsetconfig [-h "host"] [-u "user"] ["file" ...] [-i|-e "file" [-c "class" [-s "schedule"]]]
        bpsetconfig -H

Options:
        -h Specifies the host name ("host") of the server or client whose configuration will be updated.
        -u Specifies the user ("user") whose configuration will be updated.
        "file" Specified the file or files where the updates are listed. If not specified, standard input is read.
        -i Specifies the include file ("file") that will be set on the host.
        -e Specifies the exclude file ("file") that will be set on the host.
        -c Specifies the class for which the include or exclude file will be set.
        -s Specifies the schedule for which the include or exclude file will be set.
        -H Displays the help screen.

# bpgetconfig -H
NetBackup 6.5 -- Display Configuration

Usage:  bpgetconfig -M "master" [-x|X] ["config_item" ...]
        bpgetconfig [-u|h] [-x|X] ["config_item" ...]
        bpgetconfig -g "server" [-L|U|l] [-c|t] [-A]
        bpgetconfig -s "server" [-L|U|l] [-c|t] [-A]
        bpgetconfig -i "filename" "server" ["class" ["schedule"]]
        bpgetconfig -e "filename" "server" ["class" ["schedule"]]
        bpgetconfig -H [config_item]

Options:
        -M Specifies the Master server ("master") whose host configuration will be displayed.
        -h Displays the local host configuration (default).
        -u Displays the current user configuration.
        -x Excludes items not explicitly listed in the configuration.
        -X Lists all configuration items (default).  The -x and -X options may be combined with the -M, -h, and -u options. The -x and -X options have no effect if 1 or more configuration items are specified on the command line.
        "config_item" if specified displays only the specified configuration items.
        -g Selects the host server ("server") for which general Backup Exec or NetBackup information will be displayed. Currently:
               Master or Client
               NetBackup Client Platform
               NetBackup Client Protocol Level
               Product Type (Backup Exec if installed, else NetBackup)
               Version Name (for Backup Exec if installed, else NetBackup)
               Version Number (for Backup Exec if installed, else NetBackup)
               Installed Path for NetBackup Bin (null if Backup Exec installed)
               Installed OS for host server
        -s Selects the host server ("server") for which general NetBackup specific system information will be displayed. Currently:
               Master or Client
               NetBackup Client Platform
               NetBackup Client Protocol Level
               Product Type (NetBackup)
               Version Name
               Version Number
               Installed Path for NetBackup Bin
               Installed OS for host server
        -L Displays a long user readable listing.
        -U Displays a brief user readable listing (default).
        -l Displays a compact machine readable listing.  The -L, -U and -l options may only be used with the -g or -s option.
        -c Displays the ciphers, one per line, appended to the -g or -s option output. The -c option may only be used with the -g or -s option.
        -t Displays the tier information, one item per line, appended to the -s  option output. The -t option may only be used with the -g or -s option.
        -A Displays all available system information. The -A option may only be used with the -g or -s option.
        -i Writes the include_list from "server" to "filename"
        -e Writes the exclude_list from "server" to "filename"
        -H Displays the help screen.
        -H config_item  Displays the valid configuration items.

Regards Andy

"It's not too late to panic ..."

sdw303's picture
25
Nov
2009
0 Votes 0
Login to vote

Managing include and exclude

Managing include and exclude lists via bpsetconfig is available from v6.5.4 onwards.

See page 180 of the v6.5.4 updates doc:
ftp://exftpp.symantec.com/pub/support/products/NetBackup_Enterprise_Server/318350.pdf

Master, medias and clients that you want to manage will all need to be at least v6.5.4.

Andy Welburn's picture
25
Nov
2009
0 Votes 0
Login to vote

Curious.

It certainly does intimate that these are features new to 6.5.4, i.e. "The following are four new bpgetconfig options", but the T/N I quoted above says the -e & -i options at least were out in 6.5.3.

Regards Andy

"It's not too late to panic ..."

sdw303's picture
25
Nov
2009
0 Votes 0
Login to vote

I get the same "unimplemented

I get the same "unimplemented feature" message on NetBackup v6.5.3.1 Solaris 10 VCS master.

Andy Welburn's picture
25
Nov
2009
0 Votes 0
Login to vote

Must admit I am running 6.5.4

As a matter of interest, what "usage" do you get on 6.5.3.1 with the -H option (if that is available that is!)

Regards Andy

"It's not too late to panic ..."

reggiej's picture
25
Nov
2009
0 Votes 0
Login to vote

Andy, my actual version is

Andy, my actual version is 6.5.3.1. The docs I have indicate this feature is available in vrsion 6.5.3 and higher. http://seer.entsupport.symantec.com/docs/316533.htm

reggiej's picture
25
Nov
2009
0 Votes 0
Login to vote

Andy, my actual version is

Andy, my actual version is 6.5.3.1. The docs I have indicate this feature is available in vrsion 6.5.3 and higher. http://seer.entsupport.symantec.com/docs/316533.htm

Andy Welburn's picture
25
Nov
2009
0 Votes 0
Login to vote

Yeah that was what I was led to believe too!

Seems like sdw303 is getting the same on his 6.5.3.1 also. Only get an "unimplemented" error with a typo when I try on 6.5.4, but having said that I can't get the thing to work anyway as I mentioned earlier! Looks like they're releasing it in stages ( :D ) so maybe we'll get a fully functional version in 6.5.5 or maybe 7.0 !!

***EDIT***

Have got it to work on 6.5.4 now (both bpset & bpgetconfig) but only with clients at 6.5.4 (Master also). If I use any other client version you get the "unimplemented feature" error. So maybe the T/N we've been looking at for 6.5.3 was published incorrectly - or maybe bpset/getconfig commands were deprecated with 6.5.3.1. ?????

Think we need someone from Symantec to chip in here & clarify the situation!

Regards Andy

"It's not too late to panic ..."

reggiej's picture
25
Nov
2009
0 Votes 0
Login to vote

I see on the first client I

I see on the first client I tried on was 6.5 and a client that I got the command to work on is 6.5.3.1. So it looks like the client has to be on at least that level for the commands to work.

Andy Welburn's picture
25
Nov
2009
0 Votes 0
Login to vote

So it does work then?

for 6.5.3 as documented.

Regards Andy

"It's not too late to panic ..."

reggiej's picture
25
Nov
2009
0 Votes 0
Login to vote

When you set your

When you set your includes/excludes on the client is it necessary to have a backup selections on the policy?

Andy Welburn's picture
25
Nov
2009
0 Votes 0
Login to vote

Don't know whether it necessary

when you set up the includes/excludes initially, but I would imagine your backup would be very short (0 bytes) if there was nothing in the backup selection list!

Bearing in mind, the exclude_list excludes anything from the backup selection & the include_list includes anything previously excluded.

Regards Andy

"It's not too late to panic ..."

reggiej's picture
25
Nov
2009
0 Votes 0
Login to vote

Andy, yes it looks like it

Andy, yes it looks like it works, you just can't have a downlevel client.

reggiej's picture
25
Nov
2009
0 Votes 0
Login to vote

I am now trying to retrieve a

I am now trying to retrieve a file using bpgetconfig and don't know why I keep getting  "file read failed"
bpgetconfig -i /home/rjohns/vzdtsm01_includes  vzdtsm01.serv.xx.xx.xxx -c vzdtsm02

An empty file will be created. On the server that the file is being retrieved from the permissions should allow a read
-rwxr-xr-x 1 root root     40 Nov 25 12:14 include_list.vzdtsm02