简介
versant 组件
Standard components
Component | Description |
Versant ODBMS | Versant Object Database Management System |
GUI Tools | Versant GUI tools including Versant Management Center |
Versant C | C language interface for Versant ODBMS |
Versant C++ | C++ language interface for Versant ODBMS |
Versant JDO | JDO interface for Versant ODBMS |
Versant JVI | Java language interface for Versant ODBMS |
Versant Compact | Versant online database reorganization tool (vcompactdb) |
Add-on components
Component | Decription |
Versant AsyncReplication | Asynchronous replication for Versant Object Database |
Versant FTS | Fault-tolerant Versant ODBMS server (FTS) |
Versant HABackup | Backup solution for use with a high-availability server |
Versant SQL | Structured Query Language (SQL)interface forVersant Object Database |
Versant ODBC | Versant ODBC driver |
系统及组件需求
安装前考虑
安装模式
开发模式(带SDK)、服务器模式、管理模式,或者其他的结合体。
安装方式
静默安装、Console 安装
补丁&更新V/OD 8
首先,停止所有的databases, (使用stopdb utility 工具),然后像往常安装数据库一样安装程序,安装过程中尽量不要点Cacel ,以免造成版本冲突。
打补丁时候,配置文件会继续保持以前的,Next 操作就可以。
安装补丁过程中,不得移除组件,如果必须需要移除一些组件,则需要重新安装V/OD 8。
Versant Object Database 8 使用早于V/OD 8 的server 版本
当Versant Object Database 8 使用早于V/OD 8 的server 版本,客户端确实都可以连接到这个server ,但是Versant SQL仅仅能在V/OD 8上使用。
Database Stop Procedure
When upgrading from an older version of Versant Object Database, you need to first prepare your currently installed system. As a first step, you must stop all running databases by performing the following steps. It is important that you follow the procedure exactly as specified below, without using any extra options with the commands otherwise your logfiles will not be empty.
1. Call dbinfo -1 databaseName (to ensure that no user will use the database after you stop it in the next step)
2. Call stopdb databaseName
3. Call startdb databaseName
(this will run through the physical and the logical recovery and thus will empty the logical log; the log files will need to be empty in order to be able to run the 8.0.2 conversion tool, convertdb (cnvrtdb for Windows systems), as a post installation step) The only supported way of converting a database from an older to a newer major V/OD release version is via convertdb (cnvrtdb for Windows systems). Using tools such as vcopydb to move data between versions is not supported.
4. Call stopdb databaseName once again
Trial License
可以使用一个试用License进行安装试用。
安装Path
如果安装在Windows 时,注意安装Path 中不能包含间隔。
加入DB 群
需要知道主节点的名字。
Linux RHEL 5.4 安装Versant Object Database
Linux RHEL 5.4 安装Versant Object Database时候会出现错误,这是 RHEL 5.4的Bug。换高版本RHEL 解决该问题。
具体安装过程
首先注意安装时候,应以管理员身份进行安装。
Temporary Files文件位置
默认会创建在当前安装脚本的目录,可以指定其位置如下:
Using a csh or tcsh command shell (Unix/Linux) setenv INSTALL4J_TEMP /tmp
Using a ksh or bash command shell (Unix/Linux) export INSTALL4J_TEMP=/tmp
Using the cmd.exe command shell (Windows) set INSTALL4J_TEMP=%TEMP% (uses the directory specified by the system TEMP environment variable)
Installation Log File
The installer produces a log file in the directory used for the temporary files, The log file has a name following the pattern i4j_log_VOD_*.log. If the installation fails to complete successfully, the log file may provide help in determining the reason. This can be of particular value when using the silent installer. (If the installation is successful the log file is cleaned up along with the other temporary files.)
License your Versant installation
Multicore Licensing
The Versant Object Database 8.0.2 license is valid for a specific number of CPUs and CPU cores. For example, if your machine has four dual-core CPUs the total number of cores is eight and your license will need to allow for at least that many CPUs and CPU cores. Versant Object Database will check for the total number of physical CPUs and CPU cores. You can also check your license file. The number of allowed CPUs and CPU cores is given in the and properties. For the example above, four dual-core CPUs, the minimum values for the license entries should be as follows.
<cpu>4</cpu>
<cpu-core>8</cpu-core>
If your current license does not support the number of CPUs/cores in your machine, you have 30 days to upgrade your license.
设置Versant环境变量
Windows
VERSANT_ROOT C:\Versant\8 Location of the V/OD installation
VERSANT_DBID_NODE VENTURA.versant.com Name of the machine hosting the V/OD database • • • network identifier file, osc-dbid.
VERSANT_DB C:\Versant\db Location of the V/OD database root directory.
VERSANT_DBID C:\Versant\db Location of the V/OD database network identifier file, • • • osc-dbid.
Versant JVI
setenv CLASSPATH "[VERSANT_ROOT]/lib/jvi80.jar:$CLASSPATH"
用户代理 对Versant的影响
windows 中用户代理会对Versant 数据库有一些影响。
. Shared Memory
It may be necessary to modify the shared memory settings for the machine running V/OD. The following briefly describes these settings. For more detailed information refer to the operating system documentation for your platform.