zoukankan      html  css  js  c++  java
  • to config RBS/RBLOB in sharepoint

    http://technet.microsoft.com/en-us/library/gg316768(v=sql.105).aspx

    http://technet.microsoft.com/en-us/library/gg316737(v=sql.105).aspx

    http://technet.microsoft.com/en-us/library/ee663474(v=office.14).aspx#provision      most valuable

    scripts:

    1.

    using the command to install rbs for fore front server, note the msiexec /n , it's different from the user guide

    msiexec /n /lvx* rbs_install_log.txt /i RBS.msi TRUSTSERVERCERTIFICATE=true FILEGROUP=PRIMARY DBNAME="WSS_Content_80" DBINSTANCE="MSSQLSERVER" FILESTREAMFILEGROUP=RBSFilestreamProvider FILESTREAMSTORENAME=FilestreamProvider_1

    2.

    if not exists
    (select * from sys.symmetric_keys where name = N'##MS_DatabaseMasterKey##')
    create master key encryption by password = N'Admin Key Password !2#4'
    go

    if not exists
    (select groupname from sysfilegroups where groupname=N'RBSFilestreamProvider')
    alter database [WSS_Content_80] add filegroup RBSFilestreamProvider contains filestream
    go

    alter database [WSS_Content_80] add file (name = RBSFilestreamFile, filename = 'd:Blobstore_80') to filegroup RBSFilestreamProvider
    go

    3.


    $cdb = Get-SPContentDatabase WSS_Content_80
    $rbss = $cdb.RemoteBlobStorageSettings
    $rbss.Installed()
    $rbss.Enable()
    $rbss.SetActiveProviderName($rbss.GetProviderNames()[0])
    $rbss

     4. to reduce the file from disk while a file is deleted from document library

    http://blog.bugrapostaci.com/2013/01/05/unable-to-delete-rbs-blob-data-from-file-system-even-deleting-from-sharepoint-2010/

    http://blogs.msdn.com/b/sqlrbs/archive/2010/03/19/running-rbs-maintainer.aspx

     Microsoft.Data.SqlRemoteBlobs.Maintainer.exe -ConnectionStringName RBSMaintainerConnection   -Operation GarbageCollection ConsistencyCheck  -GarbageCollectionPhases rdo -ConsistencyCheckMode r

  • 相关阅读:
    C#的委托事件总结
    iOS的录屏功能
    Unity通过NTP获取网络时间
    Unity的弱联网Json数据传输
    Unity场景和代码合并以及UnityYAMLMerge的使用
    Unity学习--捕鱼达人笔记
    Yomob广告在cocos2dx安卓平台的Demo
    谷歌广告Admob在cocos2dx上通过回调实现底部Banner
    JZ2440 裸机驱动 第13章 LCD控制器(2)
    JZ2440 裸机驱动 第13章 LCD控制器(1)
  • 原文地址:https://www.cnblogs.com/zyip/p/3800081.html
Copyright © 2011-2022 走看看