What better way to kick off the festive season than a with a storage migration (only being slightly ironic!). A customer uses their existing NetApp kit to provide block storage to vSphere hosts and CIFS shares to Windows clients and they wanted me to do a swap out upgrade. Migrating the vSphere data is a cinch nowadays, what with Storage vMotion and all, so I’ll just document the CIFS stuff.
- First you’ll need to setup a SnapMirror relationship of the CIFS volume between the source and destination filers (no faffing around with robocopy and the like)
- Make a backup copy of the /etc/cifsconfig_shares.cfg file
- Execute cifs terminate on the source filer (downtime starts here)
- Update (quiesce if necessary) and break the SnapMirror relationship
- Take the source filer offline
- Assign the source filer’s IP to the new filer
- Reset the source filer’s account in Active Directory (if applicable)
- Execute cifs setup on the new filer
- It goes without saying that you will assign the source filer’s hostname to the destination filer, as well as join it to the AD (assuming the source filer was joined)
- Execute cifs terminate on the destination filer and replace the cifsconfig_shares.cfg with the backup copy you made in step 2
- Execute cifs restart on the destination filer
- Test client access
No comments:
Post a Comment