Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 38

Installation

CloudTV™ H5 Platform Training - 2014

© 2014 ActiveVideo Networks, Inc. – Confidential. 1


Agenda

• Installation and Configuration Methodology

• Verification (Using CloudTV™ Player)

© 2014 ActiveVideo Networks, Inc. – Confidential. 2


Installation and Configuration Methodology and Flow
Common Elements

Install AVN Install H5


Install Rhel 6.4 Verify
Utils Components

Setup Software
Repo
Config rsyslog.conf

RHEL 6.4 Updates

Config selinux Install H5


Application
Config iptables

Config NIC

Config NTP

© 2014 ActiveVideo Networks, Inc. – Confidential. 3


Installation and Configuration Methodology and Flow
H5™ Stitcher and CSM (standalone)

Stitcher CSM

Config plug-ins

Config Client Protocol


Install cloudtv Install CSM
virga.xml/conf

USM Downstream
Config usm.xml Config Config csm.xml
compositor.xml QAM Resource
Manager
Config
launchmethod.xml Config usms VOD

Application
Config profiling
programs.xml
TSID Auto
Discovery
Config collector.xml
Simulcrypt

© 2014 ActiveVideo Networks, Inc. – Confidential. 4


Installation and Configuration of H5™ CSM Clustered

CSM1 CSM2 CSM3

CSM Cluster csmconfig


Management Upload CSM Config Files to Memory
Console

Config /etc/opt/csm.xml Config /etc/opt/csm.xml Config /etc/opt/csm.xml


for harnessing for harnessing for harnessing

For configuring:

