当前位置: 首页 > news >正文

informix 14 LVM模式安装

系统要求

Informix Server System Requirements (ibm.com)

RHEL 7

  • Minimum update 4
  • Base kernel version 3.10.0
  • Glibc version 2.17
  • Compiler 4.8.5
    Standard C++ library, libstdc++.so.6 must be installed

环境准备

Linux版本:CentOS Linux release 7.9.2009 (Core)

Linux主机名:infsrv

informix安装包:ibm.ids.14.10.FC10W1.LNX.tar

informix服务名:infor

内核参数调整

cat >> /etc/sysctl.conf << EOF kernel.shmmax = 4398046511104 kernel.shmall = 4294967296 kernel.shmmni = 4096 kernel.sem = 100 32000 1024 2048 vm.swappiness = 0 EOF
cat >> /etc/security/limits.conf <<EOF * soft nproc 40960 * hard nproc 81920 root soft nproc unlimited * soft nofile 102400 * hard nofile 204800 root soft nofile unlimited EOF

环境准备

setenforce 0sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config

disable_FW

create informix user & group

groupadd -g 1000 informix useradd -g informix -d /home/informix -m -s /bin/bash informix passwd informix
su - informix cat >> ~/.bash_profile << EOF export INFORMIXDIR=/opt/informix export INFORMIXSQLHOSTS=$INFORMIXDIR/etc/sqlhosts export ONCONFIG=onconfig.infor export INFORMIXSERVER=infor export PATH=$INFORMIXDIR/bin:$PATH EOF

注:INFERMIXSERVER = instance name (sqlhost) = DBSERVERNAME (onconfig)

create DB folder

mkdir -p /data/informix chmod 755 /data chmod 755 /data/informix chown informix:informix /data/informix

以 root 身份登录,创建"rootdbs"数据库空间文件:

rootdbs必须660

create datafile folders

pvcreate /dev/sdb vgcreate vgdata /dev/sdb lvcreate -n lvrootchk -L 1050M vgdata lvcreate -n lvplogchk -L 1050M vgdata lvcreate -n lvllogchk -L 1050M vgdata lvcreate -n lvtempchk01 -L 1050M vgdata lvcreate -n lvsbspace01 -L 1050M vgdata lvcreate -n lvdatachk01 -L 1050M vgdata cd /dev/vgdata chown informix:informix lv* chmod 0660 lv* ll ../dm-[3-8] mkdir -p /data/informix chmod 775 /data chmod 775 /data/informix chown informix:informix /data/informix cd /data/informix ln -s /dev/vgdata/lvrootchk rootchk ln -s /dev/vgdata/lvplogchk plogchk ln -s /dev/vgdata/lvllogchk llogchk ln -s /dev/vgdata/lvtempchk01 tempchk01 ln -s /dev/vgdata/lvsbspace01 sbspace01 ln -s /dev/vgdata/lvdatachk01 datachk01
[root@infsrv informix]# pvcreate /dev/sdb Physical volume "/dev/sdb" successfully created. [root@infsrv informix]# vgcreate vgdata /dev/sdb Volume group "vgdata" successfully created [root@infsrv informix]# lvcreate -n lvrootchk -L 1050M vgdata Rounding up size to full physical extent <1.03 GiB Logical volume "lvrootchk" created. [root@infsrv informix]# lvcreate -n lvplogchk -L 1050M vgdata Rounding up size to full physical extent <1.03 GiB Logical volume "lvplogchk" created. [root@infsrv informix]# lvcreate -n lvllogchk -L 1050M vgdata Rounding up size to full physical extent <1.03 GiB Logical volume "lvllogchk" created. [root@infsrv informix]# lvcreate -n lvtempchk01 -L 1050M vgdata Rounding up size to full physical extent <1.03 GiB Logical volume "lvtempchk01" created. [root@infsrv informix]# lvcreate -n lvsbspace01 -L 1050M vgdata Rounding up size to full physical extent <1.03 GiB Logical volume "lvsbspace01" created. [root@infsrv informix]# lvcreate -n lvdatachk01 -L 1050M vgdata Rounding up size to full physical extent <1.03 GiB Logical volume "lvdatachk01" created. [root@infsrv vgdata]# ll total 0 lrwxrwxrwx. 1 root root 7 Jul 10 11:31 lvdatachk01 -> ../dm-8 lrwxrwxrwx. 1 root root 7 Jul 10 11:31 lvllogchk -> ../dm-5 lrwxrwxrwx. 1 root root 7 Jul 10 11:31 lvplogchk -> ../dm-4 lrwxrwxrwx. 1 root root 7 Jul 10 11:31 lvrootchk -> ../dm-3 lrwxrwxrwx. 1 root root 7 Jul 10 11:31 lvsbspace01 -> ../dm-7 lrwxrwxrwx. 1 root root 7 Jul 10 11:31 lvtempchk01 -> ../dm-6 [root@infsrv vgdata]# chown informix:informix lv* [root@infsrv vgdata]# chmod 0660 lv* [root@infsrv vgdata]# ll ../dm-[3-8] brw-rw----. 1 informix informix 253, 3 Jul 10 15:16 ../dm-3 brw-rw----. 1 informix informix 253, 4 Jul 10 11:31 ../dm-4 brw-rw----. 1 informix informix 253, 5 Jul 10 11:31 ../dm-5 brw-rw----. 1 informix informix 253, 6 Jul 10 11:31 ../dm-6 brw-rw----. 1 informix informix 253, 7 Jul 10 11:31 ../dm-7 brw-rw----. 1 informix informix 253, 8 Jul 10 11:31 ../dm-8

