





|
Step 1
|
Step 2
|
|
|
• Select Accept license.
• Click Next
|
![]() |
![]() |
|
Step 3
|
Step 4
|
|
• Enter your Installation key obtained from the MEGA HOPEX Store
The message “HOPEX Store settings are valid” appears if the key is correct.
|
• Select Bundle “HOPEX”
• Selection required Version: 6.0
• Click Next
|
![]() |
![]() |
|
Step 5
|
Step 6
|
|
• Select the module you want to download. By default “All”
• Click Start download
This may take a while. The total of all module can goes up to 2Gb.
|
• When all downloads are successful click Next
|
![]() |
![]() |
|
Step 7
|
Step 8
|
|
• Click Create offline package
• Unfold the folder where you want to put the packages
|
• Prefer a C:\ location. You will be able to move the files later.
• Create a new folder or select an existing one for which you have the rights to write.
|
![]() |
![]() |
|
Step 9
|
Step 10
|
|
• When successful a pop-up appears Offline files ready
• Click OK
• The setup is closed
|
• Search for the folder you have just created
It contains:
- an has.setup.exe file - an haspackages folder with *.haspkg file |
![]() |
![]() |
|
Step 11
|
Step 12
|
|
You need to specify which server you are deploying:
• Production: for production server
• Staging: for UAT and pre-production
• Training: for training only
• Development: for customization development
|
• In the Mode drop-down menu select “Production” (or the other choice depending on what you are installing)
• In port adjust port number.
Default 30100
Caution: do not use 80 or 443
|
![]() |
![]() |
|
Step 13
|
Step 14 (optional)
|
|
• Give an API Key value for the HAS Instance Manager REST API and Web portal.
• This API Key is for server administrator only.
Minimum 6 characters with capital letters and special characters
You can change this API Key later if you forget it.
|
• Should you want to change:
• Folder location
Default: “C:\Program Files\MEGA” for HAS Instance Manager
and “C:\ProgramData\MEGA” HAS for Instance
• User to launch the windows service.
Required to access the Must License path or if there is more than 1 HAS Server
In that case:
Click Advanced
• Adjust User service & password (if blank Local System is the default)
• Adjust Folder locations
• Click OK and Click Next
|
![]() |
![]() |
|
Step 15
|
Step 16
|
|
The HAS Instance Manager is being installed and related packaged unzipped.
|
• When all successful (OK appears), click Next
|
![]() |
![]() |
|
Step 17
|
Step 18
|
|
At that step, the process is being launched by Windows.
A process called HAS.Instance.Manager.exe should be visible in Windows Task Manager.
|
• When ready, the Open Instance Manager console message appears.
Click it: it will open your web browser.
|
|
|
![]() |
|
Step 20
|
Step 21
|
|
• In the login page of the Instance Manager console enter the API Key created at installation.
|
• Click New instance to create an instance
|
![]() |
![]() |
|
Step 22
|
|
• Give a name to the cluster.
For instance, “HAS_PRODUCTION”
Caution: If you keep default value ensure there is no existing cluster name with same name.
• Set the public URL. (Enter HTTP or HTTPS according to your case)
Example: https://vp-iis1-v6.fr.mega.com
• Keep Enable https selected.
CAUTION: Do not leave the default value with the server name if you are not installing a standalone laptop.
|
![]() |
|
|
Step 23
|
![]() |
In the tab Instance fill in the following information:
• Select the Server Name.
Default: the server on which you are performing the installation.
• Set HAS Instance Port.
Default 5000
• Select an HAS Bundle.
Default HOPEX
• Select an HAS Instance Version.
Default is the one selected at setup
|
|
|
Step 24
|
![]() In case of Database connection error:
![]() |
• Define the Database connection. Should you make an error in database connection an error message appears.
• SQL Server instance
<<machine network name>>\<<SQL instance name>>
• SQL Server User Account
User enabled to access/update SQL Server
• SQL Server User Password
Password of the SQL server user
• Optional parameter
If You want to use the trusted connection mode put: Trusted_Connection=True
In that case login and password should be empty.
Please make sure you have set the user service for HAS Instance Manager see below 3.12 Windows User and access rights
|
|
|
Step 25
|
![]() |
In the tab Settings fill in the following information:
• The HOPEX Store installation Key.
Default: it is prefilled with the information given at setup. Except if you went offline.
Optional actions (that you can perform later if needed):
• Log server: If you want to use SEQ add the URL and token to connect to the log server.
• Tracer server: If you want to use Zipkin add the URL and token to connect to the log server.
• License path: put here the path of the UNC for the Must license
Example: \\W-OGD\Must
• Admin password: change the default password for admin user on the console.
Example: Has2k21!
Note: password must comply with complexity rules.
|
|
|
Step 26 (optional)
|
![]() |
In the tab Modules you see the default module available in the bundle.
If your server has internet access to the https://store.mega.com you can add complementary module at this step.
Otherwise skip this step.
• Select the module to add. The selection is done by the module ID
• Select the required version.
• Click Add.
|
|
Step 27 (optional)
|
Step 28
|
|
When your settings are correct you can save same as a template for scripting installation purposes.
• click Generate template.
• Copy and save the generate JSON in a text file
|
• Click the Start
• When ready the status become “Running”
• Click the URL Public address to access the HAS Instance created
|
![]() |
![]() |
|
|
Step 29
|
![]() ![]() |
• While loading you will see a message HAS is starting with the list of modules being deployed
• When ready you get redirected to the HAS portal
• Click the HAS console tile to enter the console.
|
|
Step 30
|
Step 31 (optional)
|
|
• At first login (creation of the database HAS) on the HAS Console the default login and password are:
- Login: admin
- Password: Hopex (except if you did set it up on step 25) • Enter the values in the fields
• Click Sign in.
|
• Change the password as requested.
• Click Change password
The password must:
• include at least 8 characters, one uppercase, one lowercase, one digit, and one special character
• not use any sequence of characters (e.g.: 12345, qwert) nor contextual words (e.g.: hopex, mega)
• be complex enough to meet your enterprise security requirements
|
![]() |
|
|
Step 32 (optional)
|
Step 33 (optional)
|
|
• When successful a message informs you that: “Password has been changed successfully”.
• Click Sign in with new password.
|
• Login with the new password with user “Admin”.
|
|
|
![]() |
|
Step 34
|
|
|
The Console shows the modules that are installed and running.
HOPEX Core is not running because it needs:
- the Must license
- One environment (SystemDB)
|
|
![]() |
|
|
Step 40
|
|
Edit MegaSite.ini:
• Select Modules > Module Settings menu
• In the right pane, click the MegasiteSettings icon to edit “Megasite.ini”
|
![]() |
|
Step 41
|
|
Add Must settings in the text area:
• Add the following section:
[Must licence]
Path=<<server UNC>>
Where <<server UNC>> is the path given to sales administration when you requested your Must license file.
• Click Save
|
![]() |

