Showing posts with label Server Migration. Show all posts
Showing posts with label Server Migration. Show all posts

Monday, 15 October 2018

Server 2019 and ADDS: FRS Not Supported - Migrate to DFSR

We went to DCPromo a newly stood up Windows Server 2019 VM into an existing domain and it would not let us do so.

Suffice it to say, we needed to migrate File Replication Service (FRS) to Distributed File System Replication (DFSR).

The process is actually quite simple so long as Active Directory and replication are healthy.

Ned Pyle has an article that has three methods in it:

We followed method one as a just-in-case during business hours. No hiccups were experienced and once done:

image

A simple way to keep an eye on things is to open File Explorer and plug the following in the Address Bar: \\Domain.Com

So long as DNS is healthy and SYSVOL and NETLOGON are there the process is humming along as expected.

NOTE: Make sure a backup is taken of the PDCe and a System State as well!

Philip Elder
Microsoft High Availability MVP
MPECS Inc.
Co-Author: SBS 2008 Blueprint Book
www.s2d.rocks !
Our Web Site
Our Cloud Service

Thursday, 30 July 2009

Recovering Server 2003 with Dynamic Disks via ShadowProtect

One of our non-profit clients needed to replace an aging server with new hardware. Since their licensing covered moving the OS to another box, and the legacy app on that box would not run on Server 2008, we used ShadowProtect to move the OS to new hardware.

Unfortunately, virtualizing the legacy setup was not an option or we would have taken that approach.

The source server was set up with a pair of dynamic disks that were mirrored via an OS software RAID.

When recovering a server that uses a set of Dynamic disks for an OS based software RAID, there is an extra step to the image recovery process.

If the server is a member server, as was the case for us, make sure to reset the local admin password on the server and have that change reflected in the SP image before the image is used for a restore.

Once the SP image has been placed on the new drives, or in our case on a new server, we needed to boot to the Windows Server 2003 CD and log onto the recovery console.

At the recovery console we needed to run the following commands:

  1. fixboot c: [Enter]
  2. fixmbr [Enter]

This will reset the dynamic disks to basic and allow the OS to boot.

Remember to follow the required post Hardware Independent Restore steps (previous blog post) if moving the OS to new hardware as we were doing here.

StorageCraft’s white paper on dynamic disks:

Philip Elder
MPECS Inc.
Microsoft Small Business Specialists
Co-Author: SBS 2008 Blueprint Book

*All Mac on SBS posts will not be written on a Mac until we replace our now missing iMac! (previous blog post)

Windows Live Writer

Wednesday, 14 January 2009

SBS 2008 - Migrating Practice Creative Suite from SBS 2003

One project we are working on is the move of an existing SBS 2003 domain onto a totally new SBS 2008 setup. The previous SBS 2003 setup was too messed up to even consider a migration, plus we were walking into a totally new server and workstation setup anyway.

One product we are working with in this case is the Thomson Reuters Practice Creative Suite (PCS). It is a product that users use to keep track of their time while working on their client tasks.


Note that, during the Practice CS install routine, install the client software
too as it may be required when testing database connectivity.

Also, install SQL 2005 Express into a new instance leaving the default CREATIVESOLUTION instance name.

The database move was actually quite simple as all that needs to be done is detach the database in Microsoft SQL Server Management Studio Express. Once the database and log file are released, copy them onto a USB hard drive and copy them up to the default CREATIVESOLUTION instance that was created when Practice CS was installed on the new SBS 2008 box.

There are a number of gotchas in this process. One of them is the actual NTFS permissions on the two files once they are in place in the SQL directory.

Since we are talking about SBS 2008 with its own SQL 2005 Express db installed, the default directory will probably be:
C:\Program Files (x86)\Microsoft SQL Server\MSSQL.2\MSSQL\Data
The simplest way to line up the correct permissions on the two SQL files is to right click on the CSP_0_Sample.mdf file and click on Properties. Click on the Security tab and then click on the Continue button which will require a UAC acknowledgement.

There should be three sets of permissions with FULL CONTROL set:
  • SYSTEM
  • SQLServer2005MSSQLUser$WIN-XXXX-CREATIVESOLUTIONS
  • Administrators

Duplicate those permissions for the newly copied in database and log files. It is important to do this step first as the attach process will choke if the permissions are incorrectly set with an error about Read-Only and Performing a database recovery" in SQL Server Management Studio Express.

Once the permissions are correctly set on the databases, attach them. Make sure to close SQL Server Management Studio Express (SSMSE) if it is open first. Right click on the SSMSE and Run as administrator. If this step is missed, the database attach will choke.

Okay! We now have a nicely installed set of databases in SSMSE. But, none of the default permissions that Practice needs will be set yet. Verify that the SBS domain admin account is owner of the database within SSMSE by right clicking on the CSP_FIRM#_FIRM# database and clicking on Properties.

If the domain admin does not own the database, then we need to run the SQL 2005 Surface Area tool. Again, right click and Run as Administrator. Click the Add New Administrator link and move the CSP_FIRM#_FIRM# database over to the "Privileges that will be granted to SBSDOMAIN\AdminAccount and click OK.

