Well Chris,
You'd do it just like you've set it up (if you did so using CLI),
just the other way around. SnapMirror is a PULL-relationship,
where you type it, there you (usually) pull data to (and might
overwrite existing data).
Failover to DR:
DST::> snapmirror quiesce/abort/break
-> break makes the destination volumes writable... Let's assume, that you've worked on the destination and want to switch back...
Failback to original source:
(disconnect clients etc...)
SRC::> snapmirror resync -source-path DST://dr_svm/dr_vol -destination-path src_svm:src_vol
- You will lose data at the source now, if you also continued working there, while DR testing...!
- If there's complaints, you might have to 'snapmirror delete' the original direction relationship
- You can be specific and take a snapshot at the DST before resync and specify it using "-s <snap>"
- You might keep working on the DR site, but then: disconnect clients and do a final 'snapmirror update' before doing the 'break' in the next step
When you're done: quiesce/break
Set up the original direction protection relationship from the DST::> cluster.
DST::> snapmirror resync -source-path SRC://src_svm:src_vol -destination-path DST://dr_svm/dr_vol
(again, you might have to delete the temporary reverse relationship...)
Remember:
The "Data Protection Power Guide" also guides you through all these steps (some of them probably unnecessary, but the safer way to do things...)
Hope that helps
Sebastian
He's asking about snapmirror with an xdp relation and then reversing it. Not refund.
I've done it before, if have to look up the commands but if I recall it was not too bad
—TMAC
Tim McCarthy...typos courtesy of Google Gboard!
From: toasters-bounces@teaparty.net on behalf of jordan slingerland <jordan.slingerland@gmail.com>
Sent: Thursday, October 25, 2018 8:22 AM
To: chris_hague@ajg.com
Cc: Toasters
Subject: Re: Reverse Resync - XDPrsync has a lot of options so to reverse it does not provide a clear picture of exactly what you are trying to do. I am guessing simply swapping the source and destination is not what you are looking for?
also, since you say cifs, I do not believe rsync can maintain NTFS ACLS, at least years ago it could not. Consider using robocopy also as it does have operate via command line. I have used robocopy quite successfully to migrate large smb shares without a lot of clicking. I actually used bash to formulate all my robocopy commands and break them into .bat files for threaded or sequential transfers where it made sense based on share size and file count.
--Jordan
On Thu, Oct 25, 2018 at 7:26 AM Chris Hague <Chris_Hague@ajg.com> wrote:
_______________________________________________Anyone know if there is a way to reverse resync at the CLI?
All references to this talk about the GUI and in a DR test that’s a lot of clicking for 100+ CIFS shares.
This email is being sent by a subsidiary of Arthur J. Gallagher Holdings (UK) Limited, part of the Arthur J. Gallagher & Co. global group of companies. For details of the registered office, company number and, where applicable, regulated status of our subsidiaries, please visit https://www.ajginternational.com/legal-regulatory-information/.
We are the data controller of any personal information you provide to us or personal information that has been provided to us by a third party. We collect and process information about you in order to arrange insurance policies and to process claims. Your information is also used for business purposes such as fraud prevention and detection and financial management. This may involve sharing your information with third parties such as insurers, reinsurers, other brokers, claims handlers, loss adjusters, credit reference agencies, service providers, professional advisors, our regulators, police and government agencies or fraud prevention agencies.
We may record telephone calls to help us monitor and improve the service we provide. For further information on how your information is used and your rights in relation to your information please see our privacy notice at https://www.ajginternational.com/Privacy-Policy/. If you are providing personal data of another individual to us, you must tell them you are providing their information to us and show them a copy of this notice.
Where you are obtaining a non-consumer policy of (re)insurance, or cover for additional risks or renewal under an existing policy, you are required to make a fair presentation of the risk to a (re)insurer which discloses every material circumstance which you know or ought to know relating to the risk to be insured. A circumstance is material if it would influence the judgment of a prudent insurer in determining whether to provide insurance for the risk and, if so, on what terms. Disclosure must be reasonably clear and accessible to a prudent insurer and made in good faith. The aforementioned duty of disclosure is the applicable duty under the laws of England and Wales. If your policy is not subject to English law you are expected to disclose risk information in accordance with the requirements of the applicable law. In such circumstances we expect you will disclose risk information at least equal to the standard required under English law and where the applicable law requires you to disclose information over and above the level required under English law you will provide such information in accordance with that law.
Where you are obtaining a consumer policy of insurance, you must read each question and answer honestly and fully and must take reasonable care to not make a misrepresentation.
Failure to comply with the above disclosure requirements, as they apply to you, could mean that your policy of (re)insurance is void, its terms are materially altered or that (re)insurers are not liable to pay all or part of your claim(s). If you are in any doubt as to your obligations you should ask your usual contact.
This e-mail and any attachments are CONFIDENTIAL and may contain legally privileged information. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. Although the above company has taken reasonable precautions to ensure this e-mail and any attachments are free of any virus or other defect that may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and the above company does not accept any responsibility for any loss or damage arising in any way from its use.
Toasters mailing list
Toasters@teaparty.net
http://www.teaparty.net/mailman/listinfo/toasters
_______________________________________________ Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters