Project

General

Profile

Deployment » History » Version 8

chin-yeh, 10/28/2010 05:51 PM

1 2 chin-yeh
{{toc}}
2
3 1 chin-yeh
h1. Deployment
4 2 chin-yeh
5 4 chin-yeh
*Prerequisite:*
6
* Completed [[Installation]] section
7
* Completed [[Configuration]] section
8
9 2 chin-yeh
This section describes how to deploy components/modules to the servers.
10
11
Below table summarizes the deployment's tasks:
12
|_.Component|_.Type|_.Target|
13
|ecwyconnector|WAR|Dot Com Mall|
14
|ecosway-adaptor|JAR|US Mall|
15
|ws-mimic|WAR|US Mall / QueueSystem|
16
|ws-status|WAR|US Mall|
17
18
In general, this deployment task involves 2 parts: 
19 7 chin-yeh
# [[Deployment#Upload properties files|Upload properties files]]
20 8 chin-yeh
# [[Deployment#Deploy-WARJAR-file|Deploy WAR/JAR file]]
21 2 chin-yeh
22
All of the properties files can be found in SVN repository:
23
> http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config
24
25
h2. Upload properties files
26
27
*This section is dedicated for the first time deployment only.* For the subsequent deployment, you should update the existing properties files if needed. 
28
29
All of the properties files should store in the directory:
30
> /data/qconnector
31
32
h3. ws-mimic
33
34 3 chin-yeh
*List of the properties files to be uploaded:*
35 5 chin-yeh
* *Note*: replace {environment} with either *production* (for production environment) or *development* (for development environment)
36
** *application.properties* - http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ws-mimic/properties/application.properties
37
** *jndi-factory.properties* - http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ws-mimic/properties/jndi-factory.properties
38 2 chin-yeh
39 1 chin-yeh
*Steps:*
40 3 chin-yeh
# see the [[Deployment#Deployment]] section for the deployment target
41
# upload the following files to */data/qconnector/ws-mimic/* directory via ftp or sftp:
42
** application.properties
43
** jndi-factory.properties
44
# make sure *everyone* has the read-access to the above files
45
# done
46 2 chin-yeh
47 1 chin-yeh
h3. ecosway-adaptor
48
49 3 chin-yeh
*List of the properties files to be uploaded:*
50 5 chin-yeh
* *Note*: replace {environment} with either *production* (for production environment) or *development* (for development environment)
51
** *application.properties* - http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/application.properties
52
** *database.properties* - http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/database.properties
53
** *registration/template.properties* - http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/registration/template.properties
54 3 chin-yeh
55
*Steps:*
56
# see the [[Deployment#Deployment]] section for the deployment target
57 1 chin-yeh
# upload the following file(s) to */data/qconnector/ecosway-adaptor/* directory via ftp or sftp:
58
** application.properties
59 3 chin-yeh
** database.properties
60
# upload the following file(s) to */data/qconnector/ecosway-adaptor/registration/* directory via ftp or sftp:
61
** template.properties
62
# make sure *everyone* has the read-access to the above files
63
# done
64 5 chin-yeh
65
h3. ws-status
66 2 chin-yeh
67 6 chin-yeh
*List of the properties files to be uploaded:*
68
* *Note*: replace {environment} with either *production* (for production environment) or *development* (for development environment)
69
** *application.properties* - http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ws-status/properties/database.properties
70
71
*Steps:*
72
# see the [[Deployment#Deployment]] section for the deployment target
73
# upload the following file(s) to */data/qconnector/ws-status/* directory via ftp or sftp:
74
** database.properties
75
# make sure *everyone* has the read-access to the above files
76 1 chin-yeh
# done
77
78 7 chin-yeh
h2. Deploy WAR/JAR file
79
80
* Refer to [[Deployment#Deployment]] section to see the list of available components and deployment target. 
81
* Refer to the [[Documentation#ModulesComponents|Components]] section for the latest component version.
82
83
Before continue, please make sure that you have the WAR/JAR file ready for deployment. Refer to [[Build components from sources]] for more information about how to create the WAR/JAR file.
84
85
h3. ecwyconnector
86
87
h3. ecosway-adaptor
88
89
h3. ws-mimic
90
91
h3. ws-status