升级windows server+sql server
2015-10-30 00:00
357 查看
现有环境:
OS:Windows Server 2008 R2 Ent SP1
![](http://static.oschina.net/uploads/img/201510/30143142_99xq.png)
DB:SQL Server 2008 R2 SP1
![](http://static.oschina.net/uploads/img/201510/30143143_A0Mh.png)
SCOM:System Center 2012 SP1的Operations Manager
计划升级至:
OS:Windows Server 2012 R2 Datacenter
DB:SQL Server 2012 Ent [SP2]
SCOM:System Center 2012 SP1的Operations Manager,不升级
升级可行性:
DB:
SQL Server 2012 支持从以下版本的 SQL Server 进行升级:
SQL Server 2005 SP4 或更高版本
SQL Server 2008 SP2 或更高版本
SQL Server 2008 R2 SP1 或更高版本
OS:
如果运行的是:
可以升级到这些版本:
带有 SP1 的 Windows Server 2008 R2 企业版
Windows Server 2012 R2 Standard 或 Windows Server 2012 R2 Datacenter
SCOM:
操作系统:Windows Server 2008 R2 SP1、Windows Server 2012、Windows Server 2012 核心安装或 Windows Server 2012 R2。
Microsoft SQL Server:SQL Server 2008 R2 SP1、SQL Server 2008 R2 SP2、SQL Server 2012、SQL Server 2012 SP1、SQL Server 2012 SP2。
添加一块硬盘,作为存储“系统备份”之用:
![](http://static.oschina.net/uploads/img/201510/30143143_RZp8.png)
![](http://static.oschina.net/uploads/img/201510/30143143_bivP.png)
![](http://static.oschina.net/uploads/img/201510/30143144_SyXl.png)
![](http://static.oschina.net/uploads/img/201510/30143144_KH4z.png)
![](http://static.oschina.net/uploads/img/201510/30143145_ZImj.png)
![](http://static.oschina.net/uploads/img/201510/30143148_Hv9C.png)
![](http://static.oschina.net/uploads/img/201510/30143148_M43r.png)
![](http://static.oschina.net/uploads/img/201510/30143148_wIEq.png)
![](http://static.oschina.net/uploads/img/201510/30143149_gvkT.png)
![](http://static.oschina.net/uploads/img/201510/30143149_VAOH.png)
![](http://static.oschina.net/uploads/img/201510/30143149_UGoA.png)
![](http://static.oschina.net/uploads/img/201510/30143150_MiS8.png)
![](http://static.oschina.net/uploads/img/201510/30143150_b1zC.png)
![](http://static.oschina.net/uploads/img/201510/30143150_ARNK.png)
![](http://static.oschina.net/uploads/img/201510/30143151_EZCp.png)
![](http://static.oschina.net/uploads/img/201510/30143151_D2Km.png)
![](http://static.oschina.net/uploads/img/201510/30143151_LGMS.png)
![](http://static.oschina.net/uploads/img/201510/30143152_408t.png)
备份完成!
![](http://static.oschina.net/uploads/img/201510/30143152_Z1iN.png)
![](http://static.oschina.net/uploads/img/201510/30143153_h6A3.png)
![](http://static.oschina.net/uploads/img/201510/30143152_A1Ry.png)
![](http://static.oschina.net/uploads/img/201510/30143153_EyiD.png)
![](http://static.oschina.net/uploads/img/201510/30143153_u5LJ.png)
C盘至少需要16G的空闲空间(否则会报错并阻止升级):
![](http://static.oschina.net/uploads/img/201510/30143153_z4hl.png)
升级成功:
![](http://static.oschina.net/uploads/img/201510/30143154_V1NG.png)
SQL Server服务运行正常:
![](http://static.oschina.net/uploads/img/201510/30143154_0GK2.png)
Report Service正常:
![](http://static.oschina.net/uploads/img/201510/30143154_u46V.png)
![](http://static.oschina.net/uploads/img/201510/30143155_Mlrn.png)
SCOM运行正常:
![](http://static.oschina.net/uploads/img/201510/30143157_OKeK.png)
暂停scom服务器
![](http://static.oschina.net/uploads/img/201510/30143156_oqEG.png)
对db服务器进行快照
![](http://static.oschina.net/uploads/img/201510/30143157_OSe5.png)
![](http://static.oschina.net/uploads/img/201510/30143157_quVU.png)
![](http://static.oschina.net/uploads/img/201510/30143158_ktk5.png)
![](http://static.oschina.net/uploads/img/201510/30143159_5En7.png)
![](http://static.oschina.net/uploads/img/201510/30143159_smxZ.png)
![](http://static.oschina.net/uploads/img/201510/30143159_8vUl.png)
![](http://static.oschina.net/uploads/img/201510/30143200_1U4z.png)
![](http://static.oschina.net/uploads/img/201510/30143200_ld5R.png)
![](http://static.oschina.net/uploads/img/201510/30143201_pZzz.png)
![](http://static.oschina.net/uploads/img/201510/30143201_AABt.png)
检查升级规则出现错误:
![](http://static.oschina.net/uploads/img/201510/30143202_7MhG.png)
解决:
修改配置文件C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config,注释如下行:
重启服务:
![](http://static.oschina.net/uploads/img/201510/30143202_6Ajo.png)
重新检查升级规则,通过:
![](http://static.oschina.net/uploads/img/201510/30143202_9wTh.png)
![](http://static.oschina.net/uploads/img/201510/30143203_bbjm.png)
![](http://static.oschina.net/uploads/img/201510/30143204_q4oy.png)
![](http://static.oschina.net/uploads/img/201510/30143205_uc08.png)
升级成功,重启服务器。
查看服务运行正常:
![](http://static.oschina.net/uploads/img/201510/30143205_Drzm.png)
查看Engine版本:
![](http://static.oschina.net/uploads/img/201510/30143205_upRA.png)
OS:Windows Server 2008 R2 Ent SP1
![](http://static.oschina.net/uploads/img/201510/30143142_99xq.png)
DB:SQL Server 2008 R2 SP1
![](http://static.oschina.net/uploads/img/201510/30143143_A0Mh.png)
SCOM:System Center 2012 SP1的Operations Manager
计划升级至:
OS:Windows Server 2012 R2 Datacenter
DB:SQL Server 2012 Ent [SP2]
SCOM:System Center 2012 SP1的Operations Manager,不升级
升级可行性:
DB:
SQL Server 2012 支持从以下版本的 SQL Server 进行升级:
SQL Server 2005 SP4 或更高版本
SQL Server 2008 SP2 或更高版本
SQL Server 2008 R2 SP1 或更高版本
OS:
如果运行的是:
可以升级到这些版本:
带有 SP1 的 Windows Server 2008 R2 企业版
Windows Server 2012 R2 Standard 或 Windows Server 2012 R2 Datacenter
SCOM:
操作系统:Windows Server 2008 R2 SP1、Windows Server 2012、Windows Server 2012 核心安装或 Windows Server 2012 R2。
Microsoft SQL Server:SQL Server 2008 R2 SP1、SQL Server 2008 R2 SP2、SQL Server 2012、SQL Server 2012 SP1、SQL Server 2012 SP2。
一、升级OS
防止升级系统失败,使用"windows server backup"备份现有系统:添加一块硬盘,作为存储“系统备份”之用:
![](http://static.oschina.net/uploads/img/201510/30143143_RZp8.png)
![](http://static.oschina.net/uploads/img/201510/30143143_bivP.png)
![](http://static.oschina.net/uploads/img/201510/30143144_SyXl.png)
1.安装window server backup
![](http://static.oschina.net/uploads/img/201510/30143144_KH4z.png)
![](http://static.oschina.net/uploads/img/201510/30143145_ZImj.png)
2.配置性能设置
![](http://static.oschina.net/uploads/img/201510/30143148_Hv9C.png)
3.一次性备份
![](http://static.oschina.net/uploads/img/201510/30143148_M43r.png)
![](http://static.oschina.net/uploads/img/201510/30143148_wIEq.png)
![](http://static.oschina.net/uploads/img/201510/30143149_gvkT.png)
![](http://static.oschina.net/uploads/img/201510/30143149_VAOH.png)
![](http://static.oschina.net/uploads/img/201510/30143149_UGoA.png)
![](http://static.oschina.net/uploads/img/201510/30143150_MiS8.png)
![](http://static.oschina.net/uploads/img/201510/30143150_b1zC.png)
![](http://static.oschina.net/uploads/img/201510/30143150_ARNK.png)
![](http://static.oschina.net/uploads/img/201510/30143151_EZCp.png)
![](http://static.oschina.net/uploads/img/201510/30143151_D2Km.png)
![](http://static.oschina.net/uploads/img/201510/30143151_LGMS.png)
![](http://static.oschina.net/uploads/img/201510/30143152_408t.png)
备份完成!
4.升级系统
插入CD:![](http://static.oschina.net/uploads/img/201510/30143152_Z1iN.png)
![](http://static.oschina.net/uploads/img/201510/30143153_h6A3.png)
![](http://static.oschina.net/uploads/img/201510/30143152_A1Ry.png)
![](http://static.oschina.net/uploads/img/201510/30143153_EyiD.png)
![](http://static.oschina.net/uploads/img/201510/30143153_u5LJ.png)
C盘至少需要16G的空闲空间(否则会报错并阻止升级):
![](http://static.oschina.net/uploads/img/201510/30143153_z4hl.png)
升级成功:
![](http://static.oschina.net/uploads/img/201510/30143154_V1NG.png)
SQL Server服务运行正常:
![](http://static.oschina.net/uploads/img/201510/30143154_0GK2.png)
Report Service正常:
![](http://static.oschina.net/uploads/img/201510/30143154_u46V.png)
![](http://static.oschina.net/uploads/img/201510/30143155_Mlrn.png)
SCOM运行正常:
![](http://static.oschina.net/uploads/img/201510/30143157_OKeK.png)
二、升级SQL Server
1.备份数据库
在此采用冷备份:暂停scom服务器
![](http://static.oschina.net/uploads/img/201510/30143156_oqEG.png)
对db服务器进行快照
![](http://static.oschina.net/uploads/img/201510/30143157_OSe5.png)
2.开始升级
插入CD,运行sql server 2012安装程序:![](http://static.oschina.net/uploads/img/201510/30143157_quVU.png)
![](http://static.oschina.net/uploads/img/201510/30143158_ktk5.png)
![](http://static.oschina.net/uploads/img/201510/30143159_5En7.png)
![](http://static.oschina.net/uploads/img/201510/30143159_smxZ.png)
![](http://static.oschina.net/uploads/img/201510/30143159_8vUl.png)
![](http://static.oschina.net/uploads/img/201510/30143200_1U4z.png)
![](http://static.oschina.net/uploads/img/201510/30143200_ld5R.png)
![](http://static.oschina.net/uploads/img/201510/30143201_pZzz.png)
![](http://static.oschina.net/uploads/img/201510/30143201_AABt.png)
检查升级规则出现错误:
![](http://static.oschina.net/uploads/img/201510/30143202_7MhG.png)
解决:
修改配置文件C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config,注释如下行:
<!-- <Security> <Extension Name="Windows" Type="Microsoft.EnterpriseManagement.Reporting.Security.GroupAuthorization, Microsoft.EnterpriseManagement.Reporting.Security"> <Configuration> <Connection> <ServerName>scom.contoso.com</ServerName> </Connection> </Configuration> </Extension> </Security> <Authentication> <Extension Name="Windows" Type="Microsoft.EnterpriseManagement.Reporting.Security.GroupAuthentication, Microsoft.EnterpriseManagement.Reporting.Security"> <Configuration> <Connection> <ServerName>scom.contoso.com</ServerName> </Connection> </Configuration> </Extension> </Authentication> -->
重启服务:
![](http://static.oschina.net/uploads/img/201510/30143202_6Ajo.png)
重新检查升级规则,通过:
![](http://static.oschina.net/uploads/img/201510/30143202_9wTh.png)
![](http://static.oschina.net/uploads/img/201510/30143203_bbjm.png)
![](http://static.oschina.net/uploads/img/201510/30143204_q4oy.png)
![](http://static.oschina.net/uploads/img/201510/30143205_uc08.png)
升级成功,重启服务器。
查看服务运行正常:
![](http://static.oschina.net/uploads/img/201510/30143205_Drzm.png)
查看Engine版本:
![](http://static.oschina.net/uploads/img/201510/30143205_upRA.png)
相关文章推荐
- mariadb-galera-cluster脑裂
- DNS服务的概念及 架设
- mysql的order by与where出现的好玩事
- Oracle数据库创建表空间、用户及数据的导入、导出【源自于实战】
- [Django数据库模型]创建一个简易的Django APP
- Oracle备份与恢复
- 数据库中的并发
- oracle增量备份
- [Django数据库模型]理解Django里的MTV开发模式
- [Django数据库模型]Django遍历视图传递过来的元组
- X皮书之初识Redis(基本操作)
- 防sql注入解决方法
- [Django数据库模型]Django连接MySQL数据库的简单例子
- SQL Server中查询语句sql等SQL Server2008
- 在SQL Server中用代码创建数据库、 创建表、创建主外键等SQL Server2008
- MySql数据库主从同步配置(亲测)
- MySQL 5.7.17源码编译安装说明
- 让MySQL数据库支持Emoji表情
- Oracle内置函数内容整理
- Oracle连接查询内容整理