mcolinc 发表于 2008-02-01 11:00

复制服务器创建RSSD的问题

我给定了RSSD device文件,并给了300M空间
为什么创建RSSD数据库的时候报
只创建了几M,而不是300M,due to space limitation啊

mcolinc 发表于 2008-02-01 13:35

贴一下log给大家看一下
2008/02/01 10:10:37 Running task: check the RSSD SQL Server.
2008/02/01 10:10:37 Sending the following SQL command to the server: 'dbcc
                  is_replication_enabled'.
2008/02/01 10:10:37 Task succeeded: check the RSSD SQL Server.
2008/02/01 10:10:37 Running task: configure the Replication Server System
                  Database.
2008/02/01 10:10:37 Creating logical device 'prs_rssd_data' for the RSSD
                  database.
2008/02/01 10:10:37 Sending the following SQL command to the server: 'use
                  master'.
2008/02/01 10:10:37 Sending the following SQL command to the server: 'disk init
                  name = 'prs_rssd_data', physname =
                  '/sybrep/prs_rssd_data.dat', vdevno = 2, size = 153600'.
2008/02/01 10:10:48 Created device 'prs_rssd_data'.
2008/02/01 10:10:48 Created logical device 'prs_rssd_data' for the RSSD
                  database.
2008/02/01 10:10:48 Creating logical device 'prs_rssd_log' for the RSSD log.
2008/02/01 10:10:48 Sending the following SQL command to the server: 'use
                  master'.
2008/02/01 10:10:48 Sending the following SQL command to the server: 'disk init
                  name = 'prs_rssd_log', physname =
                  '/sybrep/prs_rssd_log.dat', vdevno = 3, size = 153600'.
2008/02/01 10:10:58 Created device 'prs_rssd_log'.
2008/02/01 10:10:58 Created logical device 'prs_rssd_log' for the RSSD log.
2008/02/01 10:10:58 Creating the Replication Server System Database 'PRS_RSSD'.
2008/02/01 10:10:58 Sending the following SQL command to the server: 'use
                  master'.
2008/02/01 10:10:58 Sending the following SQL command to the server: 'create
                  database PRS_RSSD on prs_rssd_data = 300 log on prs_rssd_log
                  = 300'.
2008/02/01 10:11:36 SQL Server message: msg 1805, level 10, state 2
2008/02/01 10:11:36 "CREATE DATABASE: allocating 19200 logical pages (300.0
                  megabytes) on disk 'prs_rssd_data'.
                  "
2008/02/01 10:11:36 SQL Server message: msg 1805, level 10, state 2
2008/02/01 10:11:36 "CREATE DATABASE: allocating 19200 logical pages (300.0
                  megabytes) on disk 'prs_rssd_log'.
                  "
2008/02/01 10:12:32 WARNING: Database 'PRS_RSSD' created with a size of '75.00'
                  instead of '307200.00' due to space limitations.
2008/02/01 10:12:33 Task failed: configure the Replication Server System
                  Database. Terminating configuration.
2008/02/01 10:12:33 Configuration failed.

我实在不知道为什么了

Eisen 发表于 2008-02-13 13:59

rs_init里面不能光指定rssd device的大小,还要分别指定rssd dat和log段的大小。
否则你就是把device开上100个G,健在上面的数据库还是按照最小的建库空间-- 2M来建的。

mcolinc 发表于 2008-02-14 13:46

原帖由 Eisen 于 2008-2-13 13:59 发表 http://bbs.chinaunix.net/images/common/back.gif
rs_init里面不能光指定rssd device的大小,还要分别指定rssd dat和log段的大小。
否则你就是把device开上100个G,健在上面的数据库还是按照最小的建库空间-- 2M来建的。


那请问指定rssd dat和log段的大小
也是在rs_init里面做吗?
我好象没有看到相关的设置的地方啊

logit99 发表于 2008-02-15 10:49

那请问指定rssd dat和log段的大小
也是在rs_init里面做吗?
我好象没有看到相关的设置的地方啊

有的,就在设定 device 大小的同一个界面里

mcolinc 发表于 2008-02-15 13:25

还是有问题
进入RSSD DEVICE INFORMATION界面,如下选项
1.Size of the RSSD database:
2.RSSD device name:
3.Create theRSSD device:yes
4.RSSD device physical name:
5.RSSD device size:

并没有出现设置RSSD dat段大小的选项啊
我先前给的配置如下:
1.Size of the RSSD database:300
2.RSSD device name:PRS_RSSD_DATA
3.Create theRSSD device:yes
4.RSSD device physical name:/sybrep/PRS_RSSD_DATA.dat
5.RSSD device size:300
但是就是出现前面提到的问题

camham 发表于 2008-02-15 15:22

用资源文件建

mcolinc 发表于 2008-02-17 19:38

ls能说得更详细点吗?
什么是用资源文件建呢?

robinyyh 发表于 2008-02-19 10:59

rs_init-r 资源文件路径

默认示例资源文件的路径 %sybase%\%SYBASE_REP%\init\rs\install.rs ,可以读一下里面的注释,包含的图形界面的所有参数设置。

[ 本帖最后由 robinyyh 于 2008-2-19 11:01 编辑 ]

Eisen 发表于 2008-03-03 13:59

此外,注意在执行rs_init之前注意设置LANG=english
否则rs_init的界面上常会出现一些怪里怪气的内容要你填。
页: [1]
查看完整版本: 复制服务器创建RSSD的问题