简体   繁体   English

在一台机器上运行两个 Pentaho 实例

[英]Running two Pentaho instances on one machine

I want to upgrade our Pentaho-server CE installation, from version 7.1 to version 9.0 (because version 7.1 has serious issue with datetime picker and timezones).我想将我们的 Pentaho-server CE 安装从 7.1 版升级到 9.0 版(因为 7.1 版在日期时间选择器和时区方面存在严重问题)。

However, I cannot turn off our current 7.1 instance, spend few days/weeks to make 9.0 work and than turn that one on.但是,我不能关闭我们当前的 7.1 实例,花几天/几周的时间让 9.0 工作,然后打开那个。 I have to do 9.0 while 7.1 is still running.我必须在 7.1 仍在运行时执行 9.0。

To avoid duplicate work, I was thinking about installing 9.0 to alongside currently running 7.1, on the same server, where the database and other stuff is.为了避免重复工作,我正在考虑将 9.0 与当前运行的 7.1 一起安装在数据库和其他东西所在的同一台服务器上。

I am thinking about 2 options how to make it:我正在考虑如何制作 2 个选项:

  1. Test it during night, at about 22:00 stop 7.1 instance and start 9.0 instance to do all the tests and work, when finished, stop 9.0 and start 7.1 again.晚上测试它,大约在 22:00 停止 7.1 实例并启动 9.0 实例以完成所有测试和工作,完成后停止 9.0 并重新启动 7.1。
  2. Have both instances running simultaneously, on different ports.让两个实例在不同的端口上同时运行。

I have already checked up about this topic, since I am not very familiar with tomcat.我已经检查过这个话题,因为我对 tomcat 不是很熟悉。 Most of sources only mention ports changing, which is obvious even for me.大多数消息来源只提到端口的变化,这对我来说也是显而易见的。 But I am little bit worried about the internal databases ( jackrabbit , quartz and hibernate ).但我有点担心内部数据库( jackrabbitquartzhibernate )。 Our currently running instance 7.1 is using PostgreSQL for them, and I want to have it that way for 9.0 too.我们当前运行的实例 7.1 正在为它们使用 PostgreSQL,我也希望在 9.0 中也使用这种方式。 However what I worry about is, that if I run Pentaho9.0 over those internal databases, it will break the older instance 7.1 and make it unusable.但是我担心的是,如果我在这些内部数据库上运行 Pentaho9.0,它将破坏旧实例 7.1 并使其无法使用。

So, my question is, will running pentaho 9.0 over pentaho 7.1 internal databases ( jackrabbit , quartz and hibernate ) make those incompatible with the 7.1 version?所以,我的问题是,在 pentaho 7.1 内部数据库( jackrabbitquartzhibernate )上运行 pentaho 9.0 是否会使它们与 7.1 版本不兼容? And how to safely run 2 pentaho instances on one machine (while having in mind that the switch from 7.1 to 9.0 in future shouldn't be too complicated:)以及如何在一台机器上安全地运行 2 个 pentaho 实例(同时请记住,将来从 7.1 切换到 9.0 应该不会太复杂:)

I have recently completed Pentaho 7.1 to Pentaho 8.3 upgrade activity.我最近完成了 Pentaho 7.1 到 Pentaho 8.3 的升级活动。

My advise我的建议

  1. Do not run two servers on the same machine simultaneously, it creates lot of memory issue even if you have high machine configuration不要在同一台机器上同时运行两台服务器,即使你的机器配置很高,它也会产生很多 memory 问题

  2. Take backup of your repository (jackrabbit, quartz and hibernate), once your start the 9.1 server pentaho will internally make your repository to 9.1 compatible hence it will be not useful when you want to switch back to 7.1备份您的存储库(jackrabbit、quartz 和 hibernate),一旦您启动 9.1 服务器 pentaho 将在内部使您的存储库与 9.1 兼容,因此当您想切换回 7.1 时它将没有用

  3. create a copy of your database(jackrabbit, quartz and hibernate), with 9.1 use this copy and keep using 7.1 at it is.创建数据库的副本(jackrabbit、quartz 和 hibernate),在 9.1 中使用此副本并继续使用 7.1。

Note: Pentaho 9.1 is not a stable version, check all your use-cases and open jira bugs related to version 9.1 before you consider upgrading or updating your pentaho version.注意:Pentaho 9.1 不是一个稳定版本,在考虑升级或更新 pentaho 版本之前,请检查所有用例并打开与 9.1 版本相关的 jira 错误。

I have found very simple solution.我找到了非常简单的解决方案。 In Pentaho documentation, there is a script from importing/exporting all the stuff from one Pentaho installation to another.在 Pentaho 文档中,有一个脚本可以将所有东西从一个 Pentaho 安装导入/导出到另一个。 (users, reports, connections, etc). (用户、报告、连接等)。

So, I do not need to run 2 instances and do lots of work on Pentaho 9 to move all the stuff from currently running Pentaho 7.1 instance.所以,我不需要运行 2 个实例并在 Pentaho 9 上做很多工作来从当前运行的 Pentaho 7.1 实例中转移所有东西。

All I do is export everything from Pentaho 7.1.我所做的就是从 Pentaho 7.1 导出所有内容。 Turn it off, start Pentaho 9 and import all the stuff there.关闭它,启动 Pentaho 9 并在那里导入所有的东西。 Simple.简单的。

Source: https://help.pentaho.com/Documentation/7.1/0P0/Managing_the_Pentaho_Repository/Backup_and_Restore_Pentaho_Repositories来源: https://help.pentaho.com/Documentation/7.1/0P0/Managing_the_Pentaho_Repository/Backup_and_Restore_Pentaho_Repositories

https://help.pentaho.com/Documentation/9.0/Setup/Backup_and_restore_Pentaho_repositories https://help.pentaho.com/Documentation/9.0/Setup/Backup_and_restore_Pentaho_repositories

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在同一个Linux物理机器上运行couchDB的两个实例 - how to run two instances of couchDB in the same linux physical machine 在 Linux 上的同一台机器上运行多个实例时的 .Net Core 垃圾收集 - .Net Core Garbage Collection When Running Many Instances On Same Machine On Linux OpenMP不会在一台机器上启动线程,但在另一台运行相同操作系统的机器上可以正常工作 - OpenMP not starting threads in one machine but works OK in another one running the same OS 使用锁定文件时如何避免竞争条件以避免脚本的两个实例同时运行? - How to avoid race condition when using a lock-file to avoid two instances of a script running simultaneously? 当运行多个应用实例而不是一个实例时,为什么Java App占用的总CPU更少? - Why does Java App take less overall CPU when running multiple instances of app instead of one instance? 如何在 Linux 中运行多个 tomcat 实例时获取一个特定的 tomcat PID - How to get One particular tomcat PID while several tomcat instances are running in Linux Bluej 未在 Ubuntu 机器中运行 - Bluej not running in Ubuntu machine 在虚拟机中运行Localhost - Running Localhost in virtual machine map 1个iscsi磁盘看两台主机我把文件扔到一台机器上,另一台不用重启机器。 等着瞧 - map 1 iscsi disk to see two hosts I throw files to one machine, the other doesn't have to reboot the machine. will see 多核机器上的多个程序实例 - Multiple instances of program on multi-core machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM