原 InterSystems IRIS安装部署
Tags: 原创安装部署InterSystems IRIS
简介
IRIS 是 InterSystems 公司推出的新一代 智能数据平台(原名为 Caché 的升级版),它的全称是 InterSystems IRIS(Interoperable, Reliable, Intelligent, and Scalable)。
- I = Interoperable(互操作性)
- 支持多种数据格式(HL7、FHIR、JSON、XML等),轻松对接不同系统(如医院HIS、银行核心系统)。
- R = Reliable(高可靠性)
- 提供ACID事务、故障恢复、高可用性(HA)配置。
- I = Intelligent(智能化)
- 内置AI工具(机器学习、NLP)、实时分析引擎。
- S = Scalable(可扩展性)
- 支持分布式架构,可横向扩展至数百节点。
InterSystems 提供了两个社区版(Community Edition)的数据库产品:IRIS Community 和 IRIS for Health Community,它们均免费供开发和学习使用,但面向的领域和功能有所不同。以下是它们的核心区别:
主要区别对比
| 对比项 | IRIS Community | IRIS for Health Community |
|---|---|---|
| 目标用户 | 通用开发者(金融、物流、政府等) | 医疗健康行业开发者(医院、医保、临床) |
| 核心功能 | 基础IRIS功能(多模型数据库、互操作性) | 在IRIS基础上增加医疗专用组件 |
| 医疗行业支持 | 有限(需手动配置HL7/FHIR) | 原生集成HL7、FHIR、医疗数据模型 |
| 包含工具 | 标准数据库管理工具 | 医疗专用工具(如HL7消息分析器) |
| 许可证限制 | 免费,仅限非生产环境 | 免费,仅限非生产环境 |
| 适用场景 | 通用应用开发、学习、测试 | 医疗应用开发、电子病历(EMR)原型 |
- IRIS Community = 通用版,适合广泛场景。
- IRIS for Health Community = 医疗特化版,开箱即用支持FHIR/HL7。
如果是医疗相关项目,直接选择 IRIS for Health;否则使用标准版即可。两者均可无缝迁移到商业版(如IRIS/HealthShare)。
下载
所有人现在可以在 https://evaluation.intersystems.com下载IRIS和IRIS for Health社区和企业版 。
客户以及潜在客户都可以尝试我们最新最强的功能,包括一些还没有发布的新特性。
下载地址:https://evaluation.intersystems.com/Eval/community-download ,需要注册登录,免费。
直接安装
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | docker rm -f lhriris docker run -itd --name lhriris -h lhriris --cpus=20 \ -p 1972:1972 -p 1973:3389 \ -p 52773:52773 -p 1974:22 \ --privileged=true lhrbest/lhrubuntu2204:3.0 \ init docker cp IRIS_Community-2025.1.0.223.0-lnxubuntu2204x64.tar.gz lhriris:/soft/ docker exec -it lhriris bash cd /soft/ tar -xvf IRIS_Community-2025.1.0.223.0-lnxubuntu2204x64.tar.gz cd IRIS_Community-2025.1.0.223.0-lnxubuntu2204x64 chmod +x irisinstall -- 修改vi cplatname文件,将not_in_docker修改为如下的内容,即可跳过检查: not_in_docker() { return 0; } # 开始安装 ./irisinstall 访问管理门户:http://127.0.0.1:52773/csp/sys/UtilHome.csp 用户名:root,密码:123456789 dbeaver连接:主机192.17.1.172 端口1972 数据库user root@lhriris:~# iris list Configuration 'IRISHEALTH' (default) directory: /intersystem versionid: 2025.1.0.223.0com datadir: /intersystem conf file: iris.cpf (WebServer port = 52773) status: running, since Tue May 13 14:14:40 2025 SuperServers: 1972 state: ok product: InterSystems IRIS root@lhriris:/intersystem# iris all Instance Name Version ID Port Directory ---------------- ---------------- ----- -------------------------------- up >IRISHEALTH 2025.1.0.223.0co 1972 /intersystem m root@lhriris:~# netstat -tulnp | egrep 'iris|http' tcp 0 0 0.0.0.0:1972 0.0.0.0:* LISTEN 17502/irisdb tcp 0 0 0.0.0.0:52773 0.0.0.0:* LISTEN 17521/httpd |
安装日志:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | root@lhriris:/soft/IRIS_Community-2025.1.0.223.0-lnxubuntu2204x64# ./irisinstall Your system type is 'Docker Ubuntu LTS (x64)'. Your system does not match any of the distribution types on this media. Available distribution types: ** Installation aborted ** No packages will be installed. root@lhriris:/soft/IRIS_Community-2025.1.0.223.0-lnxubuntu2204x64# vi ./cplatname root@lhriris:/soft/IRIS_Community-2025.1.0.223.0-lnxubuntu2204x64# ./irisinstall Your system type is 'Ubuntu 22.04 LTS (x64)'. Enter instance name <IRIS>: IRISHEALTH Enter a destination directory for the new instance. Directory: /intersystem Directory '/intersystem' does not exist. Do you want to create it <Yes>? yes Select installation type. 1) Development - Install InterSystems IRIS server and all language bindings 2) Server only - Install InterSystems IRIS server 3) Custom Setup type <1>? 1 How restrictive do you want the initial Security settings to be? "Locked Down" is the most secure, "Minimal" is the least restrictive. 1) Locked Down 2) Normal 3) Minimal Initial Security settings <1>? 1 What user should be the owner of this instance? root An InterSystems IRIS account will also be created for user root. Install will create the following InterSystems IRIS accounts for you: _SYSTEM, Admin, SuperUser, root and CSPSystem. Please enter the common password for _SYSTEM, Admin, SuperUser and root: Re-enter the password to confirm it: Please enter the password for CSPSystem: Re-enter the password to confirm it: What group should be allowed to start and stop this instance? root Do you want to install IRIS Unicode support <Yes>? yes Local web server detected. Would you like to use the web server to connect to this installation <Yes>? yes InterSystems IRIS did not detect a license key file Do you want to enter a license key <No>? n Please review the installation options: ------------------------------------------------------------------ Instance name: IRISHEALTH Destination directory: /intersystem InterSystems IRIS version to install: 2025.1.0.223.0com Installation type: Development Unicode support: Y Initial Security settings: Locked Down User who owns instance: root Group allowed to start and stop instance: root Effective group for InterSystems IRIS processes: irisusr Effective user for InterSystems IRIS SuperServer: irisusr SuperServer port: 1972 WebServer port: 52773 JDBC Gateway port: 53773 Web Gateway: installed into /opt/webgateway Apache web server will be configured for Web Gateway Apache web server configuration file: /etc/apache2/apache2.conf ------------------------------------------------------------------ Confirm InterSystems IRIS installation <Yes>? y Starting installation Updating Apache configuration file ... - /etc/apache2/apache2.conf Starting up InterSystems IRIS for loading... ../bin/irisinstall -s . -B -c c -C /intersystem/iris.cpf*IRISHEALTH -W 1 -g2 Starting Control Process Allocated 503MB shared memory 32MB global buffers, 80MB routine buffers Creating a WIJ file to hold 32 megabytes of data IRIS startup successful. This copy of InterSystems IRIS has been licensed for use exclusively by: Too many Cores (32) for InterSystems IRIS Community License. Copyright (c) 1986-2025 by InterSystems Corporation Any other use is a violation of your license agreement ^^/intersystem/mgr/> ^^/intersystem/mgr/> Start of IRIS initialization Loading system routines Updating system TEMP and LOCALDATA databases Loading system classes Installing National Language support Setting IRISTEMP default collation to IRIS standard (5) Updating Security database Loading system source code Building system indices Updating Audit database Updating Journal directory Updating User database Updating Interoperability databases Updating Task Manager IRIS initialization complete 300 lines written to /intersystem/mgr/filecheck.isc See the 'iboot.log' file for a record of the installation. Starting IRISHEALTH Using 'iris.cpf' configuration file /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead. Starting Control Process Global buffer setting requires attention. Auto-selected 25% of total memory. Allocated 18887MB shared memory 16065MB global buffers, 1020MB routine buffers Creating a WIJ file to hold 99 megabytes of data This copy of InterSystems IRIS has been licensed for use exclusively by: InterSystems IRIS Community Copyright (c) 1986-2025 by InterSystems Corporation Any other use is a violation of your license agreement You can now access InterSystems IRIS, to access the management portal point your browser to: http://localhost:52773/irishealth/csp/sys/UtilHome.csp Installation completed successfully |
若是OS不支持,则会报错:
1 2 3 4 5 6 7 | [root@lhriris IRISHealth_Community-2025.1.0.223.0-lnxrh8x64]# ./irisinstall Warning: The installer can't find a platform in this distribution supported by your system. The installer can't find a platform in this distribution supported by your system. Contact InterSystems support. |
也不能在docker中安装,但是可以通过修改cplatname文件来跳过该检查:
1 2 3 4 5 6 7 8 9 10 11 12 | root@lhriris:/soft/IRIS_Community-2025.1.0.223.0-lnxubuntu2204x64# chmod +x irisinstall ./irisinstall Your system type is 'Docker Ubuntu LTS (x64)'. Your system does not match any of the distribution types on this media. Available distribution types: ** Installation aborted ** No packages will be installed. |
官方容器版本使用
https://containers.intersystems.com/
https://containers.intersystems.com/contents
1 2 3 4 5 6 7 8 9 | docker pull containers.intersystems.com/intersystems/irishealth-community:2025.1 docker rm -f iris docker run -itd --name iris -h iris --cpus=20 \ --publish 52773:52773 --publish 1972:1972 \ containers.intersystems.com/intersystems/irishealth-community:2025.1 # 出现[INFO] ...started InterSystems IRIS instance IRIS 表示成功 docker logs -f iris |
访问管理门户:http://127.0.0.1:52773/csp/sys/UtilHome.csp
默认用户名:_SYSTEM,密码:SYS
需要限制CPU核数,否则报错:
1 | Error: Invalid Community Edition license, may have exceeded core limit. - Shutting down the system : $zu(56,2)= 0Starting IRIS |
解决:加上 --cpus=20
IRIS 启动关闭相关操作
IRISHEALTH是实例名称
启动数据库:iris start IRISHEALTH
停止数据库:iris stop IRISHEALTH
iris状态:iris list
进入terminal:iris session IRISHEALTH
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | irisowner@riris:~$ iris list Configuration 'IRIS' (default) directory: /usr/irissys versionid: 2025.1.0.223.0com datadir: /usr/irissys conf file: iris.cpf (WebServer port = 52773) status: running, since Mon May 12 09:19:18 2025 SuperServers: 1972 state: ok product: InterSystems IRISHealth irisowner@riris:~$ iris session iris Node: riris, Instance: IRIS USER>h irisowner@riris:~$ |
h 可以退出到linux命令