Install informix DB (root account)

cd /software
tar -xvf /software/ibm.ids.14.10.FC10W1.LNX.tar
tar -xvf /software/ibm.ids.14.10.FC10W1.LNX.tar -C /opt/informix/

#选择非GUI模式安装,其他根据提示保持默认选项,也就是回车

[root@localhost ~]# cd /opt/informix/ [root@localhost informix]# ./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... =============================================================================== (created with InstallAnywhere) ------------------------------------------------------------------------------- Preparing CONSOLE Mode Installation... =============================================================================== Getting Started --------------- This application will guide you through the installation of IBM Informix Software Bundle Developer edition. Copyright HCL Technologies Ltd. 2017, 2023. All rights reserved. Copyright IBM Corporation 2001, 2017. All rights reserved. 1. Release Notes The Release Notes can be found in /opt/informix/doc/ids_unix_relnotes_14.10.html 2. Launch Online Documentation: Access the IBM Informix 14.10 Knowledge Center at https://www.ibm.com/support/knowledgecenter/SSGU8G/welcomeIfxServers.html To Begin Installation, Respond to each prompt to proceed to the next step in the installation. If you want to change something on a previous step, type 'back'. You may cancel this installation at any time by typing 'quit'. PRESS <ENTER> TO CONTINUE: Press Enter to continue viewing the license agreement, or enter "1" to accept the agreement, "2" to decline it, "3" to print it, or "99" to go back to the previous screen.: 1 =============================================================================== Installation Location --------------------- Choose location for software installation Default Install Folder: /opt/IBM/Informix_Software_Bundle ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT : /opt/informix INSTALL FOLDER IS: /opt/informix IS THIS CORRECT? (Y/N): y =============================================================================== Installation or Distribution ---------------------------- Select the i
http://www.jsqmd.com/news/902751/

相关文章:

  • 2026江苏长晶科技代理商推荐榜单 - 资讯速览
  • 5分钟搞定专业语音转文字:Faster-Whisper-GUI实战指南
  • 从HDRI到游戏画面:手把手教你用Unity实现IBL全局光照(附完整Shader代码)
  • 2026西安财税疑难处理|认准西安长安德勤财税,专业化解企业税务危机 - 小柏云
  • 基于随机森林与XGBoost的工业设备预测性健康管理实战
  • 软件设计师(十)网络与信息安全基础知识
  • AI推理和训练系统:AI从学习到应用的核心引擎
  • 刚刚!多所高校发布论文框架新规!被说“结构有问题”别慌,这8款AI毕业论文工具实测能救急 - 逢君学术-AI论文写作
  • 乐山黄金回收实地探访:五大环节实测评分,福昌夏脱颖而出 - 黄金上门回收
  • 终极解决方案:Topit如何彻底改变你的macOS多窗口工作流
  • 告别手动测试!用CPAL脚本的IL函数实现CANoe自动化(附故障注入实战)
  • CTFHub默认口令题实战复盘:我是如何绕过亿邮网关验证码拿到Flag的
  • AI驱动的漏洞挖掘与攻防:从Claude Mythos看网络安全新范式
  • 昆明福昌夏等六家黄金回收机构清单,老顾客亲测推荐值得收藏 - 黄金上门回收
  • 从实验室到车前装:车载毫米波雷达的‘车规级’环境测试到底有多严苛?
  • 终极指南:如何从零构建你自己的智能机器狗
  • VLC播放器美化终极指南:5款VeLoCity皮肤让你的播放器焕然一新
  • 基于系统代理的抖音弹幕抓取完整指南:实时监听浏览器与客户端数据流
  • 揭秘Hy-MT1.5-1.8B-2bit核心技术:2位量化如何实现极致压缩
  • 给你的浏览器装上翅膀:像魔法一样轻松获取百度文库文档
  • AI数字社工平台:用智能技术为基层社工减负增效
  • VMFS队列深度默认值是多少?HBA优化配置完整教程
  • 企业级LAMP备份【20260528】001篇
  • 眼油去细纹干纹哪个牌子好?CA眼油25天淡化静态眼纹 - 全网最美
  • Legacy iOS Kit终极指南:让旧款iOS设备重获新生
  • 13803黄大年茶思屋第138期(基础软件领域第三期)第3题:DBOS存储跨层超时阈值的一致性感知技术
  • PQS与x402协议集成:构建AI提示词链上支付生态的技术实践
  • LoRA目标模块配置详解:Gemma 4 31B推理适配器的7大关键层
  • 从像素到矢量:智能图像矢量化技术如何重塑您的设计工作流
  • esxtop CPU队列多少算高?Run Queue超标判断教程