Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The strangest thing

Status
Not open for further replies.

reclspeak

IS-IT--Management
Dec 6, 2002
57
GB
(with apologies to Pearl Jam)

I have a problem with a 7.2 server on HP-UX 11.11 (11iv1).

There are 7.2 HP-UX clients and 7.0 clients.

I cannot get any client to backup to this server, suing the save command.

In the past backups have encountered no problems, but a save command from a remote host sees the following (using media that is still good and writable) The output below is from the daemon.log, following a save routine executed on a client (HP-UX 10.20 with 7.2.2 client). The client, and other clients I have tried, simply hang with no further resolution;

05/29/07 15:37:08 nsrd: media info: suggest mounting DT2151L1 on ada for writing to pool 'Daily Drive 2'
05/29/07 15:37:08 nsrd: media waiting event: Waiting for 1 writable volumes to backup pool 'Daily Drive 2' tape(s) on ada
05/29/07 15:37:09 nsrd: media info: loading volume DT2151L1 into /dev/rmt/c5t2d0BESTnb
05/29/07 15:37:10 nsrmmd #3: Start nsrmmd #3, with PID 19773, at HOST ada
05/29/07 15:37:41 nsrd: /dev/rmt/c5t2d0BESTnb Verify label operation in progress
05/29/07 15:37:47 nsrd: /dev/rmt/c5t2d0BESTnb Mount operation in progress
05/29/07 15:39:06 nsrd: media event cleared: Waiting for 1 writable volumes to backup pool 'Daily Drive 2' tape(s) on ada

(At this point a writable cartridge is mounted and should be written-to if I stop the save session on the remote client the following is printed)

05/29/07 15:44:29 nsrd: deactivating mmd #2
05/29/07 15:44:29 nsrd: Calling mm_deactivate for mmd 2 thats using device /dev/rmt/c5t2d0BESTnb with volume DT2151L1 on host null
05/29/07 15:44:29 nsrd: write completion notice: Writing to volume DT2151L1 complete (well, actually nothing gets written!)
05/29/07 15:44:35 nsrd: re-setting overall number of authorized save sessions, changing value from (1) to (0)

I am guessing that at the point data is to be sent, a port is being blocked, or a server value is interfering with the session, but no message indicates a problem. The save session on the client simply hangs and will remain hung. I tried testing with a newly defined client, dropped sessions on devices to max 16.

Watching a session from a remote save through nsrwatch will see the cartridge loaded, even a "setting up for writing, moving forwards" message and then "ready for writing, idle" whereupon the session proceeds no further until nsrd deactivates the mmd daemon for the device and sets authorized save sessions to zero.

Anyone any clues as to what is provoking this problem - or a means to get more output from NetWorker to help debug why no data is being written to media.

Ta!


recl
 
Figured it. Or rather figured the root cause. haven't figured a solution yet.

With NIS turned off the backups work fine.

I have to suspect that the problem is with either /etc/nsswitch.conf (which looks conventional) or one of the NIS maps - quite likely netgroups.

Anyone know of any gotchas with Networker on HP-UX as a NIS slave server?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top