Network and Storage Protocols

CIFS vFiler Migration to Cluster Mode

TMADOCTHOMAS
15,864 Views

I have seen some contradictory information on migrating a CIFS vFiler in 7-Mode to a CIFS Server in an SVM in Cluster Mode and would like to see if anyone can provide some clarity.

 

First, the basics: I have six vFilers to migrate, each going into their own SVM.  For all of them, we are preserving the identity of the vFiler - i.e. we want the name to stay the same once it is functional in Cluster Mode.  For five of the six, we want to migrate the IP address as well.  For one of them we want a new IP.

 

I was under the impression that in order to preserve the vFiler's identity, I had to create a temporary CIFS server on the Cluster Mode system during the 7MTT migration.  At cutover, I would terminate CIFS on the 7-mode system, tear down the CIFS server on the Cluster Mode system, and recreate it with the identity of the vFiler from the 7-Mode system.  We would then complete the migration.

 

However, having read tr-4336, page 61, and the 7MTT 2.0 Data and Configuration Transition Guide, page 58, it appears that I have it backwards.  These documents appear to say that, before pre-cutover, I need to terminate CIFS on the 7-mode system, tear down the vFiler on the 7-Mode system, and recreate it with a temporary name before pre-cutover.  I would then need to create the new CIFS Server on the cluster mode system using the identity of the original vFiler.

 

I would be interested in hearing from anyone who has performed migration of CIFS vFilers.  The main things I'm trying to determine are:

  1. Do I need a temporary CIFS Server on the Cluster Mode system, or a temporary vFiler on the 7-Mode system?  Or do we need all three running at the same time - the original vFiler and a temporary vFiler AND CIFS Server?
  2. If the latter, if the goal is to preserve the 7-Mode configuration information so it can be transitioned, how is that possible if I am creating a new vFiler, presumably using the same root volume as before, which wipes out the original configuration?

Any thoughts or advice will be appreciated!

25 REPLIES 25

--John--
14,714 Views

Have you had a chance to look at TR-4052: Successfully Transitioning to Clustered Data ONTAP?

 

The Namespaces and SVMs section in TR-4052 might help, as well as the CIFS section of TR-4129: Namespaces in Clustered Data ONTAP.

 

In 7-Mode, individual controllers, NetApp vFiler® instances, and HA pairs result in clear boundaries for how workloads can be divided between systems or how they can be consolidated within the same HA pair. In short, a silo-based approach dictates how much can be hosted on any given storage system.


Clustered Data ONTAP delivers a single namespace that enables a workload to be scaled across one, some, or all of the nodes in a cluster. This is possible because a storage virtual machine can contain a collection of flexible volumes that can reside on any node in the cluster.


The primary consideration for clustered Data ONTAP and namespace design is how the existing systems will be migrated to storage virtual machines. If possible, it is best to align with the forward-looking architecture of the clustered Data ONTAP system that will service the workloads moving forward.


In some cases, however, it may be easier to migrate each 7-Mode controller into a separate storage virtual machine. Although this might seem easier, it is not optimal because volumes cannot be nondisruptively moved between SVMs in clustered Data ONTAP. As a result, it is best to verify that volumes are migrated

TMADOCTHOMAS
14,692 Views

Thanks John.  Yes, I have read the other TR's, but they don't address the specific issues I raised in my post.

 

Does anyone have recommendations/thoughts on the cutover issue I raised in my post?

--John--
14,653 Views

Both TR-4336 and the 7MTT guide provide the same general guidance:

 

  • Clients connected to the 7-mode CIFS server must be disconnected
  • The 7-mode CIFS server should be reconfigured to a temporary name (to eliminate conflicts with the new clustered Data ONTAP CIFS server)
  • Then create the new CIFS server (using the original 7-mode CIFS server name) on clustered Data ONTAP

You don't need to create a temporary CIFS server. Where did you see the reference to terminating the 7-mode CIFS server (rather than just the client connections) or tearing down the 7-mode CIFS server (you do need to reconfigure the name).

 

As I understand it, from the 7MTT guide, the instructions are:

 

  • Before precutover, reconfigure the CIFS server on the 7-Mode by using a temporary CIFS identity. This allows the original CIFS server identity to be configured on the SVM. Ensure that CIFS server is running on the 7-Mode system during the precutover operation with the new temporary identity. This is required to read CIFS configurations from 7-Mode during precutover.
  • Configure the CIFS server on the target SVM with the original 7-Mode CIFS identity.

TMADOCTHOMAS
14,618 Views

"reconfigure the CIFS server on the 7-Mode by using a temporary CIFS identity"

 

It had not occurred to me that this might mean simply rename the vFiler.  But won't the fact that DNS is still pointed to the IP address be an issue?  And I'm assuming the AD account need to be removed and re-created with the new identity in cdot?  Just want to ensure we're covering all the bases!

--John--
14,603 Views

Yes, the DNS will need to be updated to associate the temporary CIFS identity with the IP address on the 7-mode system.

 

The AD configuration for the CIFS identity should also be removed and recreated with the new identity in clustered Data ONTAP.

TMADOCTHOMAS
15,027 Views