With the correct permissions set, we need to verify the Users under the Security folder for the CSP_FIRM#_FIRM# database to have dbo (Login name: CreativeSolutionsPracticeCsDatabaseOwner), INFORMATION_SCHEMA, and sys.

The dbo is critical. In our case, the domain admin account was the login setting for the dbo and we were not able to shift to the CreativeSolutionsPracticeCsDatabaseOwner account.

We created a new account called dbo-PCS, set the needed user account as login and give the Database role membership of db_owner.

New dbo-PCS account with ownership set

We now have Practice CS installed on SBS with the requisite reboots, the database has been properly attached, and we have installed Practice CS onto the workstations (no Remote Entry option), and/or laptops (with Remote Entry), a connection attempt can be made. More than likely it will fail.

We need to do the following on the SBS 2008 server itself:

SBS 2008 Firewall Exceptions

We need to set up Inbound rules for the following:

  • TCP 1433
  • UDP 1434
  • SQLBrowser.exe ( ..\90\Shared\sqlbrowser.exe)
  • SQLServer.exe ( ..\MSSQL.X\MSSQL\Binn\sqlserver.exe)

MSSQL.X indicates the SQL 2005 Express instance. If Practice CS is the first product to be installed on SBS 2008 with an additional SQL Instance, then X=2. The SQL application to be exempted needs to be the one that resides in the same folder structure as the Practice databases.

Run the Practice CS client on the server, and a firm logon page should happen.

Now, run Practice CS on a Vista client, and more than likely there will need to be one more firewall rule set up ... but not on the server, in Windows Vista.

Windows Vista Outbound Firewall Rule for Practice CS

Once we created the outbound exception on the Windows Vista client box, we were still seeing a connection error.

There was one more step to the puzzle. On the SBS server, run the client and connect to the firm database. A logon is not required. Click cancel for the logon dialogue box to get to the Practice program, click on Help then About Practice CS. There is a Download Licenses button. Click on this to enter in the necessary particulars for the firm and allow the license files to download.

Once the files have downloaded, the Practice CS client will run a reinstall routine. If Practice CS is installed on all of the network clients already, then they too will run through the reinstall routine.

Once the license files are installed, Practice CS will fire up and the firm's database will be available for login.

Because this was a very time consuming and labourious process, some steps may be missed. Here is an overview of the process:

  1. Detach on original SBS
  2. Install Practice CS including client. Reboots required.
  3. Db and Log File copy to new Practice CS SQL instance directory.
  4. Files permissions set identical to the Practice Sample Db and Log File settings.
  5. Attach in SSMSE (Right click and Run as Administrator to open).
  6. Run SQL Server Surface Area Configuration and set domain admin to CREATIVESOLUTIONS instance.
  7. Set proper permissions for dbo in SSMSE.
  8. Set up SBS 2008 Firewall permissions for two applications and two ports.
  9. Test connection in Practice CS to firm database.
  10. Cancel login and download and install the firm's license files.
  11. Set Outbound program rule in Windows Vista for Practice CS.
  12. Run Practice CS on Vista client and connect to database.

Please comment if anything is caught missing or out of line with the process, and we will update the blog post.

Philip Elder
MPECS Inc.
Microsoft Small Business Specialists

*All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

Thursday, 8 January 2009

Webinar: Jeff Middleton - Migration Concepts with SBS 2008

Jeff Middleton, an SBS MVP, is hosting a Webinar on SBS 2008 migration concepts.

Microsoft Partner Program: 5W/50 Series - Migration Concepts with SBS 2008 Friday January 9 at 09:00AM Pacific Time (US & Canada).

We have been SwingIT subscription holders for about two to three years now. Jeff's migration techniques, called a Swing Migration, to Swing SBS 2003 onto new hardware, or even Swing it off the old hardware and back on again are an absolute must learn for anyone supporting SBS.

While the Swing Migration method is great for migrating the existing OS, the techniques are an absolutely phenomenal foundation to work from when it comes to recovering SBS from a catastrophic failure. Once comfortable with them, it is a lot easier to stay calm in the midst of establishing a recovery plan for a failed SBS server. The techniques help establish the big picture, directions to take, and ultimately the best road to follow through to a successful SBS recovery.

Come have a listen. It will be worth your while!

Philip Elder
MPECS Inc.
Microsoft Small Business Specialists

*All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.

Thursday, 24 July 2008

SBS 2003 to EBS 2008 Migration Guide

A new migration guide has been released for those who support clients that have grown close to the transition phase of the SBS lifecycle and are looking at EBS as the possible direction: Migrating from Windows Small Business Server 2003 to Windows Essential Business Server.

The document comes in three flavours: The methodology looks to be similar to the process we would use to insert a new SBS server into an existing Windows domain.

The document gives a good overview with the required steps to complete for the migration.

Courtesy of the MS Download Center RSS Feed.

Philip Elder
MPECS Inc.
Microsoft Small Business Specialists

*All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.