NetApp CIFS share failover to dr replication partner

From roonics
Revision as of 09:58, 10 August 2021 by Jlambert (talk | contribs)
Jump to navigation Jump to search

In this example we replicate a CIFS share from the source NetApp to a DR NetApp, details below:


[------------]
|
|
|
|
[------------]

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