Deployment » History » Version 4
chin-yeh, 10/28/2010 03:18 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 | 2 | chin-yeh | * *note*: replace {environment} with either *production* (for production environment) or *development* (for development environment) |
36 | * http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ws-mimic/properties/application.properties |
||
37 | * http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ws-mimic/properties/jndi-factory.properties |
||
38 | |||
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 | * *note*: replace {environment} with either *production* (for production environment) or *development* (for development environment) |
||
51 | * http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/application.properties |
||
52 | * http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/database.properties |
||
53 | * http://192.168.2.13:50000/svn/qconnector/trunk/qconnector-config/{environment}/ecosway-adaptor/properties/registration/template.properties |
||
54 | |||
55 | *Steps:* |
||
56 | # see the [[Deployment#Deployment]] section for the deployment target |
||
57 | # upload the following file(s) to */data/qconnector/ecosway-adaptor/* directory via ftp or sftp: |
||
58 | ** application.properties |
||
59 | ** 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 | 2 | chin-yeh | |
65 | h2. Upload WAR/JAR file |