summaryrefslogtreecommitdiffstats
path: root/docs-xml/manpages/vfs_media_harmony.8.xml
blob: 44476b53708838040bee3ae3141c0f58c4c32729 (plain)
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
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
<refentry id="vfs_media_harmony.8">

<refmeta>
	<refentrytitle>vfs_media_harmony</refentrytitle>
	<manvolnum>8</manvolnum>
	<refmiscinfo class="source">Samba</refmiscinfo>
	<refmiscinfo class="manual">System Administration tools</refmiscinfo>
	<refmiscinfo class="version">&doc.version;</refmiscinfo>
</refmeta>


<refnamediv>
	<refname>vfs_media_harmony</refname>
	<refpurpose>Allow multiple Avid clients to share a network drive.</refpurpose>
</refnamediv>

<refsynopsisdiv>
	<cmdsynopsis>
		<command>vfs objects = media_harmony</command>
	</cmdsynopsis>
</refsynopsisdiv>

<refsect1>
	<title>DESCRIPTION</title>

	<para>This VFS module is part of the
	<citerefentry><refentrytitle>samba</refentrytitle>
	<manvolnum>7</manvolnum></citerefentry> suite.</para>

	<para>The <command>vfs_media_harmony</command> VFS module allows
	Avid editorial workstations to share a network drive.  It does
	this by:</para>
	<orderedlist continuation="restarts" inheritnum="ignore" numeration="arabic">
	<listitem><para>Giving each client their own copy of the Avid
	msmMMOB.mdb and msmFMID.pmr files and Creating directories.</para></listitem>
	<listitem><para>Allowing each client to explicitly control the
	write time the Avid application sees on Avid media directories.</para></listitem>
	</orderedlist>

	<para>This module is stackable.</para>

</refsect1>

<refsect1>
	<title>CONFIGURATION</title>

	<para><command>vfs_media_harmony</command> automatically redirects
	requests from clients for Avid database files or an Avid Creating
	directory to a client-specific version of the file.  No
	configuration beyond enabling the module is needed to get this
	portion of its functionality working.</para>

	<para>If Mac and Windows Avid clients will be accessing the same
	folder, they should be given separate share definitions, with
	hidden Mac files vetoed on the Windows share.  See EXAMPLES.</para>

	<para>To allow each client to control when the Avid application
	refreshes their Avid databases, create files for each client
	and each Avid media directory with the name
	[avid_dir_name]_[client_ip_address]_[client_username].
	To trigger Avid database refreshes, update the write time on
	those files.  See EXAMPLES.</para>

	<para>It is also necessary for the <command>cache locked write times = no</command>
	option to be set for clients to be able to control their Avid
	media folder write times.</para>

</refsect1>

<refsect1>
	<title>EXAMPLES</title>

	<para>Enable media_harmony for Mac and Windows clients:</para>
<programlisting>
        <smbconfsection name="[avid_mac]"/>
	<smbconfoption name="path">/avid</smbconfoption>
	<smbconfoption name="vfs objects">media_harmony</smbconfoption>
	<smbconfoption name="cache locked write times">no</smbconfoption>
        <smbconfsection name="[avid_win]"/>
	<smbconfoption name="path">/avid</smbconfoption>
	<smbconfoption name="vfs objects">media_harmony</smbconfoption>
	<smbconfoption name="cache locked write times">no</smbconfoption>
	<smbconfoption name="veto files">/.DS_Store/._@/.Trash@/.Spotlight@/.hidden/.hotfiles@/.vol/</smbconfoption>
	<smbconfoption name="delete veto files">yes</smbconfoption>
</programlisting>

	<para>Create the files that will allow users david and susan
	to control their own Avid database refreshes:</para>
<programlisting>
	touch '/avid/OMFI MediaFiles_192.168.1.10_david' \
		'/avid/OMFI MediaFiles_192.168.1.11_susan' \
		'/avid/Avid MediaFiles/MXF/1_192.168.1.10_david' \
		'/avid/Avid MediaFiles/MXF/1_192.168.1.11_susan'
</programlisting>
	<para>Trigger an Avid database refresh for user david:</para>
<programlisting>
	touch '/avid/OMFI MediaFiles_192.168.1.10_david' \
		'/avid/Avid MediaFiles/MXF/1_192.168.1.10_david'
</programlisting>

	<para>If you have a large number of Avid media folders to manage,
	you can give each editor a suitably modified version of
	examples/scripts/vfs/media_harmony/trigger_avid_update.py to
	create and update these files.</para>

</refsect1>

<refsect1>
	<title>CAVEATS</title>

	<para><command>vfs_media_harmony</command> is designed to work with
	Avid editing applications that look in the Avid MediaFiles or
	OMFI MediaFiles directories for media.  It is not designed to work
	as expected in all circumstances for general use.  For example: It
	is possible to open a client-specific file such as
	msmMMOB.mdb_192.168.1.10_userx even though it doesn't show up
	in a directory listing.</para>

</refsect1>



<refsect1>
	<title>VERSION</title>

	<para>This man page is part of version &doc.version; of the Samba suite.
	</para>
</refsect1>

<refsect1>
	<title>AUTHOR</title>

	<para>The original Samba software and related utilities
	were created by Andrew Tridgell. Samba is now developed
	by the Samba Team as an Open Source project similar
	to the way the Linux kernel is developed.</para>

</refsect1>

</refentry>