Veritas-bu

[Veritas-bu] bpexpdate -deassignempty could not update media list, host is unreachable

2002-04-19 12:26:47
Subject: [Veritas-bu] bpexpdate -deassignempty could not update media list, host is unreachable
From: justin AT brighton.ac DOT uk (justin AT brighton.ac DOT uk)
Date: Fri, 19 Apr 2002 17:26:47 +0100
I forgot to mention the netbackup server (bpserver) is also the media
server, the second server (bpclient) is just a client and has nothing to
do with it really.

The hostname of the netbackup server is bpserver.
The two servers are connected to each other via fibre and also to
ethernet.  The fibre interface uses bpserver-1 / bpclient-1 and the
ethernet interface uses bpserver / bpclient.

In /etc/hosts we have 
127.0.0.1       localhost
194.xxx.xx.xx   bpserver.bton.ac.uk      bpserver loghost
192.168.210.5   bpserver-1
192.168.210.6   bpclient-1

In bp.conf
SERVER=bpserver (and have tried SERVER=bpserver-1)
REQUIRED_INTERFACE=bpserver-1

This is the VERBOSE log output when running "bpexpdate -deassignempty".
I can see it's trying to connect from bpserver-1, but the line
"get_stunit: STUNIT bpserver-dlt-robot-tld-0 2 bpserver 8 0 13 2 0 *NULL*
0 1 0 *NULL*" indicates the storage unit it attached to bpserver?
Ummm what's going on? :)  Do I need to get bpserver to connect to itself
as bpserver? If so I've no idea how!

17:08:35 [27851] <2> bpdbm: socket fd from accept() is 6
17:08:35 [27954] <4> connected_peer: Connection from host bpserver-1,
192.168.210.5, on non-reserved port 56114
17:08:35 [27954] <2> nb_is_valid_server: checking if bpserver-1 is a valid
server
17:08:35 [27954] <4> process_request: VSMInit() failed for stunit change:
2d
17:08:35 [27954] <2> stunit_db: ?
17:08:35 [27954] <4> db_logstrec: label=*NULL* media type=0 (Disk)
density=0 (qscsi)
17:08:35 [27954] <4> db_logstrec:  robotype=0 (?) robonum=0 concurrent
jobs=0 impx=0 mmpx=0
17:08:35 [27954] <4> db_logstrec:  odo=0 host=*NULL* path=*NULL*
17:08:35 [27954] <4> db_logstrec:  last_reread_stunit=0 max frag size =0
ndmp_attach_host: *NULL*
17:08:35 [27954] <2> stunit_db: Q_STUNITGET
17:08:35 [27954] <2> stunit_get: ?
17:08:35 [27954] <2> get_stunit_list: ?
17:08:35 [27954] <2> get_stunit: ?
17:08:35 [27954] <2> get_stunit: STUNIT bpserver-dlt-robot-tld-0 2
bpserver 8 0 13 2 0 *NULL* 0 1 0 *NULL*
17:08:35 [27954] <2> get_stunit: ?
17:08:35 [27954] <2> get_stunit: MD5 digest line
17:08:35 [27954] <2> get_stunit: myfgetline() NULL
17:08:36 [27954] <4> bpdbm: request complete: exit status 0  
17:08:37 [27851] <2> bpdbm: socket fd from accept() is 6
17:08:37 [27958] <4> connected_peer: Connection from host bpserver-1,
192.168.210.5, on non-reserved port 56115
17:08:37 [27958] <2> image_db: ?
17:08:37 [27958] <2> nb_is_valid_server: checking if bpserver-1 is a valid
server
17:08:37 [27958] <4> db_logimagerec: qtype 69 vers 0 client ? class ?
17:08:37 [27958] <4> db_logimagerec: date2 04/19/02 17:08:37 (1019232517)
17:08:37 [27958] <4> db_logimagerec: sched type ? (9)
17:08:37 [27958] <4> db_logimagerec: image_dump_level 0
17:08:37 [27958] <4> db_logimagerec: name1 ?
17:08:37 [27958] <4> db_logimagerec: backup id ?
17:08:37 [27958] <4> db_logimagerec: client type 5 ret level -1 elapsed 0
sec
17:08:37 [27958] <4> db_logimagerec: proxy_client ?
17:08:37 [27958] <4> db_logimagerec: sched label ?
17:08:37 [27958] <4> db_logimagerec: creator ?
17:08:37 [27958] <4> db_logimagerec: options 0x88 compress 0 encrypt 0
Kbytes 0
17:08:37 [27958] <4> db_logimagerec: #files 0 #copies 0 #frags 0
17:08:37 [27958] <4> db_logimagerec: sw_version ?
17:08:37 [27958] <4> db_logimagerec: files file ? cmprsd NO mpx 0
17:08:37 [27958] <4> db_logimagerec: primary copy 0 image type -1
17:08:37 [27958] <4> db_logimagerec: tir info 0 tir expiration 0
17:08:37 [27958] <4> db_logimagerec: keyword ?
17:08:37 [27958] <4> db_logimagerec: extended security information 0
17:08:37 [27958] <4> db_logimagerec: individual file restore from raw 0
17:08:37 [27958] <4> db_logimagerec: file system only 0
17:08:37 [27958] <4> db_logimagerec: Informix object descriptor ?
17:08:37 [27958] <4> db_logimagerec: Previous block incremental time
01/01/70 01:00:00 (0)
17:08:37 [27958] <4> db_logimagerec: Block incremental full time 01/01/70
01:00:00 (0)
17:08:37 [27958] <2> image_db: Q_IMAGE_MEDIA
17:08:37 [27958] <2> list_client_images: ?
17:08:37 [27958] <2> list_client_images: processing file
/usr/openv/netbackup/db/images/bpserver/1019000000/system_1019174989_FULL
17:08:37 [27958] <2> list_client_images: additional checking for media
query
17:08:37 [27958] <2> list_client_images: selecting all media type/id
17:08:37 [27958] <2> list_client_images: processing file
/usr/openv/netbackup/db/images/bpserver/1019000000/student_1019174946_FULL
17:08:37 [27958] <2> list_client_images: additional checking for media
query
17:08:37 [27958] <2> list_client_images: selecting all media type/id

