温馨提示×

Ubuntu Informix如何授权

小樊
53
2026-08-01 14:33:47
栏目: 智能运维

Ubuntu 上使用的 IBM Informix 数据库,授权(License)主要涉及 版本授权用户/连接授权。下面按常见场景说明。


一、Informix 授权类型(概念)

Informix 常见授权方式包括:

  1. 按版本授权

    • Informix Developer Edition(开发版):免费,仅用于开发/测试
    • Informix Innovator-C Edition:免费,可用于生产(功能有限)
    • Informix Enterprise Edition:商业授权,需购买 License
  2. 按 CPU / 核心授权

    • 按物理 CPU 或 vCPU 数量授权
  3. 按用户或连接数授权

    • 并发用户数
    • 并发连接数

二、Ubuntu 上的授权方式(重点)

Informix 的授权不是通过 Ubuntu 系统完成的,而是通过 Informix 自身的 License 机制。

1️⃣ 查看当前 Informix 授权信息

onstat -l

或者更常用:

onstat -m

查看启动日志中是否有 License 信息。

更详细:

onstat -a | grep -i license

2️⃣ Informix 免费版本(无需额外授权)

如果你安装的是以下版本,默认已授权

  • Informix Developer Edition
  • Informix Innovator-C Edition

✅ 不需要额外输入 License Key
✅ 可直接用于开发或小规模生产

验证:

onstat -

输出中通常会显示版本和授权类型。


3️⃣ 商业版本(Enterprise Edition)授权

如果是 Enterprise Edition,需要:

✅ 1. 获取 License 文件

IBM 会提供:

  • License 文件(.lic
  • 或 License Key + 激活方式

✅ 2. 安装 License

常见方式:

cd $INFORMIXDIR
./install/installer

或:

./install/installer -i console

按提示输入 License Key。

✅ 3. 使用 oninit 重新启动

oninit -vy

4️⃣ 临时授权(试用)

部分版本支持 临时试用授权(Trial License)

  • 通常 30~90 天
  • 到期后数据库无法启动

查看是否到期:

onstat -m

三、Ubuntu 下常见授权问题

❌ 1. 启动时报 License 错误

示例错误:

License verification failed

解决:

  • 确认版本是否匹配
  • 确认 License 文件是否安装
  • 确认系统时间是否正确(时间错误会导致 License 失效)

❌ 2. Ubuntu 不被官方支持?

IBM Informix 官方主要支持 RHEL / SLES

在 Ubuntu 上:

  • 可运行(社区常见)
  • License 机制与 Ubuntu 无关
  • 但 IBM 可能不提供技术支持

✅ 不影响授权本身


四、快速判断你是否需要授权

场景 是否需要授权
开发测试 ❌(Developer Edition)
小型生产 ❌(Innovator-C)
企业级生产 ✅(Enterprise License)
试用 ✅(Trial License)

五、我可以帮你进一步确认

你可以把以下信息发我,我可以帮你判断:

  1. Informix 版本
    onstat -
    
  2. 报错信息(如果有)
  3. 用途(开发 / 生产 / 测试)

我可以直接告诉你 是否需要购买 License,以及如何激活

0