以普通权限用户启动websphere进程

背景:UAT环境在开发阶段,更新比较频繁,开发人员要求能重启websphere进程;unix平台下容易做到,但windows平台通常情况下需要管理员或power users权限,此权限过大。多次测试后得到如下方法来控制:

以windows平台下default profile为例

1、新建本地用户admin_dev,权限组users,remote desktop users
2、建立相关的发布目录,共享/授所有权给admin_dev,如d:citicups
3、将目录E:IBMWebSphereAppServerlogs 以及目录E:IBMWebSphereAppServerprofilesdefault 授所有权给admin_dev
4、这时对‘服务’中相关的websphere服务设置‘手动’启动
5、本地用户admin_dev可远程登录128.232.9.218 密码:admin123
6、对WAS default profile的启动/停止/监控,登录服务器后:
启动was指令:CMD窗口中执行E:IBMWebSphereAppServerprofilesdefaultbinstartserver.bat server1
停止was指令:CMD窗口中执行E:IBMWebSphereAppServerprofilesdefaultbinstopserver.bat server1
监控was指令:CMD窗口中执行E:IBMWebSphereAppServerprofilesdefaultbinserverstatus.bat server1

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/2073/viewspace-1004451/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/2073/viewspace-1004451/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值