[Veritas-bu] NON_RESERVED_PORTS question
2001-10-09 12:33:05
Subject: |
[Veritas-bu] NON_RESERVED_PORTS question |
From: |
jg AT t4b DOT ch (Jago t4b) |
Date: |
Tue, 9 Oct 2001 18:33:05 +0200 |
Hello,
Don't forget to do this at the master server
cd /usr/openv/netbackup/bin/admincmd
./bpclient -client client_name -add -connect_nr_port 1
Sincerely Yours
T4B Group
IT Services
Javier González
+ 41 0 76 384 2002
www.t4b.ch <http://www.t4b.ch/>
jg AT t4b DOT ch
-----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
Mylyf99 AT aol DOT com
Sent: Dienstag, 9. Oktober 2001 16:03
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] NON_RESERVED_PORTS question
Hello everyone,
I am trying ot do a restore to a client through
non_reserved_ports.
Here is what the client bp.conf looks like:
/usr/openv/netbackup/bp.conf
::::::::::::::
SERVER = db1
SERVER_PORT_WINDOW = 4999 5000
CLIENT_PORT_WINDOW = 5001 5010
ALLOW_NON_RESERVED_PORTS
RANDOM_PORTS = NO
CLIENT_NAME = www2
VERBOSE
:::::::::::::::::::::::::::::::::::
Here is the bp.conf from the server...
::::::::::::::
SERVER = db1
CLIENT_NAME = db1
ALLOW_MEDIA_OVERWRITE = TAR
ALLOW_MEDIA_OVERWRITE = DBR
ALLOW_MULTIPLE_RETENTIONS_PER_MEDIA
#
BELIEVE_MOUNTS
VERBOSE
CLIENT_READ_TIMEOUT = 1800
CLIENT_CONNECT_TIMEOUT = 500
BPSTART_TIMEOUT = 1800
ALLOW_NDMP
ALLOW_FLASHBACKUP
ALLOW_NON_RESERVED_PORTS
RANDOM_PORTS = NO
SERVER_PORT_WINDOW = 4999 5000
CLIENT_PORT_WINDOW = 5001 5010
::::::::::::::::::::::::::::::::::::::
we have run the following command on the server:
/bpclient -client www2 -add -connect_nr_port 1
bpclient: the entity already exists (226)
::::::::::::::::::::::::::::::::::::::::::::::::
Here is an excerpt from the bpcd log on the client
when trying to do a restore.
:::::::::::::::::::::::::::::::::::
10:23:29 [7743] <2> bpcd main: offset to GMT 21600
10:23:29 [7743] <2> bpcd main: setup_sockopts complete
10:23:29 [7743] <2> bpcd main: output socket port number = 4999
10:23:29 [7743] <2> print_arp_info: db1 (10.10.20.4) -- no entry
10:23:29 [7743] <2> bpcd peer_hostname: Connection from host db1
(10.10.20.4) port 5010
10:23:29 [7743] <2> bpcd main: Peer hostname is db1
10:23:29 [7743] <2> bpcd main: Got socket for output 5, lport = 5008
10:23:29 [7743] <2> bpcd main: Connected on output socket
10:23:29 [7743] <2> bpcd main: Duplicated socket on stderr
10:23:29 [7743] <2> bpcd main: <---- NetBackup 3.4GA 0
------------initiated
10:23:29 [7743] <2> print_arp_info: db1 (10.10.20.4) -- no entry
10:23:29 [7743] <2> bpcd peer_hostname: Connection from host db1
(10.10.20.4) port 5010
10:23:29 [7743] <2> bpcd valid_server: comparing db1 and db1
10:23:29 [7743] <4> bpcd valid_server: hostname comparison succeeded
10:23:29 [7743] <2> bpcd main: BPCD_OPEN_FOR_WRITE_RQST
10:23:29 [7743] <2> bpcd main: open for write file name = /bplog.rest.009
10:23:29 [7743] <2> bpcd main: buffer length = 2048
10:23:29 [7743] <2> bpcd main: our open flags = 0x119
10:23:29 [7743] <2> bpcd main: client open flags = 0x119
10:23:29 [7743] <2> bpcd main: completed the write of the file number to
the output socket
10:23:29 [7743] <2> bpcd main: BPCD_LOG_RQST_NO_STATUS
10:23:29 [7743] <2> bpcd main: BPCD_LOG_RQST_NO_STATUS
10:23:29 [7743] <2> bpcd main: BPCD_CLOSE_FILE_RQST
10:23:29 [7743] <2> bpcd main: BPCD_DISCONNECT_RQST
10:23:29 [7743] <2> bpcd exit_bpcd: exit status 0 ----------->exiting
10:28:19 [7762] <2> bpcd main: offset to GMT 21600
10:28:19 [7762] <2> bpcd main: setup_sockopts complete
10:28:20 [7762] <16> bpcd main: read failed: No such file or directory
10:30:25 [7830] <2> bpcd main: offset to GMT 21600
10:30:25 [7830] <2> bpcd main: setup_sockopts complete
10:30:25 [7830] <2> bpcd main: output socket port number = 4999
10:30:25 [7830] <2> print_arp_info: db1 (10.10.20.4) -- no entry
10:30:25 [7830] <2> bpcd peer_hostname: Connection from host db1
(10.10.20.4) port 5010
10:30:25 [7830] <2> bpcd main: Peer hostname is db1
10:30:25 [7830] <2> bpcd main: Got socket for output 5, lport = 5009
10:30:25 [7830] <2> bpcd main: Connected on output socket
10:30:25 [7830] <2> bpcd main: Duplicated socket on stderr
10:30:25 [7830] <2> bpcd main: <---- NetBackup 3.4GA 0
------------initiated
10:30:25 [7830] <2> print_arp_info: db1 (10.10.20.4) -- no entry
10:30:25 [7830] <2> bpcd peer_hostname: Connection from host db1
(10.10.20.4) port 5010
10:30:25 [7830] <2> bpcd valid_server: comparing db1 and db1
10:30:25 [7830] <4> bpcd valid_server: hostname comparison succeeded
10:30:25 [7830] <2> bpcd main: BPCD_OPEN_FOR_WRITE_RQST
10:30:25 [7830] <2> bpcd main: open for write file name = /bplog.rest.010
10:30:25 [7830] <2> bpcd main: buffer length = 2048
10:30:25 [7830] <2> bpcd main: our open flags = 0x119
10:30:25 [7830] <2> bpcd main: client open flags = 0x119
10:30:25 [7830] <2> bpcd main: completed the write of the file number to
the output socket
10:30:25 [7830] <2> bpcd main: BPCD_LOG_RQST
10:30:25 [7830] <2> bpcd main: BPCD_LOG_RQST_NO_STATUS
10:30:29 [7844] <2> bpcd main: offset to GMT 21600
10:30:29 [7844] <2> bpcd main: setup_sockopts complete
10:30:29 [7844] <2> bpcd main: output socket port number = 1014
10:30:29 [7844] <2> print_arp_info: db1 (10.10.20.4) -- no entry
10:30:29 [7844] <2> bpcd peer_hostname: Connection from host db1
(10.10.20.4) port 1015
10:30:29 [7844] <2> bpcd main: Peer hostname is db1
10:30:29 [7844] <2> bpcd main: Got socket for output 5, lport = 1023
10:30:31 [7847] <2> bpcd main: offset to GMT 21600
10:30:31 [7847] <2> bpcd main: setup_sockopts complete
10:30:31 [7847] <16> get_short: (2) premature end of file (byte 1)
10:30:31 [7847] <2> bpcd main: output socket port number = -9
10:30:31 [7847] <2> bpcd main: Output socket not requested
10:30:31 [7847] <2> bpcd main: <---- NetBackup 3.4GA 0
------------initiated
10:30:31 [7847] <2> print_arp_info: db1 (10.10.20.4) -- no entry
10:30:31 [7847] <2> bpcd peer_hostname: Connection from host db1
(10.10.20.4) port 5007
10:30:31 [7847] <16> bpcd peer_hostname: peer db1 not or reserved port
10:30:31 [7847] <2> bpcd exit_bpcd: exit status 46 ----------->exiting
10:30:31 [7847] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
10:30:31 [7847] <16> bpcd main: Server access denied
Thank You
H-
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|