当前位置: 首页 > 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.gsyq.cn/news/1412746.html

相关文章:

  • 别再只复现漏洞了!从ShowDoc文件上传漏洞(CNVD-2020-26585)看企业文档系统的安全加固
  • 怎样专业配置BetterNCM-Installer:5个高效部署网易云插件管理器的实用策略
  • 零基础设施构建个人专属AI代理环境:基于GitHub Codespaces的实战方案
  • 乐山黄金回收实地探访:五大环节实测评分,福昌夏脱颖而出 - 黄金上门回收
  • XUnity.AutoTranslator终极指南:三步实现Unity游戏自动翻译
  • 智能识别之中草药分类识别数据集 中草药分类数据集 47 个草本植物类别 草本植物识别 图像分类数据集10196期
  • 基于随机森林与XGBoost的工业设备预测性健康管理实战
  • 揭秘Hy-MT1.5-1.8B-2bit核心技术:2位量化如何实现极致压缩
  • VMFS队列深度默认值是多少?HBA优化配置完整教程
  • FaceFusion 4.7 整合包来袭!彻底解决换脸跳帧,VisoMaster 2.0 实时速度翻倍(附解压即用教程)
  • 抖音无水印下载工具:3步轻松获取高清视频的完整指南
  • 我的 VSCode 自定义主题
  • 开发创业项目用户增长冷启动方案生成程序,为新项目设计零成本冷启动引流创新方法。
  • CANN/cannbot-skills CUDA迁移规则模式
  • 从像素到矢量:智能图像矢量化技术如何重塑您的设计工作流
  • AI数字社工平台:用智能技术为基层社工减负增效
  • Linux SPI调试利器spi-tools深度体验:除了spidev_test,你还有这个更现代的选择
  • 告别Navicat试用期烦恼:macOS上的无限试用重置方案
  • B站评论区成分检测器:开源社区的身份识别引擎
  • 前元音/æ/
  • 告别手动拼接!用Tiled Map Editor + Cocos2d-x 4.0快速制作游戏地图(附完整素材包)
  • (干货整理)实测好用的一键生成论文工具,毕业生收藏备用
  • GPT-Neo 1.3B性能基准测试:在7个NLP任务上的表现
  • 2026芜湖市本地人必选的水质检测专业机构TOP7推荐!生活饮用水检测、直饮水检测、污水废水检测、矿泉水检测,正规CMA资质检测公司排名推荐 (2026年5月水质检测最新深度调研方案) - 一修哥咨询
  • 乌鲁木齐黄金回收乱象曝光:福昌夏教你识破陷阱,安全变现 - 黄金上门回收
  • DLSS Swapper:免费游戏性能优化神器,一键管理超采样文件
  • xlm-roberta-longformer-base-16384-openmind核心技术解析:16384 token长文本处理实战
  • 告别阻塞与丢包:在STM32CubeIDE中玩转USART中断与DMA的混合模式
  • 无人机航拍智能电网巡检|电力部件识别数据集|输电线路绝缘子阻尼器电塔目标检测|YOLO深度学习项目
  • Qwen-Image-Lightning终极指南:如何在8步内生成专业级AI图像