[英]Change root directory of WebSphere Application Server Traditional ND V9
We had successfully installed a WAS ND to a few servers and setup the clustering, installed with test app and working fine.我们已经成功地在几台服务器上安装了 WAS ND 并设置了集群,安装了测试应用程序并且工作正常。 Server are RHEL7.服务器是RHEL7。
The WAS was installed in the default directory /opt/IBM/WebSphere
but due to administration purpose, we are required to move them into /app
instead. WAS 安装在默认目录/opt/IBM/WebSphere
但由于管理目的,我们需要将它们移动到/app
。
Is there any definitive guide or steps that we need to follow to move the installation?我们是否需要遵循任何明确的指南或步骤来移动安装? Would prefer not to delete everything and perform from scratch if possible.如果可能,宁愿不删除所有内容并从头开始执行。
Thank you谢谢
If you have a recent fix pack (less than a year old, so like 9.0.0.4 but the newer the better) on your 9.0 install, you could install 9.0 to the desired install location, create blank profiles with the same cell and node names as your current profiles, and use the migration tools to clone your profiles into the new install which will handle updating all the paths in the profiles.如果您在 9.0 安装中有最近的修订包(不到一年,所以像 9.0.0.4,但越新越好),您可以将 9.0 安装到所需的安装位置,创建具有相同单元和节点名称的空白配置文件作为您当前的配置文件,并使用迁移工具将您的配置文件克隆到新安装中,这将处理更新配置文件中的所有路径。
To do so you would follow the instructions for migrating your profiles to new versions , but would need to specify -allowSameRelease true
to the WASPreUpgrade
command, as well as -clone true
to both WASPreUpgrade
and WASPostUpgrade
.为此,您需要按照将配置文件迁移到新版本的说明进行操作,但需要为WASPreUpgrade
命令指定-allowSameRelease true
,并为WASPreUpgrade
和WASPostUpgrade
指定-clone true
。 Federated nodes you'll need to feed in the -newDmgrHostname
and -newDmgrSoapPort
to WASPostUpgrade
as well.您还需要将-newDmgrHostname
和-newDmgrSoapPort
给WASPostUpgrade
联合节点。 If you intend to keep the same ports, you should shut the old deployment manager down beforehand so the migration process doesn't try to contact it instead.如果您打算保留相同的端口,您应该事先关闭旧的部署管理器,这样迁移过程就不会尝试联系它。
It could also be possible to use mangeprofiles -backupProfile
and manageprofiles -restoreProfile
to just move the profiles over, but after that you'll have to search for any instances of the old install location in the profile config and correct it to the new path yourself--it won't translate the paths for you.也可以使用mangeprofiles -backupProfile
和manageprofiles -restoreProfile
来移动配置文件,但之后您必须在配置文件配置中搜索旧安装位置的任何实例,然后自己将其更正到新路径--它不会为您翻译路径。 I haven't tried it so I can't vouch for that one.我没有尝试过,所以我不能保证那个。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.