WAS 主机名修改

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tagt_hostname.html

 

 

http://www.ibm.com/developerworks/cn/websphere/techjournal/0905_webcon/0905_webcon.html

 

主机名修改要求
1、hostname 修改主机名
2、/etc/hosts /etc/sysconfig/network 两个文件修改主机名
3、最后确认hosts文件中存在127.0.0.1 和localhost
1、
./wsadmin.sh -username username -password password -lang jython
2、
AdminConfig.list('ServerIndex')
显示
'(cells/localhostNode01Cell/nodes/xjdxszxy|serverindex.xml#ServerIndex_1)'
3、修改主机名
AdminConfig.modify('(cells/localhostNode01Cell/nodes/xjdxszxy|serverindex.xml#ServerIndex_1)',  "[[hostName iisp.campus]]")
4、检查主机名
AdminConfig.show('(cells/localhostNode01Cell/nodes/xjdxszxy|serverindex.xml#ServerIndex_1)', 'hostName')
显示结果
wsadmin>AdminConfig.show('(cells/localhostNode01Cell/nodes/xjdxszxy|serverindex.xml#ServerIndex_1)', 'hostName')
'[hostName iisp.campus]'
5、保存
AdminConfig.save()
6、更改应用服务器端口
对于应用程序服务器,请选择服务器 > 应用程序服务器 > 应用程序服务器 > 端口。

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值