Hi all
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.
For
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.
Thanx
check nfs uptime
check nfs uptime
Copyleft Solutions
http://www.copyleft.com.pk
http://www.copyleft.com.pk