Release
Sun MediaCenter Server Administrator’s Guide
A Sun Microsystems, Inc. Business 901 San Antonio Road
Palo Alto, CA 94303 USA 415 960-1300 fax 415
1997 Sun Microsystems, Inc. All rights reserved
2. Preparing and Loading Content
Contents
1. Introduction
iv Sun MediaCenter Server Administrator’s Guide December
4. Moving Content
3. Monitoring the Server
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
10. Troubleshooting
9. Access Control Lists
A. Setting up the SNMP Agent
B. Creating a Content Package B-1
Glossary Glossary-1 Index Index-1
viii Sun MediaCenter Server Administrator’s Guide December
Who Should Use This Book
Preface
How This Book Is Organized
The Sun MediaCenter Documentation Suite
x Sun MediaCenter Server Administrator’s Guide December
TABLE P-1 Typographic Conventions
What Typographic Changes Mean
xii Sun MediaCenter Server Administrator’s Guide December
Shell Prompts in Command Examples
TABLE P-2 Shell Prompts
Shell
1.1 Introduction
Introduction
1.2 Sun MediaCenter Hardware
Sun MediaCenter Server
Control Content From tape, network-accessible file, or live source
Fast Ethernet or ATM Fast/Wide or Ultra SCSI
Media File System Files
FIGURE 1-2 Sun MediaCenter Software Architecture
1.3 Sun MediaCenter Software
Recovery from single-disk failures
Guaranteed stream delivery rate
1.3.1 Media File System MFS
Independent streams
Random access
High-resolution rate control
Hot swappability
Efficient use of disk bandwidth
Media File System Layout Manager Scheduler Bit Pump Buffers
1.3.2 Media Stream Manager
Disk Driver
Output Driver
1.4 Video Output Interfaces
1.3.3 Content Manager
1.3.4 Web-based Tools
MediaCenter Server Programmer’s Guide
1.4.2 LAN
1.4.1 ATM
FIGURE 1-4 Sun MediaCenter Servers in ATM Environment
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.5 randomaccessindicator
2.3.3 payloadunitstartindicator
2.3.2 closedgop
2.3.4 adaptationfieldcontrol
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
Once the applet loads, the Resource Utilization page is displayed
3-4 Sun MediaCenter Server Administrator’s Guide December
FIGURE 3-2 Resource Utilization Page
3.2.2 Common Page Elements
3.3 Resource Utilization
Troubleshooting
3.4 Streaming Videos
Videos being copied
Disk Capacity
FIGURE 3-3 Streaming Videos Page
the title being viewed
3-8 Sun MediaCenter Server Administrator’s Guide December
speed Fast-Forward, Slow Motion, Stopped, Playing, Reverse
FIGURE 3-4 Streaming Videos Page with Stream Detail
3.5 Copy Sessions
title of the content being transferred
FIGURE 3-6 Session Information Page
The Session Information page is shown below
Chapter 3 Monitoring the Server
3.6 Disk Capacity
FIGURE 3-7 Disk Capacity Page
The Disk Info page is shown below
The bottom portion of the page shows any late events or disk errors
3.7 Troubleshooting
The Troubleshooting page is shown below
Chapter 3 Monitoring the Server
The Troubleshooting page contains the following links
This page shows the status of disks in the MFS
3.7.1 Disk Health
The Disk Health page is shown below
Chapter 3 Monitoring the Server
3.7.2 Console Log
Chapter 3 Monitoring the Server
FIGURE 3-11 Console Log Page
3-20 Sun MediaCenter Server Administrator’s Guide December
3.7.3 Scheduler and Bitpump
The Bitpump page is shown below
TABLE 3-1 Scheduler and Bitpump Statistics
TABLE 3-1 describes the fields in this page
TABLE 3-1 Scheduler and Bitpump Statistics Continued
bitPumpStreams
bitPump
Current number of bit pump streams
bitPumpBandwidth
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
FIGURE 4-3 Server Login Page
Upon successful login, the Load Content page is displayed
4-6 Sun MediaCenter Server Administrator’s Guide December
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
FIGURE 4-9 Table of Contents Page
4.4 Table of Contents Page
4-12 Sun MediaCenter Server Administrator’s Guide December
FIGURE 4-10 Display Attributes Dialog Box
4.4.1 View Menu
FIGURE 4-11 Sort Dialog Box
4-14 Sun MediaCenter Server Administrator’s Guide December
FIGURE 4-12 Filter 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
title
5.2 The smccopy Utility
hostnametitle
hostnamefilename
filename
r rate
s speed
The following are examples of smccopy use
t type
The following command copies a file between two local filesystems
5.3.1 Syntax and Options
5.3 The smctar Utility
b blknum
5.3.2 Content Loading
FIGURE 5-1 Loading Content with smctar
5.3.3 Copying Content
Title
Sun MediaCenter MFS
tar Device or File
Optional Sun MediaCenter Title MFS
5.3.5 Examples
5.3.4 Remote Copying and Extraction
remotehost# tar cf - your title.TOC your content.mpg smctar xf \
server# tar cf - your title.TOC your content.mpg smctar xf
server# smctar xf /dev/rmt/0 smcserverbambi
remotehost# smctar cf /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
client% smcls -lt
5-20 Sun MediaCenter Server Administrator’s Guide December
smcls my-server”a-z*”
smcls -lrtB
5.5 The smcrm Utility
server% smcrm SUNWbambi SGIquovadis
5-22 Sun MediaCenter Server Administrator’s Guide December
Sun MediaCenter Server FTP Daemon
FIGURE 6-1 Sun MediaCenter FTP Functions
6-2 Sun MediaCenter Server Administrator’s Guide December
Standard
Daemon
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=\
6-6 Sun MediaCenter Server Administrator’s Guide December
ftp dir smctitle=Bat\
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
encodingmachine% ftp smcserverone Connected to smcserverone
331 Password required for clinton. Password
230 User clinton logged in. ftp lcd /home/encode ftp bin
200 Type set to
6-16 Sun MediaCenter Server Administrator’s Guide December
7.1 Introduction
Server Output Data Format
7.2 ATM Encapsulation
Content
7.2.1 MPEG-2 Transport Stream Packet Encapsulation
Sun MediaCenter Server
7.2.3 MPEG-1 System Stream Packet Encapsulation
7.2.2 MPEG-2 Program Stream Packet Encapsulation
7.2.4 Thomson Electronics Packet Encapsulation
7.2.5 MPEG-2 Encapsulation over Classical IP over AAL5
7.3.1 MPEG over AAL5
7.3 ATM Addressing
7.3.2 MPEG-2 over Classical IP 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.2 MPEG-2 Program Stream Packet Encapsulation
7.5 Fast Ethernet Addressing
7.4.3 MPEG-1 System Stream Packet Encapsulation
7.4.4 Thomson Electronics 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 -p -d /dev/rdsk/c1t4d0s2
server# mfs repair -r -d /dev/rdsk/c1t4d0s2
server# mfs repair -rp -d /dev/rdsk/c1t4d0s2
Note -Two overlapping disk failures result in a system panic
9.1 ACL Files
Access Control Lists
9.3 Server ACL
9.2 Permissions
userpermission
nobodypermission
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
10.1 Symptoms and Possible Solutions/ Workarounds
Troubleshooting
Server watchdog resets on start of video stream playback
No video displays on client
Underperforming stream output
10-2 Sun MediaCenter Server Administrator’s Guide December
Corrupt disk labels
Poor video quality
Kernel panic with SAHI queue threshold messages
Disk failure
10.2.1 Server Console Messages
10.2 Error Messages
Unable to create title on the MFS
WARNING stream id 107 ba@426,3,80@ xmit error Q size
10.2.2 MFS Error Messages
NOTICE ba0 qsize OK
NOTICE ba3 qsize 9 above hiwat
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
diskError
Appendix A Setting up the SNMP Agent A-3
diskErrorTable
bitPump
diskTable
A-4 Sun MediaCenter Server Administrator’s Guide December
failure
online
sysZonesPerDisk
Appendix A Setting up the SNMP Agent A-5
sysTimePeriodLength
sysNumberOfBuffers
1. Become root
A.2 Enabling Management by Solstice Domain Manager
This command creates smsvod.mib.schema and smsvod.mib.oid
5. Run $SNMHOME/bin/mib2schema smsvod.mib
4. Copy smsvod.mib to $SNMHOME/agents
Under “instance elementCommand”
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.1 title
B.2.1 ContentObjects
B.2.1.2 version
B.2.1.3 format
B.2.1.4 description
B.2.2 BitStreamObjects
B.2.2.1 description
B.2.2.2 speed
B.2.2.3 bitrate
B.2.3 DataFileObjects
B.2.2.4 indexfile
B.2.2.5 indexsize
B.2.3.2 filepath
B.3 Simplest Case TOC File
B.2.3.3 filesize
title
B.4 TOC File for Large Files
version
format
B.5 Index File Requirements
B.5.1 Normal Play Time
B.5.2 File Offset
B.6 Tape Storage Format
B.6.1 Tar Format
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