- 8< - - - - - - - - - - - - - - -

17:08:38 [27958] <2> list_client_images: backups matching criteria = 1786
17:08:38 [27958] <4> bpdbm: request complete: exit status 0  
17:08:38 [27851] <2> bpdbm: socket fd from accept() is 6
17:08:38 [27959] <4> connected_peer: Connection from host bpserver-1,
192.168.210.5, on non-reserved port 56116
17:08:38 [27959] <2> nb_is_valid_server: checking if bpserver-1 is a valid
server
17:08:38 [27959] <2> error_db: ?
17:08:38 [27959] <2> error_db: Q_ERRADD
17:08:38 [27959] <2> error_add: ?
17:08:38 [27959] <4> bpdbm: request complete: exit status 0  
17:08:38 [27851] <2> bpdbm: socket fd from accept() is 6
17:08:38 [27960] <4> connected_peer: Connection from host bpserver-1,
192.168.210.5, on non-reserved port 56117
17:08:38 [27960] <2> nb_is_valid_server: checking if bpserver-1 is a valid
server
17:08:38 [27960] <2> error_db: ?
17:08:38 [27960] <2> error_db: Q_ERRADD
17:08:38 [27960] <2> error_add: ?
17:08:38 [27960] <4> bpdbm: request complete: exit status 0  


On Fri, 19 Apr 2002 10:42:18 -0500
"David A. Chapa" <david AT xbpadm-commands DOT com> wrote:

> And if that all comes up true.
> 
> I would created /usr/openv/netbackup/logs/bpdbm on the master
> 
> Add VERBOSE to your bp.conf file.
> 
> And run this again to see what is logged in there.
> 
> CAVEAT:
> 
> When you have completed your testing with this log and would like to
> remove the logging directory, you will have to terminate the bpdbm
> process, bpdbm -terminate, the remove /usr/openv/netbackup/logs/bpdbm,
> and finally initbpdbm to restart the daemon.
> 
> David
> 
> <><><><><><><><><><><><><><><><><><><><>
> David A. Chapa
> NetBackup Consultant
> DataStaff, Inc.
> http://www.consulting.datastaff.com
> 847 413 1144
> ---------------------------------------
> NBU-LSERV AT datastaff DOT com - Adv. Scripting
> http://www.xbpadm-commands.com
> 
> -----Original Message-----
> From: veritas-bu-admin AT mailman.eng.auburn DOT edu
> [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of David
> Markham
> Sent: Friday, April 19, 2002 10:03 AM
> To: justin AT brighton.ac DOT uk; veritas-bu AT mailman.eng.auburn DOT edu
> Subject: RE: [Veritas-bu] bpexpdate -deassignempty could not update
> media list, host is unreachable
> 
> 
> have you got your backup server listed in its host file?
> 
> ie in /etc/hosts have the same thing you have listed for SERVER in
> /usr/openv/netbackup/bp.conf  ??
> 
> Worth a try
> 
> Dave
> 
> -----Original Message-----
> From: veritas-bu-admin AT mailman.eng.auburn DOT edu
> [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of
> justin AT brighton.ac DOT uk
> Sent: 19 April 2002 15:33
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] bpexpdate -deassignempty could not update media
> list, host is unreachable
> 
> 
> I've searched the mailing list and veritas knowledge base, found a
> couple of people asking the same question but no answers :(
> 
> # bpexpdate -deassignempty
> Search for empty media that meet the following criteria:
>         Host: All
>         Media id: All
> 
> Continue? y/n (n)y
> Could not update media list, host is unreachable
> host is unreachable
> 
> bpexpdate -deassignempty runs automatically every so often, but recently
> it's been failing with the above error and I've got no idea why!
> bpexpdate -d ... -ev ... etc works.
> 
> Has anyone got any ideas or tests I can run?
> 
> Many thanks, Justin