The purpose of this article is to guide you through the installation of the Meridix system.
It's recommended to use the conventions below for consistency if possible.
Prerequisites
Meridix Web Application, Meridix Studio Service, Meridix Backend services needs to be installed on a Windows Server 2012 or later with .NET Framework 4.7.x installed or later. The recommended minimum hardware is 4 CPU Cores and 8 GB RAM. The server needs to have network access to the Microsoft SQL Server-which hosts the system database and CDRs database.
Meridix Databases needs to be hosted on a Microsoft SQL Server 2012 or later (Express, Web, Standard or Enterprise edition).
The recommended minimum hardware is 4 CPU Cores and 16 GB RAM for Microsoft SQL Server.
Install a new system
You need to decide the hosting servers (Web Server, Database Server, and Application Server) before you start with the following steps:
Request Meridix Studio (meridix_studio_service_console_binaries.zip or MSI build, and meridix_studio_webdeploy_package.zip) from Operations@meridix.se
The following guides will assist you through the installation process.
Configuring_the_Database_Server
Create an empty database named meridix_sys on the MSSQL server to host the MXSDB (Meridix Studio Database).
Create a SQL Server Authentication login and user with db_owner rights on the meridix_studio database.
Note: The password for database users should not include the following characters: (<,
>,&,",')
Request meridix_data.dacpac master version from Operations@meridix.se.
Create an empty database named meridix_data on the MSSQL server to host MXDDB (Meridix Data database).
Meridix_data> tasks> Register as data-tier application
Meridix_data database > tasks > Upgrade Data-tier application > meridix_data.dacpac
Create a SQL Server Authentication login and user with db_owner rights on the meridix_data database.
Configuring the Web Server
Make sure the content of the .zip file VERSION_AND_DATE_meridix_studio_webdeploy_package.zip is extracted to (drive):\meridix\dist\
On Web hosting server, Windows Server 2012 or later install Microsoft .NET 4.7 or later (https://www.microsoft.com/net/download/framework). On Windows Server 2016 or later .NET 4.7+ is already installed.
Install Internet Informations Service (IIS) with the Web Server (IIS) - Role
Install IIS Web Deploy 3.5 or later (included in the (drive):\meridix\dist\ folder or http://www.iis.net/downloads/microsoft/web-deploy)
Create a folder with the customer name and other two folders beneath the customer folder with the following names: meridixstudio, meridixstudio_service
Create an IIS Site (or reconfigure the default)
Set the site name to Meridix (can be named differently)
Set the physical path to (drive):\customer folder\meridixstudio
Bind it to port 80 (or any other port) and port 443 and assign the right SSL certificate. It is mandatory to check on Require Server Name Indication if you have different SSL wildcards installed.
In the hostname section, you write the full domain name. (Ex. reports.customer.se)
Add the domain name and server name in your DNS portal.
Unzip the file (drive):\meridix\dist\VERSION_AND_DATE_meridix_studio_webdeploy_package.zip into a folder on the server called (drive):\meridix\dist\_webdeploypackage.
Create a BAT file (drive):\meridix\dist\deploy_webpackage.bat and edit it with a text editor (e.g. Notepad++/Notepad)
Add the following command
"F:\PATH_HERE\meridix_studio_webdeploy.deploy.cmd" /Y -enableRule:DoNotDeleteRule "-setParam:name='IIS Web Application Name',value='NAME_HERE'"
Replace the placeholder PATH_HERE with the full rooted path to the (drive):\meridix\dist\_webdeploypackage folder created in the previous step.
Replace the placeholder NAME_HERE with the IIS Site name (default: Meridix) created in step 6.a.
Save the updated bat file.
Execute the bat file with administrator rights (right-click and click Run as administrator)
Open the web application folder (defined in step 6.b)
Rename the file NOT_SET.basic.config to basic.config
Open basic.config in a text editor and change the following settings :
Change the connection string to target the meridix_sys database (created in step 1 under Configuring the Database server) using the SQL Server Authentication login (created in step 1.a. under Configuring the Database server)
Example:server=DbServer;database=meridix_sys;integrated security=false;user id=DbUser;password=DbPassword;
Define a unique application id (Meridix.Studio.Application.Id) - Can be any value but should be system unique e.g. companyX.reporting etc.
Add a connection string to the Data DB that should be used as the report data source.
<add key="exchange.ModuleName.connectionstring" value="Server=Server,1433;Database=Database;User ID=User ID;Password=Password;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;"/>
Open a web browser and browse to the site created in step 6.
The first time the application is started it might take a couple of minutes before it loads due to internal initialization operations, database schema updates, etc.
If everything works as expected a login page will be loaded - Log in with the default credentials U: admin@meridix.se and P: ppn
If you get an error message open the (drive):\meridix\webapp\App_Data\Logs folder under the web application folder and review the logs. Contact operations@meridix.se if you have any questions about the error.
Once logged in, the system must be custom branded which is achieved by applying the default theme package or customer-specific theme.
Read more on custom themes in the following link:
Request the latest Telepo Theme from operations@meridix.se or use your own custom theme.
Upload the theme package to the website by navigating to system administration → Theme settings. Scroll down a bit and press “Välj Fil” and locate your Theme file.
Press “Upload theme package”
Change the Theme name to a description of the theme (Ex. CustomTheme) and make sure the Theme package type is set to the Theme package. Click on Save.
Press Ctrl+Shift+R or Ctrl+F5 to make sure the new theme package content is loaded. (If that does not work, clear the browser cache manually).
The UI should now have a specific theme look and feel instead of the default Meridix theme.
Configure the system by navigating to System administration → Application settings
Define the System location (a descriptive name e.g. Telepo/Customer Reports) - This value will be used in initialization e-mails etc. to identify the system for end-users.
Set the System public URL to the public/internal URI that the end-user will access the system through.
Configure the SMTP server settings to use. Will be used for user initialization e-mails, report distribution, etc.
Verify that the security settings comply with your policy (minimum password lengths etc.).
Enable the required module by navigation to System administration → Module settings
Expand the desired module section and check both the Loaded and Enabled checkboxes.
Add a connection string to the Data DB that should be used as the report data source.
Server=Server,1433;Database=Database;User ID=User ID;Password=Password;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;
Press Save Changes and click on Validate connection to check if the connection to the database is valid.
Configure the feature set from System Administration>Feature Set> Add new set. We define two sets, Basic, and Advanced as below:
The web application is now installed and configured.
Install meridix_studio_service downloaded in STEP 1 (drive):\meridix\dist\VERSION_AND_DATE_meridix_studio_service_setup.msi
((install it into the default directory specified in the MSI) and browse to the installation directory preferably next to the web application folder created in step 6.b.)
Alternatively, you can unzip the VERSION_AND_DATE_meridix_studio_service_console_binaries.zip into the meridixstudio_service created in step 5
Open the installation directory defined in the previous step and do the same configuration with the file NOT_SET.basic.config as described in step 10 and add the same connection string as in step 10. Note that some properties are not available in the non-web context.
Open the Meridix Studio Service Administration GUI from the start menu and start the windows service through the GUI or explore the meridixstudio_service folder and start Meridix.Studio.Service.Console.exe and type S + Enter
If it does not start successfully review the log files in the Logs folder under the installation directory.
Create a scheduled task to run Studio.Service.Console.exe with arguments /send every 10 minutes.
The back-end service is now installed, configured and started.
(It will load additional settings such as SMTP etc. from the same source as the web application).Next step is to create the API ticket/credentials used to synchronize the catalog.
Login into the Meridix Web UI and go to System Administration → System API TicketsCreate a new API ticket called Telepo/Customer sync (or any other descriptive name)
Check the admin rights checkbox under the newly created ticket and click save.
The token and secret will be used in a later step.
Extract the (drive):\meridix\dist\CatalogSyncClient_DATE.zip into the directory (drive):\meridix\Telepo_catalog_sync
Edit the file (drive):\meridix\Telepo_catalog_sync\CatalogSyncClient.exe.configwith a text editor.
Set the telepo_base_url to the IP address of the management node.
Set telepo_token and Telepo_secret to access the management node (provided by customer)
Set the Meridix:server_token to the token created in step 21.
Set the Meridix:server_secret to the secret created in step 21.
Set the customer_name to a descriptive customer name e.g. Company X.
Execute the (drive):\meridix\Telepo_catalog_sync\TelepoCatalogSyncClient.exe executable and verify that it runs successfully.
Any errors are reported both in the console UI and in the subfolder Logs.
After a successful execution log into the Meridix Web UI and verify that a new customer (tenant) is created and contains the users, agents, ACD defined in the Data DB.
Schedule execution of the (drive):\meridix\Telepo_catalog_sync\TelepoCatalogSyncClient.exe with Windows built-in task scheduler with the interval(s) that the sync should be run (usually once every 24 hours).
Add a System administrator user/s. (Ex. administrator@company.com) by navigating to Administration → users and press Add new user.
Deactivate admin@meridix.se user
Under System Administration->Property Management add property force_https and value True to enable https only.
If you wish to have a module name other than the default see article : Rebrand Modules to customer preferences
If you are in different time zone than Sweden/Europe then you need to update property management and Sync config file accordingly.
Example: x-Customer system must show in the GMT zone, the data and the organizations we import from x-Customer are saved in Europe time zone so we configured the properties in the property management as the following:Provide Technical contact person information to Operations@meridix.se.
Configuring the Application Server
Follow the guide on Meridix Import Service setup To configure the application server.
Edit the sync application config file created in Meridix Import Service setup and add the following key but replace System Time Zone to the correct time zone.
<add key="default_time_zone" value="System Time Zone"/>
The above key will update the customers to the chosen time zone. The time zone list is available at
https://stackoverflow.com/questions/7908343/list-of-timezone-ids-for-use-with-findtimezonebyid-in-cA Meridix system is now fully set up.
Upgrade an existing system
This section describes how to upgrade an existing system installed using the steps described in the section Install a new system (above).
Backup the current system files.
Retrieve the latest release from Meridix.
If there is a text file called upgrade_instructions.txt (or. md) in the release_DATE_HERE follow any custom instructions in that document (it has precedence over this content)
Unzip the file (drive):\meridix\dist\VERSION_AND_DATE_meridix_studio_webdeploy_package.zip into a folder on the server called (drive):\meridix\dist_webdeploypackage replacing any existing files in the target folder.
Execute the the (drive):\meridix\dist\deploy_webpackage.bat file with administrator rights (right click and click Run as administrator).
Open a web browser and browse to the Meridix login page.
The first time the application is started after an update it might take a couple of minutes before it loads due to internal initialization operations, database schema updates, etc.
If everything works as expected a login page will be loaded - Log in with the default credentials U: admin@meridix.se and P: ppnIf you get an error message open the (drive):\meridix\webapp\App_Data\Logs folder under the web application folder and review the logs for more information about the error.
Unzip the file VERSION_AND_DATE_meridix_studio_service_console_binaries.zip into the folder called Customer\meridixstudio_service.
Check Meridix studio if the studio service is running.
The system is now updated.
Appendix
Available modules :
TelepoBCS
Centrex
Broadworks
Businessphone
Cisco
Cs1000
Intelligate
Lg
Mxone
Nec
Servit
Trio