mongodb2.6.7升级3.03

MongoDB 3.0于2015年3月3日正式发布。可以毫不夸张的说,该版本的新增特性标志着MongoDB这款典型的NoSQL数据库已经进入了一个全新的发展阶段。

3.0版本的新增特性

插件式存储引擎API

WiredTiger存储引擎

MMAPv1存储引擎提升

复制集改进

分片集群改进

由于使用到3.0新增的功能,我们决定升级mongodb-3.0.3

本地测试

IP:192.168.5.66  

系统版本:Centos6.5_64-2.6.32  

Mongodb版本:

mongodb-linux-x86_64-2.6.7.tgz

mongodb-linux-x86_64-3.0.3.gz

测试机一台启动不同端口  一个mongos  一个configdb  两个分片  2个仲裁节点

端口分配:

分片1:

shard1(副本集):192.168.5.66:27001

shard11(主):192.168.5.66:27011

arbiter1(权重):192.168.5.66:27000

分片2:

shard2(副本集):192.168.5.66:27002

shaed22(主):192.168.5.66:27022

arbiter2(权重):192.168.5.66:27222

mongos:192.168.5.66:27111

configdb:192.168.5.66:27100

2.配置mongodb-2.6.7集群

分片1主库:

/usr/local/mongodb-2.6.7/bin/mongod -f /usr/local/mongodb-2.6.7/conf/shard11.conf

[[email protected] ~]# cat /usr/local/mongodb-2.6.7/conf/shard11.conf

logpath = /data/logs/shard11.log

logappend = true

pidfilepath = /data/mdb/shard11/shard1.pid

dbpath = /data/mdb/shard11/data

directoryperdb = true

replSet = replset1

rest = true

oplogSize = 1024

fork = true

shardsvr = true

port = 27011

journal = true


分片1副本集:

/usr/local/mongodb-2.6.7/bin/mongod -f /usr/local/mongodb-2.6.7/conf/shard1.conf

[[email protected] ~]# cat /usr/local/mongodb-2.6.7/conf/shard1.conf

logpath = /data/logs/shard1.log

logappend = true

pidfilepath = /data/mdb/shard1/shard1.pid

dbpath = /data/mdb/shard1/data

directoryperdb = true

replSet = replset1

rest = true

oplogSize = 1024

fork = true

shardsvr = true

port = 27001

journal = true



分片1仲裁:

/usr/local/mongodb-2.6.7/bin/mongod -f /usr/local/mongodb-2.6.7/conf/arbiter1.conf

[[email protected] ~]# cat /usr/local/mongodb-2.6.7/conf/arbiter1.conf

logpath = /data/logs/arbiter1.log

logappend = true

pidfilepath = /data/mdb/arbiter1/arbiter1.pid

dbpath = /data/mdb/arbiter1/data

directoryperdb = true

replSet = replset1

rest = true

oplogSize = 1024

fork = true

shardsvr = true

port = 27000

journal = true

分片2主库:

/usr/local/mongodb-2.6.7/bin/mongod -f /usr/local/mongodb-2.6.7/conf/shard22.conf  

[[email protected] ~]# cat /usr/local/mongodb-2.6.7/conf/shard22.conf

logpath = /data/logs/shard22.log

logappend = true

pidfilepath = /data/mdb/shard22/shard22.pid

dbpath = /data/mdb/shard22/data

directoryperdb = true

replSet = replset2

rest = true

oplogSize = 1024

fork = true

shardsvr = true

port = 27022

journal = true

 


分片2副本集:  

/usr/local/mongodb-2.6.7/bin/mongod -f /usr/local/mongodb-2.6.7/conf/shard2.conf

[[email protected] ~]# cat /usr/local/mongodb-2.6.7/conf/shard2.conf

logpath = /data/logs/shard2.log

logappend = true

pidfilepath = /data/mdb/shard2/shard2.pid

dbpath = /data/mdb/shard2/data

directoryperdb = true

replSet = replset2

rest = true

oplogSize = 1024

fork = true

shardsvr = true

port = 27002

journal = true

        


分片2仲裁:  

/usr/local/mongodb-2.6.7/bin/mongod -f /usr/local/mongodb-2.6.7/conf/arbiter2.conf

[[email protected] ~]# cat /usr/local/mongodb-2.6.7/conf/arbiter2.conf

logpath = /data/logs/arbiter2.log

logappend = true

pidfilepath = /data/mdb/arbiter2/arbiter1.pid

dbpath = /data/mdb/arbiter2/data