|
Step 50
|
Step 51
|
|
• Go to HOPEX installation folder
Default: C:\ProgramData\MEGA\Hopex Application Server\5000
• Launch Administration.exe
If it doesn't launch, you have:
• A license issues,
• A HAS web access issue.
|
• Right-click Environments > New
|
![]() |
![]() |
|
Step 52
|
Step 53
|
|
• Give a name to your environment. It will create a database with the name
<<Name>>_SystemDb
• Adjust location of the folder. A set of files will be created. In case of Cluster/Farms deployment the Location should be a shared folder
Example: \\Environments\SharedEnvFolder
• Click “OK”
|
• Enter SQL instance parameter
• Set the SQL user password
• Set the password for the SQL password
• Set the parameter Encrypt=no; or “yes” if you use SSL communication
For other SQL instance connection string please read the appropriate database setting documentation. Used Trusted Connection if you rely on domain user to authenticate to SQL Server. Leave login/password blank in that case.
|
![]() |
![]() |
|
Step 54
|
|
![]() ![]() |
• Click Test Connection
• Ensure the message says “Successful” else adjust the configuration in previous step
• Click Test GRANTs
• Ensure the message says “User GRANTs OK” else adjust the configuration in previous step
|
|
Step 55
|
Step 56
|
|
• The process is in progress. It may take a while (From 2 to 6 hours)
|
Once the environment is created:
• Right-click the environment and select Open
• Default Identifier: “System” with Hopex as password (or empty for previous version)
• Click OK
|
![]() |
![]() ![]() |
|
Step 57
|
Step 58
|
|
• Expand the environment
• Right-click Repositories and select New
• Give a name to the repository “DATA”
• Click OK
|
• If prompted Test Connection and Test Grants
• The creation is in progress. some file will be imported automatically.
CAUTION: do not click Cancel or Pause
For information: the repository language at creation is the same as the SystemDB one.
|
![]() ![]() |
![]() ![]() |
|
![]() ![]() ![]() |
Step 59
|
|
Once the repository is created:
• Right-click the environment and select Environment automatic update
You may need to stop the module HOPEX Core Back-End from HAS Console and restart Administration.exe
• Follow the step of the wizard by clicking Next up to Run.
For PRODUCTION environment:
• Check “Permission compilation”
|
|
|
Step 60
|
![]() ![]() ![]() |
• Go on MEGA HOPEX Store to get the HOPEX Databases backup -Starter
• Download the backup related to you version. Click “Other version” to access all versions.
To know you version.
• In HAS Console, select Cluster menu
• Check version number for HOPEX Core Back-end module
• Take the same version and build 15.x.x+xxxx
|
|
Step 61
|
Step 62
|
|
• Rename extension haspk to zip or open directly with you preferred tool to extract.
• Unzip the downloaded file
• Unzip the zipped contained inside
|
• You should have 2 files with the extension “.bak” named:
“Starter…_Data.bak”
“Starer…_SystemDb.bak”
|
![]() |
![]() |
|
Step 63
|
Step 64
|
|
• Launch SQL Management Studio and connect to your SQL Server
• Use the user account that have enough privilege. In that example “sa”
|
• Right-click Databases and select Restore Database
|
![]() |
![]() |
|
Step 65
|
Step 66
|
|
• Select device
• Click Add
|
• Browser for the backup you want to restore
|
![]() |
![]() |
|
Step 67 (optional)
|
Step 68
|
|
• Click Files
• Click Relocate all files to folder
• Adjust file location and name
• Click OK
|
• The import is in progress.
• Click OK when done
• Repeat step 64 to 68.
|
![]() |
![]() |
|
|
Step 69
|
![]() ![]() ![]() |
You should now find 2 databases
• Rename to your need while keeping naming convention
For instance, replace “Start****” by “HOPEX_PRODUCTION”
_SystemDB cannot be changed.
_Data can be changed by “_***” where *** is your new name
|
|
|
Step 70
|
![]() |
• Go to HOPEX installation folder
Default: C:\ProgramData\MEGA\Hopex Application Server\5000
• Launch Administration.exe
If it doesn't launch, you have:
• A license issues,
• A HAS web access issue.
|
|
Step 71
|
Step 72
|
|
• Right-click Environments and select Create Reference
|
• Select the folder that contains your environment.
Once you have selected a valid folder, the OK button is enabled
|
![]() |
![]() |
|
Step 73
|
Step 74
|
|
• Right-click Environments and select New
|
• Enter the name of your environment, the one you chose on “Step 69”.
For Example, “HOPEX_PRODUCTION”
• Adjust location of the folder. A set of files will be created. In case of Cluster/Farms deployment the Location should be a shared folder
Example: \\Environments\SharedEnvFolder
• Check Restore
• Click OK
|
![]() |
![]() |
|
Step 75
|
Step 76
|
|
• Enter SQL instance parameter
• Set the SQL user password
• Set the password for the SQL password
• Set the parameter Encrypt=no; or “yes” if you use SSL communication.
For other SQL instance connection string please read the appropriate database setting documentation.
Use Trusted Connection if you rely on domain user to authenticate to SQL Server.
|
• Click Test Connection
• Ensure the message says “Successful” else adjust the configuration in previous step
• Click Test GRANTs
Ensure the message says “User GRANTs OK” else adjust the configuration in previous step
• Click OK
|
![]() |
![]() |
|
Step 77
|
Step 78
|
|
• When successful you get a message.
• Click OK
|
• Once the environment is restored, right-click the environment and select Open
• Default Identifier: “System” with the appropriate password. Default is Hopex.
• Click OK
|
![]() |
![]() ![]() |
|
Step 79
|
Step 80
|
|
• Expand Environments
• Right-click Repositories, and select New
|
• Select Restore from an SQL Setup
• Enter a Name for the repository
|
![]() |
![]() |
|
Step 81
|
Step 82
|
|
• Repeat Step 75 and 76
• Click OK when successful.
|
• Once the repository is restored, right-click the environment and select Environment automatic update
You may need to stop the module HOPEX Core Back-End from HAS Console and restart Administration.exe
• Follow the step of the wizard by clicking Next up to Run.
For PRODUCTION environment:
• Check “Permission compilation”
|
![]() |
![]() ![]() ![]() |




