【问题标题】:How to rename an WebSphere Application server 7如何重命名 WebSphere 应用程序服务器 7
【发布时间】:2013-12-08 01:15:07
【问题描述】:

大家好。

如何在 dmgr 环境中更改应用服务器名称(默认为 server1)?

我找到了类似的主题 - How to rename an application server in WebSphere Application Server 6.0.2.23

并尝试了那里提到的方法:

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/ws_ant.sh \
-profileName AppSrv01 \
-buildfile exportImport.xml \
-logfile rename.log \
-DoldServerName=server1 \
-DnewServerName=server2 \
-DnodeName=yourNode01 changeServerName

服务器重命名,我可以用 newservername 停止它,但是当我尝试用 newservername 启动它时,服务器不可用,配置不会保存一些方法

有人可以详细说明一下吗?提前致谢。

【问题讨论】:

    标签: websphere commerce


    【解决方案1】:

    命令提示符中有一个名为 renameNode.sh(.bat) 的命令可用于修改联合服务器的节点名称。

    导航到您的个人资料的根目录。 (通常类似于:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin 在 unix 服务器上)

    语法:renameNode.sh 重命名节点.bat

    启动此命令会导致以下操作:

    1. 连接到部署管理器。
    2. 停止所有服务器。
    3. 更改部署管理器上的节点配置。
    4. 同步节点。

    另外,这里有一个大型 Python 库: http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html 可能有重命名功能,不确定。

    【讨论】:

    • 非常感谢您的回复 WPrecht,但我正在寻找更改服务器名称(默认为“Server1”)而不是节点名称的方法。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-25
    • 2013-09-12
    • 1970-01-01
    • 2017-08-30
    • 2011-11-30
    相关资源
    最近更新 更多