Palo Alto, CA 94303 USA 415 960-1300 fax 415
Sun MediaCenter Server Administrator’s Guide
Release
A Sun Microsystems, Inc. Business 901 San Antonio Road
1997 Sun Microsystems, Inc. All rights reserved
1. Introduction
Contents
2. Preparing and Loading Content
3. Monitoring the Server
4. Moving Content
iv Sun MediaCenter Server Administrator’s Guide December
6. Sun MediaCenter Server FTP Daemon
5. Sun MediaCenter Server Utilities
vi Sun MediaCenter Server Administrator’s Guide December
8.2.1 mfs df 8.2.2 mfs diskusg 8.2.3 mfs repair 8.2.4 mkmfs
B. Creating a Content Package B-1
9. Access Control Lists
10. Troubleshooting
A. Setting up the SNMP Agent
Glossary Glossary-1 Index Index-1
viii Sun MediaCenter Server Administrator’s Guide December
Who Should Use This Book
Preface
x Sun MediaCenter Server Administrator’s Guide December
The Sun MediaCenter Documentation Suite
How This Book Is Organized
TABLE P-1 Typographic Conventions
What Typographic Changes Mean
Shell
Shell Prompts in Command Examples
xii Sun MediaCenter Server Administrator’s Guide December
TABLE P-2 Shell Prompts
1.1 Introduction
Introduction
1.2 Sun MediaCenter Hardware
Media File System Files
Control Content From tape, network-accessible file, or live source
Sun MediaCenter Server
Fast Ethernet or ATM Fast/Wide or Ultra SCSI
FIGURE 1-2 Sun MediaCenter Software Architecture
1.3 Sun MediaCenter Software
Independent streams
Guaranteed stream delivery rate
Recovery from single-disk failures
1.3.1 Media File System MFS
Efficient use of disk bandwidth
High-resolution rate control
Random access
Hot swappability
Output Driver
1.3.2 Media Stream Manager
Media File System Layout Manager Scheduler Bit Pump Buffers
Disk Driver
MediaCenter Server Programmer’s Guide
1.3.3 Content Manager
1.4 Video Output Interfaces
1.3.4 Web-based Tools
FIGURE 1-4 Sun MediaCenter Servers in ATM Environment
1.4.1 ATM
1.4.2 LAN
FIGURE 1-5 Sun MediaCenter Servers in LAN environment
1.5 Content Preparation and Loading
1.7 Push Model
1.6 Server Management
1-12 Sun MediaCenter Server Administrator’s Guide December
1.8 Design Benefits
2.1 General MPEG Encoding Requirements
Preparing and Loading Content
2.2 MPEG Encoding Requirements for Trick Play
2.3.1 Packet Boundary
2.3 Splice Points
2.3.4 adaptationfieldcontrol
2.3.3 payloadunitstartindicator
2.3.5 randomaccessindicator
2.3.2 closedgop
2.4 Content Loading
To copy to or extract from a tape device, use smctar
2.5 References
2-8 Sun MediaCenter Server Administrator’s Guide December
3.1 Overview
Monitoring the Server
3.2.1 Invoking the Tool
3.2 Using the WebAdmin Tool
Chapter 3 Monitoring the Server
FIGURE 3-1 Sun MediaCenter Page
FIGURE 3-2 Resource Utilization Page
3-4 Sun MediaCenter Server Administrator’s Guide December
Once the applet loads, the Resource Utilization page is displayed
3.2.2 Common Page Elements
3.3 Resource Utilization
Disk Capacity
3.4 Streaming Videos
Troubleshooting
Videos being copied
FIGURE 3-3 Streaming Videos Page
FIGURE 3-4 Streaming Videos Page with Stream Detail
3-8 Sun MediaCenter Server Administrator’s Guide December
the title being viewed
speed Fast-Forward, Slow Motion, Stopped, Playing, Reverse
3.5 Copy Sessions
title of the content being transferred
Chapter 3 Monitoring the Server
The Session Information page is shown below
FIGURE 3-6 Session Information Page
3.6 Disk Capacity
FIGURE 3-7 Disk Capacity Page
The Disk Info page is shown below
Chapter 3 Monitoring the Server
3.7 Troubleshooting
The bottom portion of the page shows any late events or disk errors
The Troubleshooting page is shown below
The Troubleshooting page contains the following links
Chapter 3 Monitoring the Server
3.7.1 Disk Health
This page shows the status of disks in the MFS
The Disk Health page is shown below
3.7.2 Console Log
Chapter 3 Monitoring the Server
FIGURE 3-11 Console Log Page
The Bitpump page is shown below
3.7.3 Scheduler and Bitpump
3-20 Sun MediaCenter Server Administrator’s Guide December
TABLE 3-1 Scheduler and Bitpump Statistics
TABLE 3-1 describes the fields in this page
TABLE 3-1 Scheduler and Bitpump Statistics Continued
bitPumpBandwidth
bitPump
bitPumpStreams
Current number of bit pump streams
3-24 Sun MediaCenter Server Administrator’s Guide December
4.1 Overview
Moving Content
4.2.1 Invoking the Tool
4.2 Using CmTool
FIGURE 4-1 Sun MediaCenter Page
Chapter 4 Moving Content
4-4 Sun MediaCenter Server Administrator’s Guide December
FIGURE 4-2 Table of Contents Page
4.2.2 Common Page Elements
4.3 Loading Content
4-6 Sun MediaCenter Server Administrator’s Guide December
Upon successful login, the Load Content page is displayed
FIGURE 4-3 Server Login Page
FIGURE 4-4 Load Content Page
4-8 Sun MediaCenter Server Administrator’s Guide December
FIGURE 4-5 Content on Remote System
FIGURE 4-6 Specifying a Local Title
Chapter 4 Moving Content
FIGURE 4-7 Copy Confirmation
4-10 Sun MediaCenter Server Administrator’s Guide December
FIGURE 4-8 Session Information
4-12 Sun MediaCenter Server Administrator’s Guide December
4.4 Table of Contents Page
FIGURE 4-9 Table of Contents Page
FIGURE 4-10 Display Attributes Dialog Box
4.4.1 View Menu
FIGURE 4-12 Filter Dialog Box
4-14 Sun MediaCenter Server Administrator’s Guide December
FIGURE 4-11 Sort Dialog Box
FIGURE 4-13 Title Information Page
4.4.2 Selected Menu
4-16 Sun MediaCenter Server Administrator’s Guide December
Sun MediaCenter Server Utilities
5.1 Setting a Title Access Control List
To extend access for a title that you own, use the smcsettacl command
where username is a Solaris login name
hostnametitle
5.2 The smccopy Utility
title
s speed
filename
hostnamefilename
r rate
The following are examples of smccopy use
t type
The following command copies a file between two local filesystems
b blknum
5.3 The smctar Utility
5.3.1 Syntax and Options
5.3.2 Content Loading
FIGURE 5-1 Loading Content with smctar
5.3.3 Copying Content
Optional Sun MediaCenter Title MFS
Sun MediaCenter MFS
Title
tar Device or File
5.3.5 Examples
5.3.4 Remote Copying and Extraction
remotehost# smctar cf /dev/rmt/0 smcserverbambi
server# tar cf - your title.TOC your content.mpg smctar xf
remotehost# tar cf - your title.TOC your content.mpg smctar xf \
server# smctar xf /dev/rmt/0 smcserverbambi
An alternative to the preceding commands is
#!/bin/sh # smcbackup Script to archive multiple SMC titles to tape
5-16 Sun MediaCenter Server Administrator’s Guide December
5.4 The smcls Utility
Display the format of this title
Display the time the title was last modified
smcls my-server”a-z*”
5-20 Sun MediaCenter Server Administrator’s Guide December
client% smcls -lt
server% smcrm SUNWbambi SGIquovadis
5.5 The smcrm Utility
smcls -lrtB
5-22 Sun MediaCenter Server Administrator’s Guide December
Sun MediaCenter Server FTP Daemon
Daemon
6-2 Sun MediaCenter Server Administrator’s Guide December
FIGURE 6-1 Sun MediaCenter FTP Functions
Standard
6.1 Keyword for Video-File Functions
6.2 Video-File Attributes
delete dir get ls mget mls mput put rename
6.3 Video-File Commands
ftp dir smctitle=Bat\
6-6 Sun MediaCenter Server Administrator’s Guide December
ftp dir smctitle=\
list continues to conclusion
6.3.1 Listing Files
list continues to conclusion
6-8 Sun MediaCenter Server Administrator’s Guide December
6.3.2 Moving Files
Directions of put/ get Commands
6.3.2.1 Moving Single Titles
Page
6.3.2.2 Moving Multiple Titles
6.3.3 Renaming Files
6.3.4 Deleting Files
6.4 Loading Content with ftp
200 Type set to
331 Password required for clinton. Password
encodingmachine% ftp smcserverone Connected to smcserverone
230 User clinton logged in. ftp lcd /home/encode ftp bin
6-16 Sun MediaCenter Server Administrator’s Guide December
7.1 Introduction
Server Output Data Format
Sun MediaCenter Server
Content
7.2 ATM Encapsulation
7.2.1 MPEG-2 Transport Stream Packet Encapsulation
7.2.5 MPEG-2 Encapsulation over Classical IP over AAL5
7.2.2 MPEG-2 Program Stream Packet Encapsulation
7.2.3 MPEG-1 System Stream Packet Encapsulation
7.2.4 Thomson Electronics Packet Encapsulation
7.3.2 MPEG-2 over Classical IP over AAL5
7.3 ATM Addressing
7.3.1 MPEG over AAL5
host=IP hostname,udpport=UDPport num
7.4 Fast Ethernet Encapsulation
FIGURE 7-2 LAN/Enterprise Scenario
7.4.1 MPEG-2 Transport Stream Packet Encapsulation
7.4.4 Thomson Electronics Encapsulation
7.5 Fast Ethernet Addressing
7.4.2 MPEG-2 Program Stream Packet Encapsulation
7.4.3 MPEG-1 System Stream Packet Encapsulation
TABLE 7-1 Value of encap Field in MsmConnect
7.6 Specifying Encapsulation
7.8 References
7.7 Differences Among Different Types of Links
7-10 Sun MediaCenter Server Administrator’s Guide December
8.1 Monitoring MFS Disks
Administering MFS Disks
8.2.1 mfs df
8.2 MFS Utilities
mfs df usage is as follows
8.2.2 mfs diskusg
8.2.3 mfs repair
mfs repair usage is as follows
d device
To find out which MFS disk has failed, you enter
8.2.4 mkmfs
Drive name /dev/rdsk/c1t1d0s2 Drive name /dev/rdsk/c1t2d0s2
8-10 Sun MediaCenter Server Administrator’s Guide December
8.3 Replacing a Failed Disk
server# mfs repair -rp -d /dev/rdsk/c1t4d0s2
server# mfs repair -r -d /dev/rdsk/c1t4d0s2
server# mfs repair -p -d /dev/rdsk/c1t4d0s2
Note -Two overlapping disk failures result in a system panic
9.1 ACL Files
Access Control Lists
nobodypermission
9.2 Permissions
9.3 Server ACL
userpermission
9.4 Player ACL
9.6 Session ACL
9.5 Title ACL
A session ACL has a single type of permission
9-6 Sun MediaCenter Server Administrator’s Guide December
Server watchdog resets on start of video stream playback
Troubleshooting
10.1 Symptoms and Possible Solutions/ Workarounds
10-2 Sun MediaCenter Server Administrator’s Guide December
Underperforming stream output
No video displays on client
Disk failure
Poor video quality
Corrupt disk labels
Kernel panic with SAHI queue threshold messages
Unable to create title on the MFS
10.2 Error Messages
10.2.1 Server Console Messages
NOTICE ba3 qsize 9 above hiwat
10.2.2 MFS Error Messages
WARNING stream id 107 ba@426,3,80@ xmit error Q size
NOTICE ba0 qsize OK
10-6 Sun MediaCenter Server Administrator’s Guide December
Setting up the SNMP Agent
TABLE A-1 Sun MediaCenter Server MIB Definitions
A.1 The Sun MediaCenter Server MIB
bitPump
Appendix A Setting up the SNMP Agent A-3
diskError
diskErrorTable
online
A-4 Sun MediaCenter Server Administrator’s Guide December
diskTable
failure
sysNumberOfBuffers
Appendix A Setting up the SNMP Agent A-5
sysZonesPerDisk
sysTimePeriodLength
1. Become root
A.2 Enabling Management by Solstice Domain Manager
Under “instance elementCommand”
5. Run $SNMHOME/bin/mib2schema smsvod.mib
This command creates smsvod.mib.schema and smsvod.mib.oid
4. Copy smsvod.mib to $SNMHOME/agents
6. Run buildoid with no arguments
A.3 Enabling Trap Handling
The Sun MediaCenter software ensures delivery of media streams at the same rate at which they were recorded. The bit pump’s missing of a deadline indicates that the machine was, at least momentarily, unable to keep up with the rate of a title. This indicates a resource conflict on the server
Creating a Content Package
B.1 Content Package
B.2 The TOC File
A TOC file is described with the following structures
B.2.1.3 format
B.2.1 ContentObjects
B.2.1.1 title
B.2.1.2 version
B.2.2.2 speed
B.2.2 BitStreamObjects
B.2.1.4 description
B.2.2.1 description
B.2.2.5 indexsize
B.2.3 DataFileObjects
B.2.2.3 bitrate
B.2.2.4 indexfile
B.2.3.3 filesize
B.3 Simplest Case TOC File
B.2.3.2 filepath
format
B.4 TOC File for Large Files
title
version
B.5 Index File Requirements
B.5.1 Normal Play Time
B.6.1 Tar Format
B.6 Tape Storage Format
B.5.2 File Offset
FIGURE B-2 Tape Storage Format
Appendix B Creating a Content Package B-13
B.6.2 Tapes
B.7 Example
Appendix B Creating a Content Package B-15
CODE EXAMPLE B-1 Example Content Package
B-16 Sun MediaCenter Server Administrator’s Guide December
For a file bambi.1x index file for normal-speed play
B.8 References
Appendix B Creating a Content Package B-19
B-20 Sun MediaCenter Server Administrator’s Guide December
Glossary-1
Glossary
Media Stream Manager
Glossary-3
Table of Contents
Glossary-4 Sun MediaCenter Server Administrator’s Guide December
Index
Page
Page
Page
Page
Index-6 Sun MediaCenter Server Administrator’s Guide December