<div dir="ltr"><div>Thanks, Douglas.</div><div>On another question: <br></div><div>the manila share-replica-delete delete the snapmirror ?</div><div>If yes, source and destination volume become both writable ?</div><div><br></div><div>Ignazio<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 5 feb 2021 alle ore 13:48 Douglas <<a href="mailto:viroel@gmail.com">viroel@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Yes, it is correct. This should work as an alternative for host-assisted-migration and will be faster since it uses storage technologies to synchronize data.<div>If your share isn't associated with a share-type that has replication_type='dr' you can: 1) create a new share-type with replication_type extra-spec, 2) unmanage your share, 3) manage it again using the new share-type.</div><div><br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 5, 2021 at 9:37 AM Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" target="_blank">ignaziocassano@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello, I am sorry.</div><div><br></div><div>I read the documentation.</div><div><br></div><div>SMV must be peered once bye storage admimistrator or using ansible playbook.</div><div>I must create a two backend in manila.conf with the same replication domain.</div><div>I must assign to the source a type  and set replication type dr.</div><div>When I create a share if I want to enable snapmirror for it I must create on openstack a share replica for it.</div><div>The share on destination is read only until I promote it.</div><div>When I promote it, it become writable.</div><div>Then I can manage it on target openstack.<br></div><div><br></div><div>I hope the above is the correct procedure<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 5 feb 2021 alle ore 13:00 Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" target="_blank">ignaziocassano@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Douglas, you are really kind.</div><div>Let my to to recap and please correct if I am wrong:</div><div><br></div><div>- manila share on netapp are under svm <br></div><div>- storage administrator createx a peering between svm source and svm destination (or on single share volume ?)</div><div>- I create a manila share with specs replication type  (the share belongs to source svm) . In manila.conf source and destination must have the same replication domain<br></div><div>- Creating the replication type it initializes the snapmirror</div><div><br></div><div>Is it correct ?</div><div>Ignazio<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 5 feb 2021 alle ore 12:34 Douglas <<a href="mailto:viroel@gmail.com" target="_blank">viroel@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Ignazio,<div><br></div><div>In order to use share replication between NetApp backends, you'll need that Clusters and SVMs be peered in advance, which can be done by the storage administrators once. You don't need to handle any SnapMirror operation in the storage since it is fully handled by Manila and the NetApp driver. You can find all operations needed here [1][2]. If you have CIFS shares that need to be replicated and promoted, you will hit a bug that is being backported [3] at the moment. NFS shares should work fine.<br></div><div><br></div><div>If you want, we can assist you on creating replicas for your shares in #openstack-manila channel. Just reach us there.</div><div><br></div><div>[1] <a href="https://docs.openstack.org/manila/latest/admin/shared-file-systems-share-replication.html" target="_blank">https://docs.openstack.org/manila/latest/admin/shared-file-systems-share-replication.html</a></div><div>[2] <a href="https://netapp-openstack-dev.github.io/openstack-docs/victoria/manila/examples/openstack_command_line/section_manila-cli.html#creating-manila-share-replicas" target="_blank">https://netapp-openstack-dev.github.io/openstack-docs/victoria/manila/examples/openstack_command_line/section_manila-cli.html#creating-manila-share-replicas</a></div><div>[3] <a href="https://bugs.launchpad.net/manila/+bug/1896949" target="_blank">https://bugs.launchpad.net/manila/+bug/1896949</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 5, 2021 at 8:16 AM Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" target="_blank">ignaziocassano@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello, thanks for your help.</div><div>I am waiting my storage administrators have a window to help me because they must setup the snapmirror.</div><div>Meanwhile I am trying the host assisted migration but it does not work.</div><div>The share remains in migrating for ever.</div><div>I am sure the replication-dr works because I tested it one year ago.</div><div>I had an openstack on site A with a netapp storage</div><div>I had another openstack on Site B with another  netapp storage.</div><div>The two openstack installation did not share anything.</div><div>So I made a replication between two volumes (shares).</div><div>I demoted the source share taking note about its export location list<br></div><div>I managed the destination on openstack and it worked.</div><div><br></div><div>The process for replication is not fully handled by openstack api, so  I should call netapp api for creating snapmirror relationship or ansible modules or ask help to my storage administrators , right ?<br></div><div>Instead, using share migration, I could use only openstack api: I understood that driver assisted cannot work in this case, but host assisted should work.</div><div><br></div><div>Best Regards</div><div>Ignazio<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 4 feb 2021 alle ore 21:39 Douglas <<a href="mailto:viroel@gmail.com" target="_blank">viroel@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Rodrigo,<div><br></div><div>Thanks for your help on this. We were helping Ignazio in #openstack-manila channel. He wants to migrate a share across ONTAP clusters, which isn't supported in the current implementation of the driver-assisted-migration with NetApp driver. So, instead of using migration methods, we suggested using share-replication to create a copy in the destination, which will use the storage technologies to copy the data faster. Ignazio didn't try that out yet, since it was late in his timezone. We should continue tomorrow or in the next few days.<br></div><div><br></div><div>Best regards,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 5:14 PM Rodrigo Barbieri <<a href="mailto:rodrigo.barbieri2010@gmail.com" target="_blank">rodrigo.barbieri2010@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Ignazio,</div><div><br></div><div>If you are attempting to migrate between 2 NetApp backends, then you shouldn't need to worry about correctly setting the data_node_access_ip. Your ideal migration scenario is a driver-assisted-migration, since it is between 2 NetApp backends. If that fails due to misconfiguration, it will fallback to a host-assisted migration, which will use the data_node_access_ip and the host will attempt to mount both shares. This is not what you want for this scenario, as this is useful for different backends, not your case.</div><div><br></div><div>if you specify "manila migration-start --preserve-metadata True" it will prevent the fallback to host-assisted, so it is easier for you to narrow down the issue with the host-assisted migration out of the way.</div><div><br></div><div>I used to be familiar with the NetApp driver set up to review your case, however that was a long time ago. I believe the current NetApp driver maintainers will be able to more accurately review your case and spot the problem.</div><div><br></div><div>If you could share some info about your scenario such as:</div><div><br></div><div>1) the 2 backends config groups in manila.conf (sanitized, without passwords)</div><div>2) a "manila show" of the share you are trying to migrate (sanitized if needed)</div><div>3) the "manila migration-start" command you are using and its parameters.</div><div><br></div><div>Regards,</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 4, 2021 at 2:06 PM Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" target="_blank">ignaziocassano@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello All, <br></div><div>I am trying to migrate a share between a netapp backend to another.</div><div>Both backends are configured in my manila.conf.<br></div><div>I am able to create share on both, but I am not able to migrate share between them.</div><div>I am using DSSH=False.</div><div>I did not understand how host and driver assisted migration work and what  "data_node_access_ip" means.</div><div>The share I want to migrate is on a network (<a href="http://10.102.186.0/24" target="_blank">10.102.186.0/24</a>) that I can reach by my management controllers network (<a href="http://10.102.184.0/24" target="_blank">10.102.184.0/24</a>). I Can mount share from my controllers and I can mount also the netapp SVM where the share is located.</div><div>So in the data_node_access_ip I wrote the list of my controllers management ips.</div><div>During the migrate phase I checked if my controller where manila is running mounts the share or the netapp SVM but It does not happen.</div><div>Please, what is my mistake ?</div><div>Thanks</div><div>Ignazio<br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Rodrigo Barbieri<div>MSc Computer Scientist</div><div>OpenStack Manila Core Contributor</div><div>Federal University of São Carlos</div><div><br></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Douglas Salles Viroel</div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Douglas Salles Viroel</div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Douglas Salles Viroel</div></div>
</blockquote></div>