假如有服务器A,是wms服务器/服务器B是文件服务器
为了简化步骤,我们这里使用管理员帐户 administrator ,可以免去很多权限设置的麻烦,但是有安全性的风险
1.把两台机器的administrator密码设置成一样
2.在B机器上打开共享\\b\share,设置administrator读写权限(只读也可以的)
3.在A机器上打开服务管理services.msc,把wmserver的启动帐户从network service改成administrator,重启动服务
4.进入A机器的wms管理界面,在服务器-> 属性-> 授权 : 禁用WMS NTFS ACL授权
5.把某个点播发布点的源设置成\\b\share ,现在你可以在发布点看到里面的文件了,点播.OK!
如何改进网络源性能:
1.停止wmserver服务
2.找到 C:\WINDOWS\system32\windows media\server\ServerNamespace.xml 文件
3.打开编辑,发现里面都是发布点设置,你要有xml的基本常识
4.找到 WMS File Data Source 这一段,中文版这个叫 "WMS 文件数据源 " ,在 "Properties " 下面,添加
<node name= "Only File Read Share " opcode= "create " type= "int32 " value= "0x1 " />
我的改过是这个样子:
<node name= "WMS 文件数据源 " opcode= "create " >
<node name= "CLSID " opcode= "create " type= "string " value= "{8553DFDD-4771-11D2-9EFF-006097D2D7CF} " />
<node name= "Enabled " opcode= "create " type= "boolean " value= "true " />
<node name= "Properties " opcode= "create " >
<node name= "WMSSystemPlugin " opcode= "create " type= "int32 " value= "0x1 " />
<node name= "WMSCriticalSystemPlugin " opcode= "create " type= "int32 " value= "0x1 " />
<node name= "URL Prefix " opcode= "create " type= "string " value= "file:// " />
<node name= "URL Suffix " opcode= "create " type= "string " value= " " />
<node name= "Use File Buffering " opcode= "create " type= "int32 " value= "0x0 " />
<node name= "Only File Read Share " opcode= "create " type= "int32 " value= "0x1 " />
</node> <!-- Properties --> <node name= "PluginErrorCode " opcode= "create " type= "int32 " value= "0x0 " />
<node name= "PluginOrder " opcode= "create " type= "int32 " value= "0x4 " />
</node> <!-- WMS 文件数据源 -->
5.保存文件,启动服务