蚂蚁文库
换一换
首页 蚂蚁文库 > 资源分类 > PDF文档下载
 

sql2005数据库镜像配置过程

  • 资源ID:55604122       资源大小:276.66KB        全文页数:7页
  • 资源格式: PDF        下载权限:游客/注册会员    下载费用:10积分 【人民币10元】
快捷注册下载 游客一键下载
会员登录下载
三方登录下载: 微信快捷登录 QQ登录  
下载资源需要10积分 【人民币10元】
邮箱/手机:
温馨提示:
支付成功后,系统会自动生成账号(用户名和密码都是您填写的邮箱或者手机号),方便下次登录下载和查询订单;
支付方式: 微信支付    支付宝   
验证码:   换一换

 
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,既可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰   

sql2005数据库镜像配置过程

SQL Server 2008 R2 Database MirroringSQL Server 2008 R2 Database Mirroring EnvironmentEnvironmentOS Windows 2008 enterprise R2OS Windows 2008 enterprise R2 SQL Server 2008 R2SQL Server 2008 R2 Master host INMS1Master host INMS1 Internal ip10.10.10.1/24 gwnoreInternal ip10.10.10.1/24 gwnore Outbound ip 142.2.70.208/16 gw142.2.70.13Outbound ip 142.2.70.208/16 gw142.2.70.13 Mirror host INMS2Mirror host INMS2 Internal ip10.10.10.2/24 gwnore Internal ip10.10.10.2/24 gwnore Outbound ip 142.2.70.209/16 gw142.2.70.13Outbound ip 142.2.70.209/16 gw142.2.70.13 Prepare environmentPrepare environment Create a login for sql serviceCreate a login for sql service’’s restart on INMS,INMS2 HOSTs restart on INMS,INMS2 HOST Setting classic auth mode on group policy, otherwise INMS1 DB instance could notSetting classic auth mode on group policy, otherwise INMS1 DB instance could not connect INMS DB instanceconnect INMS DB instance Loginsql-servicesLoginsql-services PasswordWec251InmsPasswordWec251Inms When you install sql 2008 R2,please set login sql-services as service be restartedWhen you install sql 2008 R2,please set login sql-services as service be restarted login, local administrator as sql server admin.login, local administrator as sql server admin. YouYou mustmust openopen protocolprotocol andand namednamed pipe,pipe, otherwiseotherwise youyou couldcould notnot connectconnect thethe databasedatabase engineer.engineer. Run the below script on master hostRun the below script on master host Abackup the DB; run the below script on masterAbackup the DB; run the below script on master Backup database test to diskBackup database test to disk’’d\backup\test.bakd\backup\test.bak’’ Backup log test to diskBackup log test to disk’’d\backup\testlog.bakd\backup\testlog.bak’’ Copy the upper DB and Log backup to mirror host to restoreCopy the upper DB and Log backup to mirror host to restore Brun the below script on mirror hostBrun the below script on mirror host Restore databse test from diskRestore databse test from disk’’d\back\test.bakd\back\test.bak’’ with norecovery with norecovery Restore log test from diskRestore log test from disk’’d\back\testlog.bakd\back\testlog.bak’’ with norecovery with norecovery After run the upper script, you will see the database status is in restoring modeAfter run the upper script, you will see the database status is in restoring mode master DB transaction log must is full recovery mode mirror DB use norecovery recover mirror DB Setting EndpointSetting Endpoint Run the below script on master hostRun the below script on master host Use masterUse master gogo create endpoint DbMirroring statestarted as tcplistener_port5022, LISTENER_IP10.10.10.1 for database_mirroringrolepartner,encryptionsupported you can see it, its listen port have been created Run the below script on mirror hostRun the below script on mirror host Use masterUse master gogo create endpoint DbMirroring statest

注意事项

本文(sql2005数据库镜像配置过程)为本站会员(sunhongz122)主动上传,蚂蚁文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知蚂蚁文库(发送邮件至2303240369@qq.com或直接QQ联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们


网站客服QQ:2303240369

copyright@ 2017-2027 mayiwenku.com 

网站版权所有  智慧蚂蚁网络

经营许可证号:ICP备2024020385号



收起
展开