洞察提升小程序标签管理,实现高效的金融行业数字化转型
560
2024-01-04
这篇文章将为大家详细讲解有关如何安装GBase 8t 测试版,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
安装GBase 8t 测试版
前期计划:
1,安装Win7x64位系统
2,安装VMware-workstation-full-12.5.4
3,安装CentOS-6.4-x86_64-minimal,网络连接使用桥接模式
ip地址规划:
172.17.6.209 gbase gbase
二,操作系统配置
关闭CentOS启动进度条,替换为详细信息
使用root用户修改 /boot/grub/grub.conf 文件。
找到kernel部分,将"rhgb"去掉,保存即可。其中"rhgb"表示"redhat graphics boot",就是图形进度条模式。
而"quiet"表示在启动过程中只显示重要启动信息,类似硬件自检之类的消息不会显示,可以有选择地选用。
解决SecureCRT连接linux超时后断开的问题
修改/etc/ssh/sshd_config配置文件 ClientAliveInterval 300(默认为0)
这个参数的是意思是每5分钟,服务器向客户端发一个消息,用于保持连接
service sshd reload 生效
配置内部yum服务器
[root@gbase ~]# yum install traceroute man tcpdump dmidecode vsftpd libaio libgcc libstdc++ compat-libstdc++*-33 ncurses pam openmotif ksh libm.so.6 libncurses.so.5 file wget at sysstat ftp ntp telnet xinetd libXpm perl dbus xhost xauth wqy-zenhei-fonts gedit rsh rsh-server ssh telnet compat-libcap1 bc telnet-server rsync libpam.so.0 libstdc++.so.6 lsof -y
配置下列文件
/etc/selinux/config --关闭selinux
/etc/nsswitch.conf --禁用DNS
/etc/init/control-alt-delete.conf --禁用Control-Alt-Delete
/etc/sysconfig/network --修改主机名
/etc/inittab --修改默认启动级别,mini安装已不需要
1. 数据库用户准备
GBase 8t 使用操作系统用户作为数据库用户,数据库安装前需要创建 informix 组和
informix 用户。informix 用户为 GBase 8t 数据库的管理员用户。
groupadd informix
groupadd bargroup
useradd -g informix -d /home/gbase -p gbase informix
useradd -g bargroup -d /home/tapeback -p gbase tapeback
2. 调整内核参数及用户限制
调整内核参数
echo
kernel.shmmni=4096
kernel.sem=500 32000 200 256
fs.file-max=65536
net.ipv4.ip_local_port_range=1024 65000 >> /etc/sysctl.conf
修改/etc/profile文件,增加
echo
export LANG=zh_CN.GB18030
export PATH=$PATH:/usr/sbin
export NOFUZZYCKPT=1
>>/etc/profile
配置服务
service iptables stop
service ip6tables stop
service iscsi stop
service iscsid stop
chkconfig iptables off
chkconfig ip6tables off
chkconfig iscsi off
chkconfig iscsid off
chkconfig telnet on
chkconfig rsh on
chkconfig vsftpd on
chkconfig atd on
安装jre
[root@gbase installfiles]# chmod +x jre-6u29-linux-x64.bin
[root@gbase installfiles]# ./jre-6u29-linux-x64.bin
[root@gbase installfiles]# mkdir /usr/local/java
[root@gbase installfiles]# mkdir /usr/local/java
[root@gbase installfiles]# mv jre1.6.0_29/ /usr/local/java
[root@gbase installfiles]# cd /usr/local/java/
[root@gbase java]# ln -s jre1.6.0_29/ jre
[root@gbase java]# ln -s /usr/local/java/jre/bin/java /usr/bin/java
[root@gbase java]#
3. 文件系统目录准备(dump目录不创建,放默认/home/gbase/tmp下)
可将 informix 用户 HOME 目录作为 GBase 8t 数据库的安装目录(/home/gbase)。
GBase 8t 安装目录所在的文件系统大小最低为 800MB,建议保留足够大的空间(例如,
10GB 或者以上)。informix 用户需要对安装目录具有读写权限。
准备专门用来存放数据库 dump 文件的目录。创建 lv,并在 lv 上创建文件系统,挂载
的目录名为/home/gbase/dump,用于保存 GBase 8t 数据库断言文件和内存 dump 信息;该
文件系统大小应大于数据库使用的内存总大小。
4. 准备 informix 用户环境变量文件
echo
INFORMIXDIR=/opt/GBASE/gbase8t
INFORMIXSERVER=ontest
DBDATE=Y4MD0
ONCONFIG=test.cfg
export LANG=en_US.ISO8859-1
export INFORMIXDIR INFORMIXSERVER DBDATE ONCONFIG
export TERMINFO=/home/informix/etc/typetab
export TERMCAP=$INFORMIXDIR/etc/termcap
PATH=$PATH:$HOME/bin:$INFORMIXDIR/bin:.
NSR_DATA_VOLUME_POOL=DBMIData
NSR_LOG_VOLUME_POOL=DBMIData
export NSR_DATA_VOLUME_POOL NSR_LOG_VOLUME_POOL PATH
>>/home/gbase/.bashrc
四 、 存储规划
[root@gbase ~]# fdisk -l
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00036407
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 2637 20971520 83 Linux
/dev/sda3 2637 2767 1048576 82 Linux swap / Solaris
/dev/sda4 2767 5221 19711762+ 5 Extended
/dev/sda5 2768 2895 1028136 83 Linux
/dev/sda6 2896 3023 1028128+ 83 Linux
/dev/sda7 3024 3151 1028128+ 83 Linux
/dev/sda8 3152 3279 1028128+ 83 Linux
/dev/sda9 3280 4559 10281568+ 83 Linux
[root@gbase ~]#
[root@gbase ~]# cat /etc/udev/rules.d/60-raw.rules
# Enter raw device bindings here.
#
# An example would be:
# ACTION=="add", KERNEL=="sda", RUN+="/bin/raw /dev/raw/raw1 %N"
# to bind /dev/raw/raw1 to /dev/sda, or
# ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/bin/raw /dev/raw/raw2 %M %m"
# to bind /dev/raw/raw2 to the device with major 8, minor 1.
ACTION=="add", KERNEL=="sda5", RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sda6", RUN+="/bin/raw /dev/raw/raw2 %N"
ACTION=="add", KERNEL=="sda7", RUN+="/bin/raw /dev/raw/raw3 %N"
ACTION=="add", KERNEL=="sda8", RUN+="/bin/raw /dev/raw/raw4 %N"
ACTION=="add", KERNEL=="sda9", RUN+="/bin/raw /dev/raw/raw5 %N"
ACTION=="add", KERNEL=="raw[1-5]", OWNER="informix", GROUP="informix", MODE="660"
[root@gbase ~]#
建立所需要的文件夹
mkdir /informix.links
ln -s /dev/raw/raw1 /informix.links/rootdbs
ln -s /dev/raw/raw2 /informix.links/plogdbs
ln -s /dev/raw/raw3 /informix.links/llogdbs
ln -s /dev/raw/raw4 /informix.links/tempdbs
ln -s /dev/raw/raw5 /informix.links/datadbs
根据实际情况配置/etc/services,/etc/hosts,/home/informix/.rhosts
echo
#Informix Port
shop 8888/tcp
>>/etc/services
echo
172.17.6.209 GBase
>>/etc/hosts
重启安装GBase
1, 安装数据库
新建立的informix用户目录,安装的时候一直提示非空,重新建立一个/opt/GBASE/gbase8t目录,并修改用户.bashrc文件
[root@gbase GBase]# ./ids_install
......
===============================================================================
Installation Location
---------------------
Choose location for software installation.
Default Install Folder: /opt/GBASE/gbase8t
->Chosen Install Folder: /home/gbase
ENTER AN ABSOLUTE PATH, TYPE default TO RESTORE THE DEFAULT FOLDER,
OR PRESS TO ACCEPT THE CHOSEN FOLDER:
===============================================================================
Check Install Directory
-----------------------
User install directory is not empty, please chooose another one.
PRESS TO ACCEPT THE FOLLOWING (OK):
[root@gbase informix.links]# mkdir -p /opt/GBASE/gbase8t
===============================================================================
Host Name
---------
Enter the host name for your machine.
Host Name: (DEFAULT: gbase):
===============================================================================
Specify Apache Port Number
--------------------------
Please specify the port number for the Apache webserver.
Specify the port number for the Apache web server.
Port Number (DEFAULT: 8080):
===============================================================================
Security Features
-----------------
With OAT password protection, only OAT administrators can add and edit
connection groups and change OAT configurations. Other users can manage GBase
database servers, but they cannot modify connection groups and OAT
configurations.
Enable OAT Password Protection? (DEFAULT: yes):
===============================================================================
OAT Administrator login setup
-----------------------------
Enter the user name and password for accessing the OAT Admin pages.
User name: (DEFAULT: admin):
Product install status:
GBase 8t: Successful
GBase 8t Client-SDK: Successful
GBase JDBC Driver: Successful
GBase 8t Connect: Successful
GBase OpenAdmin Tool: Successful
For more information about using GBase 8t products, see the GBase 8t
Information Center at http://www.gbase-.
PRESS TO EXIT THE INSTALLER:
[root@gbase GBase]#
cp /opt/GBASE/gbase8t/etc/onconfig.std /opt/GBASE/gbase8t/etc/test.cfg
cp /opt/GBASE/gbase8t/etc/sm_versions.std /opt/GBASE/gbase8t/etc/sm_versions
cp /opt/GBASE/gbase8t/etc/sqlhosts.std /opt/GBASE/gbase8t/etc/sqlhosts
配置sqlhosts文件
sqlhosts文件由INFORMIXSQLHSOTS环境变量指定。sqlhosts文件的格式如下:
[informix@gbase etc]$ tail -n 2 sqlhosts
ontest onsoctcp gbase shop
[informix@gbase etc]$
配置onconfig文件
4,初始化数据库
oninit -ivy
[informix@gbase ~]$ oninit -ivy
Your evaluation license will expire on 2017-06-15 00:00:00
Warning: Parameters user-configured value was adjusted. (DS_MAX_QUERIES)
Reading configuration file /opt/GBASE/gbase8t/etc/test.cfg...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 29750 kbytes...succeeded
Creating infos file "/opt/GBASE/gbase8t/etc/.infos.ontest"...succeeded
Linking conf file "/opt/GBASE/gbase8t/etc/.conf.ontest"...succeeded
Initializing rhead structure...rhlock_t 65536 (2048K)... rlock_t (26562K)... Writing to infos file...succeeded
Initialization of Encryption...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 soctcp listener threads...succeeded
Starting tracing...succeeded
Initializing 8 flushers...succeeded
Initializing log/checkpoint information...succeeded
Initializing dbspaces...succeeded
Opening primary chunks...succeeded
Validating chunks...succeeded
Creating database partition...succeeded
Initialize Async Log Flusher...succeeded
Starting B-tree Scanner...succeeded
Init ReadAhead Daemon...succeeded
Init DB Util Daemon...succeeded
Initializing DBSPACETEMP list...succeeded
Init Auto Tuning Daemon...succeeded
Checking database partition index...succeeded
Initializing dataskip structure...succeeded
Checking for temporary tables to drop...succeeded
Updating Global Row Counter...succeeded
Forking onmode_mon thread...succeeded
Creating periodic thread...succeeded
Creating periodic thread...succeeded
Starting scheduling system...succeeded
Verbose output complete: mode = 5
[informix@gbase ~]$
5,加空间
空间管理:onmonitor
onspaces -c -d plogdbs -p /informix.links/plogdbs -o 0 -s 1024000
onspaces -c -d llogdbs -p /informix.links/llogdbs -o 0 -s 1024000
onspaces -c -d tempdbs -t -p /informix.links/tempdbs -o 0 -s 1024000
onspaces -c -d datadbs -p /informix.links/datadbs -o 0 -s 10240000
使用onparams 更改物理日志位置和大小
onparams -p -s 1023000 -d plogdbs -y
逻辑日志文件位置及个数调整,先删除3个,再建立3个,接着移动一下检查点位置再删除3个。
onmode -l
onmode -l
onmode -l
onmode -c
onparams -d -l 1 -y
onparams -d -l 2 -y
onparams -d -l 3 -y
onparams -a -d llogdbs -s 10000
onparams -a -d llogdbs -s 10000
onparams -a -d llogdbs -s 10000
onmode -l
onmode -l
onmode -l
onmode -c
onparams -d -l 4 -y
onparams -d -l 5 -y
onparams -d -l 6 -y
最后要留下三个日志并且必须是从1开始的,否则在增加日志数时,number号会乱掉的:
address number flags uniqid begin size used %used
5b5d8f98 1 U---C-L 12 3:25053 5000 14 0.28
5b71df50 2 A------ 0 3:30053 5000 0 0.00
5b71dfb8 3 A------ 0 3:35053 5000 0 0.00
3 active, 3 total
做个全备。此时配置文件中要为:/dev/null
[informix@gbase ~]$ ontape -s -L 0
Your evaluation license will expire on 2017-06-15 00:00:00
Archive to tape device /dev/null is complete.
Program over.
[informix@gbase ~]$
关闭数据库,修改onconfig文件后启动数据库
DBSPACETEMP tempdbs
TAPEDEV /dev/nst0
LTAPEDEV /dev/nst0
数据库检查
[informix@gbase etc]$ onstat -
Your evaluation license will expire on 2017-06-15 00:00:00
GBase 8t Database Server Version 12.10.FC4G1TL -- On-Line -- Up 00:11:56 -- 578096 Kbytes
[informix@gbase etc]$
[informix@gbase etc]$ onstat -d
Your evaluation license will expire on 2017-06-15 00:00:00
GBase 8t Database Server Version 12.10.FC4G1TL -- On-Line -- Up 00:12:13 -- 578096 Kbytes
Dbspaces
address number flags fchunk nchunks pgsize flags owner name
46b3b028 1 0x70001 1 1 2048 N BA informix rootdbs
47beda60 2 0x70001 2 1 2048 N BA informix plogdbs
47bedc90 3 0x60001 3 1 2048 N BA informix llogdbs
47bee028 4 0x42001 4 1 2048 N TBA informix tempdbs
47bee258 5 0x60001 5 1 2048 N BA informix datadbs
5 active, 2047 maximum
Chunks
address chunk/dbs offset size free bpages flags pathname
46b3b258 1 1 0 512000 502428 PO-B-- /informix.links/rootdbs
47bee488 2 2 0 512000 447 PO-B-- /informix.links/plogdbs
47bef028 3 3 0 512000 11947 PO-B-- /informix.links/llogdbs
47bf0028 4 4 0 512000 511947 PO-B-- /informix.links/tempdbs
47bf1028 5 5 0 5120000 5118209 PO-B-- /informix.links/datadbs
5 active, 32766 maximum
NOTE: The values in the "size" and "free" columns for DBspace chunks are
displayed in terms of "pgsize" of the DBspace to which they belong.
Expanded chunk capacity mode: always
[informix@gbase etc]$
启动OAT
[root@gbase ~]# cd /opt/GBASE/gbase8t/OAT/
[root@gbase OAT]# ls
Apache_2.4.2 logs OAT_conf PHP_5.4.4 StartApache StopApache
[root@gbase OAT]# ./StartApache
[root@gbase OAT]#
http://172.17.6.209:8080
附录:test.cfg
##################################################################
# Licensed Material - Property Of GBASE & IBM
#
# "Restricted Materials of GBASE & IBM"
#
# GBase 8t
# Copyright General Data Corp. 2014, 2015. All rights reserved.
#
# Title: onconfig.std
# Description: GBase 8t Configuration Parameters
#
# Important: $INFORMIXDIR now resolves to the environment
# variable INFORMIXDIR. Replace the value of the INFORMIXDIR
# environment variable only if the path you want is not under
# $INFORMIXDIR.
#
# For additional information on the parameters:
# http://www.gbase-
###################################################################
###################################################################
# Root Dbspace Configuration Parameters
###################################################################
# ROOTNAME - The root dbspace name to contain reserved pages and
# internal tracking tables.
# ROOTPATH - The path for the device containing the root dbspace
# ROOTOFFSET - The offset, in KB, of the root dbspace into the
# device. The offset is required for some raw devices.
# ROOTSIZE - The size of the root dbspace, in KB. The value of
# 200000 allows for a default user space of about
# 100 MB and the default system space requirements.
# MIRROR - Enable (1) or disable (0) mirroring
# MIRRORPATH - The path for the device containing the mirrored
# root dbspace
# MIRROROFFSET - The offset, in KB, into the mirrored device
#
# Warning: Always verify ROOTPATH before performing
# disk initialization (oninit -i or -iy) to
# avoid disk corruption of another instance
###################################################################
ROOTNAME rootdbs
ROOTPATH /informix.links/rootdbs
ROOTOFFSET 0
ROOTSIZE 1024000
MIRROR 0
MIRRORPATH $INFORMIXDIR/tmp/demo_on.root_mirror
MIRROROFFSET 0
###################################################################
# Physical Log Configuration Parameters
###################################################################
# PHYSFILE - The size, in KB, of the physical log on disk.
# If RTO_SERVER_RESTART is enabled, the
# suggested formula for the size of PHSYFILE
# (up to about 1 GB) is:
# PHYSFILE = Size of BUFFERS * 1.1
# PLOG_OVERFLOW_PATH - The directory for extra physical log files
# if the physical log overflows during recovery
# or long transaction rollback
# PHYSBUFF - The size of the physical log buffer, in KB
###################################################################
PHYSFILE 1023000
PLOG_OVERFLOW_PATH $INFORMIXDIR/tmp
PHYSBUFF 128
###################################################################
# Logical Log Configuration Parameters
###################################################################
# LOGFILES - The number of logical log files
# LOGSIZE - The size of each logical log, in KB
# DYNAMIC_LOGS - The type of dynamic log allocation.
# Acceptable values are:
# 2 Automatic. Informix adds a new logical log to the
# root dbspace when necessary.
# 1 Manual. Informix notifies the DBA to add new logical
# logs when necessary.
# 0 Disabled
# LOGBUFF - The size of the logical log buffer, in KB
###################################################################
LOGFILES 100
LOGSIZE 10000
DYNAMIC_LOGS 1
LOGBUFF 64
###################################################################
# Long Transaction Configuration Parameters
###################################################################
# If Informix cannot roll back a long transaction, the server hangs
# until more disk space is available.
#
# LTXHWM - The percentage of the logical logs that can be
# filled before a transaction is determined to be a
# long transaction and is rolled back
# LTXEHWM - The percentage of the logical logs that have been
# filled before the server suspends all other
# transactions so that the long transaction being
# rolled back has exclusive use of the logs
#
# When dynamic logging is on, you can set higher values for
# LTXHWM and LTXEHWM because the server can add new logical logs
# during long transaction rollback. Set lower values to limit the
# number of new logical logs added.
#
# If dynamic logging is off, set LTXHWM and LTXEHWM to
# lower values, such as 50 and 60 or lower, to prevent long
# transaction rollback from hanging the server due to lack of
# logical log space.
#
# When using Enterprise Replication, set LTXEHWM to at least 30%
# higher than LTXHWM to minimize log overruns.
###################################################################
LTXHWM 50
LTXEHWM 60
###################################################################
# Server Message File Configuration Parameters
###################################################################
# MSGPATH - The path of the Informix message log file
# CONSOLE - The path of the Informix console message file
###################################################################
MSGPATH $INFORMIXDIR/test.log
CONSOLE $INFORMIXDIR/tmp/online.con
###################################################################
# Tblspace Configuration Parameters
###################################################################
# TBLTBLFIRST - The first extent size, in KB, for the tblspace
# tblspace. Must be in multiples of the page size.
# TBLTBLNEXT - The next extent size, in KB, for the tblspace
# tblspace. Must be in multiples of the page size.
# The default setting for both is 0, which allows Informix to manage
# extent sizes automatically.
#
# TBLSPACE_STATS - Enables (1) or disables (0) Informix to maintain
# tblspace statistics
###################################################################
TBLTBLFIRST 0
TBLTBLNEXT 0
TBLSPACE_STATS 1
###################################################################
# Temporary dbspace and sbspace Configuration Parameters
###################################################################
# DBSPACETEMP - The list of dbspaces used to store temporary
# tables and other objects. Specify a colon
# separated list of dbspaces that exist when the
# server is started. If no dbspaces are specified,
# or if all specified dbspaces are not valid,
# temporary files are created in the /tmp directory
# instead.
# SBSPACETEMP - The list of sbspaces used to store temporary
# tables for smart large objects. If no sbspace
# is specified, temporary files are created in
# a standard sbspace.
###################################################################
DBSPACETEMP tempdbs
SBSPACETEMP
###################################################################
# Dbspace and sbspace Configuration Parameters
###################################################################
# SBSPACENAME - The default sbspace name where smart large objects
# are stored if no sbspace is specified during
# smart large object creation. Some DataBlade
# modules store smart large objects in this
# location.
# SYSSBSPACENAME - The default sbspace for system statistics
# collection. Otherwise, Informix stores statistics
# in the sysdistrib system catalog table.
# ONDBSPACEDOWN - Specifies how Informix behaves when it encounters a
# dbspace that is offline. Acceptable values
# are:
# 0 Continue
# 1 Stop
# 2 Wait for DBA action
###################################################################
SBSPACENAME
SYSSBSPACENAME
ONDBSPACEDOWN 2
###################################################################
# System Configuration Parameters
###################################################################
# SERVERNUM - The unique ID for the Informix instance. Acceptable
# values are 0 through 255, inclusive.
# DBSERVERNAME - The name of the default database server
# DBSERVERALIASES - The list of up to 32 alternative dbservernames,
# separated by commas
# FULL_DISK_INIT - Specifies if oninit -i can run:
# 0 allows full disk initialization only if no
# instance is detected at the rootchunk location.
# 1 required if an existing instance is detected at
# the rootchunk location.
###################################################################
SERVERNUM 0
DBSERVERNAME ontest
DBSERVERALIASES
FULL_DISK_INIT 0
###################################################################
# Network Configuration Parameters
###################################################################
# NETTYPE - The configuration of poll threads
# for a specific protocol. The
# format is:
# NETTYPE,<# poll threads>
# ,
# ,(NET|CPU)
# You can include multiple NETTYPE
# entries for multiple protocols.
# LISTEN_TIMEOUT - The number of seconds that Informix
# waits for a connection
# MAX_INCOMPLETE_CONNECTIONS - The maximum number of incomplete
# connections before Informix logs a Denial
# of Service (DoS) error
# FASTPOLL - Enables (1) or disables (0) fast
# polling of your network, if your
# operating system supports it.
# NUMFDSERVERS - The maximum number of poll threads to handle
# network connections migrating between VPs
# NS_CACHE - The number of seconds for Informix name service cache
# (host, service, user, group) expiration time.
# 0 to disable cache.
###################################################################
NETTYPE soctcp,1,300,NET
LISTEN_TIMEOUT 60
MAX_INCOMPLETE_CONNECTIONS 1024
FASTPOLL 1
NUMFDSERVERS 4
NS_CACHE host=900,service=900,user=900,group=900
###################################################################
# CPU-Related Configuration Parameters
###################################################################
# MULTIPROCESSOR - Specifies whether the computer has multiple
# CPUs. Acceptable values are: 0 (single
# processor), 1 (multiple processors or
# multi-core chips)
# VPCLASS cpu - Configures the CPU VPs. The format is:
# VPCLASS cpu, num=,
# [,max=]
# [,aff= | - |
# (-/ ) ]
# [,noage]
# for example:
# num=4,aff=(1-10/3) means assign 4 CPU VPs to processors
# 1,4,7,10
# VP_MEMORY_CACHE_KB - Specifies the amount of private memory
# blocks of your CPU VP, in KB, that the
# database server can access and whether
# the memory changes dynamically (default).
# Format is: [,DYNAMIC|STATIC]
# Acceptable values for are:
# 0 (disable)
# 800 through 40% of the value of SHMTOTAL
# SINGLE_CPU_VP - Optimizes performance if Informix runs with
# only one CPU VP. Acceptable values are:
# 0 multiple CPU VPs
# Any nonzero value (optimize for one CPU VP)
###################################################################
MULTIPROCESSOR 1
VPCLASS cpu,num=2,noage
VP_MEMORY_CACHE_KB 0
SINGLE_CPU_VP 1
###################################################################
#
# AUTO_TUNE - The value of this parameter serves as the default value for
# the following AUTO_* parameters:
# AUTO_AIOVPS
# AUTO_CKPTS
# AUTO_REPREPARE
# AUTO_STAT_MODE
# AUTO_READAHEAD
# AUTO_LRU_TUNING
#
# Any of the above parameters that are not present in your config file
# will default to the value of AUTO_TUNE, which can be set to either 0 or 1.
# If an AUTO_* parameter is set in your config file, the given value overrides
# that of AUTO_TUNE. Information on individual AUTO_* parameters is below.
#
# AUTO_LRU_TUNING - Enables (1) or disables (0) automatic LRU tuning, which
# adjusts flushing thresholds for individual buffer pools
# if the server discovers they are sub-optimal
# AUTO_AIOVPS - Enables (1) or disables (0) automatic management
# of AIO VPs
# AUTO_CKPTS - Enables (1) or disables (0) monitoring of
# critical resource to trigger checkpoints
# more frequently if there is a chance that
# transaction blocking might occur.
# AUTO_REPREPARE - Enables (1) or disables (0) automatically
# re-optimizing stored procedures and re-preparing
# prepared statements when tables that are referenced
# by them change. Minimizes the occurrence of the
# -710 error.
# AUTO_STAT_MODE - Enables (1) or disables (0) update statistics
# automatic mode. In automatic mode, statistics of
# table, fragment or index are rebuilt only if existing
# statistics are considered stale. A table, fragment
# or index can change by STATCHANGE percentage before
# its statistics are regarded as stale.
#
# RA_PAGES & RA_THRESHOLD have been replaced with AUTO_READAHEAD.
#
# AUTO_READAHEAD mode[,readahead_cnt]
# mode 0 = Disable (Not recommended)
# 1 = Passive (Default)
# 2 = Aggressive (Not recommended)
# readahead_cnt Optional Range 4-4096
# readahead_cnt allows for tuning the # of
# pages that automatic readahead will request
# to be read ahead. When not set, the default
# is 128 pages.
#
# Notes:
# The threshold for starting the next readahead request, which
# used to be known as RA_THRESHOLD, is always set to 1/2 of the
# readahead_cnt. RA_THRESHOLD is deprecated and no longer used.
#
# If RA_PAGES & AUTO_READAHEAD are not present in the ONCONFIG file,
# AUTO_READAHEAD will default to the value of AUTO_TUNE.
#
# If RA_PAGES is present in the ONCONFIG file and AUTO_READAHEAD is
# not, Informix will set AUTO_READAHEAD to AUTO_TUNE,RA_PAGES
#
###################################################################
AUTO_TUNE 1
###################################################################
# AIO and Cleaner-Related Configuration Parameters
###################################################################
# VPCLASS aio - Configures the AIO VPs. The format is:
# VPCLASS aio,num=<#>[,max=<#>][,aff=<#>][,noage]
# Example:
# VPCLASS aio,num=1
# CLEANERS - The number of page cleaner threads
# DIRECT_IO - Specifies whether direct I/O is used for cooked
# files used for dbspace chunks.
# Acceptable values are:
# 0 Disable
# 1 Enable direct I/O
# 2 Enable concurrent I/O
###################################################################
CLEANERS 8
DIRECT_IO 0
###################################################################
# Lock-Related Configuration Parameters
###################################################################
# LOCKS - The initial number of locks when Informix starts.
# Dynamic locking can add extra locks if needed.
# DEF_TABLE_LOCKMODE - The default table lock mode for new tables.
# Acceptable values are ROW and PAGE (default).
###################################################################
LOCKS 200000
DEF_TABLE_LOCKMODE row
###################################################################
# Shared Memory Configuration Parameters
###################################################################
# RESIDENT - Controls whether shared memory is resident.
# Acceptable values are:
# 0 off (default)
# 1 lock the resident segment only
# n lock the resident segment and the next n-1
# virtual segments, where n < 100
# -1 lock all resident and virtual segments
# SHMBASE - The shared memory base address; do not change
# SHMVIRTSIZE - The initial size, in KB, of the virtual
# segment of shared memory
# SHMADD - The size, in KB, of additional virtual shared
# memory segments
# EXTSHMADD - The size, in KB, of each extension shared
# memory segment
# SHMTOTAL - The maximum amount of shared memory for Informix,
# in KB. A 0 indicates no specific limit.
# SHMVIRT_ALLOCSEG - Controls when Informix adds a memory segment and
# the alarm level if the memory segment cannot
# be added.
# For the first field, acceptable values are:
# - 0 Disabled
# - A decimal number indicating the total percentage
# of virtual memory used before a segment is added
# - The total KB virtual memory remaining when a segment
# is added
# For the second field, specify an alarm level
# from 1 (non-event) to 5 (fatal error).
# SHMNOACCESS - A list of up to 10 memory address ranges
# that Informix cannot use to attach shared memory.
# Each address range is the start and end memory
# address in hex format, separated by a hyphen.
# Use a comma to separate each range in the list.
###################################################################
RESIDENT 0
SHMBASE 0x44000000L
SHMVIRTSIZE 326560
SHMADD 32656
EXTSHMADD 8192
SHMTOTAL 0
SHMVIRT_ALLOCSEG 0,3
SHMNOACCESS
###################################################################
# Checkpoint and System Block Configuration Parameters
###################################################################
# CKPINTVL - Specifies how often, in seconds, Informix checks
# if a checkpoint is needed. 0 indicates that
# Informix does not check for checkpoints. Ignored
# if RTO_SERVER_RESTART is set.
# RTO_SERVER_RESTART - Specifies, in seconds, the Recovery Time
# Objective for Informix restart after a server
# failure. Acceptable values are 0 (off) and
# any number from 60-1800, inclusive.
# BLOCKTIMEOUT - Specifies the amount of time, in seconds,
# for a system block.
###################################################################
CKPTINTVL 300
RTO_SERVER_RESTART 0
BLOCKTIMEOUT 3600
##################################################################
# Conversion Guard Related Configuration Parameters
###################################################################
# CONVERSION_GUARD - To turn on conversion guard feature.
# - 0 - Off,
# - 1 - On, Abort conversion on Conversion Guard error,
# - 2 - On, Continue conversion; ignore Conversion
# Guard error
#
# RESTORE_POINT_DIR - The directory, which stores the Conversion Guard
# - feature generated files.
###################################################################
CONVERSION_GUARD 2
RESTORE_POINT_DIR $INFORMIXDIR/tmp
###################################################################
# Transaction-Related Configuration Parameters
###################################################################
# TXTIMEOUT - The distributed transaction timeout, in seconds
# DEADLOCK_TIMEOUT - The maximum time, in seconds, to wait for a
# lock in a distributed transaction.
# HETERO_COMMIT - Enables (1) or disables (0) heterogeneous
# commits for a distributed transaction
# involving an EGM gateway.
###################################################################
TXTIMEOUT 300
DEADLOCK_TIMEOUT 60
HETERO_COMMIT 0
###################################################################
# ontape Tape Device Configuration Parameters
###################################################################
# TAPEDEV - The tape device path for backups. To use standard
# I/O instead of a device, set to STDIO.
# TAPEBLK - The tape block size, in KB, for backups
# TAPESIZE - The maximum amount of data to put on one backup
# tape. Acceptable values are 0 (unlimited) or any
# positive integral multiple of TAPEBLK.
###################################################################
TAPEDEV /dev/null
TAPEBLK 32
TAPESIZE 0
###################################################################
# ontape Logial Log Tape Device Configuration Parameters
###################################################################
# LTAPEDEV - The tape device path for logical logs
# LTAPEBLK - The tape block size, in KB, for backing up logical
# logs
# LTAPESIZE - The maximum amount of data to put on one logical
# log tape. Acceptable values are 0 (unlimited) or any
# positive integral multiple of LTAPEBLK.
###################################################################
LTAPEDEV /dev/null
LTAPEBLK 32
LTAPESIZE 0
###################################################################
# Backup and Restore Configuration Parameters
###################################################################
# BAR_ACT_LOG - The ON-Bar activity log file location.
# Do not use the /tmp directory. Use a
# directory with restricted permissions.
# BAR_DEBUG_LOG - The ON-Bar debug log file location.
# Do not use the /tmp directory. Use a
# directory with restricted permissions.
# BAR_DEBUG - The debug level for ON-Bar. Acceptable
# values are 0 (off) through 9 (high).
# BAR_MAX_BACKUP - The number of backup threads used in a
# backup. Acceptable values are 0 (unlimited)
# or any positive integer.
# BAR_RETRY - Specifies the number of time to retry a
# backup or restore operation before reporting
# a failure
# BAR_NB_XPORT_COUNT - Specifies the number of data buffers that
# each onbar_d process uses to communicate
# with the database server
# BAR_XFER_BUF_SIZE - The size, in pages, of each data buffer.
# Acceptable values are 1 through 15 for
# 4 KB pages and 1 through 31 for 2 KB pages.
# If PSM is the storage manager, higher values
# can be used.
# RESTARTABLE_RESTORE - Enables ON-Bar to continue a backup after a
# failure. Acceptable values are OFF or ON.
# BAR_PROGRESS_FREQ - Specifies, in minutes, how often progress
# messages are placed in the ON-Bar activity
# log. Acceptable values are: 0 (record only
# completion messages) or 5 and above.
# BAR_BSALIB_PATH - The shared library for ON-Bar and the
# storage manager. The default value is
# $INFORMIXDIR/lib/ibsad001 (with a
# platform-specific file extension).
# BACKUP_FILTER - Specifies the pathname of a filter program
# to transform data during a backup, plus any
# program options
# RESTORE_FILTER - Specifies the pathname of a filter program
# to transform data during a restore, plus any
# program options
# BAR_PERFORMANCE - Specifies the type of performance statistics
# to report to the ON-Bar activity log for backup
# and restore operations.
# Acceptable values are:
# 0 = Turn off performance monitoring (Default)
# 1 = Display the time spent transferring data
# between the Informix instance and the storage
# manager
# 2 = Display timestamps in microseconds
# 3 = Display both timestamps and transfer
# statistics
# BAR_CKPTSEC_TIMEOUT - Time in seconds to wait for an archive
# checkpoint to complete in the secondary server
###################################################################
BAR_ACT_LOG $INFORMIXDIR/bar_act.log
BAR_DEBUG_LOG $INFORMIXDIR/tmp/bar_dbug.log
BAR_DEBUG 0
BAR_MAX_BACKUP 0
BAR_RETRY 1
BAR_NB_XPORT_COUNT 20
BAR_XFER_BUF_SIZE 31
RESTARTABLE_RESTORE ON
BAR_PROGRESS_FREQ 0
BAR_BSALIB_PATH /usr/lib/libxnmi.so
BACKUP_FILTER
RESTORE_FILTER
BAR_PERFORMANCE 0
BAR_CKPTSEC_TIMEOUT 15
###################################################################
# Primary Storage Manager (PSM) Configuration Parameters
###################################################################
# PSM_ACT_LOG - The ON-Bar activity log file location.
# Do not use the /tmp directory. Use a
# directory with restricted permissions.
# If not set the value of BAR_ACT_LOG is used.
# PSM_DEBUG_LOG - The PSM debug log file location.
# Do not use the /tmp directory. Use a
# directory with restricted permissions.
# If not set the value of BAR_DEBUG_LOG is used.
# PSM_DEBUG - The debug level for PSM. Acceptable
# values are 0 (off) through 9 (high).
# If not set the value of BAR_DEBUG is used.
# PSM_CATALOG_PATH - The directory that will hold the PSM catalog
# The default is $INFORMIXDIR/etc/psm.
# PSM_DBS_POOL - The Pool where to place dbspace data.
# The default is "DBSPOOL"
# PSM_LOG_POOL - The Pool where to place log data.
# The default is "LOGPOOL"
#
###################################################################
PSM_DBS_POOL DBSPOOL
PSM_LOG_POOL LOGPOOL
###################################################################
# Data Dictionary Cache Configuration Parameters
###################################################################
# DD_HASHSIZE - The number of data dictionary pools. Set to any
# positive integer; a prime number is recommended.
# DD_HASHMAX - The number of entries per pool.
# Set to any positive integer.
###################################################################
DD_HASHSIZE 31
DD_HASHMAX 10
###################################################################
# Data Distribution Configuration Parameters
###################################################################
# DS_HASHSIZE - The number of data distribution pools.
# Set to any positive integer; a prime number is
# recommended.
# DS_POOLSIZE - The maximum number of entries in the data
# distribution cache. Set to any positive integer.
###################################################################
DS_HASHSIZE 31
DS_POOLSIZE 127
##################################################################
# User Defined Routine (UDR) Configuration Parameters
##################################################################
# PC_HASHSIZE - The number of UDR pools. Set to any positive
# integer; a prime number is recommended.
# PC_POOLSIZE - The maximum number of entries in the UDR
# cache. Set to any positive integer.
# PRELOAD_DLL_FILE - Specifies a C UDR shared library path name
# to load when the server starts. Each
# shared library file needs a separate
# PRELOAD_DLL_FILE entry.
###################################################################
PC_HASHSIZE 31
PC_POOLSIZE 127
PRELOAD_DLL_FILE
###################################################################
# SQL Statement Cache Configuration Parameters
###################################################################
# STMT_CACHE - Controls SQL statement caching. Acceptable
# values are:
# 0 Disabled
# 1 Enabled at the session level
# 2 All statements are cached
# STMT_CACHE_HITS - The number of times an SQL statement must be
# executed before becoming fully cached.
# 0 indicates that all statements are
# fully cached the first time.
# STMT_CACHE_SIZE - The size, in KB, of the SQL statement cache
# STMT_CACHE_NOLIMIT - Controls additional memory consumption.
# Acceptable values are:
# 0 Limit memory to STMT_CACHE_SIZE
# 1 Obtain as much memory, temporarily, as needed
# STMT_CACHE_NUMPOOL - The number of pools for the SQL statement
# cache. Acceptable value is a positive
# integer between 1 and 256, inclusive.
###################################################################
STMT_CACHE 0
STMT_CACHE_HITS 0
STMT_CACHE_SIZE 512
STMT_CACHE_NOLIMIT 0
STMT_CACHE_NUMPOOL 1
###################################################################
# Operating System Session-Related Configuration Parameters
###################################################################
# USEOSTIME - The precision of SQL statement timing.
# Accepted values are 0 (precision to seconds)
# and 1 (precision to subseconds). Subsecond
# precision can degrade performance.
# STACKSIZE - The size, in KB, for a session stack
# ALLOW_NEWLINE - Controls whether embedded new line characters
# in string literals are allowed in SQL
# statements. Acceptable values are 1 (allowed)
# and any number other than 1 (not allowed).
# USELASTCOMMITTED - Controls the committed read isolation level.
# Acceptable values are:
# - "NONE" Waits on a lock
# - "DIRTY READ" Uses the last committed value in
# place of a dirty read
# - "COMMITTED READ" Uses the last committed value
# in place of a committed read
# - "ALL" Uses the last committed value in place
# of all isolation levels that support the last
# committed option
###################################################################
USEOSTIME 0
STACKSIZE 128
ALLOW_NEWLINE 0
USELASTCOMMITTED "NONE"
###################################################################
# Index Related Configuration Parameters
###################################################################
# FILLFACTOR - The percentage of index page fullness
# MAX_FILL_DATA_PAGES - Enables (1) or disables (0) filling data
# pages that have variable length rows as
# full as possible
# BTSCANNER - Specifies the configuration settings for all
# btscanner threads. The format is:
# BTSCANNER num=<#>,threshold=<#>,rangesize=<#>,
# alice=(0-12),compression=[low|med|high|default]
# ONLIDX_MAXMEM - The amount of memory, in KB, allocated for
# the pre-image pool and updator log pool for
# each partition.
###################################################################
FILLFACTOR 90
MAX_FILL_DATA_PAGES 0
BTSCANNER num=1,threshold=5000,rangesize=-1,alice=6,compression=default
ONLIDX_MAXMEM 5120
###################################################################
# Parallel Database Query (PDQ) Configuration Parameters
###################################################################
# MAX_PDQPRIORITY - The maximum amount of resources, as a
# percentage, that PDQ can allocate to any
# one decision support query
# DS_MAX_QUERIES - The maximum number of concurrent decision
# support queries
# DS_TOTAL_MEMORY - The maximum amount, in KB, of decision
# support query memory
# DS_MAX_SCANS - The maximum number of concurrent decision
# support scans
# DS_NONPDQ_QUERY_MEM - The amount of non-PDQ query memory, in KB.
# Acceptable values are 128 to 25% of
# DS_TOTAL_MEMORY.
# DATASKIP - Specifies whether to skip dbspaces when
# processing a query. Acceptable values are:
# - ALL Skip all unavailable fragments
# - ON ... Skip listed
# dbspaces
# - OFF Do not skip dbspaces (default)
###################################################################
MAX_PDQPRIORITY 80
DS_MAX_QUERIES 20
DS_TOTAL_MEMORY
DS_MAX_SCANS 1048576
DS_NONPDQ_QUERY_MEM 256
DATASKIP
###################################################################
# Optimizer Configuration Parameters
###################################################################
# OPTCOMPIND - Controls how the optimizer determines the best
# query path. Acceptable values are:
# 0 Nested loop joins are preferred
# 1 If isolation level is repeatable read,
# works the same as 0, otherwise works same as 2
# 2 Optimizer decisions are based on cost only
# DIRECTIVES - Specifies whether optimizer directives are
# enabled (1) or disabled (0). Default is 1.
# EXT_DIRECTIVES - Controls the use of external SQL directives.
# Acceptable values are:
# 0 Disabled
# 1 Enabled if the IFX_EXTDIRECTIVES environment
# variable is enabled
# 2 Enabled even if the IFX_EXTDIRECTIVES
# environment is not set
# OPT_GOAL - Controls how the optimizer should optimize for
# fastest retrieval. Acceptable values are:
# -1 All rows in a query
# 0 The first rows in a query
# IFX_FOLDVIEW - Enables (1) or disables (0) folding views that
# have multiple tables or a UNION ALL clause.
# Disabled by default.
# STATCHANGE - In automatic mode, rebuild statistics only for
# table, fragment or index changed by STATCHANGE
# percentage since last statistics run.
# USTLOW_SAMPLE - Enables (1) or disables (0) the use of sampling
# during update statistics low operations that gather
# index statistics for large indexes.
####################################################################
OPTCOMPIND 2
DIRECTIVES 1
EXT_DIRECTIVES 0
OPT_GOAL -1
IFX_FOLDVIEW 1
STATCHANGE 10
USTLOW_SAMPLE 1
###################################################################
# Scan Configuration Parameters
###################################################################
#BATCHEDREAD_TABLE - Turn on/off xps api for table scans.
#BATCHEDREAD_INDEX - Turn on/off xps api for index scans.
#
###################################################################
BATCHEDREAD_TABLE 1
BATCHEDREAD_INDEX 1
###################################################################
# SQL Tracing and EXPLAIN Plan Configuration Parameters
###################################################################
# EXPLAIN_STAT - Enables (1) or disables (0) including the Query
# Statistics section in the EXPLAIN output file
# SQLTRACE - Configures SQL tracing. The format is:
# SQLTRACE level=(low|med|high),ntraces=<#>,size=<#>,
# mode=(global|user)
# Example:
# SQLTRACE level=low,ntraces=1000,size=2,mode=global
###################################################################
EXPLAIN_STAT 1
###################################################################
# Security Configuration Parameters
###################################################################
# DBCREATE_PERMISSION - Specifies the users who can create
# databases (by default, any user can).
# Add a DBCREATE_PERMISSION entry
# for each user who needs database
# creation privileges. Ensure user
# informix is authorized when you
# first initialize Informix.
# Example:
# DBCREATE_PERMISSION informix
# DB_LIBRARY_PATH - Specifies the locations, separated
# by commas, from which Informix can use
# UDR or UDT shared libraries. If set,
# make sure that all directories containing
# the blade modules are listed, to
# ensure all DataBlade modules will
# work.
# IFX_EXTEND_ROLE - Controls whether administrators
# can use the EXTEND role to specify
# which users can register external
# routines. Acceptable values are:
# 0 Any user can register external
# routines
# 1 Only users granted the ability
# to register external routines
# can do so (Default)
# SECURITY_LOCALCONNECTION - Specifies whether Informix performs
# security checking for local
# connections. Acceptable values are:
# 0 Off
# 1 Validate ID
# 2 Validate ID and port
# UNSECURE_ONSTAT - Controls whether non-DBSA users are
# allowed to run all onstat commands.
# Acceptable values are:
# 1 Enabled
# 0 Disabled (Default)
# ADMIN_USER_MODE_WITH_DBSA - Controls who can connect to Informix
# in administration mode. Acceptable
# values are:
# 1 DBSAs, users specified by
# ADMIN_MODE_USERS, and the user
# informix
# 0 Only the user informix (Default)
# ADMIN_MODE_USERS - Specifies the user names, separated by
# commas, who can connect to Informix in
# administration mode, in addition to
# the user informix
# SSL_KEYSTORE_LABEL - The label, up to 512 characters, of
# the Informix certificate used in Secure
# Sockets Layer (SSL) protocol
# communications.
# TLS_VERSION - Specifies which TLS levels will be
# allowed. Default is 1.0,1.1,1.2
###################################################################
IFX_EXTEND_ROLE 1
SECURITY_LOCALCONNECTION
UNSECURE_ONSTAT
ADMIN_USER_MODE_WITH_DBSA
ADMIN_MODE_USERS
SSL_KEYSTORE_LABEL
TLS_VERSION
###################################################################
# LBAC Configuration Parameters
###################################################################
# PLCY_POOLSIZE - The maximum number of entries in each hash
# bucket of the LBAC security information cache
# PLCY_HASHSIZE - The number of hash buckets in the LBAC security
# information cache
# USRC_POOLSIZE - The maximum number of entries in each hash
# bucket of the LBAC credential memory cache
# USRC_HASHSIZE - The number of hash buckets in the LBAC credential
# memory cache
###################################################################
PLCY_POOLSIZE 127
PLCY_HASHSIZE 31
USRC_POOLSIZE 127
USRC_HASHSIZE 31
###################################################################
# Built-in Character Data Types Parameters
###################################################################
# SQL_LOGICAL_CHAR - Enable/Disable the expansion of size
# specification for built-in character data
# types
###################################################################
SQL_LOGICAL_CHAR OFF
###################################################################
# Sequence Cache Parameters
###################################################################
# SEQ_CACHE_SIZE - Maximum number of sequence objects that can
# have preallocated values in sequence cache
###################################################################
SEQ_CACHE_SIZE 10
###################################################################
# High Availability and Enterprise Replication Security
# Configuration Parameters
###################################################################
# ENCRYPT_HDR - Enables (1) or disables (0) encryption for HDR.
# ENCRYPT_SMX - Controls the level of encryption for RSS and
# SDS servers. Acceptable values are:
# 0 Do not encrypt (Default)
# 1 Encrypt if possible
# 2 Always encrypt
# ENCRYPT_CDR - Controls the level of encryption for ER.
# Acceptable values are:
# 0 Do not encrypt (Default)
# 1 Encrypt if possible
# 2 Always encrypt
# ENCRYPT_CIPHERS - A list of encryption ciphers and modes,
# separated by commas. Default is all.
# ENCRYPT_MAC - Controls the level of message authentication
# code (MAC). Acceptable values are off, high,
# medium, and low. List multiple values separated
# by commas; the highest common level between
# servers is used.
# ENCRYPT_MACFILE - The paths of the MAC key files, separated
# by commas. Use the builtin keyword to specify
# the built-in key. Default is builtin.
# ENCRYPT_SWITCH - Defines the frequencies, in minutes, at which
# ciphers and keys are renegotiated. Format is:
# ,
# Default is 60,60.
###################################################################
ENCRYPT_HDR
ENCRYPT_SMX
ENCRYPT_CDR 0
ENCRYPT_CIPHERS
ENCRYPT_MAC
ENCRYPT_MACFILE
ENCRYPT_SWITCH
###################################################################
# Enterprise Replication (ER) Configuration Parameters
###################################################################
# CDR_EVALTHREADS - The number of evaluator threads per
# CPU VP and the number of additional
# threads, separated by a comma.
# Acceptable values are: a non-zero value
# followed by a non-negative value
# CDR_DSLOCKWAIT - The number of seconds the Datasync
# waits for database locks.
# CDR_QUEUEMEM - The maximum amount of memory, in KB,
# for the send and receive queues.
# CDR_NIFCOMPRESS - Controls the network interface
# compression level.
# Acceptable values are:
# -1 Never
# 0 None
# 1-9 Compression level
# CDR_SERIAL - Specifies the incremental size and
# the starting value of replicated
# serial columns. The format is:
# ,
# CDR_DBSPACE - The dbspace name for the syscdr
# database.
# CDR_QHDR_DBSPACE - The name of the transaction record
# dbspace. Default is the root dbspace.
# CDR_QDATA_SBSPACE - The names of sbspaces for spooled
# transaction data, separated by commas.
# CDR_SUPPRESS_ATSRISWARN - The Datasync error and warning code
# numbers to be suppressed in ATS and RIS
# files. Acceptable values are: numbers
# or ranges of numbers separated by commas.
# Separate numbers in a range by a hyphen.
# CDR_DELAY_PURGE_DTC - Specifies the time at which delete table purge
# can be delayed.
# CDR_LOG_LAG_ACTION - Specifies the action when ER log
# processing lags behind the current log.
# Separate multiple actions with a plus sign (+).
# Actions are prioritized from left to right.
# Supported options are:
# logstag: Enable compressed logical log staging.
# Stage log files in the directory
# specified by the LOG_STAGING_DIR
# configuration parameter. The
# CDR_LOG_STAGING_MAXSIZE
# configuration parameter must also be set.
# dlog: Enable adding dynamic logs. The
# CDR_MAX_DYNAMIC_LOGS and
# DYNAMIC_LOGS configuration parameters
# must be enabled.
# ignore: Prevents blocking client update activity.
# The replay position can be overrun.
# ddrblock: (Default) Block client update activity
# to avoid overrunning the log replay position.
# shutdown: Shut down ER if the log replay
# position is in danger of being overrun.
# Restart ER using the cdr cleanstart
# command and resynchronize the data.
# Supported combinations:
# logstage+dlog+ddrblock
# logstage+dlog+ignore
# logstage+dlog+shutdown
# logstage+ddrblock
# logstage+ignore
# logstage+shutdown
# dlog+ddrblock
# dlog+ignore
# dlog+shutdown
# ddrblock
# ignore
# shutdown
#
# CDR_LOG_STAGING_MAXSIZE - Maximum size, in KB (default),
# MB, GB, or TB, that ER can use to
# stage log files in
# staging log files, at a log file boundary,
# when the staging directory reaches this value.
#
# CDR_MAX_DYNAMIC_LOGS - The maximum number of dynamic log
# requests that ER can make within one
# server session. Acceptable values are:
# -1 (unlimited), 0 (disabled),
# 1 through n (limit to n requests)
#
# GRIDCOPY_DIR Staging Directory for the ifx_grid_copy
# procedure.
#
#
# CDR_TSINSTANCEID Server specific unique id to make timeseries instance
# id unique across all Enterprise Replication servers.
# Acceptable values are: 0 (default) through 32768.
#
# CDR_MAX_FLUSH_SIZE The max number of replicated transactions
# APPlied before a log flush is performed.
#
# CDR_AUTO_DISCOVER Enables (1) or disables (0) trusted-host file
# and SQLHOST file
# auto-configuration on Enterprise Replication nodes
# and high-availability replication servers. Set this
# parameter to 1 to use cdr autconfig server and
# ifxclone --autoconf commands.
#
# CDR_MEM Defines the strategy that Enterprise Replication
# uses to allocate memory.
#
# Allowed values are:
# 0 - Allocate memory from a single memory pool
# 1 - Allocate memory by CPUVP
# 2 - Allocate memory by fixed block sizes
#
# When CDR_MEM is 0, then the memory pool size
# tends to be the smallest, but memory allocations
# can take longer.
# When CDR_MEM is 1, then the memory pool sizes will
# tend to be somewhere between 0 and 2. Memory
# allocations can take longer, but other threads
# can allocate memory in parallel.
# When CDR_MEM is 2, then memory allocations tend
# to be very fast, but at the expense of a
# significantly larger memory pool.
###################################################################
CDR_EVALTHREADS 1,2
CDR_DSLOCKWAIT 5
CDR_QUEUEMEM 4096
CDR_NIFCOMPRESS 0
CDR_SERIAL 0
CDR_DBSPACE
CDR_QHDR_DBSPACE
CDR_QDATA_SBSPACE
CDR_SUPPRESS_ATSRISWARN
CDR_DELAY_PURGE_DTC 0
CDR_LOG_LAG_ACTION ddrblock
CDR_LOG_STAGING_MAXSIZE 0
CDR_MAX_DYNAMIC_LOGS 0
GRIDCOPY_DIR $INFORMIXDIR
CDR_TSINSTANCEID 0
CDR_MAX_FLUSH_SIZE 50
CDR_AUTO_DISCOVER 0
CDR_MEM 0
###################################################################
# High Availability Cluster (HDR, SDS, and RSS)
# Configuration Parameters
###################################################################
# DRAUTO - Controls automatic failover for HDR systems.
# If the connection manager is providing failover,
# then the only value which should be used is 3.
# Additionally, if the connection manager is being
# used to provide failover services, then a manual
# failover (onmode -d standard or onmode -d make primary)
# should not be performed without first
# bringing down the connection managers.
#
# Acceptable values are:
# 0 No automatic failover
# 1 Retain server type
# 2 Reverse server type
# 3 Connection Manager Arbitrator controls
# server type
# DRINTERVAL - The maximum interval, in seconds, between HDR
# buffer flushes. Valid for HDR only.
# If set to zero then DRINTERVAL is not used and
# HDR_TXN_SCOPE will be used instead.
# HDR_TXN_SCOPE - Defines transactional synchronization in the
# HDR primary when DRINTERVAL is turned off
# The default is NEAR_SYNC.
# Valid values are
# ASYNC - Commits are not synced
# NEAR_SYNC - The committed transaction has been
# sent to the HDR secondary but not yet
# applied.
# FULL_SYNC - The transaction has been sent and
# applied on the HDR secondary.
# DRTIMEOUT - The time, in seconds, before a network
# timeout occurs. Valid for HDR only.
# DRLOSTFOUND - The path of the HDR lost-and-found file.
# Valid of HDR only.
# DRIDXAUTO - Enables (1) or disables (0) automatic index
# repair for an HDR pair. Default is 0.
# HA_ALIAS - The server alias for a high-availability
# cluster. Must be the same as a value of
# DBSERVERNAME or DBSERVERALIASES that uses a
# network-based connection type. Valid for HDR,
# SDS, and RSS.
# HA_FOC_ORDER - The cluster failover rules.
# Values are MANUAL or some order of SDS,HDR,RSS.
# Individual server names are not allowed. The default
# of SDS,HDR,RSS is the preferred failover order.
# If you do not have one of the secondary types
# then that type is skipped. If for any reason none
# of the server types are available, then a manual failover
# will be performed.
#
# This parameter will override any FOC parameter contained
# in the cmsm configuration file.
# LOG_INDEX_BUILDS - Enable (1) or disable (0) index page logging.
# Required for RSS. Optional for HDR and SDS.
# SDS_ENABLE - Enables (1) or disables (0) an SDS server.
# Set this value on an SDS server after setting
# up the primary. Valid for SDS only.
# SDS_TIMEOUT - The time, in seconds, that the primary waits
# for an acknowledgement from an SDS server
# while performing page flushing before marking
# the SDS server as down. Valid for SDS only.
# SDS_TEMPDBS - The temporary dbspace used by an SDS server.
# The format is:
# ,,,,
#
# You can include up to 16 entries of SDS_TEMPDBS to
# specify additional dbspaces. Valid for SDS.
# SDS_ALTERNATE - Define an alternate means of communicating between
# the primary and SDS node. This is used if the
# normal network communication between the primary
# and secondary becomes unavailable.
# SDS_FLOW_CONTROL - Defines the point at which SDS flow control will
# be activated. Values defined as being
# SDS_FLOW_CONTROL ,
# where start is the point at which flow control
# is activated and end is the point at which it
# deactivated. Valid values are
# -1 - Never use flow control - can result in a
# log wrap
# 0 Default (12 times log buffer size)
# Start,Stop - where start should be a larger value
# than Stop. The values can have a scale
# factor of K, M, G for kilobytes,
# megabyte, gigabyte.
# Example:
# SDS_FLOW_CONTROL 10000K,9000K
# SDS_PAGING - The paths of two buffer paging files,
# Separated by a comma. Valid for SDS only.
# SDS_LOGCHECK - The time, in seconds, that the SDS server waits
# to detect if the primary server is generating
# log activity before allowing failover to the
# secondary server.
# Acceptable values are:
# 0 Do not detect. Allow failover. (default)
# n Wait up to n seconds. If detected that the
# primary is generating log activity, then failover
# is stopped. Otherwise, failover is allowed.
# UPDATABLE_SECONDARY - Controls whether secondary servers can accept
# update, insert, and delete operations from clients.
# If enabled, specifies the number of connection
# threads between the secondary and primary servers
# for transmitting updates from the secondary.
# Acceptable values are:
# 0 Secondary server is read-only (default)
# 1 through twice the number of CPU VPs, threads
# for performing updates from the secondary.
# Valid for HDR, SDS, and RSS.
# FAILOVER_CALLBACK - Specifies the path and program name called when a
# secondary server transitions to a standard or
# primary server. Valid for HDR, SDS, and RSS.
# TEMPTAB_NOLOG - Controls the default logging mode for temporary
# tables that are explicitly created with the
# CREATE TEMP TABLE or SELECT INTO TEMP statements.
# Secondary servers must not have logged temporary
# tables. Acceptable values are:
# 0 Create temporary tables with logging enabled by
# default.
# 1 Create temporary tables without logging.
# Required to be set to 1 on HDR, RSS, and SDS
# secondary servers.
# DELAY_APPLY - Specifies a delay factor for RSS
# secondary nodes. The format is ###[DHMS] where
# D stands for days
# H stands for hours
# M stands for minutes
# S stands for seconds (default)
# STOP_APPLY - Halts the apply on an RSS node
# 1 halts the apply
# 0 resumes the apply (default)
# YYYY:MM:DD:hh:mm:ss - time at which to stop
# LOG_STAGING_DIR - Specifies a directory in which to stage log files
# RSS_FLOW_CONTROL - Defines the point at which RSS flow control will
# be activated. Values defined as being
# RSS_FLOW_CONTROL ,
# where start is the point at which flow control
# is activated and end is the point at which it
# deactivated. Valid values are
# -1 - Never use flow control - can result in a
# log wrap
# 0 Default (12 times log buffer size)
# Start,Stop - where start should be a larger value
# than Stop. The values can have a scale
# factor of K, M, G for kilobytes,
# megabyte, gigabyte.
# Example:
# RSS_FLOW_CONTROL 10000K,9000K
# FAILOVER_TX_TIMEOUT - Specifies the timeout for a failover to take
# before transaction survival is abandonded
# ENABLE_SNAPSHOT_COPY- Specifies whether we can clone this instance
# Directly to another machine using the
# Snapshot Clone facility.
# 1 - Enable snapshot copies
# 0 - Disable snapshot copies
# SMX_COMPRESS - Controls the network interface compression level.
# Acceptable values are:
# -1 - Never
# 0 - None
# 1-9 - Compression level
# SMX_PING_INTERVAL - Specifies the maximum number of seconds to wait before
# closing a network connection to an unresponsive
# peer server.
# Acceptable values are:
# 0 Connections are not closed
# 1-60 Number of seconds to wait
# SMX_PING_RETRY - Specifies the number of times to repeat
# SMX_PING_INTERVAL before closing a connection.
# Can be any positive numeric value.
# CLUSTER_TXN_SCOPE - Defines the scope of the awareness of a transaction
# executing on a cluster. This defines the scope of
# that transactions updates as part of the commit.
# The default is SERVER
# SESSION - The session is made aware of the changes
# SERVER - The sessions running on the secondary server
# are made aware of the transactions changes.
# CLUSTER - Any session running on the cluster is made
# aware of the transactionss changes.
###################################################################
DRAUTO 0
DRINTERVAL 0
HDR_TXN_SCOPE NEAR_SYNC
DRTIMEOUT 30
HA_ALIAS
HA_FOC_ORDER SDS,HDR,RSS
DRLOSTFOUND $INFORMIXDIR/etc/dr.lostfound
DRIDXAUTO 0
LOG_INDEX_BUILDS
SDS_ENABLE
SDS_TIMEOUT 20
SDS_TEMPDBS
SDS_PAGING
SDS_LOGCHECK 10
SDS_ALTERNATE NONE
SDS_FLOW_CONTROL 0
UPDATABLE_SECONDARY 0
FAILOVER_CALLBACK
FAILOVER_TX_TIMEOUT 0
TEMPTAB_NOLOG 0
DELAY_APPLY 0
STOP_APPLY 0
LOG_STAGING_DIR
RSS_FLOW_CONTROL 0
ENABLE_SNAPSHOT_COPY 0
SMX_COMPRESS 0
SMX_PING_INTERVAL 10
SMX_PING_RETRY 6
CLUSTER_TXN_SCOPE SERVER
###################################################################
# Logical Recovery Parameters
###################################################################
# ON_RECVRY_THREADS - The number of logical recovery threads that
# run in parallel during a warm restore.
# OFF_RECVRY_THREADS - The number of logical recovery threads used
# in a cold restore. Also, the number of
# threads used during fast recovery.
###################################################################
ON_RECVRY_THREADS 1
OFF_RECVRY_THREADS 10
###################################################################
# Diagnostic Dump Configuration Parameters
###################################################################
# DUMPDIR - The location Assertion Failure (AF) diagnostic
# files
# DUMPSHMEM - Controls shared memory dumps. Acceptable values
# are:
# 0 Disabled
# 1 Dump all shared memory
# 2 Exclude the buffer pool from the dump
# DUMPGCORE - Enables (1) or disables (0) whether Informix dumps a
# core using gcore
# DUMPCORE - Enables (1) or disables (0) whether Informix dumps a
# core after an AF
# DUMPCNT - The maximum number of shared memory dumps or
# core files for a single session
###################################################################
DUMPDIR $INFORMIXDIR/tmp
DUMPSHMEM 0
DUMPGCORE 0
DUMPCORE 0
DUMPCNT 1
###################################################################
# Alarm Program Configuration Parameters
###################################################################
# ALARMPROGRAM - Specifies the alarm program to display event
# alarms. To enable automatic logical log backup,
# edit alarmprogram.sh and set BACKUPLOGS=Y.
# ALRM_ALL_EVENTS - Controls whether the alarm program runs for
# every event. Acceptable values are:
# 0 Logs only noteworthy events
# 1 Logs all events
# STORAGE_FULL_ALARM -,
# specifies in what interval:
# - a message will be printed to the online.log file
# - an alarm will be raised
# when
# - a dbspace becomes full
# (ISAM error -131)
# - a partition runs out of pages or extents
# (ISAM error -136)
# time interval = 0 : OFF
# severity = 0 : no alarm, only message
# SYSALARMPROGRAM - Specifies the system alarm program triggered
# when an AF occurs
###################################################################
ALARMPROGRAM $INFORMIXDIR/etc/alarmprogram.sh
ALRM_ALL_EVENTS 0
STORAGE_FULL_ALARM 600,3
SYSALARMPROGRAM $INFORMIXDIR/etc/evidence.sh
###################################################################
# RAS Configuration Parameters
###################################################################
# RAS_PLOG_SPEED - Technical Support diagnostic parameter.
# Do not change; automatically updated.
# RAS_LLOG_SPEED - Technical Support diagnostic parameter.
# Do not change; automatically updated.
###################################################################
RAS_PLOG_SPEED 1558339
RAS_LLOG_SPEED 0
###################################################################
# Character Processing Configuration Parameter
###################################################################
# EILSEQ_COMPAT_MODE - Controls whether when processing characters,
# Informix checks if the characters are valid for
# the locale and returns error -202 if they are
# not. Acceptable values are:
# 0 Return an error for characters that are not
# valid (Default)
# 1 Allow characters that are not valid
####################################################################
EILSEQ_COMPAT_MODE 0
###################################################################
# Statistic Configuration Parameters
###################################################################
# QSTATS - Enables (1) or disables (0) the collection of queue
# statistics that can be viewed with onstat -g qst
# WSTATS - Enables (1) or disables (0) the collection of wait
# statistics that can be viewed with onstat -g wst
####################################################################
QSTATS 0
WSTATS 0
####################################################################
# USERMAPPING - Control access to Informix for users without operating
# system accounts.
####################################################################
# OFF - users without operating system accounts cannot use Informix
# BASIC - users without operating system accounts can use Informix but
# not as privileged users
# ADMIN - users without operating system accounts can use Informix as
# privileged users
####################################################################
USERMAPPING OFF
###################################################################
# Storage Provisioning Parameters
###################################################################
# SP_AUTOEXPAND - When set to 1, Informix will automatically expand spaces
# that are low on or out of free pages. Set this param
# to 0 to disable automatic chunk extensions and chunk
# additions.
# Default value is 1 (enabled).
# SP_THRESHOLD - Minimum amount of free space in a DBspace, BLOBspace,
# or Smart BLOBspace before the space will automatically
# be expanded. Value is a decimal, and can be an absolute
# number of kilobytes or a percentage of the total size
# in the DBspace.
# Default value is 0, which effectively disables this
# proactive storage provisioning trigger.
# SP_WAITTIME - Access to the storage pool is serialized. When one thread
# is accessing the storage pool, SP_WAITIME is the number of
# seconds another thread will wait before giving up on
# its own access.
# Default value is 30.
####################################################################
SP_AUTOEXPAND 1
SP_THRESHOLD 0
SP_WAITTIME 30
###################################################################
# Automatic Location of Database Objects
###################################################################
# AUTOLOCATE - When creating a database, table, or index, a Dbspace may
# be specified for the objects location. If no space is
# specified, and AUTOLOCATE is set to an integer between 1
# and 32, the server will locate these objects for optimal
# performance and space utilization. Also, tables are
# fragmented by round-robin unless otherwise specified,
# with the number of initial fragments being equal to the value
# of AUTOLOCATE. If a round-robin table runs out of space,
# additional round-robin fragments will be automatically added
# on the fly.
#
# Default value is 0 (Disabled)
#
###################################################################
AUTOLOCATE 0
###################################################################
# Default escape character for LIKE/MATCHES parameter
###################################################################
# DEFAULTESCCHAR - The default escape character. If not defined,
# \ is used as escape character. Prior to
# 11.70, \ was the default. Acceptable values:
# NONE - no default escape character
# c - any one-character value
# The default defined here may be overriden in a
# session using:
# SET ENVIRONMENT DEFAULTESCCHAR
# and for a specific statement by including the
# ESCAPE clause.
###################################################################
DEFAULTESCCHAR \
###################################################################
# MQ Configuration Parameters
#
# Note: to start an MQ VP, add this line:
# VPCLASS MQ,num=1,noyield
###################################################################
# MQSERVER - Specifies the location of the WebSphere MQ server and
# the communication method to be used
# MQCHLLIB - Specifies the path to the directory containing the
# client channel definition table
# MQCHLTAB - Specifies the name of the client channel definition
# table
####################################################################
MQSERVER
MQCHLLIB
MQCHLTAB
###################################################################
# REMOTE_SERVER_CFG - Specifies the name of a file that lists the
# remote hosts that are trusted by the computer on which the
# database server resides. The file specified must be located in
# $INFORMIXDIR/etc. If the configuration parameter is set then the
# file specified is used instead of the /etc/hosts.equiv file.
#
# REMOTE_USERS_CFG - Specifies the name of a file that lists names
# of trusted users that exist on remote hosts. The file specified
# must be located in $INFORMIXDIR/etc. If the configuration
# parameter is set then the file specified is used instead of the
# ~/.rhosts file.
#
# S6_USE_REMOTE_SERVER_CFG - Specifies that the server will use
# the value for REMOTE_SERVER_CFG rather than $INFORMIXDIR/etc/hosts.equiv
# when using secured ER/HDR connections (i.e. s=6). If set to 0 then
# the existing behaviour is used ($INFORMIXDIR/etc/hosts.equiv). If
# set to 1 then the value of REMOTE_SERVER_CFG will be used
####################################################################
REMOTE_SERVER_CFG
REMOTE_USERS_CFG
S6_USE_REMOTE_SERVER_CFG 0
####################################################################
# Low Memory Parameter
####################################################################
# LOW_MEMORY_RESERVE - the amount of memory reserved for critical
# operations like rollback. If these operations fail then it crashes
# the Server. Valid range 0 (off) or 128 Kbytes up to 20% the first
# virtual segment size. Units are Kbytes.
#
# The LOW_MEMORY_MGR allows Informix to throttle sessions when the
# server is running low on memory. When SHMTOTAL is set, Informix
# will attempt to adhere to the memory restriction set by SHMTOTAL.
####################################################################
LOW_MEMORY_RESERVE 0
LOW_MEMORY_MGR 0
#######################################################################
# GSKit Library Version
#######################################################################
# GSKIT_VERSION - Specifies which version (7, 8, etc.) of GSKit the
# server uses. If the parameter is not set, the server uses the GSKit
# version that came in the installation bundle.
#######################################################################
GSKIT_VERSION
#######################################################################
# Connection parameters
#######################################################################
# INFORMIXCONTIME - Specifies for how many seconds the CONNECT statement
# continues each attempt to establish a connection to a database server
# before returning an error.
#
# INFORMIXCONRETRY - Specifies the maximum number of additional
# connection attempts that should be made to each database server by
# the client during the time limit that INFORMIXCONTIME specifies.
#######################################################################
INFORMIXCONTIME 60
INFORMIXCONRETRY 1
###################################################################
# Java Configuration Parameters
###################################################################
# VPCLASS jvp - Configures the Java VP. The format is:
# VPCLASS jvp,num=<#>[,max=<#>][,aff=<#>][,noage]
# JVPPROPFILE - The Java VP property file
# JVPLOGFILE - The Java VP log file
# JVPARGS - Configures the Java VM. To display JNI calls,
# use JVPARGS -verbose:jni. Separate options with
# semicolons.
# JVPCLASSPATH - The Java classpath to use. Use krakatoa_g.jar
# for debugging. Comment out the JVPCLASSPATH
# entry you do not want to use.
###################################################################
#VPCLASS jvp,num=1
JVPPROPFILE $INFORMIXDIR/extend/krakatoa/.jvpprops
JVPLOGFILE $INFORMIXDIR/tmp/jvp.log
#JVPARGS -verbose:jni
JVPARGS -Dcom.ibm.tools.attach.enable=no
#JVPCLASSPATH $INFORMIXDIR/extend/krakatoa/krakatoa_g.jar:$INFORMIXDIR/extend/krakatoa/jdbc_g.jar
JVPCLASSPATH $INFORMIXDIR/extend/krakatoa/krakatoa.jar:$INFORMIXDIR/extend/krakatoa/jdbc.jar
###################################################################
# Buffer pool and LRU Configuration Parameters
###################################################################
# BUFFERPOOL - Specifies the default values for buffers and LRU
# queues in each buffer pool. Each page size used
# by a dbspace has a buffer pool and needs a
# BUFFERPOOL entry. The onconfig.std file contains
# two initial entries: a default entry from which
# to base new page size entries on, and an entry
# for the operating system default page size.
# When you add a dbspace with a different page size,
# IDS adds a BUFFERPOOL entry to the onconfig file
# with values that are the same as the default
# BUFFERPOOL entry, except that the default
# keyword is replaced by size=Nk, where N is the
# new page size. With interval checkpoints, these
# values can now be set higher than in previous
# versions of IDS in an OLTP environment.
###################################################################
BUFFERPOOL default,buffers=100000,lrus=8,lru_min_dirty=50.00,lru_max_dirty=60.50
BUFFERPOOL size=2k,buffers=100000,lrus=8,lru_min_dirty=50,lru_max_dirty=60
关于“如何安装GBase 8t 测试版”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~