Sun Microsystems 2.1 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Sun Microsystems 2.1. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Sun Microsystems 2.1 o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Sun Microsystems 2.1 se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Sun Microsystems 2.1, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Sun Microsystems 2.1 debe contener:
- información acerca de las especificaciones técnicas del dispositivo Sun Microsystems 2.1
- nombre de fabricante y año de fabricación del dispositivo Sun Microsystems 2.1
- condiciones de uso, configuración y mantenimiento del dispositivo Sun Microsystems 2.1
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Sun Microsystems 2.1 no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Sun Microsystems 2.1 y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Sun Microsystems en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Sun Microsystems 2.1, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Sun Microsystems 2.1, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Sun Microsystems 2.1. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    901 San Antonio Road Palo Alto, CA 94303 USA 415 960-1300 fax 415 969-9131 A Sun Microsystems, Inc. Business Sun ™ MediaCenter ™ Server Administrator ’s Guide Release 2.1 Part No.: 805-3194-10 Revision A, December 1997[...]

  • Página 2

    Please Recycle  1997 Sun Microsystems, Inc. All rights r eserved. 901 San Antonio Road, Palo Alto, California 94303 U.S.A. This product and r elated documentation are protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or r elated documentation may be reprod[...]

  • Página 3

    Contents iii Contents 1. Introduction 1-1 1.1 Introduction 1-1 1.2 Sun MediaCenter Hardwar e 1-2 1.3 Sun MediaCenter Software 1-4 1.3.1 Media File System (MFS) 1-5 1.3.2 Media Stream Manager 1-7 1.3.3 Content Manager 1-8 1.3.4 W eb-based T ools 1-8 1.4 V ideo Output Interfaces 1-8 1.4.1 A TM 1-9 1.4.2 LAN 1-9 1.5 Content Preparation and Loading 1-1[...]

  • Página 4

    iv Sun MediaCenter Server Administrator’s Guide • December 1997 2.3 Splice Points 2-3 2.3.1 Packet Boundary 2-3 2.3.2 closed_gop 2-4 2.3.3 payload_unit_start_indicator 2-4 2.3.4 adaptation_field_control 2-4 2.3.5 random_access_indicator 2-4 2.3.6 PCR_flag 2-4 2.4 Content Loading 2-5 2.5 References 2-7 3. Monitoring the Server 3-1 3.1 Overview[...]

  • Página 5

    Contents v 4.4 T able of Contents Page 4-12 4.4.1 V iew Menu 4-13 4.4.2 Selected Menu 4-15 5. Sun MediaCenter Server Utilities 5-1 5.1 Setting a T itle Access Control List 5-1 5.2 The smc_copy Utility 5-4 5.3 The smc_tar Utility 5-8 5.3.1 Syntax and Options 5-8 5.3.2 Content Loading 5-9 5.3.3 Copying Content 5-10 5.3.4 Remote Copying and Extraction[...]

  • Página 6

    vi Sun MediaCenter Server Administrator’s Guide • December 1997 7. Server Output Data Format 7-1 7.1 Introduction 7-1 7.2 A TM Encapsulation 7-2 7.2.1 MPEG-2 T ransport Stream Packet Encapsulation 7-2 7.2.2 MPEG-2 Program Str eam Packet Encapsulation 7-3 7.2.3 MPEG-1 System Stream Packet Encapsulation 7-3 7.2.4 Thomson Electronics Packet Encaps[...]

  • Página 7

    Contents vii 9. Access Control Lists 9-1 9.1 ACL Files 9-1 9.2 Permissions 9-2 9.3 Server ACL 9-2 9.4 Player ACL 9-3 9.5 T itle ACL 9-4 9.6 Session ACL 9-4 10. T roubleshooting 10-1 10.1 Symptoms and Possible Solutions/W orkarounds 10-1 10.2 Error Messages 10-4 10.2.1 Server Console Messages 10-4 10.2.2 MFS Err or Messages 10-5 A. Setting up the SN[...]

  • Página 8

    viii Sun MediaCenter Server Administrator’s Guide • December 1997 B.6 T ape Storage Format B-12 B.6.1 T ar Format B-12 B.6.2 T apes B-14 B.7 Example B-14 B.8 References B-18 Glossary Glossary-1 Index Index-1[...]

  • Página 9

    Preface ix Pr eface This document, the Sun MediaCenter Server Administrator ’ s Guide , tells you how to set up, load content onto, and perform other administrative duties relevant to a Sun™ MediaCenter™ server . Specifically , this document describes: ■ at a high level, the hardware and software ar chitecture of the Sun MediaCenter server[...]

  • Página 10

    x Sun MediaCenter Server Administrator’s Guide • December 1997 The Sun MediaCenter Documentation Suite This manual is a companion to the Sun MediaCenter Server Installation and Configuration Manual , the Sun MediaCenter Server Programmer ’ s Guide and the Sun MediaCenter UltraSP ARC Hardwar e Manual . T ogether these manuals are complementar[...]

  • Página 11

    xi Appendix A “Setting up the SNMP Agent,” tells you how to make use of the SNMP agent that is shipped with the Sun MediaCenter server . Appendix B “Creating a Content Package,” describes how to prepare content if you are unable to use ftp for loading content. The Glossary lists terms from the realm of video technology , as well as terms sp[...]

  • Página 12

    xii Sun MediaCenter Server Administrator’s Guide • December 1997 Shell Pr ompts in Command Examples The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell. T ABLE P-2 Shell Pr ompts Shell Prompt C shell prompt machine_name% C shell superuser pr ompt machine_name# Bourne shell and K[...]

  • Página 13

    1-1 CHAPTER 1 Intr oduction 1.1 Intr oduction The Sun MediaCenter server is a combination of standard server hardware and special software that is optimized for and dedicated to the storage and delivery of video streams. The special software includes: ■ a modified Solaris kernel; ■ modified network interface drivers, dedicated to continuous-m[...]

  • Página 14

    1-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 ■ a Content Manager (CM), which includes an RPC-based API that allows users to move content between servers or between a server and a client. ■ W eb-based tools that allow you to configure a Sun MediaCenter server , monitor server operations, and transfer video content to a [...]

  • Página 15

    Chapter 1 Introduction 1-3 FIGURE 1-1 High-level Hardwar e Architectur e Content is loaded onto the Sun MediaCenter server via the server ’s Content Manager , over a LAN or using 4- or 8-mm DA T tape. V ideo streams are controlled through network interfaces distinct from the network interfaces used for video output, using the Media Stream Manager[...]

  • Página 16

    1-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 1.3 Sun MediaCenter Softwar e The Sun MediaCenter software has three major components, the Media File System (MFS), the Media Stream Manager (MSM), and the Content Manager (CM). (In addition to these, there are special network interface drivers, which are tightly coupled with the[...]

  • Página 17

    Chapter 1 Introduction 1-5 W ith the exception of the APIs for the MSM and CM, the workings of the server ’s software components are lar gely invisible to the user . This is particularly true of the MFS, access to which is exclusively throughout the MSM and CM. The Sun MediaCenter software offers the following features: Guaranteed stream delivery[...]

  • Página 18

    1-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 Hot swappability The MFS supports the replacement of a failed disk while the server continues to deliver streams. Following disk replacement, you use a single command to restor e data from the parity disk to the new disk and return the server to normal playback mode. The procedur[...]

  • Página 19

    Chapter 1 Introduction 1-7 ■ scheduler The scheduler sorts and schedules disk I/O, manages bit pump buffers, performs admission control, and schedules output driver activity . ■ bit pump The bit pump is responsible for allocating internal buffering and efficiently transferring data between the disk and the output drivers using the internal buf[...]

  • Página 20

    1-8 Sun MediaCenter Server Administrator ’s Guide • December 1997 The MSM’s primary interface is the MSM Client API, described in the Sun MediaCenter Server Programmer ’ s Guide . The MSM supports playthrough, trick play , and other features of the Media File System. 1.3.3 Content Manager The CM provides for the loading of content onto a Su[...]

  • Página 21

    Chapter 1 Introduction 1-9 1.4.1 A TM In an A TM environment, one or more Sun MediaCenter servers are directly connected to an A TM switch via A TM host adapters. Digital video streams are sent to clients using A TM virtual circuits. FIGURE 1-4 Sun MediaCenter Servers in A TM Environment 1.4.2 LAN In the LAN environment, each Sun MediaCenter server[...]

  • Página 22

    1-10 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 1-5 Sun MediaCenter Servers in LAN environment 1.5 Content Pr eparation and Loading The Sun MediaCenter software specifies a format for content, described in Chapter 2, “Preparing and Loading Content.” Sun MediaCenter software uses the Content Manager for storing vid[...]

  • Página 23

    Chapter 1 Introduction 1-1 1 1.6 Server Management An SNMP agent is provided is provided with the Sun MediaCenter software. This agent includes the following MIB information: ■ current number of playing streams; ■ current aggr egate bandwidth; ■ number of missed deadlines; ■ number and location of disk errors. The SNMP agent also supports t[...]

  • Página 24

    1-12 Sun MediaCenter Server Administrator ’s Guide • December 1997 delivery support output only . The MSM Client API has calls that allow you to specify an ultimate destination, but do not, for example, allow you to set any parameters on that destination, which would imply the ability of the receiver to confirm a setting. 1.8 Design Benefits [...]

  • Página 25

    2-1 CHAPTER 2 Pr eparing and Loading Content This chapter specifies what video content should consist of and how it should be formatted, as required by the Sun MediaCenter software. It also pr ovides guidelines for content loading. This chapter does not tell you how to encode content. The Sun MediaCenter server has successfully stored and delivere[...]

  • Página 26

    2-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 ■ The timing information embedded in an MPEG file must exactly reflect the constant bit rate encoded in the file. Specifically , the time differences between any two consecutive PCR (SCR for Program Streams or MPEG-1 System Streams) time stamps must exactly reflect the tim[...]

  • Página 27

    Chapter 2 Preparing and Loading Content 2-3 ■ All trick files must be encoded at a bit rate that is less than or equal to the bit rate of the normal-speed bit stream. The Media Stream Manager supports the playing of trick play streams. See the chapter on the Media Stream Manager Client API in the Sun MediaCenter Server Programmer’ s Guide for [...]

  • Página 28

    2-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 2.3.2 closed_gop The closed_gop is a one-bit flag that indicates the nature of the predictions used in the B-pictures immediately following the first coded I-frame following the group-of- pictures header . The closed_gop must be set to 1 to indicate that these B-pictur es have [...]

  • Página 29

    Chapter 2 Preparing and Loading Content 2-5 2.4 Content Loading The preferr ed method of storing content on a Sun MediaCenter server is to use the W eb-based CmT ool. CmT ool uses the Sun MediaCenter FTP daemon and the Content Manager (CM), part of the Sun MediaCenter software, to store content. The CM automatically extracts from MPEG content the i[...]

  • Página 30

    2-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 ■ The machine on which your content is stored does not have ftp client software. ■ For video file transfers from the server to a client machine, if your video file is smaller or equal to 2.1 GB, use smc_copy or ftp . If the file is larger than 2.1 GB, use smc_tar . ■ For[...]

  • Página 31

    Chapter 2 Preparing and Loading Content 2-7 2.5 Refer ences ISO/IEC 13818-1/2/3 Recommendation H.262: “Generic Coding of Moving Pictures and Associated Audio Information: Systems/V ideo/Audio” ISO/IEC 1 1 172-1/2/3 “Coding of Moving Pictures and Associated Audio for digital storage media at up to 1.5 Mbit/s: Systems/V ideo/Audio”[...]

  • Página 32

    2-8 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 33

    3-1 CHAPTER 3 Monitoring the Server This chapter describes the Sun MediaCenter W ebAdmin tool, a W eb-based graphical user interface (GUI) for monitoring the Sun MediaCenter server . The tool is part of the software that is installed on the Sun MediaCenter server . 3.1 Overview The Sun MediaCenter W ebAdmin tool is a set of Java™ applets that all[...]

  • Página 34

    3-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 3.2 Using the W ebAdmin T ool Y ou can run W ebAdmin from the following: ■ Any browser that is fully compatible with Java Developer ’s Kit (JDK) version 1.1.1 or later (for example, HotJava™ 1.0 or later). ■ Java Applet V iewer available with JDK 1.1.3. The server that yo[...]

  • Página 35

    Chapter 3 Monitoring the Server 3-3 FIGURE 3-1 Sun MediaCenter Page Y ou may need to set security on your browser to allow the W ebAdmin applet to connect to your local system. For the Sun HotJava browser , select “Allow all connects without warning” and “Allow access to all properties” in the Security V iolation popup windows.[...]

  • Página 36

    3-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 Once the applet loads, the Resource Utilization page is displayed: FIGURE 3-2 Resource Utilization Page[...]

  • Página 37

    Chapter 3 Monitoring the Server 3-5 3.2.2 Common Page Elements This section describes the items that appear at the top of each page in the W ebAdmin tool. Each page is described in detail in later sections in this chapter. The Server Name field appears at the top left corner of each page and identifies the Sun MediaCenter server being monitored. [...]

  • Página 38

    3-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 V ideos being copied Displays the number of content movement sessions on the server . Click on the icon or the link to display the Copy Sessions page, where you can view more information about the content movement sessions. See Section 3.5, “Copy Sessions,” on page 3-9. Disk [...]

  • Página 39

    Chapter 3 Monitoring the Server 3-7 FIGURE 3-3 Streaming V ideos Page The top portion of the Streaming V ideos page shows the number of streams that are being played on the server , the average rate of the streams (in bits per second), and the percentage of available bandwidth being used by the streams. The lower portion of the Streaming V ideos pa[...]

  • Página 40

    3-8 Sun MediaCenter Server Administrator ’s Guide • December 1997 ■ the title being viewed ■ speed (Fast-Forward, Slow Motion, Stopped, Playing, Reverse) Click on the stream icon to view more information about this stream. The Streaming V ideos page shows detailed information about the stream that you selected in the Streams page; this is s[...]

  • Página 41

    Chapter 3 Monitoring the Server 3-9 This page shows the following information about the stream being viewed: Stream Name and Direction T itle and direction (fast-forward, playing, stopped, reverse, etc.) of the stream. Format Format of the content. Bit Rate Bit rate at which the stream is being played. Destination TCP/IP port or A TM virtual circui[...]

  • Página 42

    3-10 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 3-5 Copy Sessions Page The top of the Copy Sessions page shows the number of copy sessions that ar e active on the server . The lower portion of the Copy Sessions page shows the following information about each session on the server: ■ title of the content being transfe[...]

  • Página 43

    Chapter 3 Monitoring the Server 3-1 1 Click on the session icon to view more information about this stream. The Session Information page shows detailed information about the content movement session that you selected in the Copy Sessions page. The Session Information page is shown below: FIGURE 3-6 Session Information Page[...]

  • Página 44

    3-12 Sun MediaCenter Server Administrator ’s Guide • December 1997 This page displays the following information: State Creating or Opening Shared or Exclusive Reliable or Unreliable Status OK or error message from CM_API. T ransfer Mode TCP or A TM Address TCP port or A TM address. Bytes Xfered The number of bytes already transferred. Bytes tot[...]

  • Página 45

    Chapter 3 Monitoring the Server 3-13 FIGURE 3-7 Disk Capacity Page A red, Failed Disk icon appears at the top of this page only if there is a failed disk in the MFS. The top portion of the Disk Capacity page shows the number of titles that are stored on the server , the amount of disk space used to store the titles, and the percentage of available [...]

  • Página 46

    3-14 Sun MediaCenter Server Administrator ’s Guide • December 1997 The bottom portion of the Disk Capacity page displays the disks in groups, as specified by the RAID layout. Individual disks can be either Data or Parity type. The size and name of each disk are shown. Click on the disk name to view more information about the disk. The Disk Inf[...]

  • Página 47

    Chapter 3 Monitoring the Server 3-15 The top portion of the Disk Info page shows statistics about the usage of the disk. The bottom portion of the page shows any late events or disk errors. 3.7 T r oubleshooting The T roubleshooting page allows you to monitor the following server components: MFS disks, network, console, and bit pump. The T roublesh[...]

  • Página 48

    3-16 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 3-9 T roubleshooting Page The T roubleshooting page contains the following links: ■ Media File System: disks displays the Disk Health page. See Section 3.7.1, “Disk Health,” on page 3-17. ■ Console Output displays Sun MediaCenter server console messages. See Secti[...]

  • Página 49

    Chapter 3 Monitoring the Server 3-17 3.7.1 Disk Health This page shows the status of disks in the MFS. The Disk Health page is shown below: FIGURE 3-10 Disk Health Page[...]

  • Página 50

    3-18 Sun MediaCenter Server Administrator ’s Guide • December 1997 The Disk Health page displays the disks in groups, as specified by the RAID layout. Individual disks can be either Data or Parity type. The name of each disk is shown, along with an icon that shows the status of the disk. Icons can be one of the following colors: ■ green is n[...]

  • Página 51

    Chapter 3 Monitoring the Server 3-19 : FIGURE 3-1 1 Console Log Page Y ou can use the search function at the bottom of the page to search for a specific string. Enter in the string you want to find, then select the Search! button.[...]

  • Página 52

    3-20 Sun MediaCenter Server Administrator ’s Guide • December 1997 3.7.3 Scheduler and Bitpump The Bitpump page displays information about the Sun MediaCenter server scheduler and bitpump. The Bitpump page is shown below: FIGURE 3-12 Scheduler and Bitpump Page[...]

  • Página 53

    Chapter 3 Monitoring the Server 3-21 T ABLE 3-1 describes the fields in this page. T ABLE 3-1 Scheduler and Bitpump Statistics Active Active Streams Number of active str eams Bandwidth Collective network bandwidth of all active str eams, in bytes/sec. System Disk Bw Bandwidth of each disk (without considering seek over head). Total Bw T otal bandw[...]

  • Página 54

    3-22 Sun MediaCenter Server Administrator ’s Guide • December 1997 Admit Max Active Maximum number of str eams allowed. This a fixed value. Max Bw Maximum bandwidth allowed for str eams, in bytes/sec. Num Admitted Number of successful admissions. Num Failed Number of failed admissions. Total Delay T otal delay for the admission of all streams [...]

  • Página 55

    Chapter 3 Monitoring the Server 3-23 bitPump bitPumpStreams Current number of bit pump str eams. bitPumpBandwidth Bandwidth of the bit pump, in bits/sec. This is a fixed value. bitPumpMissedDeadlines Number of missed deadlines. T ABLE 3-1 Scheduler and Bitpump Statistics (Continued)[...]

  • Página 56

    3-24 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 57

    4-1 CHAPTER 4 Moving Content This chapter describes the Sun MediaCenter CmT ool, a W eb-based graphical user interface (GUI) that allows you to transfer content to a Sun MediaCenter server . The tool is part of the software that is installed on the Sun MediaCenter server . 4.1 Overview CmT ool is a set of Java applets that allow you to: ■ Display[...]

  • Página 58

    4-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 4.2 Using CmT ool Y ou can run CmT ool from the following: ■ Any browser that is fully compatible with Java Developer ’s Kit (JDK) version 1.1.1 or later (for example, HotJava 1.0 or later). ■ Java Applet V iewer available with JDK 1.1.3. The server that you want to move co[...]

  • Página 59

    Chapter 4 Moving Content 4-3 FIGURE 4-1 Sun MediaCenter Page Y ou may need to set security on your browser to allow the CmT ool applet to connect to your local system. For the Sun HotJava browser , select “Allow all connects without warning” and “Allow access to all properties” in the Security V iolation popup windows. Once the applet loads[...]

  • Página 60

    4-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 4-2 T able of Contents Page[...]

  • Página 61

    Chapter 4 Moving Content 4-5 4.2.2 Common Page Elements This section describes the items that appear at the top of each page in CmT ool. Specific elements of each page are described later in this chapter . The Server Name field appears at the top left corner of each page and identifies the Sun MediaCenter server you are managing. The following i[...]

  • Página 62

    4-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 4-3 Server Login Page Y ou enter in a username and password for the Sun MediaCenter server in the Login Information page. Once you have successfully logged in to the server , you will not need to enter the login information again unless you quit CmT ool or reload the page.[...]

  • Página 63

    Chapter 4 Moving Content 4-7 FIGURE 4-4 Load Content Page The disk space available on the server is shown in the upper right corner of the page. T o load content onto the server , first specify the source where the content is located. If you select Local filesystem, you are prompted for the username and password to log in to the local system. If [...]

  • Página 64

    4-8 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 4-5 Content on Remote System T o copy a title from a remote system or local filesystem, select the title or file from the scrolling list, then click the Copy selected file button. (Y ou can also display information about a selected title or file with the View button.)[...]

  • Página 65

    Chapter 4 Moving Content 4-9 Y ou are pr ompted to specify a title for the content on the server , as shown in FIGURE 4-6 . Y ou can enter a name that is different from the sour ce or use the same title. Remember that you cannot use spaces in titles. Click the Copy button (or select the Cancel button to cancel the copy operation). FIGURE 4-6 Specif[...]

  • Página 66

    4-10 Sun MediaCenter Server Administrator ’s Guide • December 1997 Y ou are pr ompted to confirm the copy operation, as shown in FIGURE 4-7 . Click the smc_copy button (or select the Cancel button to cancel the copy operation). FIGURE 4-7 Copy Confirmation[...]

  • Página 67

    Chapter 4 Moving Content 4-1 1 The Session Information page, shown in FIGURE 4-8 , shows the status of the content transfer . FIGURE 4-8 Session Information A message appears when the content has been successfully copied to the server . The content is now available for viewing on the Sun MediaCenter server .[...]

  • Página 68

    4-12 Sun MediaCenter Server Administrator ’s Guide • December 1997 4.4 T able of Contents Page This section describes the V iew and Selected menu options on the T able of Contents page. FIGURE 4-9 T able of Contents Page[...]

  • Página 69

    Chapter 4 Moving Content 4-13 4.4.1 V iew Menu The V iew menu provides options that affect the display of titles in the T able of Contents page. The following options are available: ■ Display allows you to select the attributes that you want displayed for the titles. For example, in addition to title name, you can specify that format and playtime[...]

  • Página 70

    4-14 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 4-1 1 Sort Dialog Box T o sort by one or more attributes, click on the attribute in the A vailable Attributes list and then click on the Add >> button. T o remove an attribute from the sort list, click on the attribute name in the Sort Order list and then click on t[...]

  • Página 71

    Chapter 4 Moving Content 4-15 4.4.2 Selected Menu The Selected menu allows you to view more information about a selected title, and to rename, delete, or play the title. Select a title in the T able of Contents page, then select the More Info option from the Selected menu. The T itle Information page appears, as shown below: FIGURE 4-13 T itle Info[...]

  • Página 72

    4-16 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 73

    5-1 CHAPTER 5 Sun MediaCenter Server Utilities This chapter describes the utilities shipped with the Sun MediaCenter softwar e. Sun MediaCenter software offers a variety of means to transfer video files. See Section 2.4 “Content Loading” on page 2-5 for a discussion of the alternatives. In this chapter and elsewhere in this document, a title r[...]

  • Página 74

    5-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 When you create a new title on a Sun MediaCenter server by , for example, using smc_copy to copy a video file from one server to another , you (the copier) have read, write, and admin permissions for that title. Depending on the settings of the server ACL, other users can list y[...]

  • Página 75

    Chapter 5 Sun MediaCenter Server Utilities 5-3 For the -d (delete) option, <title_users> stands for a comma-separated list of items of the form: ...where <username> is a Solaris login name. The -s , -m , and -d options accept an asterisk in the <username> field, so that you can specify ACL changes for all users on a server . Y ou[...]

  • Página 76

    5-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 5.2 The smc_copy Utility The smc_copy utility copies content, specified by a title name or a local filesystem name, between a local filesystem and a Sun MediaCenter server or between two Sun MediaCenter servers. Examples of a local filesystem are the Unix filesystem (UFS) an[...]

  • Página 77

    Chapter 5 Sun MediaCenter Server Utilities 5-5 filename The name of a file in the form specified by a local filesystem, such as UFS or NFS. The filename might specify an MPEG file or , for a content package, a tar file. hostname : filename The IP hostname of a machine on which filename is stored, plus the filename . Y ou must supply an ar[...]

  • Página 78

    5-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 -t type Indicates the type of the file, either data or index . A data file is an MPEG file. An index file is a file containing splice points for switching back and forth among trick play streams. When copying a title to or from a Sun MediaCenter server , you must have approp[...]

  • Página 79

    Chapter 5 Sun MediaCenter Server Utilities 5-7 The following command performs the same function as the preceding, except the -t and -s options are made explicit: The following command copies the title heidi from Sun MediaCenter server server1 to a Solaris machine host1 : The preceding command copies all files associated with the title heidi . If t[...]

  • Página 80

    5-8 Sun MediaCenter Server Administrator ’s Guide • December 1997 5.3 The smc_tar Utility If you cannot use ftp to load content, as explained in Section 2.4 “Content Loading” on page 2-5, you can use smc_tar . The smc_tar command extracts a content package from a tar archival device or tar file. smc_tar parses the TOC file in the content [...]

  • Página 81

    Chapter 5 Sun MediaCenter Server Utilities 5-9 the last argument in the command line if the b option is after the f option. <blknum> immediately follows the option list if the b option precedes the f option. w Prompts you before overwriting alr eady-existing content. The f argument, which precedes a sour ce tar file or device, is required fo[...]

  • Página 82

    5-10 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 5-1 Loading Content with smc_tar After loading content with smc_tar , you can pass a TOC file (title name) as an argument to MSM Client API functions (described in the Sun MediaCenter Server Programmer’ s Guide ), to play the title described by that TOC file. If a dis[...]

  • Página 83

    Chapter 5 Sun MediaCenter Server Utilities 5-1 1 Using smc_tar , you can copy files that were loaded onto the server by means other than smc_tar , such as with smc_copy or ftp . FIGURE 5-2 Copying a T itle from a Sun MediaCenter Server As you can infer from the figure, smc_tar provides a convenient means to backup titles on a Sun MediaCenter serv[...]

  • Página 84

    5-12 Sun MediaCenter Server Administrator ’s Guide • December 1997 5.3.4 Remote Copying and Extraction Y ou can run smc_tar from a Sun MediaCenter server or from a r emote host that has a network connection to a Sun MediaCenter server . The syntax for the c option is: For the c option, you must have only one argument of the form <server> [...]

  • Página 85

    Chapter 5 Sun MediaCenter Server Utilities 5-13 The preceding command differs fr om the one before it in two r espects, indicated by the w and b options. The w option means that you are prompted before files of the same name are overwritten. The b option, in combination with the value of 40, specifies that smc_tar uses a block size of 40 rather t[...]

  • Página 86

    5-14 Sun MediaCenter Server Administrator ’s Guide • December 1997 A useful technique for situations in which your MPEG file resides on CD-ROM is to create a symbolic link from the dir ectory where your TOC file r esides to the file on CD-ROM. Y ou then use tar with the h option, which causes tar to follow symbolic links. The following are e[...]

  • Página 87

    Chapter 5 Sun MediaCenter Server Utilities 5-15 Examples of scripts that use smc_tar are shown below . The following script archives content to the locally-mounted /dev/rmt/0 device and writes the content titles to the UFS file SMCBackup. current-date in the current directory . #!/bin/sh # smc_backup: Script to archive multiple SMC titles to tape [...]

  • Página 88

    5-16 Sun MediaCenter Server Administrator ’s Guide • December 1997 The following script locates a specified content title from a previously-created SMCBackup. date file. It then prompts you to load the appropriate tape to restor e the archived title from the locally-mounted /dev/rmt/0 device. #!/bin/ksh # smc_restore: Script to restore an SMC[...]

  • Página 89

    Chapter 5 Sun MediaCenter Server Utilities 5-17 5.4 The smc_ls Utility The smc_ls utility lists the titles available for playback on a Sun MediaCenter server . Y ou can play these titles through the facilities of the Media Stream Manager . To r u n smc_ls remotely , you need only the smc_ls binary , which you can copy from /opt/SUNWsms/bin on a Sun[...]

  • Página 90

    5-18 Sun MediaCenter Server Administrator ’s Guide • December 1997 The other smc_ls options affect the display and sort of the title output. As a general rule, lowercase options specify the type of sort to be performed, while uppercase options specify the display of an attribute. By default, sort options turn on the corresponding display option[...]

  • Página 91

    Chapter 5 Sun MediaCenter Server Utilities 5-19 -r Reverse the order of the sort. This option applies across all other sort options. -S Display the play speeds for the title. For titles with multiple speeds, each available speed is listed, separated by a comma (,). Streams that have a corresponding index file are indicated by a trailing asterisk ([...]

  • Página 92

    5-20 Sun MediaCenter Server Administrator ’s Guide • December 1997 The following example displays a “long listing” of the content on the local Sun MediaCenter server , sorted in order of most-recently-modified time: Note that 1000 repr esents normal speed, forward direction. A value of 4000 repr esents four times normal speed. The value -4[...]

  • Página 93

    Chapter 5 Sun MediaCenter Server Utilities 5-21 The following example displays a long list of the current titles on the local server , with the output reverse-sorted by modification time (most-recently modified time last) and bitrate information displayed (instead of play speed): 5.5 The smc_rm Utility The smc_rm utility removes titles from an MF[...]

  • Página 94

    5-22 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 95

    6-1 CHAPTER 6 Sun MediaCenter Server FTP Daemon This chapter describes the Sun MediaCenter server FTP daemon. This daemon allows any ftp user—on any operating system/hardware platform—to access video files on a Sun MediaCenter server . In addition to this video server support, the daemon supports the “traditional” FTP functions described i[...]

  • Página 96

    6-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 6-1 Sun MediaCenter FTP Functions FTP Client Sun MediaCenter Server Software Standard (Video Files) Media File System PC or Workstation Unix File System Local File System Standard FTP Functions FTP Functions for Video Files FTP Protocol FTP Daemon Sun MediaCenter[...]

  • Página 97

    Chapter 6 Sun MediaCenter Server FTP Daemon 6-3 6.1 Keywor d for V ideo-File Functions The keyword smc: in an ftp command invokes a video-file function. So, for example, to obtain a directory listing of the video files on a Sun MediaCenter server , you enter the following command: The output from dir smc: , as above, is identical to that of smc_l[...]

  • Página 98

    6-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 6.2 V ideo-File Attributes A piece of video content is stored as a title on a Sun MediaCenter server . The ftp video-file commands report or perform operations on titles. A title is identified by the following attributes: ■ name of the title, which usually corresponds to the [...]

  • Página 99

    Chapter 6 Sun MediaCenter Server FTP Daemon 6-5 The attribute values of the title named Bambi indicate a normal-play , forward- direction, MPEG file that was encoded 3 Mb/sec. in MPEG-2 Program Stream format. All video-file commands require a value for the title attribute. (The value can be, with some commands, a wildcard.) Certain commands have [...]

  • Página 100

    6-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 All ftp commands except rename , when used with the Sun MediaCenter FTP daemon, accept the asterisk ( * ) as a wildcard character . When using the Solaris FTP client, you must use a backslash to escape the asterisk. Otherwise, the shell interprets the asterisk to mean all files [...]

  • Página 101

    Chapter 6 Sun MediaCenter Server FTP Daemon 6-7 6.3.1 Listing Files dir The dir command lists the names of the data and index files associated with the titles on a Sun MediaCenter server . An example of its use: ftp> dir smc: Title Usage NPT Format Available Speeds Bambi FREE 02:03:42 MPEGPS 1000, batman cm,msm 01:38:06 MPEGTS 1000, java_class [...]

  • Página 102

    6-8 Sun MediaCenter Server Administrator ’s Guide • December 1997 ls Like the dir command, the ls command lists the names of the data and index files associated with the titles on a Sun MediaCenter server . An example of its use: mls The mls command differs from the ls command in that it allows you to specify multiple arguments in a command li[...]

  • Página 103

    Chapter 6 Sun MediaCenter Server FTP Daemon 6-9 Examples of mls use: 6.3.2 Moving Files When copying a data file (that is, an MPEG file), as distinguished from an index file, within ftp , use the bin command to put ftp in binary mode. Index files are ASCII files, so you can use ASCII mode, ftp ’s default mode, for their transfer . When copyi[...]

  • Página 104

    6-10 Sun MediaCenter Server Administrator ’s Guide • December 1997 W ith regard to video-file attributes, when you get or mget files, (the Media File System [MFS]-to-local file system direction) those files are stored in a local file system with as many or few attributes as you specify . Conversely , when you put or mput files (the local [...]

  • Página 105

    Chapter 6 Sun MediaCenter Server FTP Daemon 6-1 1 get The get command allows you to copy a video file from a Sun MediaCenter server to a local file system. An example of its use: put The put command allows you to copy a video file from a local file system to a Sun MediaCenter server . It is the command you use when loading content onto the serv[...]

  • Página 106

    6-12 Sun MediaCenter Server Administrator ’s Guide • December 1997 6.3.2.2 Moving Multiple T itles The mget and mput commands are intended for the backup and restore of titles between the MFS and a local filesystem. Y ou can use mput only with files that you have previously backed up with mget . For example, if you periodically use the comman[...]

  • Página 107

    Chapter 6 Sun MediaCenter Server FTP Daemon 6-13 mput The mput command copies files from a local file system to a Sun MediaCenter server . mput allows you to copy a single video title or all of the titles that have been copied to a given directory in a local file system using the mget command. mput supports the use of the asterisk ( * ) wildcard[...]

  • Página 108

    6-14 Sun MediaCenter Server Administrator ’s Guide • December 1997 6.3.4 Deleting Files delete The delete (or del ) command allows you to delete a video file from a Sun MediaCenter server . Y ou specify only a title name for this command. An example of its use: 6.4 Loading Content with ftp Use of ftp with the Sun MediaCenter FTP daemon is the [...]

  • Página 109

    Chapter 6 Sun MediaCenter Server FTP Daemon 6-15 As an example, consider that you encode the title “Batman” at 3 Mbits/sec., in MPEG T ransport Stream format. Y ou have three MPEG files, one for normal speed, one for 21 times normal speed, forward direction, and one for 21 times normal speed, reverse direction. On the encoding machine, you use[...]

  • Página 110

    6-16 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 111

    7-1 CHAPTER 7 Server Output Data Format This chapter describes the format of the data that is output from the Sun MediaCenter Server . It also tells you how to specify output data encapsulation for the Media Stream Manager Client API. This API is covered in the Sun MediaCenter Server Programmer ’ s Guide . 7.1 Intr oduction The Sun MediaCenter se[...]

  • Página 112

    7-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 controlled by the Content Manager (CM). Utilities that use the CM are described in Chapter 5 and Chapter 6. The CM server and client APIs are described in the Sun MediaCenter Server Programmer ’ s Guide . FIGURE 7-1 illustrates the separation of data and control flows with res[...]

  • Página 113

    Chapter 7 Server Output Data Format 7-3 7.2.2 MPEG-2 Pr ogram Str eam Packet Encapsulation The MPEG-2 Program Stream can have any packet size. The server delivers AAL-5 packets with an MPEG data size corresponding to twenty MPEG T ransport packets or 3760 bytes for the Program Stream encapsulation. This encapsulation uses a larger A TM packet size [...]

  • Página 114

    7-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 7.3 A TM Addr essing Y ou specify the destination address with the MSMC API’s msmSetConnect() function. Y ou fill in an instance of the MsmConnect structure before calling msmSetConnect() . This structure contains an destTiAddr field, which holds a string. This field determi[...]

  • Página 115

    Chapter 7 Server Output Data Format 7-5 The address is a string of the following format: The components of this address are as follows: ■ The <IP hostname> is the destination client’s IP hostname. ■ The <UDPport num> is the destination UDP port number on which the client host is awaiting data. For example, the address of host=cord[...]

  • Página 116

    7-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 FIGURE 7-2 LAN/Enterprise Scenario 7.4.1 MPEG-2 T ransport Str eam Packet Encapsulation As of the date of this publication, there is no standard for transmitting MPEG over Ethernet. The encapsulation supported by the Sun MediaCenter server consists of multiple MPEG-2 transport pa[...]

  • Página 117

    Chapter 7 Server Output Data Format 7-7 7.4.2 MPEG-2 Pr ogram Str eam Packet Encapsulation The MPEG-2 Program Stream is not defined to have any fixed packet size by the MPEG-2 standard. The server delivers UDP packets with payload containing MPEG data of size corresponding to seven MPEG-2 transport packets or 1316 bytes for the program str eam en[...]

  • Página 118

    7-8 Sun MediaCenter Server Administrator ’s Guide • December 1997 The components of this address are as follows: ■ The <IP hostname> is the destination client’s IP hostname. ■ The <UDPport num> is the destination UDP port number on which the client host is awaiting data. For example, the address of host=cordelia,udpport=40000 [...]

  • Página 119

    Chapter 7 Server Output Data Format 7-9 7.7 Dif fer ences Among Dif fer ent T ypes of Links The following are distinctions among the ways a Sun MediaCenter server handles video output over Fast Ethernet or A TM links: ■ As described in this chapter , MPEG streams are encapsulated in UDP/IP packets and then in Ethernet packets, when sent over Fast[...]

  • Página 120

    7-10 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 121

    8-1 CHAPTER 8 Administering MFS Disks This chapter tells how to monitor MFS disks and how to detect and respond to disk failures. 8.1 Monitoring MFS Disks The easiest way to monitor the Media File System (MFS) disks is to use the Sun MediaCenter W ebAdmin tool. The W ebAdmin tool is a W eb-based graphical user interface (GUI) for monitoring the Sun[...]

  • Página 122

    8-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 Y ou can also use the Solstice Domain Manager (or other SNMP-conformant program) to monitor the Media File System (MFS) disks. The SNMP agent for the Sun MediaCenter server , sms-vod , has an SNMP trap, Disk_Failure , that allows for automatic notification when a disk failure oc[...]

  • Página 123

    Chapter 8 Administering MFS Disks 8-3 mfs df usage is as follows: The mfs df command has the following options: -k Space is reported in kilobytes, rather than 64K blocks -v An option that produces “verbose” output. The two options can be used together , to obtain verbose output with space reported in kilobytes. The following is an example of mf[...]

  • Página 124

    8-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 Note in the verbose mfs df output, above, that the MFS block size ( 64k ) is reported, as well as the disk type, which can be either data or parity . Output with the -k option is the same except that the Total , Used , and Avail data is displayed in kilobytes rather than 64K bloc[...]

  • Página 125

    Chapter 8 Administering MFS Disks 8-5 MPEGPS MPEG Program Stream packet format. MPEG1SYS MPEG-1 System Stream packet format. MPEGTCE MPEG Thomson Consumer Electronics format. The packetization of this encapsulation consists of an arbitrary number 130-byte packets. The mfs diskusg utility is useful in conjunction with mfs df . Y ou can compare the o[...]

  • Página 126

    8-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 mfs repair usage is as follows: The arguments to mfs repair are described below: -c Perform consistency checking, including reclaiming unused blocks. -s Display the status of a failed drive (if any). -F Force a failur e of a specified disk. -p Initiate phase-out of parity mode. [...]

  • Página 127

    Chapter 8 Administering MFS Disks 8-7 T o find out which MFS disk has failed, you enter: mfs repair reports that the disk at c1t3d0s2 has failed. Chapter 3 of the Sun MediaCenter UltraSP ARC Hardware Manual tells you that c1t3d0s2 corresponds to the third data disk in the first Multipack enclosure connected to SCSI port 1 on the server . W ith th[...]

  • Página 128

    8-8 Sun MediaCenter Server Administrator ’s Guide • December 1997 Following this command, use the mfs repair commands described above to replace the failed disk. Use of mfs repair is appropriate only for single disk failures. T wo, overlapping disk failures cause the server to panic. If you experience the failure of more than one disk, you must[...]

  • Página 129

    Chapter 8 Administering MFS Disks 8-9 Following invocation without the -f option, mkmfs prompts you for the information requir ed to build an MFS. For example: Y ou specify the parity drive(s) after you have entered all data drives. The number of parity drive entries must correspond to the number you entered at the “Number of parity drives:” pr[...]

  • Página 130

    8-10 Sun MediaCenter Server Administrator ’s Guide • December 1997 The meta-file for the MFS is stored in /var/opt/SUNWsms/MFS . Use the Solaris format command to obtain the SCSI target numbers used as input for mkmfs . The preceding example assumes you use slice 2 ( s2 ) to stand for the entire disk. Slice 2 is one of the default slice assign[...]

  • Página 131

    Chapter 8 Administering MFS Disks 8-1 1 In the output above, make note of the SCSI disk address (similar to the number c1t4d0s2 ). Chapter 3 of the Sun MediaCenter UltraSP ARC Hardware Manual has instructions for mapping SCSI disk addresses to physical disks. 2. Open the appropriate Multipack enclosure, locate the failed disk, and remove and replac[...]

  • Página 132

    8-12 Sun MediaCenter Server Administrator ’s Guide • December 1997 The procedur e to replace and restor e a parity disk is the same as for a data disk. A parity disk failure would be discovered while loading content. At the point of disk failure, the loading operation ceases. As with a data disk, you use the -r option to mfs repair to restor e [...]

  • Página 133

    9-1 CHAPTER 9 Access Contr ol Lists Y ou restrict Sun MediaCenter server operations to specific users by creating access control lists (ACLs). Y ou can create ACLs for the following: ■ Server: Allows programs to list players, titles, or states and/or create or delete players. ■ Players: Allows programs to obtain play information, control play [...]

  • Página 134

    9-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 9.2 Permissions All files used for ACLs support the following syntax: < user >:< permission > For all ACL files, standard Solaris lookup mechanisms are used for user name lookup. In support of unknown UIDs, all files support: nobody :< permission > Each type [...]

  • Página 135

    Chapter 9 Access Control Lists 9-3 ...with the result that all users have read permission. For example, with only read permission for a Sun MediaCenter server , a user can look up titles on the server , but cannot play a stream. Each instance of the ServerAcl file must contain a line that indicates the version number of the file; this line must b[...]

  • Página 136

    9-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 9.5 T itle ACL Each content title has an ACL which is accessible either programmatically through the cmGetAcl () function or by the smc_gettacl utility . T o create or modify permissions, use the cmSetAcl () function or the smc_settacl command. T ABLE 9-3 shows the permissions th[...]

  • Página 137

    Chapter 9 Access Control Lists 9-5 A session ACL has a single type of permission. A programmer who invokes cmClientCreate () to create a session obtains admin access to that session. A user who invokes smc_copy , smc_tar , or ftp , to move, delete, or rename content receives admin access to the CM session used for that operation. T ABLE 9-4 Session[...]

  • Página 138

    9-6 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 139

    10-1 CHAPTER 10 T r oubleshooting This chapter describes tools you can use to track down problems you might have with your Sun MediaCenter server . The most useful tool you can have for modeling your server ’s behavior and for detection of problems is SunNet Manager or another SNMP-conformant management platform that allows you to read values col[...]

  • Página 140

    10-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 Underperforming stream output Possible cause is network congestion. Use a network analyzer or your switch vendor ’s diagnostics to analyze network performance. Note that your server is intended only for the storage and delivery of multimedia streams. Any pr ocesses not associa[...]

  • Página 141

    Chapter 10 Troubleshooting 10-3 Poor video quality Possible causes: Content is stored at a bit rate different fr om that at which it was encoded. Content might be poorly encoded. The destination client might not be able to keep up with the video stream. Check the bit rate of the content. The bit rate should be roughly filesize * 8/ playtime , wher[...]

  • Página 142

    10-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 Unable to create title on the MFS. Likely cause: A filled MFS or a disk failure. In this situation, the Sun MediaCenter software r emoves all files associated with the title. Use mfs df , documented in the Sun MediaCenter Server Service Manual , to determine free space in the [...]

  • Página 143

    Chapter 10 Troubleshooting 10-5 WARNING: stream id 107 (ba@426,3,80@) xmit error: Q size 33 Cause: Low-level software has detected a transmission error . Action requir ed: None. Most often, higher level software can recover from such an error . However , if you receive such messages continually or if such messages are accompanied by degraded video [...]

  • Página 144

    10-6 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 145

    A-1 APPENDIX A Setting up the SNMP Agent The Sun MediaCenter software is shipped with its own SNMP agent, which is part of the SUNWsmsnm package. This agent is based on the SNMP agent shipped with the Solstice Domain Manager (SDM); the agent has been extended to support the Sun MediaCenter server . This appendix tells you how to configure the SNMP[...]

  • Página 146

    A-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 Note – A caveat on the use of the SNMP agent shipped with the Sun MediaCenter server: If you use SNMP to manage the Sun MediaCenter software, you cannot also run an SNMP agent to manage other components of your system (for example, the A TM interface). The SNMP agent reserves p[...]

  • Página 147

    Appendix A Setting up the SNMP Agent A-3 admTotalDelay T otal delay for the admission of all streams since last r eboot, in milliseconds. admAverageDelay A verage admission delay , in milliseconds. bitPump bitPumpStreams Current number of bit pump str eams. bitPumpBandwidth Bandwidth of the bit pump, in bits/sec. This is a fixed value. bitPumpMiss[...]

  • Página 148

    A-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 diskLateTime T ime at which the late event was detected, in microseconds. diskLateDuration Duration of lateness, in milliseconds. diskTable diskDeviceId Name of the disk. diskNumIOoperations Number of I/O operations for a disk. diskNumLate Number of times a disk was late. diskTot[...]

  • Página 149

    Appendix A Setting up the SNMP Agent A-5 The SMC MIB attributes can be categorized a number of different ways. One way is to divide the attributes between those that have fixed values—fixed at compile time or when the server software completes booting—and those that change in response to server use. Examples of the former category are listed [...]

  • Página 150

    A-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 The remaining attributes, those not in T ABLE A-2 , are counters, sizes, identifiers, and times (both durations and instants) that change according to conditions on the server . These attributes can be categorized as follows: ■ Streams and str eam admission The active and admi[...]

  • Página 151

    Appendix A Setting up the SNMP Agent A-7 3. Edit $SNMHOME/struct/elements.schema , to add lines for the Sun MediaCenter server . Use the lines for the SP ARCcenter 1000 ( sc1000 ) as a basis for the new lines for the Sun MediaCenter server ( sms1000 ). For example: The remaining additions to elements.schema are as follows: 4. Copy sms_vod.mib to $S[...]

  • Página 152

    A-8 Sun MediaCenter Server Administrator ’s Guide • December 1997 6. Run: build_oid (with no arguments). This program maps names in Sun MediaCenter server MIB to new OIDs. 7. (Optional) Copy your $SNMHOME/discover.conf file to /etc/opt/SUNWconn/ snm . In the MAPPINGS section of this copy , add the line: In addition to modifying discover.conf ,[...]

  • Página 153

    Appendix A Setting up the SNMP Agent A-9 As an example of a the SNMP agent’s capability , the following is a Quick Dump report for the bitPump attribute on a machine redoubt : A.3 Enabling T rap Handling In addition to the six standard SNMP traps, the Sun MediaCenter server ’s SNMP agent supports three enterprise-specific traps, Admission_Fail[...]

  • Página 154

    A-10 Sun MediaCenter Server Administrator ’s Guide • December 1997 2 Missed_Deadline The Sun MediaCenter software ensures delivery of media streams at the same rate at which they were recor ded. 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 indicate[...]

  • Página 155

    B-1 APPENDIX B Cr eating a Content Package This appendix describes a content package , which is one way that content can be prepar ed for storage on a Sun MediaCenter server . Specifically , this document describes: ■ the types of files that make up a content package; ■ the storage format of those files on tape. Under most circumstances, you[...]

  • Página 156

    B-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 B.1 Content Package A content package is a collection of separate MPEG streams that represent the content of a title (including audio and video) at various playback speeds. There ar e two types of files that together describe each of the (potentially) multiple bit streams that m[...]

  • Página 157

    Appendix B Creating a Content Package B-3 FIGURE B-1 Structure of a Content Package Note – If your content consists of a single bit stream, you do not need an index file. Y ou content package will consist of only a T able of Contents file and the single bit stream. B.2 The T OC File The T able of Contents (TOC) file is an ASCII file that cont[...]

  • Página 158

    B-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 A TOC file is described with the following structures: Some rules regar ding the encoding of a TOC file: ■ TOC files themselves are assignments to the types declared above. ■ All INTEGER s are r epresented as decimal values. These are all 32-bit values, unless other noted [...]

  • Página 159

    Appendix B Creating a Content Package B-5 B.2.1 ContentObjects The structure contains the overall information for the content package. B.2.1.1 title The title property is a string that specifies the name of the content. Use the convention: For example, if you want to load the content for the title, “Bambi”, fill in the title field as follows[...]

  • Página 160

    B-6 Sun MediaCenter Server Administrator ’s Guide • December 1997 MPEGTCE DSS transport format wherein the server transports data in units of 130-byte packets. MPEGPS MPEG-2 program stream encapsulation wherein the server transports data in 4- byte aligned packet sizes of arbitrary length. MPEG1SYS MPEG-1 system stream encapsulation wherein the[...]

  • Página 161

    Appendix B Creating a Content Package B-7 B.2.2.3 bitrate The bitrate property , expressed in bits/sec., specifies the bit rate at which the MPEG data file was encoded. This number also specifies the rate at which the file is to be played by the server to the network. B.2.2.4 indexfile The indexfile property is a string that specifies the pa[...]

  • Página 162

    B-8 Sun MediaCenter Server Administrator ’s Guide • December 1997 B.2.3.2 filepath The filepath property is a string specifying the pathname of the data file for this segment of the bit stream’s data. B.2.3.3 filesize The filesize property is an integer specifying the size of the data file for this segment of the bit stream’s data, in[...]

  • Página 163

    Appendix B Creating a Content Package B-9 The fields in the TOC file are described as follows: title A name of your choosing. After you have stored the title on the server , smc_ls returns the contents of this field. version For versions 1.0 and 1.1 of the Sun MediaCenter server software, this is always SUNW.00.01 . format For MPEG-1 content, th[...]

  • Página 164

    B-10 Sun MediaCenter Server Administrator ’s Guide • December 1997 The following is an example of a TOC file for a multi-part title: B.5 Index File Requir ements An index file is an ASCII file that specifies the splice points for one bit str eam in a content package. (See Section 2.3 “Splice Points” on page 2-3 for encoding requir ement[...]

  • Página 165

    Appendix B Creating a Content Package B-1 1 Note – For video formatted as MPEG-2 T ransport Streams, the CM automatically generates index files for titles that contain trick play streams, at the point when content is loaded onto the server . For other formats, you must generate your own index files. The index file consists of a sequence of spl[...]

  • Página 166

    B-12 Sun MediaCenter Server Administrator ’s Guide • December 1997 ■ NPT s for a reverse-playing stream must monotonically decrease, fr om beginning to end of the index file. ■ NPT is a time offset into the content as one would view the content at normal speed, not the time at which the pictures are presented (PTS). B.5.2 File Of fset The [...]

  • Página 167

    Appendix B Creating a Content Package B-13 FIGURE B-2 T ape Storage Format The TOC file must be positioned as the first file in the tar tape and must have a file extension of .TOC . Except for the file extension, the naming of the TOC file is arbitrary . In FIGURE B-2 , the TOC file is named Bambi.TOC , to indicate it is the TOC file for th[...]

  • Página 168

    B-14 Sun MediaCenter Server Administrator ’s Guide • December 1997 The recommended block size of the tar format is 500 512-byte blocks, or 256,000 bytes. The default blocking factor for tar is 20 blocks, or 10,240 bytes. B.6.2 T apes The Sun MediaCenter server supports both 4-mm and 8-mm cartridge tapes. B.7 Example This section provides an exa[...]

  • Página 169

    Appendix B Creating a Content Package B-15 The content of the TOC file bambi.TOC is shown below . It contains attributes for every bit stream included in the content package for the movie “Bambi”. CODE EXAMPLE B-1 Example Content Package content { title “bambi”, version “SUNW.00.01”, format “MPEGTCE”, description “Aftermath of co[...]

  • Página 170

    B-16 Sun MediaCenter Server Administrator ’s Guide • December 1997 The textual content of index files for various speeds are shown below . These examples illustrate the requirements spelled out in Section B.5 “Index File Requirements” on page B-10. filesize 5710380 } } { description ““, speed 21000, bitrate 2559999, indexfile “bambi.[...]

  • Página 171

    Appendix B Creating a Content Package B-17 For a file bambi.1x (index file for normal-speed play): For a file bambi.21x (index file for twenty-one times normal speed): In the preceding example note that the NPT value for the last entry is the same as the NPT entry for normal speed. However , the total bit stream size (file offset value in last[...]

  • Página 172

    B-18 Sun MediaCenter Server Administrator ’s Guide • December 1997 For a file bambi.n21x (index file for twenty-one times normal speed, in reverse): In the preceding example, note that the NPT value in the first entry is the same as the NPT value in the last entries of the two forward-direction files, above. Also, the file offset value in [...]

  • Página 173

    Appendix B Creating a Content Package B-19 CCITT Recommendation X.209 (1988): Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1). T echnically aligned with ISO 8825 and ISO 8825/AD 1.[...]

  • Página 174

    B-20 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 175

    Glossary-1 Glossary This glossary contains general, multimedia-related terms, as well as terms specific to the Sun MediaCenter product. W ords and phrases in the latter category are indicated as such. access control list A list of users and the associated operations they are allowed to perform. An access control list is a featur e of the Media Str[...]

  • Página 176

    Glossary-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 luminance A matrix, block, or single sample repr esenting a monochrome r epresentation of the signal. Luminance is related to the primary colors in the manner defined in the bit stream. The symbol for luminance is Y . Luminance is distinguished from chrominance . Media St[...]

  • Página 177

    Glossary-3 T able of Contents (TOC) file A fundamental component of a content package . A T OC file lists the set of index and data files that contain the bit streams that make up the movie contained by that content package. MSM clients play movies by specifying a TOC file for that movie. See Section B.2 “The TOC File” on page B-3 for a com[...]

  • Página 178

    Glossary-4 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]

  • Página 179

    Index-1 Index A access control list, definition of, Glossary-1 access control list, title, 5-1 active streams, detecting number of, 3-21, A-2 admin permission, requir ement for one user in title ACL, 5-3 Admission_Failed trap, A -9 alternatives for video file transfer, 2 -5 analog video, definition of, Glossary-1 ASN.1, refer ences to standards,[...]

  • Página 180

    Index-2 Sun MediaCenter Server Administrator ’s Guide • December 1997 content requir ements, 2- 1 content requir ements for trick play, 2- 2 content, utility for listing, 5-20 ContentObjects, ASN.1 description of content package, B-5 copying content with smc_tar, 5-10 corrupt disk label, 10-3 D data disk failure, 8-10 DataFileObjects, portion o[...]

  • Página 181

    Index-3 loading content with smc_tar, 5 -9 loading content, with smc_copy, 5 -4 ls command, in ftp, 6 -8 luminance, definition of, Glossary-2 M management database, saving in Solstice Domain Manager, A-8 Media File System creation of, 8-8 Media File System (MFS) features of, 1-5 Media File System bit pump, 1 -7 Media File System output driver, 1 -[...]

  • Página 182

    Index-4 Sun MediaCenter Server Administrator ’s Guide • December 1997 playthrough, support in the MFS, 1-5 Program Association T able, encoding requir ement, 2-2 Program Clock Refer ence, encoding requir ement, 2-2 push model, description of, 1 -1 1 put command, in ftp, 6 -1 1 R RAID level supported by MFS, 1 -2 random_access_indicator , settin[...]

  • Página 183

    Index-5 title access control list, 5-1 title ACL permissions, 5 -2 title naming convention, B -5 title, setting access to, 5 -2 titles, obtainiing list of on server, 5 -17 titles, removing, 5-21 TOC file for lar ge MPEG files, B- 9 TOC file, example for simplest case, B-8 TOC file, parsing, 5-9 trick play streams, loading, 6-1 5 trick play , de[...]

  • Página 184

    Index-6 Sun MediaCenter Server Administrator ’s Guide • December 1997[...]