Project

General

Profile

Deployment » History » Version 3

chin-yeh, 10/28/2010 03:11 PM

1 2 chin-yeh
{{toc}}
2
3 1 chin-yeh
h1. Deployment
4 2 chin-yeh
5
This section describes how to deploy components/modules to the servers.
6
7
Below table summarizes the deployment's tasks:
8
|_.Component|_.Type|_.Target|
9
|ecwyconnector|WAR|Dot Com Mall|
10
|ecosway-adaptor|JAR|US Mall|
11
|ws-mimic|WAR|US Mall / QueueSystem|
12
|ws-status|WAR|US Mall|
13
14
In general, this deployment task involves 2 parts: 
15
# upload the relevant properties files
16
# upload the WAR or JAR file
17
18
All of the properties files can be found in SVN repository:
19
> http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config
20
21
h2. Upload properties files
22
23
*This section is dedicated for the first time deployment only.* For the subsequent deployment, you should update the existing properties files if needed. 
24
25
All of the properties files should store in the directory:
26
> /data/qconnector
27
28
h3. ws-mimic
29
30 3 chin-yeh
*List of the properties files to be uploaded:*
31 2 chin-yeh
* *note*: replace {environment} with either *production* (for production environment) or *development* (for development environment)
32
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ws-mimic/properties/application.properties
33
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ws-mimic/properties/jndi-factory.properties
34
35 1 chin-yeh
*Steps:*
36 3 chin-yeh
# see the [[Deployment#Deployment]] section for the deployment target
37
# upload the following files to */data/qconnector/ws-mimic/* directory via ftp or sftp:
38
** application.properties
39
** jndi-factory.properties
40
# make sure *everyone* has the read-access to the above files
41
# done
42 2 chin-yeh
43 1 chin-yeh
h3. ecosway-adaptor
44
45 3 chin-yeh
*List of the properties files to be uploaded:*
46
* *note*: replace {environment} with either *production* (for production environment) or *development* (for development environment)
47
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/application.properties
48
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/database.properties
49
* http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/registration/template.properties
50
51
*Steps:*
52
# see the [[Deployment#Deployment]] section for the deployment target
53
# upload the following file(s) to */data/qconnector/ecosway-adaptor/* directory via ftp or sftp:
54
** application.properties
55
** database.properties
56
# upload the following file(s) to */data/qconnector/ecosway-adaptor/registration/* directory via ftp or sftp:
57
** template.properties
58
# make sure *everyone* has the read-access to the above files
59
# done
60 2 chin-yeh
61
h2. Upload WAR/JAR file