Transferring GP To A New Server Without Resetting All Passwords

One of the annoyances when migrating a client’s installation of Microsoft Dynamics GP to a new server is that, unless the new server has the same name as the old one, the password of every user needs to be reset as the server name is encrypted in with the password.

The is another alternative though and that is to create a DNS CNAME Alias and use this as the server name in the SQL Server ODBC instead of the servers actual name. When GP is migrated to a new box you only need to amend the DNS CNAME Alias and users can continue logging in with the same password.

To do this you need to log onto the DNS Server and then go to (Windows Start menu >> Administrative Tools >> DNS) and into the Forward Lookup Zone for your domain and right click New Alias (CNAME). Enter an Alias name and the fully qualified domain name for the SQL server (in the example below GPTEST is configured as an alias for SQL2.azurecurve.co.uk);

DNS Manager

Once done open the SQL Server Configuration Manager (Windows Start menu >> All Programs >> Microsoft SQL Server 2008 R2 >> Configuration Tools >> SQL Server Configuration Manager) and expand the SQL Server Network Configuration node and click on Protocols for MSSQLServer and ensure TCP/IP is Enabled;

SQL Server Configuration Manager

Then it’s a case of modifying the SQL Server ODBC System DSN on each client to use the CNAME Alias (GPTEST) instead of the server name (SQL2);

Microsoft SQL Server DSN Configuration

If you’re using Management Reporter you will need to change SQL Server in (Tools >> Company) the Company Setup;

Company Wizard - Microsoft Dynamics GP

The one Dynamics GP related product I’ve had issues with this approach was FRx which did not like the use of the CNAME Alias and insisted on having the server name; however, this did not impact on the user’s password.

With the above configuration, once SQL2 is retired and a new server brought online all we need to do is update the CNAME Alias with the new server name and all users will be able to log in without the password needing to be changed.

Ian Grieve

About Ian Grieve

Ian is a Microsoft Dynamics GP certified consultant specialising in the delivery of Microsoft Dynamics GP projects and currently working for Perfect Image Ltd., a Microsoft Partner and VAR in the North East of England. Ian has worked with Microsoft Dynamics GP since 2003 and, over the nine years since, has dealt with all aspects of the product life-cycle from presales, to implementation, to technical and functional training, to post go-live support and subsequent upgrades and process reviews. In his spare time, Ian runs the azurecurve | Ramblings of a Dynamics GP Consultant blog dedicated to Microsoft Dynamics GP and related products.
This entry was posted in Dynamics, FRx, GP, Management Reporter, Microsoft and tagged , , , , , , , , , . Bookmark the permalink.

6 comments on “Transferring GP To A New Server Without Resetting All Passwords

  1. Pingback: Interesting Findings & Knowledge Sharing » Transferring GP To A New Server Without Resetting All … – azurecurve

  2. Ian,

    Thanks for this. I think I will do this for all of my new installs. I am going to modify the procedure a bit for a server transfer tonight that they are retiring the old server name.

    Perry Smith
    Integrated Systems Solutions

    • Hi Perry,

      Pleased you found the post useful.

      This approach really comes into it’s own during disaster recovery situations when you need a backup server up and running in place of live quickly and don’t want to spend time resetting passwords. Fire up the backup server, change the DNS and you’re good to go.

      Ian

  3. zack zeeaay on said:

    I got kind of lost as it is not that much clear.
    Old Server = A
    New Server = B

    DNS forward look up zone on A or B ?

    odbc ON A (old) OR B (new) with

    How about, if A is still being used as sandbox and B as new Server ?

    How would one know he is going on A or B

    Also, if A is old and being retired then where to get the DNS from if that is being setup on A?

  4. Hi Zack,

    The DNS would typically be on the domain controller which would usually be a different machine to the SQL server.

    So the server configuration would be;
    Old Server = A
    New Server = B
    Domain Controller/DNS Server = Z

    So users know which server they are logged into, when keeping the old server as a test box, you could give the ODBC a different name; I typically change the company names as well when the client has a separate server for testing to make sure they know if they’re logged into the test Live company or the live Live company.

  5. Pingback: How To Install Management Reporter – Server | azurecurve

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>