Good starting point

The script is a good basis, but lacks:

1.) Check of Return-Codes from storage-system (e.g. Command not found)
2.) Does not verify ssh-connect
3.) Has a problem in the lsrcrelationship: Works only if volume_mirror_prod finds a certain string. Better grep out the header line and then do the counting.