Show last authors
1 (% class="box successmessage" %)
2 (((
3 Contents :
4
5 {{toc/}}
6
7
8 )))
9
10 = Introduction =
11
12 This current doc will guide you to install correctly iXPath and will give more details about each present configuration.
13
14 == Installation methods : ==
15
16 The installation can be done in 2 ways :
17
18 1. Online Installation: this installation requires downloading some resources online, so it's necessary to have an internet network, then complete the installation.
19 1. Offline Installation: this installation requires the existence of resources on a hard disk or any sources of storage (CD / USB ...), and does not require an internet network.
20
21 |(% style="width:205px" %) |(% style="width:843px" %)Installation elements
22 |(% style="width:205px" %)**Online**|(% style="width:843px" %)(((
23 * jar executable: ixpath.exe
24 * directory bin, that must be next to the jar executable.
25 )))
26 |(% style="width:205px" %)**Offline**|(% style="width:843px" %)(((
27 * jar executable: ixpath.exe
28 * directory bin, that must be next to the jar executable.
29 * the "Install.zip" archive which contains all necessary resources for the installation.
30 )))
31
32 = I - First Installation (Première installation) =
33
34 == A) Online Installation ==
35
36 The online installation uses remote resources, which makes the internet connection mandatory.
37
38
39 [[image:1657192466936-778.png||height="491" width="796"]]
40
41 if no window displays, please make sure of the existence of the "bin" directory, that contains the java virtual machine to launch the iXPath installation.
42
43 Click on "Pemière installation", and it redirects you to the window below, which gives you the components needed to be installed.
44
45 [[image:1657197821929-405.png||height="441" width="693"]]
46
47 Installation components :
48
49 * Portail: frontend code of iXPath
50 * Moteur (Engine): backend package of iXPath code source. it will install two services: COM (running on port 8091) and Engine (running on port 8090), so please make sure to free these ports, or you can change both of them in the configuration that will be explained later in this document.
51 * Base de données: Script to install the database with all the newest updates.
52 * MySQL: Relational database management system installation.
53 * WebServer (Apache & PHP): Apache server and PHP installation for both "Moteur" and "Portail"
54 * RabbitMQ & Erlang.
55
56 if you already have the RabbitMQ component installed, uncheck it.
57
58 the installation begins with the broker RabbitMQ, and it uses Erlang OTP which is mandatory for its functioning.
59
60 uncheck "Erlang Documentation" as shown below : 
61
62 [[image:1657203367108-301.png||height="440" width="566"]]
63
64 After that, it comes the installation of RabbitMQ :
65
66 [[image:1657203596434-660.png||height="410" width="528"]]
67
68 Next, continue the installation of RabbitMQ, followed by the installation of the "Moteur"/Engine.
69
70
71 [[image:1657203808711-492.png||height="334" width="561"]]
72
73 **Congrats !!! **you have installed iXPath successfully, and you can log in to the app on the "http:~/~/localhost" URL and use "admin" as user and "admin" as password.
74
75
76 == B) Offline installation ==
77
78 As mentioned before, the offline installation does not require an internet network.
79
80 Click on the executable "ixpath.exe"
81
82 [[image:1657205308850-727.png||height="375" width="608"]]
83
84
85 Then click on "Première installation", and will pop up this window indicating that no internet connection has been detected:
86
87 [[image:1657205397383-147.png||height="112" width="445"]]
88
89 Click on "Oui"/yes.
90
91 if the "Install.zip" does not exist in the same directory as "Ixpath.exe", mention the directory where it belongs:
92
93 [[image:1657205582948-948.png||height="112" width="540"]]
94
95 Eg: if the path is **"C:/InstallationIxpath/Install.zip"**, you will fill in the field with **"C:/InstallationIxpath/". **And the Installation begins...
96
97 [[image:1657205737602-896.png||height="344" width="578"]]
98
99 Accept the 3 Windows authorizations that will pop up during the installation. they are related to 3 components: "Database", "WebServer" and "Engine".
100
101
102 [[image:1657206588463-690.png||height="339" width="570"]]
103
104 **Congrats !!! **you have installed iXPath successfully, and you can log in to the app on the "http:~/~/localhost" URL and use "admin" as user and "admin" as password.
105
106 = II - Architecture of iXPath : =
107
108 here is a brief presentation of the roles of each component in the iXPath app.
109
110 [[image:2022-07-07_17h21_37.png||height="414" width="547"]]
111
112 In the COM server, the service "ixpathCom.jar" can run solo or with the rabbitMQ. for accessibility reasons (Firewall...), we can install the web server inside the com server (Apache, PHP, and iXPath web).
113
114 in the engine server, the service "ixpath.jar" can run solo, we should specify in his configuration all those information: COM IP address, BDD IP address, broker IP address, and port.
115
116 See **chapter VI**, for more details about the remote installation.
117
118 = III - Update =
119
120 Updating the iXPath app or just some components g__oes exactly the same as the online installation__, which makes the internet network necessary to fetch any updates from remote resources.
121
122 = IV - Configurations & Monitoring =
123
124 there are configuration files that help to maintain all needed parameters for the functioning of iXPath.
125
126 * config.properties: configuration of the Engine. here we can configure ports, directories, hosts ... it's located in **/SERVER/engine/config.properties **path
127 * config.ini: Configuration of "Portail". here we configure all parameters to connect Engine to Portail. it's located in **./SERVER/wwwroot/config/config.ini **path
128
129 == A) Ports ==
130
131 * As mentioned before, iXPath takes 8090 (Engine) and 8091 (COM) automatically as ports.
132 if in any case, you want to change them, go to **./SERVER/engine/ixEngine.cmd **script and change them to wanted ports, then execute the script on administrator mode. 
133 For example, we want to change the Engine port to 9090 and the COM port to 9091 
134 [[image:1657208183258-245.png||height="48" width="712"]]
135 \\and make the changes on **./SERVER/engine/config.properties :** 
136 \\[[image:1657208426432-822.png||height="349" width="478"]]
137 \\and same for  **./SERVER/wwwroot/config/config.ini ** : 
138 [[image:1657208646920-357.png||height="146" width="543"]]
139 \\NB: 'Rest' refers to Engine service, and 'COM' refers to COM service 
140
141 * the Engine also uses ports 22920 and 22921 for FTP and FTPS respectively** **
142 [[image:2022-07-07_17h03_53.png||height="337" width="501"]]
143
144 * SFTP port : 
145 [[image:2022-07-07_17h09_58.png||height="124" width="425"]]
146 \\
147
148 NB: You can change all these COM ports via the iXPath interface directly, by selecting the configuration target
149
150 [[image:2022-07-07_17h46_52.png]]
151
152 and change the port from the system configuration:
153
154 [[image:2022-07-07_17h45_14.png||height="163" width="724"]]
155
156
157 == B) Services ==
158
159 * To maintain services on your operating system, go to the search bar and type "services.msc" :
160
161 [[image:1657272390060-679.png||height="200" width="387"]]
162
163 the services related to iXPath are :
164
165 [[image:2022-07-08_10h29_02.png||height="62" width="646"]]
166
167 [[image:2022-07-08_10h30_20.png||height="16" width="654"]]
168
169 here you can start, restart, pause, or stop the service target by right-clicking on it and choosing the option needed after accessing its properties:
170
171 [[image:manage-startup-type.png]] [[image:startup-type.png]]
172
173
174
175 {{{NB: all services must be running to run the iXPath app correctly.
176 }}}
177
178 * if the Apache service cannot be on running status because of the unavailability of port 80, please follow these steps :
179 ** open a command line and type :  **netstat -aon | findstr :80**
180 [[image:1657273380453-615.png||height="308" width="512"]]
181
182 ** Next, you type the command: **tasklist /fi  "pid eq 4" **
183 [[image:1657273433854-228.png||height="202" width="513"]]
184 ** stop and disable the following services :
185 *** **world wide web publishing service (W3SVC)**
186 *** **windows activation service (WAS)**
187 *** **SQL Server Reporting Services (ReportServer)**
188 *** **BranchCache (PeerDistSvc)**
189 *** **Network Connection Broker (NcbService) **
190 ** start apache service  
191 [[image:1657275791598-755.png||height="233" width="356"]]
192
193 == C) Logs ==
194
195 There are some log files to help you figure out what causes the dysfunctioning of the iXPath app, and here are all of them :
196
197 |(% rowspan="8" %)(((
198 (% class="wikigeneratedid" id="HCOM" %)
199 //**COM**//
200 )))|(% rowspan="2" %)(((
201 (% class="wikigeneratedid" id="HPORTAL" %)
202 //**PORTAL**//
203 )))|iXPath Front Php:|.\SERVER\wwwroot\Logs
204 |Portal Log:|.\SERVER\wwwroot\Logs
205 |(% rowspan="6" %)(((
206 (% class="wikigeneratedid" id="HCOM-1" %)
207 //**COM**//
208 )))
209 |(% colspan="1" rowspan="2" %)Communication Protocol
210 |.\SERVER\Data\config\COM
211 |Communication Protocol (AS2) Log (Example)|.\SERVER\Data\config\COM\AS2\LOGS
212 |(% colspan="1" rowspan="2" %)LogCom
213 |.\SERVER\Engine\ (logRESTCOM.log)
214 |(% rowspan="4" %)(((
215 (% class="wikigeneratedid" id="HENGINE" %)
216 //**ENGINE**//
217 )))|(% rowspan="3" %)(((
218 (% class="wikigeneratedid" id="HENGINE2019sLog" %)
219 //**ENGINE’s Log**//
220 )))|Source:|.\SERVER\Engine\ixpath.jar
221 |LogRest:|.\SERVER\Data\LOGS\REST (logREST.log)
222 |LogApp:|.\SERVER\Engine\ (ixpath.log ou ixpathErr.log)
223 |(((
224 (% class="wikigeneratedid" id="HProcessLOGS" %)
225 //**Process LOGS**//
226 )))|Process LOGS|.\SERVER\Data\LOGS\ENGINE
227 |(((
228 (% class="wikigeneratedid" id="HBDD" %)
229 //**BDD**//
230 )))|(((
231 (% class="wikigeneratedid" id="HDataBase" %)
232 //**DataBase**//
233 )))|Query Log|.\SERVER\mysql\logs
234
235 = V - FAQ =
236
237 * During the installation, it might happen that the directory already exists, and that will block it.
238 [[image:1657290152857-725.png||height="361" width="606"]]
239 you should take action by following these steps below :
240 ** make a backup for the directory '**SERVER'.**
241 ** delete the directory '**SERVER'**
242 ** relaunch the installation.
243 * if you can't start RabbitMQ service, 
244 [[image:1657290453989-461.png||height="99" width="560"]]
245 add new environment variable named RABBITMQ_SERVER with the RabbitMQ installation Path  :
246 [[image:1657290504230-487.png||height="159" width="554"]]
247 \\RABBITMQ_SERVER : C:\Program Files\RabbitMQ Server\rabbitmq_server-3.10.1C:\Program Files\RabbitMQ Server\rabbitmq_server-3.10.1
248 \\And now restart the RabbiMQ service. 
249 [[image:1657290585573-818.png||height="66" width="585"]]
250
251 * (((
252 = VI - Remote installation =
253
254 In case you want to install each service on its own server, you only need to specify all these details inside the configuration files (config.ini & config.properties (COM and Engine))
255 Eg: We need to implement this kind of installation.
256
257 (((
258 (% style="width:365px" %)
259 |(% style="width:200px" %)**Service**|(% style="width:160px" %)**Host**
260 |(% style="width:200px" %)COM|(% style="width:160px" %)10.0.0.1
261 |(% style="width:200px" %)Engine|(% style="width:160px" %)10.0.0.2
262 |(% style="width:200px" %)MySQL|(% style="width:160px" %)10.0.0.3
263 |(% style="width:200px" %)RabbitMQ|(% style="width:160px" %)10.0.0.4
264 |(% style="width:200px" %)Portal|(% style="width:160px" %)10.0.0.5
265
266 That can be designed as architecture below :
267 [[image:1662053701761-722.png]]
268
269 **1 - Installation**
270 On each server, install the service in question : 
271 We start with the database
272 [[image:2022-09-01_17h53_14.png||height="253" width="394"]]
273 \\then the broker RabbitMQ: 
274 [[image:2022-09-01_17h53_37.png||height="308" width="480"]]
275 \\next, for each COM and Engine services, we do the same installation, it will install for both servers, and you disable the undesired service.
276 \\[[image:2022-09-01_17h54_18.png||height="294" width="459"]]
277 \\for example, if we're installing COM in 10.0.0.1, we disable the engine service 
278 [[image:2022-07-08_10h29_02.png]]
279 (Same for Engine)
280
281 Finally, install the portal in 10.0.0.5
282 [[image:2022-09-01_18h36_21.png||height="284" width="443"]]
283 **2 - The next step will concern the configuration**
284 __//On 10.0.0.1 (COM server)//__
285 Inside config.properties, identify all hosts that COM can communicate with.
286 [[image:2022-09-01_18h16_32.png||height="241" width="321"]]
287
288 [[image:2022-09-01_18h17_14.png||height="50" width="463"]]
289 \\ __//On 10.0.0.2 (Engine server)//__
290 we make the same modifications, and we identify the COM host 
291 [[image:2022-09-01_18h21_18.png||height="277" width="304"]]
292
293 __//On 10.0.0.5 (Portal server)//__
294
295 Set the config.ini file.
296 [[image:2022-09-01_19h05_22.png||height="90" width="457"]]
297
298 == **Note : ** ==
299
300 We can install iXPath in just two or 3 servers, the combination of services that we recommend :
301
302 - COM with the rabbitMQ and Portal
303
304 - Engine
305
306 - BDD
307
308
309
310
311 )))
312 )))
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian