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