To prove what you have said when you were young! ——Alexy Young

Follow Your Heart

PM/ACP/PRINCE2……

   :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

一、安装前的准备

1、虚拟机用vbox,RHEL 64位

2、内存1G,磁盘40G

3、INFORMIX的版本

Informix Dynamic Server 提供四个不同的版本:
Developer             开发测试版本
Express                 中小型企业
Workgroup            中大型企业
Enterprise             全功能无限制

4、数据库使用目标简单分类

OLAP    呼叫中心类型,大量数据交换
DSS      查询较多,分析决策系统

 

二、安装IDS软件实施

1、准备好软件介质

2、创建用户与组

groupadd 200 informix
useradd -g 200 -u 200 -d /opt/informix -m -s /bin/bash informix

3、上传介质并解压

tar -xvf iif.11.7.0.asc.tar

4、安装方式

./ids_install
后续都是下一步下一步,可以简单看得懂

安装方式有好多种,一般ids_install比较全乎的安装

5、配置文件

用INFORMIX主用户修改如下配置文件:
1)$INFORMIXDIR/etc/sqlhosts
testdba         onsoctcp      192.168.1.9        testdba   
2)$INFORMIXDIR/etc/onconfig
ROOTNAME
ROOTPATH
ROOTOFFSET
ROOTSIZE
MSGPATH
CONSOLE
DBSERVERNAME
DBSERVERALIASES
SERVERNUM

其他参数是调整细节的,不影响IDS软件的启动

用ROOT用户修改如下文件:
1)/etc/hosts
192.168.1.9  maven

2)/etc/services
testdba            7788/tcp

6、启动IDS服务器

oninit -ivy

IDS的状态情况如下:

7、在IDS各个状态之间调整状态使用onmode命令,具体参数如下:

8、动态的修改onconfig配置参数

onmode -wf/-wm

onmode -wf AUTO_CKPTS=0   //修改onconfig文件的内容为0,修改文件
onmode -wm RESIDENT=1      //修改onconfig文件的内容为1,修改内存

 

综上,IDS数据库软件安装完成了。但是后面的配置内容还是有很多,如表空间的分配、调整,性能优化参数调整等。

9、补充相关内容

1)安装实例

1)ids_install的几种用法:
[root@rtc iif]# ./ids_install -?
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Command Line Arguments contain illegal values.

Usage: ids_install [-f <path_to_installer_properties_file> | -options]
            (to execute the installer)

where options include:
    -?
            show this help text
    -i [swing | console | silent]
            specify the user interface mode for the installer
    -D<name>=<value>
            specify installer properties

notes:
    1. the path to the installer properties file may be either absolute,
       or relative to the directory in which the installer resides.
    2. if an installer properties file is specified and exists, all other
       command line options will be ignored.
    3. if a properties file named either 'installer.properties' or 
       <NameOfInstaller>.properties resides in the same directory as the
       installer, it will automatically be used, overriding all other command
       line options, unless the '-f' option is used to point to another valid
       properties file.
    4. if an installer properties file is specified but does not exist, the
       default properties file, if present, will be used.  Otherwise, any
       supplied command line options will be used, or if no additional
       options were specified, the installer will be run using the default
       settings.
[root@rtc iif]# 

2)ids_install静默安装命令:
./ids_install -f /home/informix/iif -i silent -DLICENSE_ACCEPTED=TRUE

3)ids_install静默安装示例:
[root@rtc iif]# ./ids_install -f /home/informix/iif -i silent -DLICENSE_ACCEPTED=TRUE
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Preparing SILENT Mode Installation...

===============================================================================
IBM Informix Software Bundle                     (created with InstallAnywhere)
-------------------------------------------------------------------------------




===============================================================================
Installing...
-------------

 [==================|==================|==================|==================]
 [------------------|------------------|------------------|------------------]

Installation Complete.
[root@rtc iif]# 

  

posted on 2014-07-17 16:58  Alexy Young  阅读(340)  评论(0编辑  收藏  举报

Alexy Young CHASEDREAM