ONTAP Discussions
ONTAP Discussions
Hi, I am wondering how I remove input/output relationships from OnCommand?
If I navigate to Hosts > Storage Systems > Filer3 > Input Relationships
I see many old relationships which are no longer valid
Additionally, I have external relationships which are showing up in the dashboard etc which are no longer valid. SnapMirror.cfg does not contain the relationship, I dont know why OnCommand still thinks it should exist
also, how do I refresh the host information?
is this one that your team handles or should the question be asked in the NetApp Support Community?
Hi,
If you removed the unwanted snapmirror relationship entries from /etc/snapmirror.conf then in you can remove/release the snapmirror relationship by:
For the detailed steps on how to do it please refer to:
After successfully completing these steps run "dfm host discover <controller_id>" on the OnCommand server to refresh the data from both source and destinations controllers if you don't want to wait for the default refresh interval of 15 minutes.
Regards,
-Amir
Hi,
Additionally at the DFM end you will have to break & delete those unwanted snapmirror relationships using DFM CLI:
1. List the relationships & note the IDs of the ones you want to delete:
[root@oncommand ~]# dfdrm mirror list
2. Break the snapmirror relationships. Run following command for each of the relationship ID you noted in step #1:
[root@oncommand ~]# dfdrm mirror break <reln_id>
See the status of the job using:
[root@oncommand ~]# dfdrm jobs list
3. Once relationship break operation is successful delete those relationships one by one. Run following command for each of the relationship ID you noted in step #1:
[root@oncommand ~]# dfdrm mirror delete <reln_id>
This should remove the snapmirror relationships from DFM DB and eventually from "Hosts > Storage Systems > Filer3 > Input Relationships" page on NMC.
Regards,
-Amir
I never managed snapmirror relations through DFM. However i've faced similar issuew wherein even after deleting snapmirror relationship and cleaning the snapmirror.conf file, snapmirror status still shows the snapmirror relations. Check the snapmirror volumes is they contain any snapshot related to snapmirror. If there is delete those snapshots, filer will not show the snapmirror relationship in snapmirror status output.
Hope it helps.
Hi,
Precisely, the steps #3 & #4 of the procedure given on the link mentioned by me in first reply, it mentions:
Regards,
-Amir
I actually managed to get this resolved because I stumbled accross another post where a user said it takes 4 seperate refresh jobs for the data to be cleansed properly. After the 4th or 5th refresh the external relationships dissapeared. The response from Amirm would have solved this quicker for me so thanks for your reply
edit - how do I mark this post as answered?