(Created target blank page For Version: HTCC:8.5.2) |
(Update with the copy of version: 8.5.2DRAFT) |
||
Line 1: | Line 1: | ||
− | < | + | =Deploying the web application for 8.5.201.50 or earlier= |
+ | |||
+ | {{NoteFormat|If you're deploying Web Services and Applications version 8.5.201.09 or earlier, complete the steps on [[DeployWebAppLegacy|Deploying the web application for 8.5.201.09 or earlier]] instead.}} | ||
+ | |||
+ | As of version 8.5.201.18, you can install Web Services as a service. Complete the following steps for each Web Services node. | ||
+ | |||
+ | '''Start''' | ||
+ | #Create a new folder on your Web Services node. For example, '''web-services'''. This is the home folder for the web application. | ||
+ | #Copy the '''gws.jar''' file from the installation CD to your new Web Services home folder. | ||
+ | #Copy the '''''installation_CD''/etc/default/gws''' file to the '''/etc/default''' folder on your Web Services host. | ||
+ | #Copy the '''''installation_CD''/etc/init.d/gws''' file to the '''/etc/init.d''' folder on your host. | ||
+ | #Open '''/etc/default/gws''' on your host and update the following environment variables to values appropriate for your Web Services node: | ||
+ | #*<tt>GWS_HOST</tt> — This value should match the [[HTCCConfigurationOptionsReference#host|Jetty host]] you'll define later in the jetty section of the '''application.yaml''' configuration file. | ||
+ | #*<tt>GWS_PORT</tt> — This value should match the [[HTCCConfigurationOptionsReference#port|Jetty port]] you'll define later in the jetty section of the '''application.yaml''' configuration file. | ||
+ | #*<tt>GWS_HOME</tt> — The Web Services home folder you created in Step 1. | ||
+ | #*<tt>GWS_LOGS</tt> — The location where you want Web Services to store log files. If this folder doesn't exist, Web Services creates it during application startup. | ||
+ | #*<tt>GWS_TEMP</tt> — The location where you want Web Services to store temp files. If this folder doesn't exist, Web Services creates it during application startup. | ||
+ | #*<tt>GWS_CONF</tt> — The location where you want to store the Web Services configuration files. If you don't specify a value for <tt>GWS_CONF</tt>, Web Services uses <tt>GWS_HOME</tt>/'''etc'''. | ||
+ | #Create the <tt>GWS_CONF</tt> folder you specified in Step 5. If you didn't set <tt>GWS_CONF</tt>, create a folder called '''etc''' in <tt>GWS_HOME</tt> — for example, '''web-services/etc'''. | ||
+ | #Create the following configuration files in the folder you created in Step 6. You can simply copy the files from '''''installation_CD''/config-templates''' and remove the '''.sample''' extension. You'll learn more about the settings in these files as you go through the configuration steps for Web Services and its features later in this guide. | ||
+ | #*'''application.yaml''' | ||
+ | #*'''elasticsearch.yml''' | ||
+ | #*'''hystrix.properties''' | ||
+ | #*'''logback.xml''' | ||
+ | #*'''statistics.yaml''' | ||
+ | #Copy the '''routing-templates''' folder from '''''installation_CD''/routing-templates''' to your <tt>GWS_HOME</tt> folder. | ||
+ | #Create the user group '''gws'''. | ||
+ | #Create the '''gws''' user in the '''gws''' user group. The user should have read and write permissions for the folders defined in the <tt>GWS_HOME</tt>, <tt>GWS_LOGS</tt>, <tt>GWS_TEMP</tt>, and <tt>GWS_CONF</tt> environment variables. | ||
+ | #Use the following command to register the new service on your host: <tt>chkconfig gws on</tt> | ||
+ | '''End''' | ||
+ | |||
+ | ==Next Step== | ||
+ | *[[ConfigurationPremise|Configuring Web Services]] | ||
+ | |||
+ | [[Category:V:HTCC:8.5.2]] |
Revision as of 18:58, January 27, 2017
Deploying the web application for 8.5.201.50 or earlier
Important
If you're deploying Web Services and Applications version 8.5.201.09 or earlier, complete the steps on Deploying the web application for 8.5.201.09 or earlier instead.As of version 8.5.201.18, you can install Web Services as a service. Complete the following steps for each Web Services node.
Start
- Create a new folder on your Web Services node. For example, web-services. This is the home folder for the web application.
- Copy the gws.jar file from the installation CD to your new Web Services home folder.
- Copy the installation_CD/etc/default/gws file to the /etc/default folder on your Web Services host.
- Copy the installation_CD/etc/init.d/gws file to the /etc/init.d folder on your host.
- Open /etc/default/gws on your host and update the following environment variables to values appropriate for your Web Services node:
- GWS_HOST — This value should match the Jetty host you'll define later in the jetty section of the application.yaml configuration file.
- GWS_PORT — This value should match the Jetty port you'll define later in the jetty section of the application.yaml configuration file.
- GWS_HOME — The Web Services home folder you created in Step 1.
- GWS_LOGS — The location where you want Web Services to store log files. If this folder doesn't exist, Web Services creates it during application startup.
- GWS_TEMP — The location where you want Web Services to store temp files. If this folder doesn't exist, Web Services creates it during application startup.
- GWS_CONF — The location where you want to store the Web Services configuration files. If you don't specify a value for GWS_CONF, Web Services uses GWS_HOME/etc.
- Create the GWS_CONF folder you specified in Step 5. If you didn't set GWS_CONF, create a folder called etc in GWS_HOME — for example, web-services/etc.
- Create the following configuration files in the folder you created in Step 6. You can simply copy the files from installation_CD/config-templates and remove the .sample extension. You'll learn more about the settings in these files as you go through the configuration steps for Web Services and its features later in this guide.
- application.yaml
- elasticsearch.yml
- hystrix.properties
- logback.xml
- statistics.yaml
- Copy the routing-templates folder from installation_CD/routing-templates to your GWS_HOME folder.
- Create the user group gws.
- Create the gws user in the gws user group. The user should have read and write permissions for the folders defined in the GWS_HOME, GWS_LOGS, GWS_TEMP, and GWS_CONF environment variables.
- Use the following command to register the new service on your host: chkconfig gws on
End
Next Step
Comments or questions about this documentation? Contact us for support!