sheppie

updated

19 years ago

S

sheppie

1 Rookie

•

108 Posts

0

3456

February 5th, 2008 06:00

Migrating Windows server to Celerra

Hi,

I'm interested in finding out which methods people have used to migrate a Windows server to a Celerra while keeping the same server name.

I thought that the easiest method would be to create a cifs server on the Celerra with a temporary name then copy the shares and files to it from the existing server using emcopy and sharedup.

I need the new cifs server on the Celerra to have the same name as the old Windows server so I was planning to switch off the old server, remove the name from AD and DNS, then rename the server on the Celerra.

On further investigation it doesn't seem possible to rename a cifs server. You have to delete it and create a new one. However this leaves me with several hundred cifs shares which I need to export to the new server.

Is there an easy way to do this, or do I need to go through them one by one?

Or is there a better way altogether of doing this?

Thanks,
Sheppie
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    647

    0

    Posted February 5th, 2008 07:00

    i used this procedure

    emc156835
  • sagle

    90 Posts

    647

    0

    Posted February 5th, 2008 07:00

    You could use a DNS alias to point the old windows name to the Celerra.
  • sheppie

    1 Rookie

    •

    108 Posts

    648

    0

    Posted February 5th, 2008 07:00

    Thanks for the speedy answers, that has sorted out my problem.

    Sheppie
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    647

    1

    Posted February 5th, 2008 07:00

    Actually, while there currrently isnt a way to rename a CIFS server, you can delete and recreate with a new name.

    If properly done, this will change the NetBIOS name, while keeping local users, shares and the other CIFS server config intact.
    This leverages the fact that on a delete we dont delete the config info and on a subsequent create you will get the same SID and the rename will properly rename the localgroups

    see Knowledgebase emc89999

    An example would be:

    To Rename \\W2kTemp to \\W2kProd
    server_cifs vdmA1 ¿Unjoin compname=W2kTemp,domain=abc.com,admin=Administrator
    server_cifs vdmA1 ¿delete compname=W2kTemp
    server_cifs vdmA1 ¿add netbios=W2kTemp,domain=abc,interface=lacp01x
    server_cifs vdmA1 ¿rename -netbios W2kTemp W2kProd
    server_cifs vdmA1 ¿delete netbios=W2kProd
    server_cifs vdmA1 ¿add compname=W2kProd,domain= abc.com,interface= lacp01x
    server_cifs vdmA1 ¿Join compname=W2kProd,domain= abc.com,admin=Administrator



    Your local EMC professional service guy for Celerra should be very familiar with that.

    I recommend that you try this first with a small extra test CIFS server on the Celerra to become familiar with the procedure.
  • DHoffman2

    2 Intern

    •

    306 Posts

    648

    0

    Posted September 23rd, 2008 06:00

    Is there a clear step by step process that outlines how to migrate a server, retain the server name (on the Celerra), shares and security?
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    648

    0

    Posted September 23rd, 2008 08:00

    Did you mean migrate a Celerra CIFS server or how to migrate from a Windows server to Celerra ?
  • drake2

    44 Posts

    648

    0

    Posted September 23rd, 2008 09:00

    I had issue gathering and understanding all the steps myself and here is what I finally settled on.

    -Make a temp CIFS and interface
    -Used the following EMC utilities to migrate the data and retain permissions/shares
    ("cifs tools" on Celerra apps and tools CD)
    LGDUP
    EMCOPY
    SHAREDUP
    -Decommission the physical server (remove from network)
    -Create an interface with the former servers IP
    -Delete original computer account name from AD
    -Follow the steps outlined in emc156835 to change the identity of the temp CIFS and retain local group security, shares, and permissions

    This process has worked for me so far w/o issue.

    The seniors here, please correct me if I'm wrong

    Also, check and test your command switches on the utilities. These are all outlined in "Using Emc Utilities for the CIFS Environment" doc.

    Hope it helps your efforts.
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    648

    0

    Posted September 23rd, 2008 09:00

    sounds good.

    Of course if this is a new Celerra, there are a couple of settings you might want to check, like:

     File system accesspolicy (native, NT, UNIX, secure, mixed or mixed_compat) and NTcredential

     NAS parameters for the quota facility (block or filesize policy, report)

     NAS parameter for the creation of Alternate Data Streams associated with files (shadow streams).
    Whereas this feature is enabled (=1) by default, it has been found disabled on some systems

     NAS parameters for the CIFS facility (acl.extacl, resolver, acl.extendExtraGid, acl.checkacl)

     NAS parameters for the CIFS facility regarding migration (acl.FailOnSDRestoreError, acl.retryAuthSid, acl.mappingErrorAction), see Primus articles emc46968 and emc61330
     If there are any unknown SIDs on the source of the migration, setting the acl.mappingErrorAction parameter to 1 will ensure that permissions are applied, including ACEs with orphan SIDs.
  • DHoffman2

    2 Intern

    •

    306 Posts

    648

    0

    Posted October 31st, 2008 10:00

    Migrating Windows servers to Celerra.
  • 86453_o

    13 Posts

    172

    0

    Posted March 21st, 2011 07:00

    I want to migrate a windows file server to CIFS on NX4 and using lgdup, I cannot copy all the local group and user.

    When I use emcopy with option  /lg /lu, the copy cannot start.

    Where is the problem ?