Install/Upgrade Meridix system
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.
Request the installation bundle from operations@meridix.se which include the following:
meridix_studio_service_console_binaries.zip or MSI build
meridix_studio_webdeploy_package.zip
meridix_data.dacpac
Theme zipped file.
Meridix Sync Client with an installation guide for the required module.
Install a new system
You need to decide the hosting servers (Web Server, Database Server, and Application Server) and the following guides will assist you through the installation process on each server.
Configuring_the_Database_Server
Create an empty database named meridix_sys on the MSSQL server to host the MXSDB (Meridix Studio Database).
Create an 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: (<,
>,&,",')
Copy meridix_data.dacpac master to the database server and do the following steps:
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 an SQL Server Authentication login and user with db_owner rights on the meridix_data database.
Configuring the Web Server
Extract the file VERSION_AND_DATE_meridix_studio_webdeploy_package.zip to (drive):\meridix\dist\
Install Microsoft .NET 4.8 or later if necessary (https://www.microsoft.com/net/download/framework).
Install Internet Informations Service (IIS) with the Web Server (IIS) - Role
In the IIS GUI, find IIS server Logging -> Actions. Press “disable” so the system drive will not be filled up with log files. If logging is needed for troubleshooting, enable logging temporarily or set a suitable drive or folder for the log files.
Install IIS Web Deploy 3.5 or later 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 the folder you created in step 5 example C:\customer folder\meridixstudio
Bind it to port 80 (or any other port) and port 443 and assign the right SSL certificate accordingly.
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.
Create a folder and name it, Ex. _webdeploypackage.
Unzip the file VERSION_AND_DATE_meridix_studio_webdeploy_package.zip into a folder you created Ex. F:\meridix\dist\_webdeploypackage.Create an empty BAT file, name it deploy_webpackage.bat, edit it with a text editor (e.g. Notepad++/Notepad)
Add the following command
"PATH_HERE\meridix_studio_webdeploy.deploy.cmd" /Y -enableRule:DoNotDeleteRule "-setParam:name='IIS Web Application Name',value='NAME_HERE'"
Replace the placeholder PATH_HERE in the above command with the full rooted path to the folder you created in step 7 F:\meridix\dist\_webdeploypackage.
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.
Open a web browser and browse 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.
Log in with the default credentials U: admin@meridix.se and P: ppn if everything works as expected and a login page are loaded. 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 support@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:
Upload the theme package example “Telepo_3_8_0_0.zip” to the website by navigating to system administration → Theme settings. Scroll down and press “Choose File” and locate your Theme file.
Press “Upload theme package”
Write the theme name you uploaded in the previous with no extension (Ex.Telepo_3_8_0_0 instead of Telepo_3_8_0_0.zip) under the “Theme name”.
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. Check your connection string values and the accessibility to the database server network if the connection fails.
Configure the feature set from System Administration>Feature Set> Add new set. We define two sets, Basic, and Advanced as below: //Necessary to have this to make the installation? Maybe better to have just as a link? https://meridix.atlassian.net/wiki/pages/createpage.action?spaceKey=MS36MEN&title=How%20to%20configure%20feature%20sets&linkCreation=true&fromPageId=1422000129
The web application is now installed and configured.
Configuring Meridix Studio service
Unzip the VERSION_AND_DATE_meridix_studio_service_console_binaries.zip into the meridixstudio_service folder you 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.
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).Add a System administrator user/s. (Ex. administrator@company.com) by navigating to Administration → users and press Add new user or follow the steps of Grant system level rights to a user (System administrator)
Deactivate admin@meridix.se user
ِِGo to System Administration->Property Management, add property force_https and set the value to True to enable https only.
You can rename the module name by following the article: Rebrand Modules to customer preferences
If you are in a different time zone than Sweden/Europe/CET, or your date exists in different time zone than your system then you need to update property management accordingly.
Check the timezone values in TimeZones.
Use case: the x-Customer system receives the CDRs call in CET time zone and needs to show it in the GMT zone, configure the properties in the property management as the following:Go to System Administration > Application settings and change the default timezone for new users to GMT.
Provide Technical contact person information to Operations@meridix.se.
Configuring the Application Server
Follow the guide on https://meridix.atlassian.net/wiki/spaces/OS/pages/1413218305 To configure Meridix Import Service.
Install the Sync application and following the guidelines comes with it.
In case you update the time zone in the application, edit the sync application config file and add the following key but replace System Time Zone to the correct time zone.
The above key will update the customers to the chosen time zone. The time zone list is available at TimeZones.
A 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 you received into a folder on the server called (drive):\meridix\dist_webdeploypackage replacing any existing files in the target folder.
Execute 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 your credentials. If 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
TimeZones
Webpage: www.meridix.se
Email: support@meridix.se
Tel: +46 (0) 21 38 30 32