directoryperdb = true

replSet = replset2

rest = true

oplogSize = 1024

fork = true

shardsvr = true

port = 27222

journal = true

     

configdb:

/usr/local/mongodb-2.6.7/bin/mongod -f /usr/local/mongodb-2.6.7/conf/configdb.conf

[[email protected] ~]# cat /usr/local/mongodb-2.6.7/conf/configdb.conf

logpath = /data/logs/configdb.log

logappend = true

pidfilepath = /data/mdb/configdb/config.pid

dbpath = /data/mdb/configdb/data

fork = true

port = 27100

oplogSize = 2048

configsvr = true

    


mongos:

/usr/local/mongodb-2.6.7/bin/mongos -f /usr/local/mongodb-2.6.7/conf/mongos.conf

[[email protected] ~]# cat /usr/local/mongodb-2.6.7/conf/mongos.conf

logpath = /data/logs/mongos.log

logappend = true

fork = true

port = 27111

configdb = 192.168.5.66:27100

       

分片配置:

     分片1/usr/local/mongodb-2.6.7/bin/mongo 192.168.5.66:27011

config = {_id:"replset1", members:[

{_id:0,host:"192.168.5.66:27001",priority:4},

{_id:1,host:"192.168.5.66:27011",priority:5},

{_id:2,host:"192.168.5.66:27000",arbiterOnly:true},

]

}

rs.initiate(config); //更新配置

rs.status()          //查看配置信息

分片2/usr/local/mongodb-2.6.7/bin/mongo 192.168.5.66:27022

config = {_id:"replset2", members:[

{_id:0,host:"192.168.5.66:27002",priority:4},

{_id:1,host:"192.168.5.66:27022",priority:5},

{_id:2,host:"192.168.5.66:27222",arbiterOnly:true},

]

}

rs.initiate(config);  //更新配置

rs.status()          //查看配置信息

mongos添加路由信息:/usr/local/mongodb-2.6.7/bin/mongo 192.168.5.66:27111/admin

目前搭建了mongodb配置服务器、路由服务器,各个分片服务器,不过应用程序连接到 mongos 路由服务器并不能使用分片机制,还需要在程序里设置分片配置,让分片生效。

#串联路由服务器与分配副本集1

db.runCommand({addshard :"replset1/192.168.5.66:27001,192.168.5.66:27011"});

#串联路由服务器与分配副本集1

db.runCommand({addshard :"replset2/192.168.5.66:27002,192.168.5.66:27022"});

use admin

printShardingStatus()          //查看分片信息

3.手动添加数据:/usr/local/mongodb-2.6.7/bin/mongo 192.168.5.66:27111/admin

use testapm

for (var i= 1; i <= 20; i++)db.haha.save({tid:i,name:"username"+i,age:i});

for (var i= 1; i <= 10; i++)db.table1.save({tid:i,name:"username"+i,age:i});

for (var i= 1; i <= 15; i++)db.table2.save({tid:i,name:"username"+i,age:i});

use crash

for (var i= 1; i <= 15; i++)db.tab1.save({tid:i,name:"username"+i,age:i});

for (var i= 1; i <= 15; i++)db.tab2.save({tid:i,name:"username"+i,age:i});

for (var i= 1; i <= 15; i++)db.table3.save({tid:i,name:"username"+i,age:i});

4.开始升级mongos和configdb先升级

拷贝配置文件:

cp /usr/local/mongodb-2.6.7/conf/* /usr/local/mongodb-3.0.3/conf/

mongodb3.0.3的数据目录和2.6.7数据目录分开

创建新的数据目录:

mkdir /data/mdb2/{shard1,configdb,shard11,shard2,shard22,arbiter1,arbiter2}/data -p

需要修改3.0.3版本配置文件,修改数据存储路径:

configdb.conf  ==》   dbpath = /data/mdb2/configdb/data

shard1.conf   ==》  dbpath = /data/mdb2/shard1/data   storageEngine=wiredTiger //添加新的数据引擎

shard11.conf   ==》  dbpath = /data/mdb2/shard11/data   storageEngine=wiredTiger //添加新的数据引擎

shard2.conf   ==》  dbpath = /data/mdb2/shard2/data   storageEngine=wiredTiger //添加新的数据引擎

shard22.conf   ==》  dbpath = /data/mdb2/shard22/data   storageEngine=wiredTiger //添加新的数据引擎

arbiter1.conf  ==》  dbpath = /data/mdb2/arbiter1/data   storageEngine=wiredTiger //添加新的数据引擎

arbiter2.conf  ==》  dbpath = /data/mdb2/arbiter2/data   storageEngine=wiredTiger //添加新的数据引擎

首先备份configdb数据库:

/usr/local/mongodb-2.6.7/bin/mongodump -h192.168.5.66:27100 -o 2.6.7conf

然后停掉configdb

启动3.0.3 configdb:

/usr/local/mongodb-3.0.3/bin/mongod -f /usr/local/mongodb-3.0.3/conf/configdb.conf

mongos停掉然后执行

/usr/local/mongodb-3.0.3/bin/mongos -f/usr/local/mongodb-3.0.3/conf/mongos.conf  --upgrade

启动mongos3.0.3:

/usr/local/mongodb-3.0.3/bin/mongos -f/usr/local/mongodb-3.0.3/conf/mongos.conf

configdb导入数据:/usr/local/mongodb-3.0.3/bin/mongorestore -h192.168.5.66:27100 --dir /root/2.6.7conf/

Configdb和mongos3.0.3升级完成

5.数据库升级3.0.3

a.将2.6.7版的分片1主库停掉,2.6.7版本从库自动升级为主库,启动配置为3.0.3版本新的数据引擎, 启动以后开始复制数据数据复制完以后接管主库。

连接3.0.3版本分片1主库查看:


[[email protected] data]#/usr/local/mongodb-3.0.3/bin/mongo 192.168.5.66:27011

MongoDB shell version: 3.0.3

connecting to: 192.168.5.66:27011/test

Server has startup warnings:

2015-05-20T21:11:16.919+0800 I CONTROL  ** WARNING: --rest is specified without--httpinterface,

2015-05-20T21:11:16.920+0800 I CONTROL  **         enabling http interface

2015-05-20T21:11:17.469+0800 I CONTROL  [initandlisten] ** WARNING: You are runningthis process as the root user, which is not recommended.

2015-05-20T21:11:17.469+0800 I CONTROL  [initandlisten]

2015-05-20T21:11:17.470+0800 I CONTROL  [initandlisten]

2015-05-20T21:11:17.470+0800 I CONTROL  [initandlisten] ** WARNING:/sys/kernel/mm/transparent_hugepage/enabled is ‘always‘.

2015-05-20T21:11:17.470+0800 I CONTROL  [initandlisten] **        We suggest setting it to ‘never‘

2015-05-20T21:11:17.470+0800 I CONTROL  [initandlisten]

2015-05-20T21:11:17.470+0800 I CONTROL  [initandlisten] ** WARNING:/sys/kernel/mm/transparent_hugepage/defrag is ‘always‘.

2015-05-20T21:11:17.470+0800 I CONTROL  [initandlisten] **        We suggest setting it to ‘never‘

2015-05-20T21:11:17.470+0800 I CONTROL  [initandlisten]

replset1:PRIMARY> show dbs

local    0.000GB

testapm  0.000GB

replset1:PRIMARY> use testapm

switched to db testapm

replset1:PRIMARY> show collections

haha

table1

table2

replset1:PRIMARY> db.haha.find()

{ "_id" :ObjectId("555c858d9252c900b8cdeadc"), "tid" : 1,"name" : "username1", "age" : 1 }

{ "_id" :ObjectId("555c858e9252c900b8cdeadd"), "tid" : 2,"name" : "username2", "age" : 2 }

{ "_id" : ObjectId("555c858e9252c900b8cdeade"),"tid" : 3, "name" : "username3", "age": 3 }

{ "_id" :ObjectId("555c858e9252c900b8cdeadf"), "tid" : 4,"name" : "username4", "age" : 4 }

{ "_id" :ObjectId("555c858e9252c900b8cdeae0"), "tid" : 5,"name" : "username5", "age" : 5 }

{ "_id" : ObjectId("555c858e9252c900b8cdeae1"),"tid" : 6, "name" : "username6", "age": 6 }

{ "_id" :ObjectId("555c858e9252c900b8cdeae2"), "tid" : 7,"name" : "username7", "age" : 7 }

{ "_id" :ObjectId("555c858e9252c900b8cdeae3"), "tid" : 8,"name" : "username8", "age" : 8 }

{ "_id" :ObjectId("555c858e9252c900b8cdeae4"), "tid" : 9,"name" : "username9", "age" : 9 }

{ "_id" :ObjectId("555c858e9252c900b8cdeae5"), "tid" : 10,"name" : "username10", "age" : 10 }

{ "_id" :ObjectId("555c858e9252c900b8cdeae6"), "tid" : 11,"name" : "username11", "age" : 11 }

{ "_id" :ObjectId("555c858e9252c900b8cdeae7"), "tid" : 12,"name" : "username12", "age" : 12 }

{ "_id" :ObjectId("555c858e9252c900b8cdeae8"), "tid" : 13,"name" : "username13", "age" : 13 }

{ "_id" : ObjectId("555c858e9252c900b8cdeae9"),"tid" : 14, "name" : "username14","age" : 14 }

{ "_id" :ObjectId("555c858e9252c900b8cdeaea"), "tid" : 15,"name" : "username15", "age" : 15 }

{ "_id" :ObjectId("555c858e9252c900b8cdeaeb"), "tid" : 16,"name" : "username16", "age" : 16 }

{ "_id" :ObjectId("555c858e9252c900b8cdeaec"), "tid" : 17,"name" : "username17", "age" : 17 }

{ "_id" :ObjectId("555c858e9252c900b8cdeaed"), "tid" : 18,"name" : "username18", "age" : 18 }

{ "_id" :ObjectId("555c858e9252c900b8cdeaee"), "tid" : 19,"name" : "username19", "age" : 19 }

{ "_id" :ObjectId("555c858e9252c900b8cdeaef"), "tid" : 20,"name" : "username20", "age" : 20 }

replset1:PRIMARY> db.table1.find()

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf0"), "tid" : 1,"name" : "username1", "age" : 1 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf1"), "tid" : 2,"name" : "username2", "age" : 2 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf2"), "tid" : 3,"name" : "username3", "age" : 3 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf3"), "tid" : 4,"name" : "username4", "age" : 4 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf4"), "tid" : 5,"name" : "username5", "age" : 5 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf5"), "tid" : 6,"name" : "username6", "age" : 6 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf6"), "tid" : 7,"name" : "username7", "age" : 7 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf7"), "tid" : 8,"name" : "username8", "age" : 8 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf8"), "tid" : 9,"name" : "username9", "age" : 9 }

{ "_id" : ObjectId("555c85ac9252c900b8cdeaf9"),"tid" : 10, "name" : "username10","age" : 10 }

replset1:PRIMARY> db.table2.find()

{ "_id" :ObjectId("555c85b99252c900b8cdeafa"), "tid" : 1,"name" : "username1", "age" : 1 }

{ "_id" :ObjectId("555c85b99252c900b8cdeafb"), "tid" : 2,"name" : "username2", "age" : 2 }

{ "_id" :ObjectId("555c85b99252c900b8cdeafc"), "tid" : 3,"name" : "username3", "age" : 3 }

{ "_id" :ObjectId("555c85b99252c900b8cdeafd"), "tid" : 4,"name" : "username4", "age" : 4 }

{ "_id" : ObjectId("555c85b99252c900b8cdeafe"),"tid" : 5, "name" : "username5", "age": 5 }

{ "_id" :ObjectId("555c85b99252c900b8cdeaff"), "tid" : 6,"name" : "username6", "age" : 6 }

{ "_id" :ObjectId("555c85b99252c900b8cdeb00"), "tid" : 7,"name" : "username7", "age" : 7 }

{ "_id" :ObjectId("555c85b99252c900b8cdeb01"), "tid" : 8,"name" : "username8", "age" : 8 }

{ "_id" :ObjectId("555c85b99252c900b8cdeb02"), "tid" : 9,"name" : "username9", "age" : 9 }

{ "_id" :ObjectId("555c85b99252c900b8cdeb03"), "tid" : 10,"name" : "username10", "age" : 10 }

{ "_id" :ObjectId("555c85b99252c900b8cdeb04"), "tid" : 11,"name" : "username11", "age" : 11 }

{ "_id" :ObjectId("555c85b99252c900b8cdeb05"), "tid" : 12,"name" : "username12", "age" : 12 }

{ "_id" : ObjectId("555c85b99252c900b8cdeb06"),"tid" : 13, "name" : "username13","age" : 13 }

{ "_id" :ObjectId("555c85b99252c900b8cdeb07"), "tid" : 14,"name" : "username14", "age" : 14 }

{ "_id" :ObjectId("555c85b99252c900b8cdeb08"), "tid" : 15,"name" : "username15", "age" : 15 }

replset1:PRIMARY>

b.停掉2.6.7版本从库,配置3.0.3版本新数据引擎启动。


[[email protected] data]#/usr/local/mongodb-3.0.3/bin/mongo 192.168.5.66:27001

MongoDB shell version: 3.0.3

connecting to: 192.168.5.66:27001/test

Server has startup warnings:

2015-05-20T21:32:18.322+0800 I CONTROL  ** WARNING: --rest is specified without--httpinterface,

2015-05-20T21:32:18.322+0800 I CONTROL  **         enabling http interface

2015-05-20T21:32:18.888+0800 I CONTROL  [initandlisten] ** WARNING: You are runningthis process as the root user, which is not recommended.

2015-05-20T21:32:18.888+0800 I CONTROL  [initandlisten]

2015-05-20T21:32:18.888+0800 I CONTROL  [initandlisten]

2015-05-20T21:32:18.888+0800 I CONTROL  [initandlisten] ** WARNING:/sys/kernel/mm/transparent_hugepage/enabled is ‘always‘.

2015-05-20T21:32:18.888+0800 I CONTROL  [initandlisten] **        We suggest setting it to ‘never‘

2015-05-20T21:32:18.889+0800 I CONTROL  [initandlisten]

2015-05-20T21:32:18.889+0800 I CONTROL  [initandlisten] ** WARNING:/sys/kernel/mm/transparent_hugepage/defrag is ‘always‘.

2015-05-20T21:32:18.889+0800 I CONTROL  [initandlisten] **        We suggest setting it to ‘never‘

2015-05-20T21:32:18.889+0800 I CONTROL  [initandlisten]

replset1:STARTUP2>

replset1:SECONDARY>

replset1:SECONDARY>

replset1:SECONDARY>

replset1:SECONDARY>

replset1:SECONDARY>show dbs

2015-05-20T21:32:56.364+0800 E QUERY    Error: listDatabases failed:{"note" : "from execCommand", "ok" : 0,"errmsg" : "not master" }      //当在从节点查看数据时  会报错

对于replica set 中的secondary 节点默认是不可读的,

在各个从节点  执行  db.getMongo().setSlaveOk();    这个就行了

at Error(<anonymous>)

atMongo.getDBs (src/mongo/shell/mongo.js:47:15)

atshellHelper.show (src/mongo/shell/utils.js:630:33)

atshellHelper (src/mongo/shell/utils.js:524:36)

at (shellhelp2):1:1at src/mongo/shell/mongo.js:47

replset1:SECONDARY>db.getMongo().setSlaveOk();

replset1:SECONDARY> show dbs

local    0.000GB

testapm  0.000GB

replset1:SECONDARY>use testapm

switched to db testapm

replset1:SECONDARY>show collections

haha

table1

table2

replset1:SECONDARY>db.table1.find()

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf0"), "tid" : 1,"name" : "username1", "age" : 1 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf1"), "tid" : 2,"name" : "username2", "age" : 2 }

{ "_id" : ObjectId("555c85ac9252c900b8cdeaf2"),"tid" : 3, "name" : "username3", "age": 3 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf3"), "tid" : 4,"name" : "username4", "age" : 4 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf4"), "tid" : 5,"name" : "username5", "age" : 5 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf5"), "tid" : 6,"name" : "username6", "age" : 6 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf6"), "tid" : 7,"name" : "username7", "age" : 7 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf7"), "tid" : 8,"name" : "username8", "age" : 8 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf8"), "tid" : 9,"name" : "username9", "age" : 9 }

{ "_id" :ObjectId("555c85ac9252c900b8cdeaf9"), "tid" : 10,"name" : "username10", "age" : 10 }

replset1:SECONDARY>

c.升级2.6.7仲裁节点arbiter1和2.6.7分片2步骤和上边一样不在描述

6.不同版本数据size变化


mongo-2.6.7版本数据:

mongo-3.0.3版本数据:


总结:**注意最终还是需要停mongos和configdb(mongos和configdb也需要升级,停止几分钟即可)**

Mongo-2.6.7数据升级(导入)为Mongo-3.0.3。数据显示要比老版本少,不确定是不是新的引擎数据有压缩。

注意:该环境为测试环境测试,仅供参考。

线上环境升级请在测试环境模拟线上测试,在确认没有问题,再在线上实施。



文章mongodb3.0新特性:

http://www.open-open.com/lib/view/open1427078982824.html#_label3

官方文档:http://docs.mongodb.org/manual/release-notes/3.0/

时间: 2024-10-24 17:19:38

mongodb2.6.7升级3.03的相关文章

拇指接龙游戏升级记录03(升级MainScene.cpp)

MainScene是拇指接龙游戏的主游戏场景文件,拥有近5000行代码. 说实在的,实现自cocos2d-x 2.x版本向当下最新的3.8.1版本的升级过程,其中涉及的技术不是一下能够说明的.有些是形式上的简单修改,更多的则是性能上的提升相应的修改. 简单总结一下主场景文件MainScene的升级工作.主要集中在如下几个方面: 1.扑克拖动相关事件的升级修改: 这一点在网络上已经有不少细致的资料,在此不赘述,请参考后面的引文. 如今的手指移动事件操作起来要比2.x时期简化多了. 2. CCArr

Exchange2003sp2迁移到exchange2010sp2

文章内容只是记录了公司的邮件升级的过程,写的不是很规范,就当做是一个参考,望见谅... 在这个安装过程中我们遇到了一些问题,事后感觉问题很好解决,但是在没有找到解决方法之前却花费了好多的时间,导致整个进程比较缓慢,因为之前在虚拟机里面操作虽然和真实环境的机器名称及ip地址.域名都一样,但是却是全新的安装,而且也没有模拟出来生产环境中的大数据,接下来我们就回顾一下安装前准备.操作过程以及过程中遇到的问题及解决方法. 安装前的环境,我们的现实环境是一台DC(DC1),一台Exchange2003sp

活动目录管理及维护----------操作主机1(转移主机优化域控制器,占用操作主机较色,升级03域控制器到08)

享受生活  热爱挑战                                                                                        刘明远分享                 六操作主机  上(本章分两节) 每章一段话 没有永远的缘份,没有永远的生命,我们所能拥有的,可能只是平凡的一生.然而因为有你,生命便全然不同,世界也许因你而更加精彩.不要放弃了自己!!! (本章实验:转移主机的优化域控制器.  占用操作主机角色) 一  操作主

Win Server 03 AD升级到Win Server 08R2 AD(四)

18.将AD003服务器降级,运行dcpromo打开向导界面: 步骤说明这里就不做详细说明了: 19.降级成功后,我们需要使用客户端登入测试一下,如下图所示可以正常登入测试账号test01: 20.在新的域控服务器上看可以看见所有组织就用户信息,到此windows server 2003 AD升级windows server 2008R2 AD 就成功完成了,下一步就需要在部署一台额外AD这里就不详细说明了,步骤跟03基本一样:

AIX6.1上升级安装gcc 4.2.0-3

用户来信表达了:We are now facing the apache compile failure issue, and we found out it's should be the very old version GCC, while the OS was already upgrade to 6100 but we are still using GCC for powerpc-ibm-aix5.3.0.0, and "We had checked this compile cou

3分钟完成MongoDB2.6升级3.0

3分钟完成MongoDB2.6升级3.0 前言 Part1:写在最前 自从3.0版本起,MongoDB支持了WT存储引擎,这个引擎相对老的MMAPv1存储引擎来讲,具有更高的压缩比,且支持文档级并发控制.也正因为WT的优良特性,在MongoDB3.2版本起,WT存储引擎作为了默认存储引擎.本文将简述2.6升级3.0的过程和注意事项 实战 Part1:建议和清单 限制 要升级到3.0版本,首先现有集群必须是2.6版本.如果是早期的版本,则必须先升级到2.6版本才可以升级3.0版本.如果2.6集群已

Mongodb2.6升级到Mongodb3.0.2

停止老版本Mongodb >use admin >db.shutdownServer(); 下载解压新版本Mongodb wget https://fastdl.mongodb.org/linux/mongodb-linux-i686-3.0.2.tgz gzip -d mongodb-linux-i686-3.0.2.tgz tar xvf mongodb-linux-i686-3.0.2.tar mv mongodb-linux-i686-3.0.2 mongodb3.0.2 创建两个目录

Win Server 03 AD升级到Win Server 08R2 AD(一)

Windows Server 2003 AD升级到Windows Server 2008R2 AD 作者:牛志会 操作系统版本 服务器角色 IP地址 Windows Server 2003R2 主AD 192.168.1.10 Windows Server 2003R2 辅助AD 192.168.1.20 Windows Server 2008R2 主AD 192.168.1.30 Windows Server 2008R2 辅助AD 192.168.1.40 升级前环境: DC03: AD00

复习练习(03)jquery Css方法一步步升级

jquery Css方法一步步升级 <script src="jquery-1.8.3.js"></script> <script type="text/javascript"> //css 方法 一步步升级 //1.css /* $(function () { $("input").click(function() { $(".shang").css("font-size&quo