T.R | Title | User | Personal Name | Date | Lines |
---|
661.1 | | DECWET::FARLEE | Insufficient Virtual um...er.... | Tue May 06 1997 15:39 | 9 |
| (on UNIX the way it works is:)
First it looks for a node with the alias nsrhost. If one is found, it
will use that.
Failing that, it broadcasts to the net searching for any NetWorker
server which has this node defined as a client. The first one found
is used.
Kevin
|
661.2 | | SANITY::LEMONS | And we thank you for your support. | Tue May 06 1997 16:14 | 22 |
| More details on my question. I'm using NetWorker Server for Digital
UNIX V4.3 and the NetWorker Client for Digital UNIX V4.2. When I run a
save on the client, I see:
# save -g SAP_Backup /usr/opt/DTO100
save: Using nw12880.hlo.dec.com as server for amber.gppc.dec.com
save: SYSTEM error, no group `SAP_Backup' configured on server
save: Cannot open save session with nw12880.hlo.dec.com
#
Where is the NetWorker client getting this value from?
Thanks!
tl
Yet, I see:
# cat /nsr/res/servers
nw134208.gppc.dec.com
nw12880.hlo.dec.com
#
|
661.3 | | SANITY::LEMONS | And we thank you for your support. | Tue May 06 1997 16:17 | 12 |
| Ooops! Notes collision; thanks, Kevin! So, if I want to force the
client to use only two servers, and I want it to use the first server
in the list always, and the second server if the first server is down,
will this work:
nsrexexd -s serverA -s serverB
If yes, into what file should I add this command so it gets started
everytime? Or, should this already be somewhere?
Thanks again!
tl
|
661.4 | | SANITY::LEMONS | And we thank you for your support. | Tue May 06 1997 16:28 | 21 |
| Rats. This doesn't seem to work. With this running:
# ps ax | grep nsr
30562 ?? I 0:00.02 /usr/bin/nsrexecd -s
nw134208.gppc.dec.com -s n
30631 ttyp8 S + 0:00.00 grep nsr
#
I still see:
# save -v -n -g SAP_Backups README
save: Using nw12880.hlo.dec.com as server for amber.gppc.dec.com
.
.
Why is it using nw12880, rather than the first server in the list on
both the nsrexexd command line and /nsr/res/servers?
Thanks!
tl
|
661.5 | | SANITY::LEMONS | And we thank you for your support. | Tue May 06 1997 16:52 | 40 |
| I added this entry to /etc/hosts:
16.134.208.4 nw134208.gppc.dec.com nsrhost
It's the only nsrhost entry in the file:
# cat /etc/hosts | grep nsr
16.134.208.4 nw134208.gppc.dec.com nsrhost
#
I can use nsrhost, and it does take the correct route:
# traceroute nsrhost
traceroute to nw134208.gppc.dec.com (16.134.208.4), 30 hops max, 40
byte packets
1 nw134208 (16.134.208.4) 1 ms 1 ms 0 ms
#
But, the save command still uses a different server:
# save -v -n -g SAP_Backups README
save: Using nw12880.hlo.dec.com as server for amber.gppc.dec.com
save: got prototype for /
save: got prototype for /usr/
save: got prototype for /
chdir(/u04/crsupp/)
Name=`/u04/crsupp/README', name=`/u04/crsupp/README', fname=`README'
save: found protofile spec for /:
mntasm : u04
walk(/u04/crsupp/README, README)
uasm -s /u04/crsupp/README
save: /u04/crsupp/README 1 records 1 KB header 3 KB data
save: /u04/crsupp/README 3 KB estimated
#
Thoughts?
Thanks!
tl
|
661.6 | | SANITY::LEMONS | And we thank you for your support. | Tue May 06 1997 18:30 | 6 |
| I did find a workaround for my problem in that the script file
executing the command save command did allow for specification of the
server name, thank goodness.
Wes and Kevin, thanks very much for your help!
tl
|
661.7 | ?? | USCTR1::ASCHER | Dave Ascher | Thu May 08 1997 11:48 | 10 |
| re: <<< Note 661.6 by SANITY::LEMONS "And we thank you for your support." >>>
I htought that I had noticed that putting nsrhost into /etc/hosts
as an alias did not work anymore. I didn't have time to check into
it but I believe that I noticed this behavior at at least 2
different sites running 4.something.
Perhaps this fell through some crack?
d
|
661.8 | | SANITY::LEMONS | And we thank you for your support. | Thu May 08 1997 14:18 | 13 |
| Kevin clarified this for me. The following are only used by
server-initiated backups, and are ignored by client-initiated backups
(like running the 'save' program in a script):
o nsrhost
o the entries in /nsr/res/servers
o the nsrexecd -s option
Kevin read the code and mentioned the logic used by save to select a
server, but I didn't memorize it alas.
Hope this help.
tl
|