HPE Storage Users Group https://3parug.net/ |
|
Script to output the primary state of Vvols https://3parug.net/viewtopic.php?f=17&t=950 |
Page 1 of 1 |
Author: | dardan [ Mon Oct 13, 2014 1:29 am ] |
Post subject: | Script to output the primary state of Vvols |
Hi everyone, Last time we're having re-occurrent issues with remote copy links, which make that the Remote Copy Groups get stuck on stopped, also on secondary state. This is very annoying as to solve it we need to break the remote copy group and recreate it again, but we don't know on which side the Primary resides. Can somebody help on creating a basic script (as I'm new to CLI & 3PAR) which outputs the RC Status to txt or csv on daily basis? Would appreciate your help. Regards, D. |
Author: | hdtvguy [ Thu Oct 30, 2014 11:14 am ] | ||
Post subject: | Re: Script to output the primary state of Vvols | ||
You need to update the ARRAYNAME variable in the beginning of the script. We run this every 2 hours and then you have to use the return code of non-zero to trigger some other action like send an email. The other nice thing is it creates an output file of all your RC groups and their interval.
|
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |