NetApp CIFS share failover to dr replication partner: Difference between revisions

From roonics
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Failover==
==Failover==


* Stop the CIFS server on source NetApp:
*Stop the CIFS server on source NetApp:
<pre>vserver cifs stop -vserver netappsvm001_files</pre>
<pre>vserver cifs stop -vserver netappsvm001_files</pre>


Line 7: Line 7:
<pre>vserver cifs remove-netbios-aliases -vserver netappsvm001_files -netbios-aliases fileserver01</pre>
<pre>vserver cifs remove-netbios-aliases -vserver netappsvm001_files -netbios-aliases fileserver01</pre>


Break the replication of the share on the DR NetApp.
*Break the replication of the share on the DR NetApp.


Browse the share at the DR end to make sure its writable.
*Browse the share at the DR end to make sure its writable.


Repoint DNS so (in this example) fileserver01 now points to the DR NetApp.
*Repoint DNS so (in this example) fileserver01 now points to the DR NetApp.


Flush DNS cache then ping fileserver01 and make sure it resolves to the DR IP address.
*Flush DNS cache then ping fileserver01 and make sure it resolves to the DR IP address.


Add netbios alias at DR end (the client may need to reboot before this works):
*Add netbios alias at DR end (the client may need to reboot before this works):
<pre>vserver cifs add-netbios-aliases -vserver netappsvm002_files -netbios-aliases fileserver01</pre>
<pre>vserver cifs add-netbios-aliases -vserver netappsvm002_files -netbios-aliases fileserver01</pre>


Re-assign the SPNs on fileserver01 AD account, this must be carried out on a Windows machine with rights to update the computer object for the NetApp CIFS server:
*Re-assign the SPNs on fileserver01 AD account, this must be carried out on a Windows machine with rights to update the computer object for the NetApp CIFS server:
<pre>
<pre>
setspn -D HOST\fileserver01 netapp001
setspn -D HOST\fileserver01 netapp001
Line 33: Line 33:
==Failback==
==Failback==


Remove netbios alias from DR NetApp:
*Remove netbios alias from DR NetApp:
<pre>vserver cifs remove-netbios-aliases -vserver netappsvm002_files -netbios-aliases fileserver01</pre>
<pre>vserver cifs remove-netbios-aliases -vserver netappsvm002_files -netbios-aliases fileserver01</pre>


Repoint DNS so (in this example) fileserver01 now points to the source NetApp.
*Repoint DNS so (in this example) fileserver01 now points to the source NetApp.


Add netbios alias back on the source NetApp:
*Add netbios alias back on the source NetApp:
<pre>vserver cifs add-netbios-aliases -vserver netappsvm001_files -netbios-aliases fileserver01</pre>
<pre>vserver cifs add-netbios-aliases -vserver netappsvm001_files -netbios-aliases fileserver01</pre>


Start the CIFS server on the source NetApp:
*Start the CIFS server on the source NetApp:


<pre>vserver cifs start -vserver netappsvm001_files</pre>
<pre>vserver cifs start -vserver netappsvm001_files</pre>


Re-assign the SPNs on fileserver01 AD account, this must be carried out on a Windows machine with rights to update the computer object for the NetApp CIFS server:
*Re-assign the SPNs on fileserver01 AD account, this must be carried out on a Windows machine with rights to update the computer object for the NetApp CIFS server:
<pre>
<pre>
setspn -D HOST\fileserver01 netapp002
setspn -D HOST\fileserver01 netapp002
Line 58: Line 58:
</pre>
</pre>


Re start and re sync replication
*Re start and re sync replication

Revision as of 09:56, 10 August 2021

Failover

  • Stop the CIFS server on source NetApp:
vserver cifs stop -vserver netappsvm001_files
  • Remove the netbios alias (if one exists) on source NetApp:
vserver cifs remove-netbios-aliases -vserver netappsvm001_files -netbios-aliases fileserver01
  • Break the replication of the share on the DR NetApp.
  • Browse the share at the DR end to make sure its writable.
  • Repoint DNS so (in this example) fileserver01 now points to the DR NetApp.
  • Flush DNS cache then ping fileserver01 and make sure it resolves to the DR IP address.
  • Add netbios alias at DR end (the client may need to reboot before this works):
vserver cifs add-netbios-aliases -vserver netappsvm002_files -netbios-aliases fileserver01
  • Re-assign the SPNs on fileserver01 AD account, this must be carried out on a Windows machine with rights to update the computer object for the NetApp CIFS server:
setspn -D HOST\fileserver01 netapp001
setspn -D HOST\fileserver01.somedomain.com netapp001
setspn -D CIFS\fileserver01 netapp001
setspn -D CIFS\fileserver01.somedomain.com netapp001

setspn -S HOST\fileserver01 netapp002
setspn -S HOST\fileserver01.somedomain.com netapp002
setspn -S CIFS\fileserver01 netapp002
setspn -S CIFS\fileserver01.somedomain.com netapp002

Failback

  • Remove netbios alias from DR NetApp:
vserver cifs remove-netbios-aliases -vserver netappsvm002_files -netbios-aliases fileserver01
  • Repoint DNS so (in this example) fileserver01 now points to the source NetApp.
  • Add netbios alias back on the source NetApp:
vserver cifs add-netbios-aliases -vserver netappsvm001_files -netbios-aliases fileserver01
  • Start the CIFS server on the source NetApp:
vserver cifs start -vserver netappsvm001_files
  • Re-assign the SPNs on fileserver01 AD account, this must be carried out on a Windows machine with rights to update the computer object for the NetApp CIFS server:
setspn -D HOST\fileserver01 netapp002
setspn -D HOST\fileserver01.somedomain.com netapp002
setspn -D CIFS\fileserver01 netapp002
setspn -D CIFS\fileserver01.somedomain.com netapp002

setspn -S HOST\fileserver01 netapp001
setspn -S HOST\fileserver01.somedomain.com netapp001
setspn -S CIFS\fileserver01 netapp001
setspn -S CIFS\fileserver01.somedomain.com netapp001
  • Re start and re sync replication