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.
Script to output the primary state of Vvols
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.
- Attachments
-
- checkrc.txt
- (3.74 KiB) Downloaded 3778 times