Differences between revisions 1 and 17 (spanning 16 versions)
Revision 1 as of 2011-05-18 10:34:09
Size: 812
Editor: heb
Comment:
Revision 17 as of 2011-05-19 12:05:44
Size: 1948
Editor: heb
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
This page describes how to deploy the wowza-plugin-package. This page describes how to deploy the wowza-plugin-package. The installation package can be found at {{{wowza@triton:~/releases/chaos-wowza-plugin-release-package-1.0.2rc4.zip}}}

== Prerequisites ==
 1. Java 6
 1. Wowza Streaming Server version 2.2.3
 1. PostgreSQL version 8.4

== Installation ==
These installation steps are required to install the CHAOS Wowza plugin. Replace the placeholder <ENV> with TEST_TRITON. That is the machine that resembles the STAGE and PROD setup most.
Line 8: Line 16:
 1. If updating an existing installation, move or remove the {{{wowza_vhost_chaos}}} folder.{{{  1. Update Server:
  a. Update server configuration files:{{{
cp ~/tmp/chaos_deploy/WowzaSystemDir/conf/VHosts_<ENV>.xml ~/wowza/conf/VHosts.xml}}}
  a. Copy plugin jars to Wowza lib folder. {{{
cp ~/tmp/chaos_deploy/WowzaSystemDir/lib/*.jar ~/wowza/lib/}}}

 1. Update VHost:
  a. If updating an existing installation, move or remove the {{{wowza_vhost_chaos}}} folder.{{{
Line 10: Line 25:
 1. Move VHost deploy folder to virtual host location {{{
mv ~/tmp/chaos_deploy/chaosVHost ~/services/wowza_vhost_chaos}}}
 1. Move plugin jar to Wowza lib folder. {{{
mv ~/tmp/chaos_deploy/WowzaSystemDir/lib/LARM-CHAOS-Wowza-plugin.jar ~/wowza/lib/}}}
  a. Rename correct configuration files: {{{
pushd ~/tmp/chaos_deploy/chaosSBVHost/conf
cp VHost_<ENV>.xml VHost.xml
cd chaos
cp Application_<ENV>.xml Application.xml
cp chaos-streaming-server-plugin_<ENV>.properties chaos-streaming-server-plugin.properties
popd}}}
  a. Copy VHost deploy folder to virtual host location {{{
cp ~/tmp/chaos_deploy/chaosSBVHost ~/services/wowza_vhost_chaos}}}
Line 15: Line 35:
 1. Configure the plugin. See [[Wowza plugin configuration description]]  1. Create db-table for local streaming event logging (password=larm1234) {{{
cd ~/tmp/chaos-wowza-plugin-release-package-<version>/WowzaSystemDir/bin/dbscripts_version_1.0
psql -h localhost -d larm-devel -U larm -W -f 01_create_events_table.postgresql}}}

 1. Configure the plugin. See [[Wowza plugin configuration description - version 1]]

Installation description - Version 1

This page describes how to deploy the wowza-plugin-package. The installation package can be found at wowza@triton:~/releases/chaos-wowza-plugin-release-package-1.0.2rc4.zip

Prerequisites

  1. Java 6
  2. Wowza Streaming Server version 2.2.3
  3. PostgreSQL version 8.4

Installation

These installation steps are required to install the CHAOS Wowza plugin. Replace the placeholder <ENV> with TEST_TRITON. That is the machine that resembles the STAGE and PROD setup most.

  1. Copy package to the machine where Wowza is installed. ~/releases

  2. Log on to the server and unzip package to a temporary folder on the server.

    unzip ~/releases/LARM-CHAOS-Wowza-package.zip -d ~/tmp/chaos_deploy
  3. Update Server:
    1. Update server configuration files:

      cp ~/tmp/chaos_deploy/WowzaSystemDir/conf/VHosts_<ENV>.xml ~/wowza/conf/VHosts.xml
    2. Copy plugin jars to Wowza lib folder.

      cp ~/tmp/chaos_deploy/WowzaSystemDir/lib/*.jar ~/wowza/lib/
  4. Update VHost:
    1. If updating an existing installation, move or remove the wowza_vhost_chaos folder.

      mv ~/services/wowza_vhost_chaos ~/tmp
    2. Rename correct configuration files:

      pushd ~/tmp/chaos_deploy/chaosSBVHost/conf
      cp VHost_<ENV>.xml VHost.xml
      cd chaos
      cp Application_<ENV>.xml Application.xml
      cp chaos-streaming-server-plugin_<ENV>.properties chaos-streaming-server-plugin.properties
      popd
    3. Copy VHost deploy folder to virtual host location

      cp ~/tmp/chaos_deploy/chaosSBVHost ~/services/wowza_vhost_chaos
  5. Create db-table for local streaming event logging (password=larm1234)

    cd ~/tmp/chaos-wowza-plugin-release-package-<version>/WowzaSystemDir/bin/dbscripts_version_1.0
    psql -h localhost -d larm-devel -U larm -W -f 01_create_events_table.postgresql
  6. Configure the plugin. See Wowza plugin configuration description - version 1

Wowza plugin installation description - version 1 (last edited 2011-05-23 08:44:44 by heb)