/etc/opt/csmcluster/
csm.xml /etc/opt/csm/ /etc/opt/csm/
csm/launchmethod.xml launchmethod.xml launchmethod.xml
csm/programs.xml programs.xml programs.xml
csm/devices.xml devices.xml devices.xml
csm/keymaps/ keymaps/* keymaps/*

© 2014 ActiveVideo Networks, Inc. – Confidential. 5


Installation, Configuration Methodology and Flow
UDC and Support Components

Cookie Cache
UDC Server Content Server
Server Server

Install Apache Install avn users


Install UDC Server Install avn users
Traffic Server

Config UDC Server Install light httpd Config Traffic Install httpd
Server

Config Cookie Install mod_ssl


Config access rules
Server

Config httpd
Config Cache Size

Config Cache policy

© 2014 ActiveVideo Networks, Inc. – Confidential. 6


Installation and Configuration Methodology and Flow
Media Farm

Scaler Transcoder Funnel

Install Scaler Install Transcoder Install Funnel

Config Scaler
Sessions Config Transcoder Config Funnel

Config Scaler Config Trans.


Cluster Create Feeds
Cluster

© 2014 ActiveVideo Networks, Inc. – Confidential. 7


Installation and Configuration Methodology and Flow
Rsyslog /var/log/
cloudtv.log

Stitcher
/var/log/
/var/log/ rsyslog
cloudtv.log CSM Funnel cloudtv.log

rsyslog rsyslog

Central Logging /var/log/


/var/log/
Scaler Transcoder cloudtv.log
cloudtv.log Server
rsyslog rsyslog rsyslog

Install rsyslog
Cache /var/log/
/var/log/ UDC Server cloudtv.log
cloudtv.log Server
rsyslog Config rsyslog.conf rsyslog

/var/log/
central
cloudtv.log

© 2014 ActiveVideo Networks, Inc. – Confidential. 8


Application Logging
Applications

/var/log/
cloudtv.log

Stitcher
rsyslog /var/log/
cloudtv-
app.log

Central Logging
Server

© 2014 ActiveVideo Networks, Inc. – Confidential. 9


Installation and Configuration Methodology and Flow
Verification

Verify

CloudTV™ Player CloudTV™ Client

© 2014 ActiveVideo Networks, Inc. – Confidential. 10


Exercise 13

• Component Installation

Follow workbook instructions

© 2014 ActiveVideo Networks, Inc. – Confidential. 11


Before we get started:

• Wireless network credential:


– Name: AVN1-Training-5GHz
– Password: avn@cloudtv

• Training Server IP – 192.168.2.1

• The Software Repo File – http://192.168.2.1/activevideo-H5.repo

• VM assignments – RHEL 6.4 pre-installed


– RH-stitcher-101 – 192.168.2.101
– RH-stitcher-102 – 192.168.2.102
– RH-stitcher-103 – 192.168.2.103
– RH-stitcher-104 – 192.168.2.104

Username: root
Password: password

• CloudTV Player location – http://192.168.2.1/tools/cloudtvplayer-3.6.00.52.exe

© 2014 ActiveVideo Networks, Inc. – Confidential. 12


Stitcher Configuration Files –
Location and Description

Installed File Installed File Description


Directory Name
/etc/opt/ usm.xml • Configure JSON
/etc/opt/ compositor.xml • Streaming Engine
• Enable live feed scaling
• Enable real time transcoding
/etc/opt/ collector.conf • Configure UDC server
• Enable proxy setting
/etc/opt/ virga.conf • Set proxy config
• Set cacheing hierchary
/etc/opt/ virga.xml • Set virga logging level
/etc/opt/ usmdynamic.xml • Set usm logging level
/etc/opt/ fixedstreams.xml • Enable fixed streams for Motorola STBs
/etc/opt/ cloudtvmib.xml • Set snmpd logging level

© 2014 ActiveVideo Networks, Inc. – Confidential. 13


CSM Installation

• Standalone Mode

• Shared with USM

Note: Change HTTP Diagnostic port to 8087 if csm is installed on the same server as the usm.

© 2014 ActiveVideo Networks, Inc. – Confidential. 14


CSM Configuration Files – Standalone mode
Location and Description

Installed File Installed File Name Description


Directory

/etc/opt/ csm.xml • Activate plug-ins


• Configure plug-in parameters
• Configure list of usm servers
• Configure cookie server
• Configure for fail-over
/etc/opt/csm/ programs.xml • Configure HTML5 apps to run on Stitcher

/etc/opt/csm/ launchmethods.xml • Defines condition to launch HTML5 application

/etc/opt/csm/ devices.xml • Supported client device types

/etc/opt/csm/ topology.xml • Configure TSID and SGID mapping


• Configure QAM Resources for QRM

/etc/opt/csm/keymaps MotorolaStandard.xml • Keymap files for client devices


rfbtv.xml
SAStandard.xml
X11.xml

© 2014 ActiveVideo Networks, Inc. – Confidential. 15


CSM Configuration Files – Cluster Mode
Location and Description
Installed File Directory Installed File Description
Name

/etc/opt/ csm.xml • For csm cluster harnessing


/etc/opt/csmcluster/ csm.xml • Activate plug-ins
• Configure plug-in parameters
• Configure list of usm servers
• Configure cookie server
• Configure for fail-over
/etc/opt/csmcluster/csm/ programs.xml • Configure HTML5 apps to run on Stitcher

/etc/opt/csmcluster/csm/ launchmethods.x • Defines condition to launch HTML5 application


ml

/etc/opt/csmcluster/csm/ devices.xml • Supported client device types

/etc/opt/csmcluster/csm/ topology.xml • Configure TSID and SGID mapping


• Configure QAM Resources for QRM
/etc/opt/csmcluster/csm/ MotorolaStandar • Keymap files for client devices
keymaps/ d.xml
rfbtv.xml
SAStandard.xml
X11.xml

© 2014 ActiveVideo Networks, Inc. – Confidential. 16


CSM Clustering Configuration Review
• Demo Cluster Mode
– Review location of config files
– Review web Console Manager Interface – http://<CSM IP>:9099/cluster?cmd=status

© 2014 ActiveVideo Networks, Inc. – Confidential. 17


usm.xml

• Main configuration file for the Universal Session Manager and its plugins
– Defines parameters like session limit and inactivity timeout

• Many plugins include templates, but must be enabled or activated (with site-specific IPs)
– Plugins configuration
• Client Protocols (ICTVProt, BCP, HTTP/BCD, RFB-TV)
• Application Engines (HTML5, TAG, RTSP VOD Server)
• BRM

© 2014 ActiveVideo Networks, Inc. – Confidential. 18


STB Launch Parameters/Channels

Launch Source Launch Mode Launch Channel


1 – auto channel 0 Configured launch
launch channel
2 – remote button Key code that triggered the 0
press event. E.g. home=23,
guide=25
3 – Menu selection Menu id 0
0, 4-15 10 Help key or (configured)
other remote button

Optionally:

Launch_id = launch_source + launch_channel + launch_mode

© 2014 ActiveVideo Networks, Inc. – Confidential. 19


launchmethods.xml

• A launch method defines the application to be launched, based on some condition;

• A launch method may be different depending on the settop client and Guide;

• Some examples:
– Moto
• Launch the Mosaic app when the user navigates to channel 100
• Launch the app when the user presses the “A” button on the remote control

– Cisco (SA)
• Tune to a channel, and the app may launch immediately (auto launch)
• Tune to a channel, the user may be presented with a splash screen. Upon pressing a key, the application is launched
• Press a key on the remote (PowerKey, home, vod, settings or guide)

© 2014 ActiveVideo Networks, Inc. – Confidential. 20


programs.xml

• Defines the name and URL of a program (application)


– A session can be created based on an application name or a URL, depending on the client protocol
– When a session is created based on application name, programs.xml is used to lookup the URL

• Can also be used to define global default values, which can be overwritten for specific
applications (such as bitrate)

© 2014 ActiveVideo Networks, Inc. – Confidential. 21


usmdynamic.xml

• Contains level configuration settings for the Universal Session Manager that can be changed
without restarting the USM

• Used mainly to specify the log level of the USM (Critical, Warning, Notice, etc.)

© 2014 ActiveVideo Networks, Inc. – Confidential. 22


virga.xml

• Contains settings for the log level for both the Application Engine server and for Applications
– Log levels can be updated and still preserve the active sessions (on reload)

© 2014 ActiveVideo Networks, Inc. – Confidential. 23


devices.xml

• Contains default configurations for all supported client devices


– Manufacturer, model, transport (udp, http/s), etc.

• Well-known devices are preconfigured with default settings

• Contains remote control key code mappings (by device manufacturer)

© 2014 ActiveVideo Networks, Inc. – Confidential. 24


fixedstreams.xml

• Places a static image on the background when an app launches

• Fixed streams contain background images, barkers or distracters (splash screen)

© 2014 ActiveVideo Networks, Inc. – Confidential. 25


virga.conf

• Specifies the runtime properties for the UDC and the Application Engine (virga)

• Contains UDC server URL and site_id, where site_id can be a headend location, physical rack or
other grouping
– Site_id is passed with event reporting data; provides ability to group reporting events based on site id

• Defines whether to use proxy/cache


– Set Proxy/Cache target IP address

• Optional upgrade to virga-ms to support new features.

© 2014 ActiveVideo Networks, Inc. – Confidential. 26


compositor.xml

• Compositor is the Streaming Engine in Stitcher

• Provides URLs of Scaler, Transcoder (or Funnel) for use by Stitcher

© 2014 ActiveVideo Networks, Inc. – Confidential. 27


Exercise 14

• Verify the Deployment

© 2014 ActiveVideo Networks, Inc. – Confidential. 28


Questions?

• Installation?
– OS
– Components
– Apps
– CloudTV™ Player

• Configuration?

• Verification?

© 2014 ActiveVideo Networks, Inc. – Confidential. 29


Session Logging

© 2014 ActiveVideo Networks, Inc. – Confidential. 30


CloudTV™ H5 Session Logging

• CloudTV Log
– Configure /etc/rsyslog.conf
– All components log to /var/log/cloudtv.log

• CloudTV Application Log


– Configure /etc/rsyslog.conf
– All H5 Applications log to /var/log/cloudtv-app.log

• Centralized CloudTV Log


– Configure /etc/rsyslog.conf
– All components from all systems log to /var/log/centralcloudtv.log on a centralized server

• Log Rotation

© 2014 ActiveVideo Networks, Inc. – Confidential. 31


Exercise 15

• Session Logging

© 2014 ActiveVideo Networks, Inc. – Confidential. 32


Exercise 16 - 21

Installation remaining components:


UDC
Cookie Server
Cache Server
Content Server
Scaler
Transcoder

© 2014 ActiveVideo Networks, Inc. – Confidential. 33


Content Cache
Traffic Server

© 2014 ActiveVideo Networks, Inc. – Confidential. 34


Content Cacheing Configurations

Content Cache
Stitcher
Server

/etc/opt/virga.conf

Managing Traffic Server


/etc/trafficserver/
records.config • Stopping/Starting trafficserver
• Viewing the trafficserver log
• Reload configuration changes
/etc/trafficserver/ • Clearing all trafficserver cache
storage.config
• Clearing a specific file/object from cache

/etc/trafficserver/
parent.config

© 2014 ActiveVideo Networks, Inc. – Confidential. 35


Scaler Installation and Configurations

© 2014 ActiveVideo Networks, Inc. – Confidential. 36


Scaler Installation and Configurations

• yum install scaler

• Configure the Scaler - /etc/opt/scaler_config.pl

• Configure the Scaler Sessions - /etc/opt/scaler_sessions.json

• Configuring the Scaler Cluster

© 2014 ActiveVideo Networks, Inc. – Confidential. 37


Thank you.

© 2014 ActiveVideo Networks, Inc. – Confidential. 38

You might also like