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>


Remove the netbios alias (if one exsists) on source NetApp
Remove the netbios alias (if one exists) on source NetApp:
<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 at the DR end
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.


Flushdns cache then ping fileserver01 and make sure it resolved 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 30: Line 30:
setspn -S CIFS\fileserver01.somedomain.com netapp002
setspn -S CIFS\fileserver01.somedomain.com netapp002
</pre>
</pre>


==Failback==
==Failback==


Removed net bios 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 not points to the source NetApp
Repoint DNS so (in this example) fileserver01 now points to the source NetApp.


Add Net Bios alias back on the primary NetApp (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>


Line 46: Line 45:
<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

Revision as of 09:55, 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