Weblogic8.1集群中批量启动和关闭所有服务器的脚本

本文介绍了使用WebLogic管理服务器脚本启动和停止集群的方法。启动脚本为:javaweblogic.Admin-urlAdminHost:7001 -username weblogic -password weblogic STARTCLUSTER-clustername ACluster;停止脚本为:javaweblogic.Admin-urlAdminHost:7001 -username weblogic -password weblogic STOPCLUSTER-clustername ACluster。文章提供了成功的启动和停止操作反馈信息。

启动集群的脚本:
java weblogic.Admin -url AdminHost:7001   -username weblogic -password weblogic   STARTCLUSTER -clustername ACluster

成功后会看到类似的信息:
Starting servers in cluster ACluster: A2,A1All servers in the cluster "ACluster" started successfully.  

停止集群的脚本如下:
java weblogic.Admin -url AdminHost:7001   -username weblogic -password weblogic   STOPCLUSTER -clustername ACluster

如果这个命令执行成功会返回类似下面的内容:
Shutting down servers in cluster ACluster: A2,A1All servers in the cluster "ACluster" were issued the shutdown request.Look in the server logs to verify the success or failure of the shutdownrequest.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值