在您创建数据库服务器之前,请阅读在 Windows 上升级 Rational® Synergy。
要创建服务器,无需使用 ccmsrv create 命令。仅当您通过使用 ccmsrv delete 命令删除联机服务器,然后希望创建联机服务器时,才能使用该命令。此外,如果您在安装期间未选择创建服务器,或者在安装期间数据库服务器创建失败,那么使用 ccmsrv create 命令。
在一台计算机上仅安装一个数据库服务器。
ccmsrv create 命令可创建 Informix Dynamic Server 以在特定机器上容纳一个或多个 Rational Synergy 数据库。
在您创建 Informix Dynamic Server 时,将生成并更新驻留在 CCM_HOME\informix\etc 目录中的文件。该文件称为配置文件。此外,还会更新注册表。
配置文件名称为 onconfig,并且包含服务器的众多重要参数设置。要使某些 Rational Synergy 命令正常工作,该文件必不可少。在正常情况下,请勿手动修改该文件。
您必须是 Informix-Admin 但是,此类情况不会视为本地管理员身份工作才能执行该命令。您必须在安装了 Informix 的机器上运行 ccmsrv create 命令。
针对 Windows 的 cmsrv create 命令
将提示您提供以下信息:
以下是在您不使用参数文件的情况下创建数据库服务器时可能看到的输出示例。
ccmsrv create
Please enter the maximum number of users [40]
Please enter the primary chunk path for the rootdbs dbspace
Hit Enter as default or type in different path
[c:\ifmxdata\rootdbs.000]
Size of the root chunk file in Mbytes [60]
Please enter the primary chunk path for the temp dbspace
Hit Enter as default or type in different path
[c:\ifmxdata\tempdbs.000]
Size of the temp chunk file in Mbytes [40]
Please enter the primary chunk path for the log dbspace
Hit Enter as default or type in different path
[c:\ifmxdata\log.000]
Size of the log chunk file in Mbytes [40]
Please enter the primary chunk path for the ccm dbspace
Hit Enter as default or type in different path
[c:\ifmxdata\ccm.000]
Size of the chunk file in Mbytes [80]
********************************************
Database Server Configuration
Maximum number of Users: 40
Dbspace Name: rootdbs
Root Chunk Path: c:\ifmxdata\rootdbs.000
Root Chunk Size: 60 MBytes
Dbspace Name: temp
Temp Chunk Path: c:\ifmxdata\tempdbs.000
Temp Chunk Size: 40 MBytes
Dbspace Name: log
Log Chunk Path: c:\ifmxdata\log.000
Log Chunk Size: 40 MBytes
Dbspace Name: ccm
Ccm Chunk Path: c:\ifmxdata\ccm.000
Ccm Chunk Size: 80 MBytes
********************************************
Would you like to create the database server? (Y/N) [Y]
Initializing Disk Space and Shared Memory, please wait ...
..
Processing temp, log and ccm dbspaces, please wait ...
..................
Building sysmaster and sysutils databases, please wait ....