Wowza Streaming Engine(4.7.1→4.7.4)을 업데이트해 보았습니다.

4825 단어 AWSstreamingwowza
안녕하세요, stream pack팀의 목촌입니다.
우리 팀은 한 명씩 돌아가면서 일주일에 한 번씩 기사를 내야 한다는 규칙을 정했는데 다음에 뭘 써야 할지 생각하다가 검증에 사용된 Wowza Streaming Engine 업데이트에 대한 알림을 받았다(2018/2/13)이번에는 이걸 소재로

Wowza에서 온 메일



자세한 건 안 썼는데 4.7.1-4.7.3.01을 사용했을 경우 라이선스 인증에 문제가 생길 수 있어 사용할 수 없습니다!그런 것 같습니다.

컨디션


업무 때문에 Wowza는 몇 가지를 사용했지만, AWS 마켓 플레이스로 인한 시간 유료 버전에 대해 업데이트를 시도해 봤습니다.
BYOL 버전이든 로컬로 설치된 Wowza 버전이든 절차는 같다.

업데이트 가져오기


기존 환경에서 업그레이드하려면 Wowza의 사이트에 로그인하여 업데이트 프로그램을 받아야 한다.(Wowza 계정 필요)
여기서 My Downloads 페이지에 로그인하면 다운로드 링크를 받을 수 있습니다.
Wowza Streaming Engine 4.7.4 섹션은 링크입니다.

업데이트 작업


그러면 EC2 인스턴스에 로그인하여 업데이트합니다.
먼저 [Install Dir]/updates 디렉토리로 이동하여 디렉토리를 만듭니다.
이름은 뭐든지.해봤어.
$ cd /usr/local/WowzaStreamingEngine/updates/
$ sudo mkdir WowzaStreamingEngine-Update-4.7.4
$ cd WowzaStreamingEngine-Update-4.7.4
Wowza 포털에서 업데이트된 파일의 다운로드 링크를 사용하여 로컬 다운로드를 받을 수 있습니다.
$ sudo wget https://store.wowza.com/downloads/user/{伏せ字}/WowzaStreamingEngine-Update-4.7.4.zip
$ ls
WowzaStreamingEngine-Update-4.7.4.zip
zip을 확장합니다.
$ sudo unzip WowzaStreamingEngine-Update-4.7.4.zip
$ ls
actions           lib    README.txt
files             linux  windows
Instructions.txt  osx    WowzaStreamingEngine-Update-4.7.4.zip
Amazon Linux에서 실행되기 때문에 linux 디렉터리로 이동합니다.
$ cd linux/
$ ls -al
total 16
drwxr-xr-x 2 root root 4096 Jan 30 16:32 .
drwxr-xr-x 8 root root 4096 Feb 14 11:15 ..
-rw-r--r-- 1 root root  618 Jan 30 16:32 updatepermissions.sh
-rw-r--r-- 1 root root 2623 Jan 30 16:32 update.sh
update.sh에 집행권을 부여하다.
$ sudo chmod +x update.sh
아이고, Wowza 프로그램이 움직이면 업데이트가 안 되니까 Wowza & Manager 프로그램을 죽여야 해요.
$ sudo /etc/init.d/WowzaStreamingEngine stop
$ sudo /etc/init.d/WowzaStreamingEngineManager stop
업데이트 시작!
$ sudo ./update.sh
Verifying running as administrative user
Locating Wowza Streaming Engine installation directory
Running Wowza Streaming Engine update installer
Path: /usr/local/WowzaStreamingEngine-4.6.0/updates/WowzaStreamingEngine-Update-4.7.4/linux/..

This will update your installation at: /usr/local/WowzaStreamingEngine-4.6.0

Currently installed version           : Wowza Streaming Engine 4.7.1 - Build 20635

This will update your installation to : Wowza Streaming Engine 4.7.4 - Build 21380

Are you sure you want to continue? (y/n)
y
Changes in Wowza Streaming Engine 4.7.4 Build 21380
========================================

   * Fixed rtpbuffered stream target to allow multiple streams to start immediately
   * Added Application/Properties property dvrConverterTimeType (String, default="utc"). Selects the timebase for live to VOD conversion. Values can be "utc" or "dvr"

{中略}

Press Enter to continue.

Detected operating system: linux
Checking file versions.
Backing up current files.
Successfully created backup: /usr/local/WowzaStreamingEngine-4.6.0/updates/backup/4.7.4.zip
Updating installation.
The update process completed successfully.
Keep a copy of this update zipfile.  It is needed in case you want to restore to the previous version.
Only this version of the update will restore the prior version replaced by this update.
Wowza & Manager 프로그램이 종료되면 시작됩니다.
$ sudo /etc/init.d/WowzaStreamingEngine start
$ sudo /etc/init.d/WowzaStreamingEngineManager start
Wowza는 프로그램을 시작할 때 액세스 로그에 Version을 출력하므로 업데이트되었는지 확인합니다.
$ vi /usr/local/WowzaStreamingEngine/logs/wowzastreamingengine_access.log

{抜粋}

#Version: 1.0
#Start-Date: 2018-02-14 11:19:28 JST
#Software: Wowza Streaming Engine 4.7.4 build21380
#Date: 2018-02-14
#Fields: date   time    tz      x-event x-category      x-severity      x-status        x-ctx   x-comment       x-vhost x-app   x-appinst       x-duration      s-ip    s-port  s-uri   c-ip    c-proto c-referrer      c-user-agent    c-client-id     cs-bytes        sc-bytes        x-stream-id     x-spos  cs-stream-bytes sc-stream-bytes x-sname x-sname-query   x-file-name     x-file-ext      x-file-size     x-file-length   x-suri  x-suri-stem     x-suri-query    cs-uri-stem     cs-uri-query
2018-02-14      11:19:29        JST     comment server  INFO    200     -       com.wowza.amazonaws.ec2.AWSEC2_METADATA_AMI_ID: ami-e52cc583
그래, 그래.7.4 맞죠?

총결산


Wowza는 몇 달에 한 번 정도 이터레이션을 업데이트하기 때문에 메모 채용으로 정리해 봤다.

좋은 웹페이지 즐겨찾기