I m trying to write a script which would, using different methods check the avaialability of a NAS server(infact a NetApp filer).
Three things which I have in mind are
1) Network accessibility
2) NFS service
3) check "upness" from cyclade terminal server
Only if all three checks fail the script will activate disaster recovery(Not part of the script). If any one of the test fails I will just generate an email alert.
Netwokr accessibility: I plan to use the return type of ping
NFS service: I plan to use showmount -e from a *nix host.
Cyclade terminal server: Should the best check way to check if the server(filer) is up or not if we loose all network connectivity to the box. I have no experience with terminal servers so I dont really know how to do that.
I need suggestions on the methods above, lang which you people think would be sufficient for this. Would bash be good enough? Any ideas in general would be great as well.
Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest