Tip: If you intend to use the current media library IP addresses on the new host, it is OK to install the system using a single IP address on the target host. When you move operations over to the new host, add and bind the library IP addresses to the new host, replacing the interim IP.
Perform all of the following steps to prepare the new server for the migration:
1. Prepare IIS and its associated features, including Windows Desktop Experience.
2. Install codec packs for K-Lite and QuickTime.
3. Install SQL Express if using a local database.
4. Install Wowza media streaming engine.
5. Install MEDIAL.
Warning: The target host for the migration must be running the same version of MEDIAL as the production system. If you intend to upgrade MEDIAL as well, perform the migration first, then upgrade the new host to the new MEDIAL version.
Back up and Copy Files
On the current server, the VLS database needs to be backed up and copied to the target server. Also, the content needs to be moved over unless the content is held on the network and accessed by its network path name.
Note: Before proceeding with the following steps, ensure that no more content is uploaded to the media library by users. Content uploaded after the database is backed up will not appear in the media library following the migration.
Back up the VLS Database
Back up the VLS database on the production server. Once you have created the backup, exit SQL Management Studio and copy the backup file to the target server.
Copy Media Library Content
Locate the content directory of the media library and copy the entire directory to the target server. Depending on the MEDIAL version you are running, the folder will be called one of the following:
Copy Auth DLL and Directory Services
If your instance of MEDIAL is using directory services authentication, the configuration information and the auth DLL file need to be backed up. Locate the installation directory of the media library. Depending on the MEDIAL version you are running, the folder will be called one of the following:
Carry out the following steps:
1. In this folder, open the subfolder vls.
2. Copy the file web.config to the target server.
3. Open the bin folder and copy of the Auth DLL file to the target server. This file name includes the version number in the name, as in Auth400R3.dll.
Migrate the Content and Database
Follow the procedures in this section to restore the content and the database to the target server.
Before the database and content can be restored, stop the HMLService and World Wide Web Publishing services on the target server. Open Windows Services (Start > Administrative Tools > Services) and locate each service in turn, selecting them and clicking the stop button.
WWW Publishing service
Tip: After doing this, minimize the services window rather than closing it. You will use it again when you complete the migration.
On the target host machine, open SQL Management Studio and log in with administrator credentials. Follow the steps below to restore the VLS database to the new machine.
To restore the VLS database on the host machine:
1. Expand the Databases node and right-click on the VLS database.
2. Select Tasks > Restore > Files and Filegroups.
3. In the General area of the restore window, click the From device radio button and then click the ellipses to locate the VLS database backup from the current production server.
4. Click on the Add button in the window that appears.
5. Locate the backup of the database called vls.bak. Select it and click OK.
6. Click OK to confirm the backup location.
7. Check the box next to the backup.
8. In the top left corner of the restore window, click Options.
9. In the restore options area, check the box to Oerwrite the existing database WITH REPLACE. Then click OK to restore the database.
10. Once the database is restored, click OK and close SQL Management Studio.
Follow these steps to move the media library content to the target server:
1. Locate the content directory on the target host server called one of the following:
2. Change the name of the directory by appending OLD to the end of the file name.
3. Copy the content directory from your live MEDIAL instance to this new location.
Note: The name of the content directory must match exactly the one you are replacing.
4. Replace the permissions on the folder and restore the process by right-clicking the content directory, choosing the Security tab, and adding the Network Service account with full control.
Follow these steps to compete the migration to the target server:
1. Maximize the Services window from earlier.
2. Start both the HMLService and World Wide Web Publishing services by selecting them in turn and clicking on the small play arrow button.
3. To move the service, the old server needs to be turned off or disconnected from the network and its IP addresses moved onto the new server. Once this has been done, bind the IP addresses to IIS.
4. Open Internet Information Services Manager. Open the server node and click on the HML site. In the Actions window in the right-hand side of IIS Manager click Bindings.
5. Select the binding for the HML site and click Edit to change the IP address to the correct one.
6. Any SSL certificates should be imported and bound to the sites.
7. Once the binding changes have been made, click Application Pools in the left side of IIS Manager.
8. Check that the Helix application pool is set to use the Network Service account.
a. If it is not set correctly, select it and choose Advanced Settings from the right-hand side of the window.
b. Under the Process Model section, click the box containing the account you need to change. Then click the ellipses.
c. Choose Network Service from the Built-in account drop-down. Then click OK.
9. Click the HML website in the left-hand side of the window. Double-click Authentication.
10. Click Anonymous Authentication. In the right side of the window, click Edit.
11. Set the site to use the application pool identity by selecting that radio button and clicking OK.
12. Repeat the process for the HML Upload site.
Enable Directory Services Authentication
Follow these steps to enable authentication on the target server:
1. Locate the copies of the web.config and Authxxx.dll files.
2. Navigate to the installation directory called either HelixMediaLibrary or MediaLibrary depending on the version installed.
3. In this folder, open the subfolder vls.
4. Open the bin directory and paste in the auth DLL file.
5. Go back to the vls folder and open the web.config file.
6. Open the web.config file copied from the live media library server and copy over everything in the <appSettings></appSettings> section.
7. Save the file.
8. Repeat the process for the upload site in the folder called upload, copying the auth DLL file into that bin folder too.