Deployment » History » Version 5
chin-yeh, 10/28/2010 04:59 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 | # upload the relevant properties files |
||
20 | # upload the WAR or JAR file |
||
21 | |||
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 | h2. Upload WAR/JAR file |