to config RBS/RBLOB in sharepoint
2014-06-20 20:07
344 查看
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
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
相关文章推荐
- how to install and configure Remote BLOB Storage (RBS) in a SharePoint 2013 farm
- How to Modify the web.config file in SharePoint using SPWebConfigModification?
- Sharepoint Error : The URL "filename" is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web
- Something you need to know about Content Deployment in SharePoint
- How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0(Se
- Configure Send To connections in SharePoint 2010
- How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0
- How to enable “Edit Page” in SharePoint’s standard form.aspx
- SharePoint Project Deployment Fails With Error "Failed to extract the cab file in the solution"
- How to open PDF files in sharepoint
- SP 2010: Getting started with LINQ to SharePoint in SharePoint 2010
- How to change service accounts and service account passwords in SharePoint Server 2007 and in Windows SharePoint Services 3.0
- Internet Information Services is not installed. You must have Internet Information Services installed in order to use the SharePoint Products and Technologies Configuration Wizard
- 转:How to submit the rows of a repeating table in InfoPath to a SharePoint list
- The database schema is too old to perform this operation in this SharePoint cluster. Please upgrade the database and...
- 【转载】Adding Validation to a Custom List Control in Sharepoint
- How to use document library in Sharepoint 2010
- Adding Custom Actions to the List Item Menu in SharePoint 2010 Using SharePoint Designer 2010[Sharepoint中添加自定义菜单]
- 转:How to force a wordbreaker to be used in Sharepoint Search
- Code view is missing in SharePoint Designer Beta 2 when you try to edit a WSS v3 site.