Thanks John.  So, to summarize, here are the steps we would perform prior to cutover:

 

  • Stop all connections to the vFiler.
  • Rename the vFiler to a temporary name, update DNS to point the IP to the temporary name, and remove the AD computer account/add a new AD computer account with the temporary name
  • Once migration is complete, THEN turn off the original vFiler, update DNS to point the IP to the permanent name again, remove the temporary AD computer account, and join the new CIFS Server to the domain

On the second bullet, would it be better to have a temporary IP to go with the temporary name?  That way no DNS/AD changes are needed (I would assume).  We just change the vFiler name and CREATE a temporary DNS entry and AD computer account to go with the temporary name.  Then after cutover completes, we just turn off the temporary DNS/AD/vFiler, and create the CIFS Server with the original identity on the cdot system.

--John--
14,971 Views

Yes, that would be best.

TMADOCTHOMAS
14,888 Views

So I began our test this morning, and it didn't work.  The 7MTT did in fact require that a temporary CIFS Server be configured on the destination SVM, which I had removed.  Instead, I had renamed the 7-Mode vFiler to a temporary name before attempting cutover.  Any ideas here?  Do we actually need TWO temporary names/IPs, one to set up a temporary vFiler name, and one to set up a temporary CIFS Server?

TMADOCTHOMAS
14,881 Views

FYI I think I've figured it out.  Apparently, after renaming the CIFS Server on the 7-mode system, the CIFS Server in Cluster Mode should be configured with the original vFiler identity BEFORE cutover.  I had been under the impression that this final step should only be done after transition is complete.  Will retest later today.

TMADOCTHOMAS
11,257 Views

For the record if anyone searches this topic, that worked great!  Share definitions are even copied over, which I've not seen documented anywhere - apparently this capability was added in a recent revision of the 7MTT.

LITTLEREDCAR
11,244 Views

Just curious to know if you have any updates to share on this topic, i'm in the same process of migrating CIFS share from 7 mode to clustermode and would like to pick your brain on this process.

TMADOCTHOMAS
11,217 Views

What do you want to know?  I am about to do our first migration hopefully later this week.

atb29
11,084 Views

Hi THOMAS i will migrate some vfiler units with 7mtt 2.0 to cdot 8.3 and i want to preserve the same cifs server name. Finally what has been the steps you made to solve it?

 

Thanks

TMADOCTHOMAS
11,036 Views

Here is what worked for us:

Assign a temporary IP to the SVM.

Run the 7MTT to replicate the data.  (NOTE: We didn't include the option to transition the IP address because the 7MTT includes default settings for LIFs we didn't like).

When you are ready to cutover, re-run cifs setup on the SOURCE system and rename the CIFS Server to a temporary name (be sure you already had a DNS entry created for the temporary name).

Run the cutover commands on the 7MTT.

After cutover, create the permanent LIF manually for the SVM (if you had the 7MTT do this then you don't need to do it manually).

If everything is working, decommission the vFiler with the temporary name on the source system, and remove the LIF with the temporary IP on the SVM.

john_higgins
10,044 Views

Did you clear the credential cache, I saw that as a required step opn the source vFiler when you give it the temporary/new name, maybe its not always needed ot just generates erors in logs.  Just interersted to know if you did that step.

TMADOCTHOMAS
8,909 Views

John,

 

I'm afraid I'm not familiar with clearing the credentials cache. We migrated three CIFS servers and didn't have to do that. Doesn't mean we might have needed to in certain circumstances.

Anand0786
8,175 Views

Did you create original CIFS server name on SVM before cutover(along with original DNS entry)

 

 

Run the 7MTT to replicate the data.  (NOTE: We didn't include the option to transition the IP address because the 7MTT includes default settings for LIFs we didn't like).

When you are ready to cutover, re-run cifs setup on the SOURCE system and rename the CIFS Server to a temporary name (be sure you already had a DNS entry created for the temporary name).

**Create original CIFS server identity on SVM before cutover--Is that right ?

Run the cutover commands on the 7MTT.

After cutover, create the permanent LIF manually for the SVM (if you had the 7MTT do this then you don't need to do it manually).

If everything is working, decommission the vFiler with the temporary name on the source system, and remove the LIF with the temporary IP on the SVM.

TMADOCTHOMAS
8,151 Views

No - at cutover we changed the existing CIFS Server on 7-mode to a temporary name, then ran CIFS Setup on the SVM and used the original CIFS Server name then ran cutover. Strange sequence but it worked mutiple times. I wondered if it was right myself! Documentation was very incomplete. Thankfully I had a test system and some resources to ask and was able to figure it out.

Anand0786
8,120 Views

Thanks! and i believe no DNS changes was required ? And are the changes at 'pre-cutover' or 'Storage cutover' phase of 7mtt?

TMADOCTHOMAS
7,600 Views

Actually we pre-created a DNS entry for the temporary CIFS Server name.Right before we clicked Apply Configuration and Complete Transition in 7MTT, we did this:

 

  1. On the 7-mode source system, terminate CIFS, re-run CIFS Setup and rename the CIFS Server with the temporary name.
  2. On the cdot destination system, create the CIFS Server with the original name. It is using a temporary LIF we added to the SVM.

After finishing the 7MTT process, we then stopped the 7-mode CIFS Server completely which allowed us to re-use the original IP. We added the original IP to the SVM on cdot and removed the temporary one. I hope that helps!

Public