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

被折叠的 条评论
为什么被折叠?



