HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Script to output the primary state of Vvols
PostPosted: Mon Oct 13, 2014 1:29 am 

Joined: Wed Sep 03, 2014 7:58 am
Posts: 9
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Script to output the primary state of Vvols
PostPosted: Thu Oct 30, 2014 11:14 am 

Joined: Sun Jul 29, 2012 9:30 am
Posts: 576
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 3220 times
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt