安装完成,提示设置信息
三、 配置
新建etc/onconfig.tramsserver文件,根据$INFORMIXDIR/etc/onconfig.std模板进行,
内 容如下:
$cd $cd etc
$cp onconfig.std onconfig.tramsserver $vi onconfig.tramsserver # Root数据库空间配置
ROOTNAME rootdbs # Root数据库空间名
ROOTPATH /opt/informix/data/rootdbs # Root数据库空间路径 ROOTOFFSET 100 # 偏移量(Kbytes) ROOTSIZE 1000000 # 空间大小(Kbytes) # Disk Mirroring Configuration Parameters
MIRROR 0 # Mirroring flag (Yes = 1, No = 0) MIRRORPATH # Path for device containing mirrored root MIRROROFFSET 0 # Offset into mirrored device (Kbytes) # Physical Log Configuration
PHYSDBS rootdbs # Location (dbspace) of physical log
PHYSFILE 2000 # Physical log file size (Kbytes) # Logical Log Configuration
LOGFILES 6 # Number of logical log files LOGSIZE 2000 # Logical log size (Kbytes)
LOG_BACKUP_MODE MANUAL # Logical log backup mode (MANUAL, CONT) # Tablespace Tablespace Configuration in Root Dbspace
TBLTBLFIRST 0 # First extent size (Kbytes) (0 = default) TBLTBLNEXT 0 # Next extent size (Kbytes) (0 = default) # Security
# DBCREATE_PERMISSION:
# By default any user can create a database. Uncomment DBCREATE_PERMISSON to # limit database creation to a specific user. Add a new DBCREATE_PERMISSION # line for each permitted user. #DBCREATE_PERMISSION informix # DB_LIBRARY_PATH:
# When loading a (C or C++) shared object (for a UDR or UDT), IDS checks that # the user-specified path starts with one of the directory prefixes listed in # the comma-separated list of prefixes in DB_LIBRARY_PATH. The string # \ # extensibility and IBM supplied blades to work correctly. # DB_LIBRARY_PATH $INFORMIXDIR/extend # IFX_EXTEND_ROLE:
# 0 (or off) => Disable use of EXTEND role to control who can register # external routines.
# 1 (or on) => Enable use of EXTEND role to control who can register # external routines. This is the default behaviour. #
IFX_EXTEND_ROLE 1# To control the usage of EXTEND role. # Diagnostics
MSGPATH /opt/informix/log/online.log #系统日志文件路径 CONSOLE /dev/console # System console message path
# To automatically backup logical logs, edit alarmprogram.sh and set # BACKUPLOGS=Y
ALARMPROGRAM / opt /informix/etc/alarmprogram.sh #警告程序路径 ALRM_ALL_EVENTS 0 # Triggers ALARMPROGRAM for any event occur TBLSPACE_STATS 1 # Maintain tblspace statistics
# System Archive Tape Device
TAPEDEV /dev/null # Tape device path TAPEBLK 32 # Tape block size (Kbytes)
TAPESIZE 10240 # Maximum amount of data to put on tape (Kbytes)
# Log Archive Tape Device
LTAPEDEV /dev/null # Log tape device path LTAPEBLK 32 # Log tape block size (Kbytes)
LTAPESIZE 10240 # Max amount of data to put on log tape (Kbytes) # Optical
STAGEBLOB # Informix Dynamic Server staging area # System Configuration
SERVERNUM 0 # Unique id corresponding to a OnLine instance DBSERVERNAME cmsserver #默认的数据库名称database name DBSERVERALIASES # List of alternate dbservernames #NETTYPE # Configure poll thread(s) for nettype DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed env. RESIDENT 0 # Forced residency flag (Yes = 1, No = 0) MULTIPROCESSOR 0 # 0 for single-processor, 1 for multi-processor NUMCPUVPS 1 # Number of user (cpu) vps
SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one NOAGE 0 # Process aging
AFF_SPROC 0 # Affinity start processor AFF_NPROCS 0 # Affinity number of processors # Shared Memory Parameters
LOCKS 200000 # 最大锁数量 NUMAIOVPS # Number of IO vps
PHYSBUFF 32 # Physical log buffer size (Kbytes) LOGBUFF 32 # Logical log buffer size (Kbytes) CLEANERS 1 # Number of buffer cleaner processes SHMBASE 0x44000000 # Shared memory base address
SHMVIRTSIZE 8192 # initial virtual shared memory segment size SHMADD 8192 # Size of new shared memory segments (Kbytes) EXTSHMADD 8192 # Size of new extension shared memory segments ( Kbytes)
SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited