I was quite suprised that you cannot do a "rsh toaster ndmpd status".
Does anyone know of any tricks to get the status of ndmpd connections from a Unix shell? I want to make sure connections are available before i launch ndmpcopy processes.
Along the same lines - is it possible to increase the amount of concurrent ndmp sessions beyond the default of 5?
Thanks, Graham
Does anyone know of any tricks to get the status of ndmpd connections from a Unix shell? I want to make sure connections are available before i launch ndmpcopy processes.
I'm sure that expect would handle this sort of thing. Have you tried poking around with it?
Nick
Nick Hilliard wrote:
Does anyone know of any tricks to get the status of ndmpd connections from a Unix shell? I want to make sure connections are available before i launch ndmpcopy processes.
I'm sure that expect would handle this sort of thing. Have you tried poking around with it?
Yes. ndmpcopy exits with an "unknown error" if all the ndmp sessions are in use. I poked around in the code and it's just returning a (-1).
My problem has been solved though, because someone pointed out to me that if the filer is in rc_toggle_basic mode you can rsh to ndmpd.
Thanks for all the responses.
Graham