【问题标题】:How to get corresponding cluster name of a managed server using wlst?如何使用 wlst 获取托管服务器的相应集群名称?
【发布时间】:2016-04-23 09:41:53
【问题描述】:

我部署了两个 weblogic 托管实例。这两个实例部署在不同的集群上。

我的问题是如何在运行时获取托管服务器的集群名称?

例如,如果在instance1中,我要获取cluster_1,如果在instance2中,我要获取cluster_2。

【问题讨论】:

    标签: weblogic wlst


    【解决方案1】:

    你能试试这个代码吗: 域配置() cd('服务器') cd('instance1') 集群=cmo.getCluster() clusterName=cluster.getName() 打印集群名称

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-26
      • 1970-01-01
      • 2020-09-19
      • 2018-04-12
      相关资源
      最近更新 更多