1. Introduction
Content Processing and Encoding are hardware resource-consuming processes. A dedicated machine for this purpose improves the performance of the application more efficiently as compared to the processes which are running on the same server where the application is deployed.
Content processing/encoding on different Machines is achieved by “Customized Installation” of the VIDIZMO application.
2. Installation Prerequisites
Encoding Server:
- VM/Physical Server with a minimum of 16GB RAM, 4 Core CPU, 128 GB HDD with 150 Mbps Throughput.
VIDIZMO V9 Windows Server 2022, 2019, 2016 (Version 1607 or later) .NET Framework 6.0.12 .NET 6.0.12 runtime and hosting bundle IIS 10 or greater
VIDIZMO V8 Windows Server 2019,2016 (build 14393 or later). .NET Framework 5.0.17 .NET 5.0.17 runtime and hosting bundle IIS 10 or greater
VIDIZMO V7 Windows Server 2019, 2016 .NET Framework 4.6 .Net Core Hosting Bundle 2.1.6 or later
IIS 10 or greater
Others:
- Open Firewall Ports between application and database servers:
- 11211: This port used by Memcachedb and is required to be open for the Encoding server, to use memcache service.
- 80: This is the port number assigned to commonly used internet communication protocol, Hypertext Transfer Protocol (HTTP). It is the port from which a computer sends and receives Web client-based communication and messages from a Web server and is used to send and receive HTML pages or data.
- 443: In the case of https, whereas the default port used for standard non-secured "HTTP" is port 80, Netscape chose 443 to be the default port used by secure HTTP
- 1433: This is the default port for SQL Server. This port is also the official Internet Assigned Number Authority (IANA) socket number for SQL Server. Client systems use TCP 1433 to connect to the database engine; SQL Server Management Studio (SSMS) uses the port to manage SQL Server instances across the network.
- All machines should be on the same Local or Virtual Network.
- Administrative access to the VM/server on which VIDIZMO Workflow Service and VIDIZMO Scheduler Service will be installed (Encoding Server).
3. Installation of Encoding Server
Steps
Before installing VIDIZMO on the Encoding Server, make sure that all the prerequisites are installed and configured on both the Encoding Server and the Database Server and that both servers are accessible to each other over the network.
Database Server Setup
To install SQL Server to set up your Database Server, see: Install SQL Server from the Installation Wizard. Following this Installation Wizard, under Step 11 for Feature Selection, you need to select the following features:
- Database Engine Services
- Full-Text and Semantic Extractions for Search
- SQL Client Connectivity SDK
Restore Databases
You need to restore databases via SQL Server Management Studio to be used with VIDIZMO Application. To learn more about it, see: Restore a Database Backup Using SSMS.
Follow the steps mentioned under Restore a full database backup to add a backup file, that our Support Team shall provide for restoration. The file names would be the following:- VidizmoDB_6_0.bak
- VidizmoNotificationSystem_6_0.bak
Extract Application Files
Our Support team will provide you zipped folders of Application files that you will have to download and extract in your Application Server:
i. Go to your C:\ drive location. Unzip and extract the folder named VIDIZMO.rar at the base location.
ii. Wait until the extraction takes place.
iii. Following which, you may go to your C:\ drive and navigate to VIDIZMO > Application to browse all application folders such as Global DLLs, Scripts, etc.
Import Registry
Now, you need to import the database registry in the Application Server in order to connect the application to the database server. This is how you may proceed with it:
1. Our Support team will provide you two registry files, namely newapi and newapi-64 tailored to your specific OS needs.
i. Paste these registries on your Application Server desktop.
The connection strings required in the registries are as follows:
1. "connection"="Data Source=<db server name>;Initial Catalog= VidizmoDB_6_0;Persist Security Info=True;User ID=<user id>;Password=<Use the encrypted password generated in the previous step>"
2. "notificationconnection"= "Data Source=<db server name>;Initial Catalog= VidizmoNotificationSystem_6_0;Persist Security Info=True;User ID=<user id>;Password=<Use the encrypted password generated in the previous step>"
3. "link"="<link to vlms site>"
2. Update the Connection Strings in the registry as follows:
i. Right-click and edit registry file in notepad.
ii. Make following changes in the both registry files, for 32-bit (newapi) as well as for 64-bit (newapi-64) OS:
- Replace all Data Source parameters with the SQL server’s DNS name or the private IP of the SQL server.
- Replace all User ID parameters with the username of SQL Sys Admin (sa).
- Replace all Password parameters with the password of the Sys Admin account.
Encrypt Database Password
Encrypting database password using a utility before entering it into the registry:
- Enter the plain text password that you want to encrypt for the database.
- Open the encryption utility provided by VIDIZMO.
- Copy the newly encrypted password.
- Open the registry editor and locate the field where you need to enter the encrypted password.
- Enter the encrypted password into the field and save your changes.
iii. Now, go to your system's registry editor by navigating to Start Menu > regedit.
iv. Go to File tab, and select Import.
v. Browse to the location where the edited files have been saved and select both registries.
vi. A prompt would be generated saying keys successfully added.
vii. Check keys have been updated in the registry for both 32-bit and 64-bit, respectively.
Install Services
Following are the list of two services that VIDIZMO Encoder uses:
- Scheduler Service used to manage various clock-sensitive processes by refreshing the fetched results like analytics, reports, content purge.
- Workflow Service used to manage various time-consuming processes by breaking them down into activities and managing them separately for better track of progress.
1. Now, you need to install these services on your application server. Here is how you may do it:
i. Before you start, make sure you have the latest .NET Framework see: How to Setup an Application Server for VIDIZMO Installation.
ii. Open Start Menu and type cmd, right-click Command Prompt to Run as administrator.
iii. Type the following command to change directory to the service folder where the .exe file of your service is found, for example:
cd C:\VIDIZMO\Application\Win\WorkflowService
iv. After changing directory in the command prompt, write the following command to install service, where servicename is the name of the exe file that resides within the particular service folder:
sc create "VIDIZMO-WorkflowService" binpath="C:\VIDIZMO\Application\Win\WorkflowService\WorkflowService.exe"
v.
To Set Service Login Go to Service Properties and click on Log on Tab. (optional)
Set User Account and Password.
vi. Service installed successfully over Command Prompt.
vii. Verify that VIDIZMO Caching Service was installed, by going to Start Menu > Services.
viii Repeat the above process for all four services with the following commands:
sc create "VIDIZMO-VIDIZMOScheduler" binpath="C:\VIDIZMO\Application\Win\SchedulerService\SchedulerService.exe"
sc create "VIDIZMO-Caching" binpath="C:\VIDIZMO\Application\Win\MemcachedService\VIDIZMOCaching.exe"
ix. After installing Scheduler Service, you need to change some additional settings. This would enable the Scheduler Service to restart, which in turn restarts all other services. To do so, right-click VIDIZMOScheduler service and select Properties.
x. Go to Recovery tab and set the following recovery settings:
xi. Check the installed services via Start Menu > Services.
4. Activation of Encoding Server:
The VIDIZMO Application runs on a separate Application Server than the Encoding Server, which uses "VIDIZMO Content Processing" Service to encode the content from the VIDIZMO application. The Encoding Server also needs to be activated and requires a valid license key otherwise new, uploaded content routed for encoding from the Application Server will not get processed. You can verify whether the content is being encoded or not by logging in to your VIDIZMO Channel and viewing the Workflow Queue for that process.
1. Get in touch with a Vidizmo Sales Representative for the License Key needed to activate the Encoding Server.
2. A License Key be will provided
Please add content that you need to update the IP of the Application server in the Cache as per the screenshot.
After that please
3. For the Application Server, restart the “memcache” service from Windows Services. Also restart the IIS using Command Prompt (Command: iisreset)
Then,