wlsclustersinfo

API Name

wlsclustersinfo

Description

Gets information about the clusters in the WebLogic server.

REST Methods

GET

Precondition

Agent must be running.

Input Params

wlsInstanceName Note (Release 9.2.4.3): Add these additional parameters if there are duplicate instance names: agentHostName, jdeHome.

Sample Request

https://host:port/manage/mgmtrestservice/wlsclustersinfo? wlsInstanceName=WLS1221_xif This is the sample request if you have duplicate instance names: https://host:port/manage/ mgmtrestservice/wlsclustersinfo?wlsInstanceName=WLS1221_ xif&agentHostName=jdesmc.example.com&jdeHome=/slot/oracle/jde_agent_jas/SCFHA

Return

HTTP status 200 is returned.

Sample Response

{ "wlsInstanceName":"WLS1221_xif", "wlsInstancesInfo": [ { "NONE": { "canonicalName":"jde:domainName=base_domain,instanceName=WLS1221_ xif,metricName=owl_cluster,name=NONE,targetType=owl_1212", "pattern":false, "domainPattern":false, "propertyPattern":false, "propertyListPattern":false, "propertyValuePattern":false, "keyPropertyListString": "instanceName=WLS1221_xif,name=NONE, domainName=base_domain,targetType=owl_1212,metricName=owl_ cluster", "canonicalKeyPropertyListString":"domainName=base_ domain,instanceName=WLS1221_xif,metricName=owl_cluster,name=NONE, targetType=owl_1212", "keyPropertyList":{ "instanceName": "WLS1221_ xif", "name":"NONE", "domainName":"base_domain", "targetType":"owl_1212", "metricName":"owl_cluster" }, "domain":"jde" }

Sample Response (continued)

}, { "NONE": { "canonicalName":"jde:domainName=bssv_domain, instanceName=WLS1221_xif,metricName=owl_cluster,name=NONE, targetType=owl_1212", "pattern": false, "domainPattern": false, "propertyPattern":false, "propertyListPattern":false, "propertyValuePattern":false, "keyPropertyListString": "instanceName=WLS1221_xif,name=NONE,domainName=bssv_ domain,targetType=owl_1212,metricName=owl_cluster", "canonicalKeyPropertyListString":"domainName=bssv_domain, instanceName=WLS1221_xif,metricName=owl_cluster,name=NONE, targetType=owl_1212", "keyPropertyList":{ "instanceName": "WLS1221_ xif", "name":"NONE", "domainName":"bssv_domain", "targetType": "owl_1212", "metricName":"owl_cluster" }, "domain":"jde" } } ]}

Exception

Throws an exception if the operation fails for any reason.