weixin_39564368
2020-12-08 19:11Question on AlwaysOn and SharePoint dbs
Details of the scenario you try and problem that is occurring: I'm using xSqlServer resources to pre-stage the SharePoint databases and then I mount them using the SharePointdsc resources. This works fine but I would like to move the dbs into Alwayson groups using dsc. I know there is the SPDatabaseAAG resource to do that but I don't get the concept. What do I need to configure as dbserver when creating the databases? I don't want to change the configuration in the process but I can't use the Alwayson group name to create the database (or can I?). Currently I'm using SQLAlias to switch between server\instance name and Alwayson name. The sql team moves the dbs for me and then I change the configuration to use the Alias pointing to the Always on group. It works but I would like to automate the complete process. Could you provide a configuration example for a new content database including the move to AlwaysOn?
Thanks for the great work!
Brian
The DSC configuration that is using the resource: SPDatabaseAAG SPContentDatabase SPFarm ...
Version of the Operating System and PowerShell the DSC Target Node is running: Windows 2012 R2, WMF5.1, SQL 2016, SharePoint 2016
Version of the DSC module you're using: 1.6
该提问来源于开源项目:dsccommunity/SharePointDsc
- 点赞
- 回答
- 收藏
- 复制链接分享
4条回答
为你推荐
- 命名返回变量未设置为for循环
- scope
- function
- variables
- 2个回答
- MongoDB在Go中列出具有给定前缀的数据库
- mongodb
- 1个回答
- codeigniter中的双重数据库[关闭]
- codeigniter
- database
- mysql
- php
- 1个回答
- 开始获取错误输出
- database
- forms
- fpdf
- php
- 1个回答
- 从Web应用程序中的PHPMyAdmin导出SQL结构和数据
- mysql
- pdo
- php
- 2个回答