Unsolved
This post is more than 5 years old
11 Legend
•
20.4K Posts
•
87.4K Points
0
10041
August 10th, 2015 11:00
SyncIQ - clean up after failback
Hello guys/gals,
Below is copy/paste from OneFS WebAdmin guide. I have gone thorugh multiple failover/failback on my virtual cluster without issue, steps are very simple. One thing that i don't undertand is why after we complete the failback process we do not get rid of the _mirror policy. It did its job, it pushed new/changed data back to primary cluster so why do we need it. Is it an over-site in the documention or there is a good reason to keep this policy around ?
Thank you
**********************************************
Procedure
- On the primary cluster, click Data Protection > SyncIQ > Policies .
- In the SyncIQ Policies table, in the row for a replication policy, from the Actions column, select Resync-prep.SyncIQ creates a mirror policy for each replication policy on the secondary cluster.SyncIQ names mirror policies according to the following pattern: _mirror
- On the secondary cluster, replicate data to the primary cluster by using the mirror policies.You can replicate data either by manually starting the mirror policies or by modifying the mirror policies and specifying a schedule.
- Prevent clients from accessing the secondary cluster and then run each mirror policy again.To minimize impact to clients, it is recommended that you wait until client access is low before preventing client access to the cluster.
- On the primary cluster, click Data Protection > SyncIQ > Local Targets .
- In the SyncIQ Local Targets table, from the Actions column, select Allow Writes for each mirror policy.
- On the secondary cluster, click Data Protection > SyncIQ > Policies .
- In the SyncIQ Policies table, from the Actions column, select Resync-prep for each mirror policy.
After you finish
Redirect clients to begin accessing the primary cluster.
**********************************************
0 events found


johnsonka
130 Posts
0
August 14th, 2015 11:00
dynamox,
What these snaps are for is something new in SyncIQ as they are not necessary for failover and failback to succeed. The SME, and I apologize for my misunderstanding here, was indicating they are a manual process by the SIQ engine, not you. They are there for redundant purposes to protect the data in the case of a failure in the failover/failback event. They are perfectly safe to remove after your failover has completed.
johnsonka
130 Posts
0
August 14th, 2015 11:00
sluetze,
Thanks for your reply! I am going over this service request now to look in to the recommendations made. I will have an update no later than tomorrow.
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
August 14th, 2015 14:00
Katie,
why are they not removed automatically or at least documented in the SyncIQ documentation ? They are going to sit there and keep growing, unnecessarily consuming space.
I have yet to get a response that makes sense of why we need mirror_policy to remain on secondary cluster.
Thanks
johnsonka
130 Posts
0
August 17th, 2015 10:00
Hello Dynamox,
The automatic removal, or lack thereof, of these snapshots was a design decision when the feature was implemented as I understand. This will be brought up to the team to get any and all documentation corrected for the SyncIQ module.
As for why the mirror policy needs to stay, in short, it doesn't. Isilon recommends leaving the mirror in place to preserve the LIN map to reduce time to recovery should you need to failover again, but this policy can be removed at your discretion.
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
August 17th, 2015 17:00
what was the reasoning behind that design decision ?
same as above, why does it need to stay for failover when i can failover within seconds when it's not there initially.
Nothing personally Katie but i am somewhat dissapointed in the responses that we are getting about this functionality. I am not asking for the source code here, but for design decisions behind why something was implemented the way it is today. Can you get your SyncIQ SME drop in and provide some answers ?
Thank you
johnsonka
130 Posts
0
August 19th, 2015 14:00
Hello All,
I have reached out to some additional resources to get their input here. As soon as I receive any more information, I will post it here. If the additional resources are able, they will supply their expertise here as well.
sluetze
2 Intern
•
300 Posts
0
August 25th, 2015 00:00
Hi Katie,
any News on this?
Regards
--Steffen
johnsonka
130 Posts
0
August 25th, 2015 06:00
Hello,
I have not received an update as of yet, I am reaching out again today in hopes of getting more information. I apologize for the delay.
robertmrozik
4 Posts
0
September 1st, 2015 08:00
I will try to explain the best I can with some examples on why the failover policy needs to stay.
When we create the failover policy "*_mirror" it is tied directly to the original source policy. You do not want to delete the failover policy because the source cluster retains the id of the "*_mirror" policy and future failovers may not succeed depending on the OneFS version you are on.
example policy "aggressive":
Mirror policy on the target ID: policy-record policy-id="000c29f8777ed9bde555721bd92ceccf"
Original policy info after mirror is created:
policy.4.common.name {token:99} = "aggressive"
policy.4.common.mirror_pid {token:101} = "000c29f8777ed9bde555721bd92ceccf"
Note above that in the policies .gc file it holds the mirror ID for reference.
In later versions deleting the failover policy is not an issue, i.e. 7.2 but in previous versions this would halt failover/failback.
As far as the failover snapshot is concerned this can be removed on the target without issue AFTER failover/failback has been completed. This will avoid snap growth. Keep in mind that you never want to delete a SyncIQ snapshot that is labeled SIQ- -new or SIQ- -latest as this will essentially reset the policy and cause a full re-sync to occur.
In regards to the linmap, it resides on the target of the policy. So in a failover situation the original source holds the "*_mirror" linmap.
robertmrozik
4 Posts
0
September 1st, 2015 08:00
The source policy modification is done by the system, it adds the mirror policy id in order to bind the two policies essentially.
As far as the second question with snapshots, I do not have an answer for. It is definitely something that could be discussed within my team as a future change.
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
September 1st, 2015 08:00
I
why are you making changes to original policy and what is that you are doing to it that future failover "may" not succeed ?
why aren't you deleting it as part of the failback process ?
Thanks
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
September 1st, 2015 09:00
why do they need to be binded together ? There has to be a logical/engineering reason you are doing this otherwise i would not be able to failover for the very first time.
sluetze
2 Intern
•
300 Posts
0
September 1st, 2015 23:00
Hi Robert,
thanks for your response. You said we are allowed to delete the Failover snapshot, but not SIQ-%id-latest and SIQ-%id-new. since SIQ-%id-latest grows on the target side until the next Failover i would like to know how i should handle this snapshot? the "snapped" data is (from my point of view) completely useless since it will be discarded on the next Failover.
Regards
--Steffen
robertmrozik
4 Posts
0
September 2nd, 2015 06:00
I am working to get a more technical response to your question, the primary reason that I am aware of for the association between the original and mirror policy is for informational purposes. The mirror policy will take info from the original policy during its creation. As far as a more engineering level explanation, I will get back to you as soon as I have more info.
robertmrozik
4 Posts
0
September 2nd, 2015 06:00
There should not be a -latest snapshot on the target if failover/failback completed successfully. The only snapshot that should remain on the target for the specific policy is the SIQ-Failover- - snapshot.